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

fix(deps): update module github.com/santhosh-tekuri/jsonschema to v6 #96

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 6, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/santhosh-tekuri/jsonschema v1.2.4 -> v6.0.1 age adoption passing confidence

Release Notes

santhosh-tekuri/jsonschema (github.com/santhosh-tekuri/jsonschema)

v6.0.1

Compare Source

Bug Fixes:

  • fix/schema: field RecursiveRef misspelled
  • fix/schema: missing Deprecated field

v6.0.0

Compare Source

Improvements
  • mixed dialect support
  • custom $vocabulary support
  • sermver format
  • support for localisation for ValidationError
  • command jv
    • support stdin
    • --insecure and --cacert flag
    • --quiet flag

v5.3.1

Compare Source

Features

  • improve performance of uniqueItems for large array

v5.3.0

Compare Source

Features

  • formats can be registered with Compiler
  • mediaTypes can be registered with Compiler

Bug Fixes

  • correct unevaluatedXXX keyword spelling
  • ignore optional vocabularies
  • $dynamicRef without anchor is identical to $ref

v5.2.0

Compare Source

  • Schema: add Draft field
  • Draft: add URL() and String()

v5.1.1

Compare Source

fix: formats must be validated for draft <2019

v5.1.0

Compare Source

  • implements $vocabulary

v5.0.2

Compare Source

types: add missing golang number variants

v5.0.1

Compare Source

  • support $ref with URN+pointer and URN+fragment
  • keyword expecting int can have decimal

v5.0.0

Compare Source

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

Compare Source

New Features
  • draft 2019-09 support
  • detects infinite loop in schemas
  • new flag -draft in command jv
  • add examples in godoc
Bug Fixes
  • eca6e45 sometimes $id getting applied more than once
  • 1b9ea47 Compiler.Compile always return *SchemaError
Incompatible Changes
  • extension api changed
  • if "$schema" missing, it defaults to draft 2019-09 (latest) unless overridden

v3.1.0

Compare Source

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

Compare Source

  • '$schema' attribute now supports https url
  • '$schema' attribute value supports optional trailing hash(#)

v3.0.1: : Changes

Compare Source

  • FIX: panic on ValidateInterface without json.Number
  • reduce number of allocations

v3.0.0: : Major changes

Compare Source

  • built-in formats from specification should ignore non-string values
  • datetime format now allows case insensitivity for t ans z
  • 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

Compare Source

v2.1.0

Compare Source

  • 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 was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Aug 6, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 2 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.19 -> 1.23.2
golang.org/x/sys v0.3.0 -> v0.5.0
golang.org/x/text v0.5.0 -> v0.14.0

@renovate renovate bot force-pushed the renovate/github.com-santhosh-tekuri-jsonschema-6.x branch from 63f0406 to ace8c0f Compare August 16, 2024 03:51
@renovate renovate bot force-pushed the renovate/github.com-santhosh-tekuri-jsonschema-6.x branch from ace8c0f to bc4954d Compare September 11, 2024 16:04
@renovate renovate bot force-pushed the renovate/github.com-santhosh-tekuri-jsonschema-6.x branch from bc4954d to 0813fe7 Compare October 14, 2024 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants