goarkitect icon indicating copy to clipboard operation
goarkitect copied to clipboard

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

Open renovate[bot] opened this issue 3 years ago • 1 comments

Mend Renovate

This PR contains the following updates:

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

Release Notes

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

v5.3.1

Compare Source

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 has been generated by Mend Renovate. View repository job log here.

renovate[bot] avatar Dec 20 '22 11:12 renovate[bot]

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.

codecov-commenter avatar Jan 17 '23 20:01 codecov-commenter