PackageTrack
Sign in Get early access

justinrainbow/json-schema

A library to validate a json schema.

6.11.0 347M downloads/mo #186 most downloaded on composer jsonrainbow/json-schema

What this package is like to depend on

Last release 2 days ago

21 Aug 2026

Ships fairly regularly

a new release about every 4 weeks

Some releases are documented

notes for 29 of 78 stable releases

Nothing withdrawn

no release was ever pulled

15 years old

79 releases · first in 2012

21 releases in the last 12 months

see the full history below

Release timeline

78 releases · Jan 2012 to Aug 2026
2013 2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 60 of 79
  1. 6.11.0 21 Aug 2026
    Release notes

    Fixed

    • fix: Handle null byte when validating date/time formats (#939)
    • fix: Correct php-cs-fixer setup (#938)
    • fix: Ignore Content-Type header parameters when checking media type (#934)
    • fix: Dont use mb_detect_encoding for mb_string function calls (#924)
    • Add missing ext-filter dependency (#922)

    Changed

    • Update README with Draft 7 badge correction and include JetBrains logo (#921)

    Added

    • Update composer.json authors to reflect current active maintainer (#928)
    Open source →
    Release notes

    Fixed

    • fix: Handle null byte when validating date/time formats (#939)
    • fix: Correct php-cs-fixer setup (#938)
    • fix: Ignore Content-Type header parameters when checking media type (#934)
    • fix: Dont use mb_detect_encoding for mb_string function calls (#924)
    • Add missing ext-filter dependency (#922)

    Changed

    • Update README with Draft 7 badge correction and include JetBrains logo (#921)

    Added

    • Update composer.json authors to reflect current active maintainer (#928)
    Open source →
  2. 6.10.0 16 Jun 2026
    Release notes

    Added

    • feat: Add Draft-2019-09 (#885)
    Open source →
    Release notes

    Added

    • feat: Add Draft-2019-09 (#885)
    Open source →
  3. 6.9.0 05 Jun 2026
    Release notes

    Fixed

    • fix: allow "#", "?", and "?#" as valid URI references per RFC 3986 (#910)
    • fix: annotate resolved schemas with dialect-aware id keyword (#912)

    Added

    • fix: treat optional JSON Schema test suite cases as real tests (#913) (#915)
    • feat: add bin/run-test-case to run a single test suite case by description (#914)
    Open source →
    Release notes

    Fixed

    • fix: allow "#", "?", and "?#" as valid URI references per RFC 3986 (#910)
    • fix: annotate resolved schemas with dialect-aware id keyword (#912)

    Added

    • fix: treat optional JSON Schema test suite cases as real tests (#913) (#915)
    • feat: add bin/run-test-case to run a single test suite case by description (#914)
    Open source →
  4. 6.8.2 05 May 2026
    Release notes

    Fixed

    • Update to json schema test suite main branch (#906)
    Open source →
    Release notes

    Fixed

    • Update to json schema test suite main branch (#906)
    Open source →
  5. 6.8.1 04 May 2026
    Release notes

    Fixed

    • Bump actions/checkout from v4 to v5 was re-applied due to PR merge issues with GitHub (#902)
    Open source →
    Release notes

    Fixed

    • Bump actions/checkout from v4 to v5 was re-applied due to PR merge issues with GitHub (#902)
    Open source →
  6. 6.8.0 02 Apr 2026
    Release notes

    Added

    • Bump actions/checkout from v4 to v5 (#902)
    • Update readme for draft 7 (#899)
    • ci: Add Copilot setup steps (#892)

    Fixed

    • Fix shell injection in update-changelog workflow for PR titles with backticks (#897)
    • Remove v prefix from release tags and GitHub releases (#895)

    Deprecated

    • Deprecate Constraint::CHECK_MODE_NONE (#896)

    ⚠️ Changes from version 6.8.0 were lost. Please don't use this version. Update to version 6.8.1

    Open source →
    Release notes

    Added

    • Bump actions/checkout from v4 to v5 (#902)
    • Update readme for draft 7 (#899)
    • ci: Add Copilot setup steps (#892)

    Fixed

    • Fix shell injection in update-changelog workflow for PR titles with backticks (#897)
    • Remove v prefix from release tags and GitHub releases (#895)

    Deprecated

    • Deprecate Constraint::CHECK_MODE_NONE (#896)
    Open source →
  7. v6.7.2 15 Feb 2026
    Release notes

    Fixed

    • Fix idn_to_ascii deprecation warning by using INTL_IDNA_VARIANT_UTS46 (#887)
    Open source →
    Release notes

    Fixed

    • Fix idn_to_ascii deprecation warning by using INTL_IDNA_VARIANT_UTS46 (#887)
    Open source →
  8. v6.7.1 13 Feb 2026
    Release notes

    Fixed

    • Fix TypeError in pattern property validation with integer keys (#880)
    Open source →
  9. v6.7.0 13 Feb 2026
    Release notes

    Fixed

    • Enforce RFC 1035 hostname label length limits in draft 3/4 (#878)
    • UriRetriever: Include actual media type in InvalidSchemaMediaTypeException message (#872)
    • docs: Correct trailing spaces in Markdown (#873)

    Added

    • Feat: Add Draft-07 support (#847)
    • Automate changelog updates on PR merge (#874)

    Changed

    • Add automated release workflow with changelog integration (#879)
    • Fix welcome workflow permission errors from forked PRs (#875)
    Open source →
  10. 6.6.4 19 Dec 2025
    Release notes

    Changed

    • ci: Run workflows against 5.x.x branches (#859)

    Fixed

    • UriValidator: Allow file:/ and file:/// (#856)
    • Fix .php-cs-fixer.dist.php export-ignore (#861)
    Open source →
  11. 6.6.3 02 Dec 2025
    Release notes

    Changed

    • Restricted mark-mabe/php-enum dependency to ^4.4 due to lower versions emitting a warning on PHP 8 (#854)
    Open source →
  12. 6.6.2 28 Nov 2025
    Release notes

    Changed

    • Move PHP 8.5 to default add PHP 8.6 as experimental (#852)

    Fixed

    • Allow underscore and tilde in URI hostnames as per RFC 3986 (#853)
    Open source →
  13. 6.6.1 07 Nov 2025
    Release notes

    Changed

    • Rename master to main (#848)

    Fixed

    • Don't skip ref expanding for property called enum when child of property called properties (#851)
    Open source →
  14. 6.6.0 10 Oct 2025
    Release notes

    Added

    • Add lint check for class autoloading PSR compliance (#845)
    • add implementation for strict fully validating using draft-06 schema (#843)
    Open source →
  15. 6.5.2 09 Sep 2025
    Release notes

    Fixed

    • Fix issue when http headers are already present (#843)
    Open source →
  16. 6.5.1 29 Aug 2025
    Release notes

    Changed

    • ci: Add PHP 8.5 to pipeline, ignoring dependencies and as experimental (#842)
    Open source →
  17. 6.5.0 29 Aug 2025
    Release notes

    Changed

    • Update test case to current (PHP) standards (#831)
    • Upgrade test suite to use generators (#834)
    • update to latest json schema test suite (#821)

    Fixed

    • Fix PHP 8.5 $http_response_header deprecation (#840)
    Open source →
  18. 6.4.2 03 Jun 2025
    Release notes

    Fixed

    • Fix objects are non-unique despite key order (#819)
    • Id's not being resolved and id property affects sibling ref which it should not do (#828)

    Changed

    • Added extra breaking change to UPDATE-6.0.md regarding BaseConstraint::addError signature change (#823)
    • Update constraint class to PHP 7.2 language level (#824)
    • Update base constraint class to PHP 7.2 language level (#826)

    Added

    • Introduce 32 bits CI workflow on latest php version (#825)
    Open source →
  19. 6.4.1 04 Apr 2025
    Release notes

    Fixed

    • Fix support for 32bits PHP (#817)
    Open source →
  20. 6.4.0 01 Apr 2025
    Release notes

    Added

    • Run PHPStan using the lowest and highest php version (#811)

    Fixed

    • Use parallel-lint and cs2pr for improved feedback on linting errors (#812)
    • Array with number values with mathematical equality are considered valid (#813)

    Changed

    • Correct PHPStan findings in validator (#808)
    • Add cs2pr handling for php-cs-fixer; avoid doing composer install (#814)
    • prepare PHP 8.5 in CI (#815)
    Open source →
  21. 6.3.1 18 Mar 2025
    Release notes

    Fixed

    • ensure numeric issues in const are correctly evaluated (#805)
    • fix 6.3.0 regression with comparison of null values during validation (#806)
    Open source →
  22. 6.3.0 14 Mar 2025
    Release notes

    Fixed

    • only check minProperties or maxProperties on objects (#802)
    • replace filter_var for uri and uri-reference to userland code to be RFC 3986 compliant (#800)
    • avoid duplicate workflow runs (#804)
    Open source →
  23. 6.2.1 06 Mar 2025
    Release notes

    Fixed

    • allow items: true to pass validation (#801)

    Changed

    • Include actual count in collection constraint errors (#797)
    Open source →
  24. 6.2.0 26 Feb 2025
    Release notes

    Added

    • Welcome first time contributors (#782)

    Fixed

    • Add required permissions for welcome action (#789)
    • Upgrade php cs fixer to latest (#783)
    • Create deep copy before checking each sub schema in oneOf (#791)
    • Create deep copy before checking each sub schema in anyOf (#792)
    • Correctly set the schema ID when passing it as assoc array (#794)
    • Create deep copy before checking each sub schema in oneOf when only check_mode_apply_defaults is set (#795)
    • Additional property casted into int when actually is numeric string (#784)

    Changed

    • Used PHPStan's int-mask-of<T> type where applicable (#779)
    • Fixed some PHPStan errors (#781)
    • Cleanup redundant checks (#796)
    Open source →
  25. 6.1.0 04 Feb 2025
    Release notes

    Added

    • Add return types in the test suite (#748)
    • Add test case for validating array of strings with objects (#704)
    • Add contributing information, contributor recognition and security information (#771)

    Fixed

    • Correct misconfigured mocks in JsonSchema\Tests\Uri\UriRetrieverTest (#741)
    • Fix pugx badges in README (#742)
    • Add missing property in UriResolverTest (#743)
    • Correct casing of paths used in tests (#745)
    • Resolve deprecations of optional parameter (#752)
    • Fix wrong combined paths when traversing upward, fixes #557 (#652)
    • Correct PHPStan baseline (#764)
    • Correct spacing issue in README.md (#763)
    • Format attribute: do not validate data instances that aren't the instance type to validate (#773)

    Changed

    • Bump to minimum PHP 7.2 (#746)
    • Replace traditional syntax array with short syntax array (#747)
    • Increase phpstan level to 8 with baseline to swallow existing errors (#673)
    • Add ext-json to composer.json to ensure JSON extension available (#759)
    • Add visibility modifiers to class constants (#757)
    • Include PHP 8.4 in workflow (#765)
    • Add strict_types=1 to all classes in ./src (#758)
    • Raise minimum level of marc-mabe/php-enum (#766)
    • Cleanup test from @param annotations (#768)
    • Remove obsolete PHP 7.1 version check (#772)
    Open source →
  26. 6.0.0 30 Jul 2024
    Release notes

    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
    Open source →
  27. 6.0.0-beta 09 Jul 2024 pre-release

    Nothing published for this version

  28. 5.3.4 04 May 2026
    Release notes

    What's Changed

    • Changes from 5.3.2 were lost in 5.3.3. This release restores the history from 5.3.2 and applies #900 again.

    Full Changelog: 5.3.2...5.3.4

    Open source →
  29. 5.3.3 24 Mar 2026
    Release notes

    What's Changed

    • Add GitHub Actions CI for 5.x.x and fix curl_close deprecation on PHP 8+ by @DannyvdSluijs in #900

    Full Changelog: 5.3.2...5.3.3

    ⚠️ Changes from version 5.3.2 were lost in version 5.3.3. Please don't use this version. Update to version 5.4.3

    Open source →
  30. 5.3.2 27 Feb 2026
    Release notes

    What's Changed

    Full Changelog: 5.3.1...5.3.2

    Open source →
  31. 5.3.1 12 Dec 2025

    Nothing published for this version

  32. 5.3.0 06 Jul 2024

    Nothing published for this version

  33. v5.2.13 26 Sep 2023

    Nothing published for this version

  34. 5.2.12 13 Apr 2022

    Nothing published for this version

  35. 5.2.11 22 Jul 2021

    Nothing published for this version

  36. 5.2.10 27 May 2020

    Nothing published for this version

  37. 5.2.9 25 Sep 2019

    Nothing published for this version

  38. 5.2.8 14 Jan 2019

    Nothing published for this version

  39. 5.2.7 14 Feb 2018

    Nothing published for this version

  40. 5.2.6 21 Oct 2017

    Nothing published for this version

  41. 5.2.5 10 Oct 2017

    Nothing published for this version

  42. 5.2.4 04 Oct 2017

    Nothing published for this version

  43. 5.2.3 no date

    Nothing published for this version

  44. 5.2.2 03 Oct 2017

    Nothing published for this version

  45. 5.2.1 16 May 2017

    Nothing published for this version

  46. 5.2.0 22 Mar 2017

    Nothing published for this version

  47. 5.1.0 22 Feb 2017

    Nothing published for this version

  48. 5.0.0 15 Feb 2017

    Nothing published for this version

  49. 4.1.0 22 Dec 2016

    Nothing published for this version

  50. 4.0.1 09 Nov 2016

    Nothing published for this version

  51. 4.0.0 10 Oct 2016

    Nothing published for this version

  52. 3.0.1 26 Aug 2016

    Nothing published for this version

  53. 3.0.0 15 Aug 2016

    Nothing published for this version

  54. 2.0.5 02 Jun 2016

    Nothing published for this version

  55. 2.0.4 24 May 2016

    Nothing published for this version

  56. 2.0.3 10 May 2016

    Nothing published for this version

  57. 2.0.2 09 May 2016

    Nothing published for this version

  58. 2.0.1 28 Apr 2016

    Nothing published for this version

  59. 2.0.0 14 Apr 2016

    Nothing published for this version

  60. 1.6.1 25 Jan 2016

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive