Skip to content

Releases: jsonrainbow/json-schema

v1.6.1

25 Jan 17:08
Compare
Choose a tag to compare

#213 Fix exclusive min/max strictness
#217 fixup dev-master alias
#218 feat(composer): require PHP 5.3.29 (PHP 5.3.x EOL version) minimum
#221 feat(Factory): add setConstraintClass
#222 feat(travis): pivot to container-based infrastructure

v1.6.0

06 Jan 14:41
Compare
Choose a tag to compare

#142 Optional extra arguments for custom error messages
#143 Add constraint factory
#192 Create .gitattributes
#194 bugfix: patternProperties raised errors when the pattern has slashes
#202 Fix CollectionConstraint to allow uniqueItems to be false
#204 Fix path output for required properties
#206 An email is a string, not much else.
#207 Fix non-6 digit microsecond date time formats
#209 RefResolver::$depth restoration after JsonDecodingException

v1.5.0

08 Sep 22:29
Compare
Choose a tag to compare

#182 Fix #93 ($ref to local definition not working)

v1.4.4

14 Jul 16:32
Compare
Choose a tag to compare

#161 Throw exception if max depth exceeded
#168 Enhancement: Speed up builds as much as possible
#170 Fix: Start all messages with a capital letter
#171 Fix: Be more specific with error message

v1.4.3

13 Jul 05:16
Compare
Choose a tag to compare

#154 For missing properties, the key for that error in set to ""
#159 Promote HHVM.
#163 Enhancement: Use SVG badge for displaying Travis build status
#164 Fix: Autoload test resources with Composer
#165 Fix: Remove unused imports
#166 Fix: Encourage to use phpunit as installed with Composer
#167 Fix: Constraint::addError() does not return anything

v1.4.2

14 Jun 20:12
Compare
Choose a tag to compare

#96 Update minimum PHP version to 5.3.2
#105 Fix URI generic syntax delimit path components by slash ("/")
#109 PHP < 5.4.0 compatibility for "--dump-schema"
#125 Do not throw errors when using unknown/custom format
#139 Remove composer.lock
#150 [Constraints] make error messages better.
#152 Fetching JSON Array from URI
#153 Fix warning on file_get_contents
#155 chore(travis): remove phpdoc ext and ignore output
#156 [travis-ci] Add PHP 7 to build matrix
#157 Scrutinizer-CI is not used

v1.4.1

27 Mar 16:44
Compare
Choose a tag to compare

#132 Make the enum element comparison strict

Adding new PHP 7 support

23 Mar 20:43
Compare
Choose a tag to compare
  • #136 New constraints name - for PHP7

This version breaks BC for anyone directly using the JsonSchema\Constraints\* classes. If you simply use this project via the JsonSchema\Validator class there are no issues.

v1.3.7

25 Aug 02:55
Compare
Choose a tag to compare
  • #106 Fix UriRetriever::combineRelativePathWithBasePath() does not qualify UriResolverException
  • #104 Constraint::check() uses wrong indefinite article in error message to express the type constraint
  • #101 replace invalid filesystem dependent directory separator references
  • #107 Added PHP 5.6 and HHVM to travis.yml
  • #99 Use mb_strlen instead of strlen when mbstring extension is available.
  • #98 Fix constraint errors getter
  • #100 minor fix of BasicTypeTests
  • #103 Fix required property validation

v1.3.6

05 Mar 15:07
Compare
Choose a tag to compare
  • #92 added configurable maximum recursion depth
  • #95 Fix a case of 2 invalid oneOf were considered valid
  • #94 Add support for additionalProperties set to true