Jackson 2.20+ compatibility: replace removed PropertyNamingStrategy constants - #24
Open
engrams-agent[bot] wants to merge 5 commits into
Open
Jackson 2.20+ compatibility: replace removed PropertyNamingStrategy constants#24engrams-agent[bot] wants to merge 5 commits into
engrams-agent[bot] wants to merge 5 commits into
Conversation
…mpat Jackson 2.20 removed PropertyNamingStrategy.SNAKE_CASE / LOWER_CAMEL_CASE. Switch to PropertyNamingStrategies (available since 2.12). Bump version 6.0.4 -> 6.0.5. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The Build/Publish workflows hard-failed: actions/cache@v2 is deprecated and auto-failed. Modernize all actions and add GitHub Packages server credentials + packages:write for publish. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Add a publish job that deploys 6.0.5 to GitHub Packages after the build job passes, gated to pull_request so the artifact is published exactly once (not re-published on merge to master). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
A feature-branch push previously fired both a push build and a PR build concurrently, each spinning up a heavy gitlab-ce container; the contention caused transient GitLab 502s in integration tests. Restrict the push trigger to master so a feature push runs the build once via the PR event. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
What
Jackson 2.20 removed the deprecated
PropertyNamingStrategyconstants (SNAKE_CASE,LOWER_CAMEL_CASE). This fork pinned at6.0.4references both inJacksonJson, which throwsNoSuchFieldErrorat runtime when the consuming app (cortexapps/brain-backend) upgrades to Jackson 2.22.Changes
JacksonJson.java:PropertyNamingStrategy.SNAKE_CASE→PropertyNamingStrategies.SNAKE_CASE;PropertyNamingStrategy.LOWER_CAMEL_CASE→PropertyNamingStrategies.LOWER_CAMEL_CASE; import updated accordingly.pom.xml: version 6.0.4 → 6.0.5.Why
Unblocks the Jackson 2.18→2.22 upgrade in cortexapps/brain-backend, which depends on
org.gitlab4j:gitlab4j-api-cortex.Publishing
6.0.5to GitHub Packages is via theci-publishworkflow (workflow_dispatch).🤖 Generated with Claude Code