feat: upgrade TinkerPop to 3.8.1 and support JDK 21#3078
Open
xf20054658 wants to merge 3 commits into
Open
Conversation
1. Upgrade TinkerPop from 3.5.1 to 3.8.1:
- Update tinkerpop.version in pom.xml files
- Update GREMLIN_VERSION constant in CoreVersion.java
- Add gremlin-util dependency
- Adapt API breaking changes:
* BiPredicate -> PBiPredicate (ConditionP, Condition)
* AggregateGlobalStep/AggregateLocalStep -> AggregateStep
* HasContainerHolder -> HasContainerHolder<S, E>
* Mutating -> Configuring (HugePrimaryKeyStrategy)
* RequestMessage/ResponseMessage migrated to gremlin.util.message
* Tokens constants replaced with string literals
* StoreTest removed (ProcessBasicSuite)
- Upgrade maven-compiler-plugin 3.1 -> 3.11.0
- Upgrade lombok 1.18.30 -> 1.18.34
2. Support JDK 21 (keep JDK 11 compatibility):
- Update maven.compiler.source/target from 11 to 21
- Add JDK 21 to CI matrix in all workflows
- Upgrade actions/setup-java from v3 to v4
- Upgrade Docker base images from eclipse-temurin:11 to eclipse-temurin:21
All 40 modules compile successfully on JDK 21.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
1. Upgrade TinkerPop 3.5.1 → 3.8.1
tinkerpop.versionandGREMLIN_VERSIONgremlin-utildependencyBiPredicate→PBiPredicateAggregateGlobalStep/AggregateLocalStep→AggregateStepHasContainerHolder→HasContainerHolder<S, E>(generic)Mutating→ConfiguringRequestMessage/ResponseMessage/ResponseStatusCodepackage migrationTokensclass removed → string literalsStoreTestremovedmaven-compiler-plugin3.1 → 3.11.0lombok1.18.30 → 1.18.342. Support JDK 21
maven.compiler.source/targetfrom 11 to 21actions/setup-javafrom v3 to v4eclipse-temurin:21Verification
mvn clean compile -DskipTestspassedRelated Files
27 files changed, detailed changelog in
hugegraph-server/update.md