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

jackson 2.18 with max-token-count support #1556

Merged
merged 5 commits into from
Dec 28, 2024

Conversation

pjfanning
Copy link
Contributor

@pjfanning pjfanning commented Nov 9, 2024

@pjfanning pjfanning marked this pull request as draft November 9, 2024 17:49
@pjfanning pjfanning changed the title jackson 2.18.1 with max-token-count support jackson 2.18 with max-token-count support Nov 28, 2024
@pjfanning pjfanning marked this pull request as ready for review December 28, 2024 12:14
@pjfanning pjfanning added this to the 1.2.0 milestone Dec 28, 2024
@@ -159,11 +160,10 @@ object JacksonObjectMapperProvider extends ExtensionId[JacksonObjectMapperProvid
private def getBufferRecyclerPool(cfg: Config): RecyclerPool[BufferRecycler] = {
cfg.getString("buffer-recycler.pool-instance") match {
case "thread-local" => JsonRecyclerPools.threadLocalPool()
case "lock-free" => JsonRecyclerPools.newLockFreePool()
case "shared-lock-free" => JsonRecyclerPools.sharedLockFreePool()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So there is been removed and should we mention that in the release note?

Copy link
Contributor Author

@pjfanning pjfanning Dec 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes - support was removed from Jackson for these because they did not work

Copy link
Member

@He-Pin He-Pin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, but seems need be included in the release note.

@pjfanning
Copy link
Contributor Author

We add release notes for every release. Generally, they are created around release time.

@pjfanning pjfanning added the release notes Need to release note label Dec 28, 2024
@pjfanning pjfanning merged commit aea4e83 into apache:main Dec 28, 2024
9 checks passed
@pjfanning pjfanning deleted the jackson-2.18 branch December 28, 2024 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release notes Need to release note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants