Skip to content

Releases: webmozart/json

1.2.2

14 Jan 12:12

Choose a tag to compare

  • fixed loading of schemas from PHARs

1.2.1

14 Jan 08:17

Choose a tag to compare

  • bumped justinrainbow/json-schema to 1.6 to fix "pattern-properties" with
    slashes

1.2.0

02 Jan 10:11

Choose a tag to compare

  • added support for $ref in schemas

1.1.1

28 Dec 09:01

Choose a tag to compare

  • fixed PHP 7 compatibility

1.1.0

11 Dec 17:39

Choose a tag to compare

  • added IOException and better error handling in JsonEncoder::encodeFile()
    and JsonDecoder::decodeFile()
  • JsonEncoder::encodeFile() now creates missing directories on demand
  • JsonEncoder now throws an exception on all PHP versions when binary values
    are passed
  • added support for disabled slash escaping on PHP below 5.4

1.0.2

11 Aug 14:28

Choose a tag to compare

  • fixed decoding of 'null'

1.0.1

04 Jun 14:32

Choose a tag to compare

  • fixed detection of the JSONC library in JsonDecoder::decodeJson()

1.0.0

19 Mar 10:43

Choose a tag to compare

  • flipped $data and $file arguments of JsonEncoder::encodeFile()

1.0.0-beta

21 Jan 15:53

Choose a tag to compare

1.0.0-beta Pre-release
Pre-release
  • renamed SchemaException to InvalidSchemaException
  • changed JsonValidator::validate() to return the discovered errors instead
    of throwing an exception

1.0.0-alpha1

21 Jan 15:53

Choose a tag to compare

1.0.0-alpha1 Pre-release
Pre-release
Releasing version "1.0.0-alpha1"