Skip to content

[Snyk] Security upgrade org.apache.solr:solr-solrj from 8.11.1 to 10.0.0 - #846

Open
pushkala-datastax wants to merge 1 commit into
2.10_dsfrom
snyk-fix-cf37129a13a66507bffd3c2d5422ea43
Open

pushkala-datastax wants to merge 1 commit into
2.10_dsfrom
snyk-fix-cf37129a13a66507bffd3c2d5422ea43

Conversation

@pushkala-datastax

Copy link
Copy Markdown
Collaborator

snyk-top-banner

Snyk has created this PR to fix 2 vulnerabilities in the maven dependencies of this project.

Snyk changed the following file(s):

  • pulsar-io/solr/pom.xml

Vulnerabilities that will be fixed with an upgrade:

Issue Score Upgrade
high severity Information Exposure
SNYK-JAVA-ORGECLIPSEJETTY-21243499
  803   org.apache.solr:solr-solrj:
8.11.1 -> 10.0.0
Major version upgrade Proof of Concept
high severity Information Exposure
SNYK-JAVA-ORGECLIPSEJETTY-21243510
  803   org.apache.solr:solr-solrj:
8.11.1 -> 10.0.0
Major version upgrade Proof of Concept

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

@pushkala-datastax

Copy link
Copy Markdown
Collaborator Author

Merge Risk: High

This is a major upgrade from version 8.11.1 to 10.0.0, spanning two major releases (9.0 and 10.0). It introduces significant breaking changes that require both environment updates and code modifications.

Key Breaking Changes:

  • Java Version Requirement: Solr 9.0 and later require a minimum of Java 11 to run.
  • CloudSolrClient API Change: In version 9.0, the original CloudSolrClient was renamed to CloudLegacySolrClient and deprecated. A new CloudSolrClient with HTTP/2 support and a new Builder pattern was introduced. Applications using the old client will need to be updated.
  • Client Deprecations: Older clients like HttpSolrClient and LBHttpSolrClient were deprecated in version 9.0 as they lack HTTP/2 support.
  • API Removals in 10.0: Many methods and classes that were deprecated in version 9.x are removed in 10.0. This includes builders and synchronous request methods, which have been replaced by asynchronous alternatives returning CompletableFuture.

Recommendation: This upgrade cannot be completed without significant developer effort. A thorough review of the application's SolrJ client usage is required. Plan to refactor code to use the new client builders, update to the new CloudSolrClient if used, and migrate from deprecated synchronous methods to their asynchronous counterparts. Ensure your production environment runs on Java 11 or newer.

Source: Apache Solr 9.0 Release Notes

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants