chore(dependency): Bump jsonschema dependency#2448
Merged
javirln merged 1 commit intochainloop-dev:mainfrom Sep 30, 2025
Merged
chore(dependency): Bump jsonschema dependency#2448javirln merged 1 commit intochainloop-dev:mainfrom
javirln merged 1 commit intochainloop-dev:mainfrom
Conversation
Signed-off-by: Javier Rodriguez <javier@chainloop.dev>
jiparis
approved these changes
Sep 30, 2025
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.
This pull request updates dependencies in the
go.modfile and refactors the iteration logic for schema property validation infanout.go. The most significant changes include upgrading several libraries, adding new indirect dependencies, and switching to a more robust method for iterating over JSON schema properties.Dependency updates and additions:
github.com/invopop/jsonschemafrom v0.7.0 to v0.13.0 for improved JSON schema support.github.com/mailru/easyjsonfrom v0.7.7 to v0.9.1 for better JSON serialization performance and compatibility.github.com/bahlo/generic-list-go,github.com/buger/jsonparser, andgithub.com/wk8/go-ordered-map/v2to support generic lists, JSON parsing, and ordered maps respectively. [1] [2]Code refactoring for schema validation:
generateJSONSchema(infanout.go) to use an ordered map iterator instead of key enumeration, improving compatibility with updated libraries and ensuring more robust validation against array-based properties.Dependency removals:
github.com/iancoleman/orderedmapin favor ofgithub.com/wk8/go-ordered-map/v2, streamlining ordered map usage.