-
Notifications
You must be signed in to change notification settings - Fork 357
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
Adopt Jackson 2.15 #5409
Merged
Merged
Adopt Jackson 2.15 #5409
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
|
||
Copyright (c) 2012, 2021 Oracle and/or its affiliates. All rights reserved. | ||
Copyright (c) 2012, 2023 Oracle and/or its affiliates. All rights reserved. | ||
|
||
This program and the accompanying materials are made available under the | ||
terms of the Eclipse Public License v. 2.0, which is available at | ||
|
@@ -28,6 +28,18 @@ | |
xml:id="migration"> | ||
<title>Migration Guide</title> | ||
|
||
<section xml:id="mig-2.40"> | ||
<title>Migrating from Jersey 2.40 to 2.41</title> | ||
<section xml:id="mig-2.40-breaking-changes"> | ||
<title>Changes in Jackson</title> | ||
<para> | ||
Jersey 2.41 starts to support Jackson 15 which comes with default limitations for the length of parsed text, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. again, no Jackson v15 has ever been released There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right, it is 2.15 |
||
numbers, and nesting depth. Jersey keeps the Jackson default value, but it allows to override the maximum | ||
length of parsed text using the &jersey.message.MessageProperties.JSON_MAX_STRING_LENGTH; property if needed. | ||
</para> | ||
</section> | ||
</section> | ||
|
||
<section xml:id="mig-2.38"> | ||
<title>Migrating from Jersey 2.37 to 2.38</title> | ||
<section xml:id="mig-2.38-breaking-changes"> | ||
|
@@ -46,13 +58,13 @@ | |
<section xml:id="mig-2.30-breaking-changes"> | ||
<title>Breaking Changes</title> | ||
<para> | ||
Versions 2.30+ do not introduce nothing breaking, however version 2.29.1 has a major change which means | ||
Versions 2.30+ do not introduce anything breaking, however version 2.29.1 has a major change which means | ||
migration of Jersey to Jakarta EE (8) platform thus all inner dependencies to APIs are migrated to | ||
jakarta EE maven coordinates. This also means that all dependencies which were taken from JDK as such | ||
(like JAXB etc) are now external for JDK 1.8 (but for JDK 11+ they are external even in their Java EE form). | ||
(like JAXB etc.) are now external for JDK 1.8 (but for JDK 11+ they are external even in their Java EE form). | ||
So, for those who will migrate to versions of Jersey 2.29.1 or 2.30+ , a massive extension of dependencies being | ||
downloaded for the project build will occur. | ||
Also there is extended support of JDKs - maximum compatibility with JDK 15 (including previous JDKs). | ||
Also, there is extended support of JDKs - maximum compatibility with JDK 15 (including previous JDKs). | ||
And other major improvements and fixes which are described in details in release notes below. | ||
</para> | ||
</section> | ||
|
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Jackson versions are 2.14 and 2.15 - there is no 14 or 15. The 20m limit was brought in in Jackson 2.15.1.
See https://github.com/FasterXML/jackson-core/blob/2.16/release-notes/VERSION-2.x