Skip to content

Update dependency justinrainbow/json-schema to v6 #17

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

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

Conversation

paoloMerli
Copy link

Release Notes

jsonrainbow/json-schema (justinrainbow/json-schema)

v6.0.0

Compare Source

Added

Add URI translation, package:// URI scheme & bundle spec schemas (#​362)
Add quiet option (#​382)
Add option to disable validation of "format" constraint (#​383)
Add more unit tests (#​366)
Reset errors prior to validation (#​386)
Allow the schema to be an associative array (#​389)
Enable FILTER_FLAG_EMAIL_UNICODE for email format if present (#​398)
Add enum wrapper (#​375)
Add option to validate the schema (#​357)
Add support for "const" (#​507)
Added note about supported Draft versions (#​620)
Add linting GH action

Changed

Centralize errors (#​364)
Revert "An email is a string, not much else." (#​373)
Improvements to type coercion (#​384)
Don't add a file:// prefix to URI that already have a scheme (#​455)
Enhancement: Normalize composer.json (#​505)
Correct echo sprintf for printf (#​634)
Streamline validation of Regex (#​650)
Streamline validation of patternProperties Regex (#​653)
Switch to GH Actions (#​670)
Updated PHPStan
Remove unwanted whitespace (#​700)
Bump to v4 versions of GitHub actions (#​722)
Update references to jsonrainbow (#​725)

Deprecated

Mark check() and coerce() as deprecated (#​476)

Removed

Remove stale files from #​357 (obviated by #​362) (#​400)
Remove unnecessary fallbacks when args accept null
Removed unused variable in UndefinedConstraint (#​698)
Remove dead block of code (#​710)

Fixed

Add use line for InvalidArgumentException (#​370)
Add use line for InvalidArgumentException & adjust scope (#​372)
Add provided schema under a dummy / internal URI (fixes #​376) (#​378)
Don't throw exceptions until after checking anyOf / oneOf (#​394)
Fix infinite recursion on some schemas when setting defaults (#​359) (#​365)
Fix autoload to work properly with composer dependencies (#​401)
Ignore $ref siblings & abort on infinite-loop references (#​437)
Don't cast multipleOf to be an integer for the error message (#​471)
Strict Enum/Const Object Checking (#​518)
Return original value when no cast (#​535)
Allow marc-mabe/php-enum v2.x and v3.x. (#​464)
Deprecated warning message on composer install command (#​614)
Allow marc-mabe/php-enum v4.x (#​629)
Fixed method convertJsonPointerIntoPropertyPath in wrong class (#​655)
Fix type validation failing for "any" and false-y type wording (#​686)
Correct code style
Fix: Clean up .gitattributes (#​687)
Fix: Order friendsofphp/php-cs-fixer rules (#​688)
HTTP to HTTPS redirection breaks remote reference resolution (#​709)
Corrected several typos and code style issues

v5.3.0

Compare Source

What's Changed

Bumped minimum PHP requirement to 7.1.0 #​731

Fixed PHP 8.4 deprecation warnings jsonrainbow/json-schema#731

Full Changelog: jsonrainbow/json-schema@5.2.13...5.3.0

@paoloMerli paoloMerli self-assigned this Apr 17, 2025
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.

Error during schema validation
1 participant