Upgrade jackson and jackson-databind to v2.21.2 - #100
Merged
Conversation
jsvd
commented
Apr 20, 2026
Collaborator
- Bump jackson-core, jackson-databind, jackson-module-afterburner to 2.21.2
- Bump jackson-annotations to 2.21
- Add jackson_annotations_version to build_info.rb and gemspec
- Fix deprecated TypeSerializer API in RubyAnySerializer (marked as dead code candidate for future removal)
- Require JRuby 9.4.14.0 and Java 17 toolchain for builds
- Fix RubyAnySerializerTest: remove CompatVersion.RUBY1_9, use Ruby.newInstance()
- Enable surefire tests (skipTests=false)
- Drop legacy Gson benchmarks and dependency
jsvd
force-pushed
the
upgrade_jackson_2_29_2
branch
2 times, most recently
from
April 20, 2026 13:18
7271125 to
774d573
Compare
- Bump jackson-core, jackson-databind, jackson-module-afterburner to 2.21.2 - Bump jackson-annotations to 2.21 - Add jackson_annotations_version to build_info.rb and gemspec - Fix deprecated TypeSerializer API in RubyAnySerializer (marked as dead code candidate for future removal) - Require JRuby 9.4.14.0 and Java 17 toolchain for builds - Fix RubyAnySerializerTest: remove CompatVersion.RUBY1_9, use Ruby.newInstance() - Enable surefire tests (skipTests=false) - Drop legacy Gson benchmarks and dependency
jsvd
force-pushed
the
upgrade_jackson_2_29_2
branch
from
April 20, 2026 14:10
774d573 to
b73d184
Compare
jsvd
commented
Apr 21, 2026
andsel
reviewed
Apr 28, 2026
mashhurs
reviewed
Apr 29, 2026
mashhurs
left a comment
Contributor
There was a problem hiding this comment.
I have tried to compile the project with jruby-9.4 as defined in the Mavenfile
rvm install jruby-9.4.14.0
rvm use jruby-9.4.14.0
I have got an error saying that bigdecimal isn't available. It is defined in the gemspec without specifying the version - https://github.com/guyboertje/jrjackson/pull/100/changes#diff-dd679a234034f7fcfc65996e3dcf1be0942c1e3ae190b4ef24ed00d7a367fcd0L21
When I removed the bigdecimal gem dependency from gemspec, it builds w/o issue.
- Do we need to remove it since jruby provides or specify the version or the issue with my env?
[ERROR] Failed to collect dependencies at rubygems:bigdecimal:gem:[0,):
No versions available for rubygems:bigdecimal:gem:[0,)
- Logstash upgraded jruby to 10, is it something we need to also plan upgrade jruby here as well?
mashhurs
reviewed
Apr 29, 2026
mashhurs
approved these changes
May 6, 2026
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.