diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e0b3d8..afac592 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }}) + * Added support for Solr 9.x minor versions. [#50](https://github.com/lando/solr/issues/50) + ## v1.1.0 - [March 8, 2024](https://github.com/lando/solr/releases/tag/v1.1.0) * Updated to latest database services. diff --git a/builders/solr.js b/builders/solr.js index ce29997..c4f1a01 100644 --- a/builders/solr.js +++ b/builders/solr.js @@ -6,6 +6,13 @@ const path = require('path'); // Versions const supportedVersions = [ + '9.7', + '9.6', + '9.5', + '9.4', + '9.3', + '9.2', + '9.1', '9.0', '9', '8.11', @@ -138,6 +145,13 @@ const parseConfig = options => { case '8.1': return parse8(options); case '8.0': return parse8(options); case '8': return parse8(options); + case '9.7': return parse9(options); + case '9.6': return parse9(options); + case '9.5': return parse9(options); + case '9.4': return parse9(options); + case '9.3': return parse9(options); + case '9.2': return parse9(options); + case '9.1': return parse9(options); case '9.0': return parse9(options); case '9': return parse9(options); default: return parseElse(options); diff --git a/docs/index.md b/docs/index.md index 23f5ad5..de60478 100644 --- a/docs/index.md +++ b/docs/index.md @@ -18,6 +18,13 @@ services: ## Supported versions +* [9.7](https://hub.docker.com/_/solr/) **(experimental)** +* [9.6](https://hub.docker.com/_/solr/) **(experimental)** +* [9.5](https://hub.docker.com/_/solr/) **(experimental)** +* [9.4](https://hub.docker.com/_/solr/) **(experimental)** +* [9.3](https://hub.docker.com/_/solr/) **(experimental)** +* [9.2](https://hub.docker.com/_/solr/) **(experimental)** +* [9.1](https://hub.docker.com/_/solr/) **(experimental)** * [9](https://hub.docker.com/_/solr/) **(experimental)** * [9.0](https://hub.docker.com/_/solr/) **(experimental)** * [8](https://hub.docker.com/_/solr/) diff --git a/examples/9.x/.lando.yml b/examples/9.x/.lando.yml index 1033cae..35ebf7c 100644 --- a/examples/9.x/.lando.yml +++ b/examples/9.x/.lando.yml @@ -6,7 +6,7 @@ services: config: dir: '9.x-conf' patch: - type: solr:9.0 + type: solr:9.7 core: solo portforward: true config: diff --git a/examples/9.x/README.md b/examples/9.x/README.md index ad9b86d..9eba6d5 100644 --- a/examples/9.x/README.md +++ b/examples/9.x/README.md @@ -26,8 +26,8 @@ Run the following commands to validate things are rolling as they should. # Should use version 9.x for the default version lando ssh -s helper -c "curl defaults:8983/solr/admin/info/system?wt=json" | grep "solr-spec-version" | grep "9." -# Should use version 9.0 on patch version -lando ssh -s helper -c "curl patch:8983/solr/admin/info/system" | grep "solr-spec-version" | grep "9.0" +# Should use version 9.7 on patch version +lando ssh -s helper -c "curl patch:8983/solr/admin/info/system" | grep "solr-spec-version" | grep "9.7" # Should have lando core by default lando ssh -s helper -c "curl defaults:8983/solr/admin/cores?action=STATUS" | grep lando