Update module github.com/santhosh-tekuri/jsonschema/v5 to v6 - #54069
Update module github.com/santhosh-tekuri/jsonschema/v5 to v6#54069renovate[bot] wants to merge 2 commits into
Conversation
|
PRApprover will approve and merge this PR, FAQ, #dx-source-code-management 🛠️ PRApproval Status
➡️ Current phase: CI tests failed. Please fix the failing tests to continue. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c90d38c94c
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| "strings" | ||
|
|
||
| "github.com/santhosh-tekuri/jsonschema/v5" | ||
| "github.com/santhosh-tekuri/jsonschema/v6" |
There was a problem hiding this comment.
Migrate validation errors to the v6 API
This import now binds jsonschema.ValidationError to v6, but FormatValidationError still uses the v5 fields KeywordLocation, Message, and treats InstanceLocation as a string. In v6 those fields/types changed, so the Private Action Runner package that validates workflow/script parameters no longer compiles until the formatter is rewritten against the v6 error API.
Useful? React with 👍 / 👎.
| "fmt" | ||
|
|
||
| "github.com/santhosh-tekuri/jsonschema/v5" | ||
| "github.com/santhosh-tekuri/jsonschema/v6" |
There was a problem hiding this comment.
Replace removed CompileString calls
With the dependency switched to v6 here, the existing jsonschema.CompileString(...) calls in this file and in profile_rc_schema_test.go are no longer valid because v6 removed the package-level helper. These callers need to use the v6 compiler/resource-loading flow, otherwise the script parameter validation package and the profile schema tests fail to compile.
Useful? React with 👍 / 👎.
This commit was created from the local commit with hash d50320d7f572b992ee2d5b03c90da5475da4a2ab.
Go Package Import DifferencesBaseline: 6332ce3
|
|
🎯 Code Coverage (details) 🔗 Commit SHA: ec3963c | Docs | Datadog PR Page | Give us feedback! |
|
Are you the right owner for this? Can you consider updating the API yourself? |
|
stop-updating |
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
v5.3.1→v6.0.2Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
santhosh-tekuri/jsonschema (github.com/santhosh-tekuri/jsonschema/v5)
v6.0.2Compare Source
v6.0.1Compare Source
Bug Fixes:
check https://redirect.github.com/santhosh-tekuri/jsonschema/discussions/172 to see notes for migrating from v5 to v6
v6.0.0Compare Source
Improvements
$vocabularysupportsermverformatValidationErrorjv--insecureand--cacertflag--quietflagcheck https://redirect.github.com/santhosh-tekuri/jsonschema/discussions/172 to see notes for migrating from v5 to v6
Configuration
📅 Schedule: (in timezone Europe/Paris)
* 0-4,22-23 * * 1-5)* * * * 0,6)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.