fix(deps): update module github.com/santhosh-tekuri/jsonschema to v5
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| github.com/santhosh-tekuri/jsonschema | v1.2.4 -> v5.3.1 |
Release Notes
santhosh-tekuri/jsonschema (github.com/santhosh-tekuri/jsonschema)
v5.3.1
v5.3.0
Features
- formats can be registered with
Compiler - mediaTypes can be registered with
Compiler
Bug Fixes
- correct
unevaluatedXXXkeyword spelling - ignore optional vocabularies
$dynamicRefwithout anchor is identical to$ref
v5.2.0
Schema: addDraftfieldDraft: addURL()andString()
v5.1.1
fix: formats must be validated for draft <2019
v5.1.0
- implements $vocabulary
v5.0.2
types: add missing golang number variants
v5.0.1
- support $ref with URN+pointer and URN+fragment
- keyword expecting int can have decimal
v5.0.0
New Features:
- license changed from BSD-3 Clause to Apache-2.0
- implements draft 2020-12 specification
- implement output formats flag, basic and detailed
- cmd/jv: add -output flag
- extract $comment, writeOnly, deprecated metadata annotations
Incompatible Changes:
- if no $schema specified, default to Draft2020
- replaced SchemeNotRegisteredError with LoaderNotFoundError
- ValidateInterface method renamed to Validate
- ValidationError now captures keywordLocations
v4.0.0
New Features
- draft 2019-09 support
- detects infinite loop in schemas
- new flag
-draftin commandjv - add examples in godoc
Bug Fixes
eca6e45sometimes $id getting applied more than once1b9ea47Compiler.Compile always return *SchemaError
Incompatible Changes
- extension api changed
- if "$schema" missing, it defaults to draft 2019-09 (latest) unless overridden
v3.1.0
features:
- time and date-time formats now understand leap-second
- new formats duration, uuid are added
- jv command now supports optional -draft flag
changes:
- errors now implement GoStringer interface the Error method now just returns single line
- format ipv4 now rejects leading zeroes
- updated JSON-Schema-Test-Suite to latest
bugfixes:
- $ref should be resolved against current uribase currently it is always resolved against root uri base
v3.0.2
- '$schema' attribute now supports https url
- '$schema' attribute value supports optional trailing hash(#)
v3.0.1: : Changes
- FIX: panic on ValidateInterface without json.Number
- reduce number of allocations
v3.0.0: : Major changes
- built-in formats from specification should ignore non-string values
- datetime format now allows case insensitivity for
tansz - Fields in Schema struct of type big.Float are replaced with bit.Rat
- if the schema refers to hyperschema, do not go to internet
v2.2.0
v2.1.0
- new field Compiler.LoadURL allows to override global LoadURL
- schema validation shows as many errors as possible
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
Codecov Report
Base: 73.87% // Head: 73.87% // No change to project coverage :thumbsup:
Coverage data is based on head (
eed3a36) compared to base (5f53ff1). Patch has no changes to coverable lines.
:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@ Coverage Diff @@
## main #52 +/- ##
=======================================
Coverage 73.87% 73.87%
=======================================
Files 22 22
Lines 842 842
=======================================
Hits 622 622
Misses 175 175
Partials 45 45
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.