Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Jena to v5.2.0 #93

Merged
merged 6 commits into from
Dec 19, 2024
Merged

Update Jena to v5.2.0 #93

merged 6 commits into from
Dec 19, 2024

Conversation

ashleycaselli
Copy link
Collaborator

Summary automatically generated using Copilot.

This pull request includes various updates and improvements across multiple files. The most significant changes involve upgrading dependencies, refactoring function signatures, and replacing deprecated methods.

Dependency Upgrades:

  • Upgraded the base image in .docker/Dockerfile from eclipse-temurin:17-alpine to eclipse-temurin:21-alpine.
  • Updated the Alpine version in .docker/Dockerfile from 3.20.3 to 3.21.0.
  • Updated the Jena version in pom.xml from 4.10.0 to 5.2.0.

Refactoring Function Signatures:

  • Modified the build method in AbstractFunction.java to include a Context parameter.
  • Updated SHACLARQFunction.java to implement the Function interface directly and removed redundant build method. [1] [2]
  • Added Context parameter to the build method in SHACLJSARQFunction.java and SHACLPyARQFunction.java. [1] [2]

Replacing Deprecated Methods:

  • Replaced Factory.createDefaultGraph() with GraphMemFactory.createDefaultGraph() in JenaUtil.java and JenaUtilHelper.java. [1] [2]
  • Updated the compareRDFTerms method call to use NodeCmp instead of NodeUtils in JenaUtil.java.

Code Simplifications:

  • Simplified lambda expressions in CurrentThreadFunctionRegistry.java and QueryExecutionFactoryFilter.java. [1] [2] [3]
  • Replaced multi-line string concatenations with single-line concatenations in QueryExecutionFactoryFilter.java.

Miscellaneous:

  • Removed unused imports and added necessary ones across multiple files to clean up the codebase. [1] [2] [3] [4]

@ashleycaselli ashleycaselli linked an issue Dec 18, 2024 that may be closed by this pull request
@ashleycaselli ashleycaselli self-assigned this Dec 19, 2024
@ashleycaselli ashleycaselli added the enhancement New feature or request label Dec 19, 2024
@ashleycaselli ashleycaselli merged commit ef84319 into master Dec 19, 2024
2 checks passed
@ashleycaselli ashleycaselli deleted the 92-update-jena-to-v520 branch December 19, 2024 12:27
Copy link

🎉 This PR is included in version 1.5.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Jena to v5.2.0
1 participant