Skip to content

2.0.0 synchup 1.0.0 - #130

Merged
alexheifetz merged 10 commits into
mainfrom
2.0.0-synchup-1.0.0
Jul 23, 2026
Merged

2.0.0 synchup 1.0.0#130
alexheifetz merged 10 commits into
mainfrom
2.0.0-synchup-1.0.0

Conversation

@alexheifetz

Copy link
Copy Markdown
Collaborator

This pull request upgrades the project to version 2.0.0-SNAPSHOT and migrates from the com.fasterxml.jackson library to the tools.jackson namespace throughout the codebase. Additionally, it updates dependencies, refactors code to use the new Jackson APIs, and improves test code readability. A new test dependency for Spring Boot Neo4j integration is also added.

Version Upgrades and Dependency Management:

  • Bump all module and parent versions from 1.0.1-SNAPSHOT (or 1.0.0) to 2.0.0-SNAPSHOT in all pom.xml files, including the root and submodules. [1] [2] [3] [4] [5] [6] [7] [8]
  • Update the group ID for the jackson-module-kotlin dependency from com.fasterxml.jackson.module to tools.jackson.module in all relevant pom.xml files. [1] [2] [3]

Jackson Migration:

  • Refactor all Jackson imports in Kotlin code from com.fasterxml.jackson to tools.jackson, including serializers and annotations. [1] [2] [3]
  • Update the custom serializer ComputerSaysNoSerializer to extend ValueSerializer and use SerializationContext instead of the deprecated JsonSerializer and SerializerProvider.

Testing Improvements:

  • Add the spring-boot-data-neo4j-test dependency for improved Neo4j integration testing in embabel-common-test-neo.
  • Refactor test assertions in StringTrimmingUtilsKtTest.kt to use lambda-based assertThrows for better readability and idiomatic Kotlin. [1] [2]

Spring Boot Annotation Update:

  • Update the import for AutoConfigureDataNeo4j to use the new package path in NeoIntegrationTest.kt.

These changes collectively modernize the codebase, ensure compatibility with the latest Jackson library, and streamline testing and dependency management.

Spring Boot 4.0.6 brings JUnit 6, whose API is JSpecify @NullMarked.
The Kotlin compiler now enforces assertThrows' <T : Throwable> bound as
non-null, so the explicit nullable type argument
(assertThrows<IllegalArgumentException?>) no longer compiles.

Drop the nullable type argument and the redundant Executable wrapper in
StringTrimmingUtilsKtTest; SAM conversion supplies the Executable. No
behavior change. Kotlin compiler version is unchanged (2.1.10).
@alexheifetz
alexheifetz merged commit 98277b8 into main Jul 23, 2026
7 checks passed
@alexheifetz
alexheifetz deleted the 2.0.0-synchup-1.0.0 branch July 23, 2026 02:24
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.

1 participant