ergebnis/json-normalizer
Provides generic and vendor-specific normalizers for normalizing JSON documents.
4.10.1
44M downloads/mo
#528 most downloaded on Packagist
ergebnis/json-normalizer
What this package is like to depend on
Last release 11 months ago
06 Sep 2025
Release timing varies
gaps range from 2 weeks to 8 months
Nearly every release is documented
notes for 42 of 42 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
42 releases · first in 2018
1 release in the last 12 months
see the full history below
Release timeline
42 releases · Jan 2018 to Sep 2025Releases
latest 42-
4.10.106 Sep 2025Release notes
Open source →What's Changed
- github-actions(deps): bump codecov/codecov-action from 5.4.3 to 5.5.0 by @dependabot[bot] in #1226
- github-actions(deps): bump shivammathur/setup-php from 2.35.3 to 2.35.4 by @dependabot[bot] in #1227
- Fix: Update branch alias by @localheinz in #1229
Full Changelog: 4.10.0...4.10.1
Release notes
Open source →For a full diff see [
4.10.0...4.10.1][4.10.0...4.10.1].Fixed
- Updated branch alias ([#1226]), by [@localheinz]
-
4.10.019 Aug 2025Release notes
Open source →What's Changed
- github-actions(deps): bump codecov/codecov-action from 5.4.0 to 5.4.2 by @dependabot[bot] in #1213
- github-actions(deps): bump shivammathur/setup-php from 2.32.0 to 2.33.0 by @dependabot[bot] in #1214
- Enhancement: Update
schema.jsonby @ergebnis-bot in #1212 - github-actions(deps): bump stefanzweifel/git-auto-commit-action from 5.1.0 to 5.2.0 by @dependabot[bot] in #1215
- github-actions(deps): bump codecov/codecov-action from 5.4.2 to 5.4.3 by @dependabot[bot] in #1217
- github-actions(deps): bump shivammathur/setup-php from 2.33.0 to 2.34.1 by @dependabot[bot] in #1218
- github-actions(deps): Bump shivammathur/setup-php from 2.34.1 to 2.35.2 by @dependabot[bot] in #1221
- github-actions(deps): Bump shivammathur/setup-php from 2.35.2 to 2.35.3 by @dependabot[bot] in #1222
- github-actions(deps): Bump actions/checkout from 4.2.2 to 5.0.0 by @dependabot[bot] in #1223
- github-actions(deps): Bump actions/cache from 4.2.3 to 4.2.4 by @dependabot[bot] in #1224
- github-actions(deps): bump stefanzweifel/git-auto-commit-action from 5.2.0 to 6.0.1 by @dependabot[bot] in #1219
- Enhancement: Update
schema.jsonby @ergebnis-bot in #1216 - Enhancement: Allow installation on PHP 8.5 by @localheinz in #1225
Full Changelog: 4.9.0...4.10.0
Release notes
Open source →For a full diff see [
4.9.0...4.10.0][4.9.0...4.10.0].Changed
- Allowed installation on PHP 8.5 ([#1225]), by [@localheinz]
-
4.9.010 Apr 2025Release notes
Open source →What's Changed
- Enhancement: Update
schema.jsonby @ergebnis-bot in #1202 - Prune empty sections in
composer.jsonby @fredden in #1053 - Ensure "dev-" prefix and "-dev" suffix is used correctly by @fredden in #1055
- Handle case when lone wildcard is ORed with other constraints by @fredden in #1186
- Normalise extension requirements by @fredden in #1185
Full Changelog: 4.8.0...4.9.0
Release notes
Open source →For a full diff see [
4.8.0...4.9.0][4.8.0...4.9.0].Changed
- Adjusted
SchemaNormalizerto allow pruning empty sections when the schema declares them as not required ([#1053]), by [@fredden] - Adjusted
Vendor\Composer\VersionConstraintNormalizerto correctly usedev-prefixes and-devsuffixes ([#1055]), by [@fredden] - Adjusted
Vendor\Composer\VersionConstraintNormalizerto normalize and (if necessary) combine version constraints refering to extensions ([#1185]), by [@fredden] - Adjusted
Vendor\Composer\VersionConstraintNormalizerto normalize version constraints that are combined with*to*([#1186]), by [@fredden]
- Enhancement: Update
-
4.8.004 Dec 2024Release notes
Open source →What's Changed
- Enhancement: Update
schema.jsonby @ergebnis-bot in #1196 - allow jsonrainbow / json-schema version 6 by @tacman in #1198
New Contributors
Full Changelog: 4.7.0...4.8.0
Release notes
Open source →For a full diff see [
4.7.0...4.8.0][4.7.0...4.8.0].Changed
- Allowed installation of
justinrainbow/json-schema:^6.0.0([#1198]), by [@tacman]
- Enhancement: Update
-
4.7.017 Nov 2024Release notes
Open source →What's Changed
- Enhancement: Synchronize with
ergebnis/php-package-templateby @localheinz in #1194 - Enhancement: Add support for PHP 8.4 by @localheinz in #1195
Full Changelog: 4.6.0...4.7.0
Release notes
Open source →For a full diff see [
4.6.0...4.7.0][4.6.0...4.7.0].Added
- Added support for PHP 8.4 ([#1195]), by [@localheinz]
- Enhancement: Synchronize with
-
4.6.027 Sep 2024Release notes
Open source →What's Changed
- Replace
xandXwildcards with*by @fredden in #1052 - Revert "composer(deps-dev): Bump rector/rector from 1.0.3 to 1.04" by @fredden in #1134
- Enhancement: Update
schema.jsonby @ergebnis-bot in #1111 - Enhancement: Update
schema.jsonby @ergebnis-bot in #1158 - Enhancement: Allow installation on PHP 8.4 by @localheinz in #1171
Full Changelog: 4.5.0...4.6.0
Release notes
Open source →For a full diff see [
4.5.0...4.6.0][4.5.0...4.6.0].Changed
- Adjusted
Vendor\Composer\VersionConstraintNormalizerto replacexandXwildcards with*([#1052]), by [@fredden] - Allowed installation on PHP 8.4 ([#1171]), by [@localheinz]
- Replace
-
4.5.030 Jan 2024Release notes
Open source →What's Changed
- Enhancement: Synchronize with
ergebnis/php-package-templateby @localheinz in #1058 - Enhancement: Require
ergebnis/json:^1.2.0by @localheinz in #1073 - Enhancement: Require
ergebnis/json-printer:^3.5.0by @localheinz in #1074 - Enhancement: Require
ergebnis/json-pointer:^3.4.0by @localheinz in #1075 - Enhancement: Require
ergebnis/json-schema-validator:^4.2.0by @localheinz in #1076 - Enhancement: Add support for PHP 8.0 by @localheinz in #1077
- Enhancement: Add support for PHP 7.4 by @localheinz in #1080
Full Changelog: 4.4.1...4.5.0
Release notes
Open source →For a full diff see [
4.4.1...4.5.0][4.4.1...4.5.0].Changed
- Required
ergebnis/json:^1.2.0([#1073]), by [@localheinz] - Required
ergebnis/json-printer:^3.5.0([#1074]), by [@localheinz] - Required
ergebnis/json-pointer:^3.4.0([#1075]), by [@localheinz] - Required
ergebnis/json-schema-validator:^4.2.0([#1076]), by [@localheinz] - Added support for PHP 8.3 ([#1077]), by [@localheinz]
- Added support for PHP 7.4 ([#1079]), by [@localheinz]
- Enhancement: Synchronize with
-
4.4.114 Dec 2023Release notes
Open source →What's Changed
- Enhancement: Update
schema.jsonby @ergebnis-bot in #1038 - Fix: Do not attempt to sort item when it disables packagist by @localheinz in #1039
New Contributors
- @ergebnis-bot made their first contribution in #1038
Full Changelog: 4.4.0...4.4.1
Release notes
Open source →For a full diff see [
4.4.0...4.4.1][4.4.0...4.4.1].Fixed
- Stopped sorting an item in
repositorieswhen it disables packagist ([#1039]), by [@localheinz]
- Enhancement: Update
-
4.4.013 Dec 2023Release notes
Open source →What's Changed
- Fix: Do not configure
platformby @localheinz in #1019 - Enhancement: Synchronize with
ergebnis/php-package-templateby @localheinz in #1020 - Enhancement: Synchronize with
ergebnis/php-package-templateby @localheinz in #1033 - Improve test coverage by @fredden in #993
- Enhancement: Synchronize with
ergebnis/php-package-templateby @localheinz in #1036 - Remove leading
vprefixes from version strings by @fredden in #1027 - Sort repository filtering lists (only, exclude) by @fredden in #1001
Full Changelog: 4.3.0...4.4.0
Release notes
Open source →For a full diff see [
4.3.0...4.4.0][4.3.0...4.4.0].Changed
- Started removing
vprefixes from version constraints ([#1027]), by [@fredden] - Started sorting items in the
excludeandonlyproperties of items listed in therepositoriessection ([#1001]), by [@fredden]
- Fix: Do not configure
-
4.3.010 Oct 2023Release notes
Open source →What's Changed
- Enhancement: Synchronize with
ergebnis/php-package-templateby @localheinz in #963 - Sort
allow-pluginsandpreferred-installwhen feasible by @fredden in #980 - Improve overlapping version removal by @fredden in #982
- Enhancement: Add support for PHP 8.3 by @localheinz in #988
Full Changelog: 4.2.0...4.3.0
Release notes
Open source →For a full diff see [
4.2.0...4.3.0][4.2.0...4.3.0].Changed
- Sort
allow-pluginsandpreferred-installas sensibly as is feasible ([#980]), by [@fredden] - Adjusted
Vendor\Composer\VersionConstraintNormalizerto remove overlapping individual versions too ([#982]), by [@fredden] - Added support for PHP 8.3 ([#988]), by [@localheinz]
- Required
ergebnis/json-printer:^3.4.0([#989]), by [@dependabot] - Required
ergebnis/json:^1.1.0([#991]), by [@dependabot] - Required
ergebnis/json-schema-validator:^4.1.0([#992]), by [@dependabot]
- Enhancement: Synchronize with
-
4.2.009 Jul 2023Release notes
Open source →For a full diff see [
4.1.0...4.2.0][4.1.0...4.2.0].Changed
- Dropped support for PHP 8.0 ([#917]), by [@localheinz]
- Adjusted
Vendor\Composer\VersionConstraintNormalizerto prefer tilde operators (~) over wildcard operators (*), and caret operators (^) over tilde operators (~) ([#756]), by [@fredden]
-
4.1.002 May 2023Release notes
Open source →For a full diff see [
4.0.2...4.1.0][4.0.2...4.1.0].Changed
- Adjusted
Vendor\Composer\VersionConstraintNormalizerto remove extra spaces in inline aliases ([#889]), by [@fredden] - Adjusted
Vendor\Composer\VersionConstraintNormalizerto remove useless inline aliases ([#889]), by [@fredden]
Fixed
- Adjusted
SchemaNormalizerto account for objects with string and integer-like properties ([#868]), by [@alexis-saransig-lullabot] and [@fredden] - Adjusted
SchemaNormalizerto account for objects where schema describes additional properties ([#873]), by [@fredden] and [@localheinz]
- Adjusted
-
4.0.227 Feb 2023Release notes
Open source →For a full diff see [
4.0.1...4.0.2][4.0.1...4.0.2].Fixed
- Adjusted
Vendor\Composer\VersionConstraintNormalizerto sort versions naturally ([#863]), by [@localheinz]
- Adjusted
-
4.0.127 Feb 2023Release notes
Open source →For a full diff see [
4.0.0...4.0.1][4.0.0...4.0.1].Fixed
- Adjusted
Vendor\Composer\ComposerJsonNormalizerto stop sortingrepositories([#858]), by [@localheinz] - Reverted inlining
Vendor\Composer\BinNormalizer([#860]), by [@localheinz] - Partially reverted removal of
Vendor\Composer\ConfigHashNormalizerto ensureconfigis sorted by ket ([#861]), by [@localheinz]
- Adjusted
-
4.0.026 Feb 2023Release notes
Open source →For a full diff see [
3.0.0...4.0.0][3.0.0...4.0.0].Added
- Added
FormatNormalizer([#781]), by [@localheinz]
Changed
- Dropped support for PHP 7.4 ([#757]), by [@localheinz]
- Required
ergebnis/json-schema-validator:^4.0.0([#771]), by [@localheinz] - Allowed configuring the
Normalizer\SchemaNormalizerto exclude properties from being sorted ([#774]), by [@localheinz] - Adjusted
Vendor\Composer\BinNormalizer,Vendor\Composer\PackageHashNormalizer,Vendor\Composer\VersionConstraintNormalizer, andSchemaNormalizerto encode JSON withJSON_PRETTY_PRINTflag ([#795]), by [@localheinz] - Adjusted
Vendor\Composer\BinNormalizer,Vendor\Composer\PackageHashNormalizer,Vendor\Composer\VersionConstraintNormalizer, andSchemaNormalizerto encode JSON withJSON_UNESCAPED_SLASHESflag ([#801]), by [@localheinz] - Adjusted
Vendor\Composer\BinNormalizer,Vendor\Composer\PackageHashNormalizer,Vendor\Composer\VersionConstraintNormalizer, andSchemaNormalizerto encode JSON withJSON_UNESCAPED_UNICODEflag ([#802]), by [@localheinz] - Adjusted
Vendor\Composer\ComposerJsonNormalizerto reject JSON when it is not an object ([#804]), by [@localheinz] - Adjusted
Vendor\Composer\ComposerJsonNormalizerto composeWithFinalNewLineNormalizer([#806]), by [@localheinz] - Adjusted
Vendor\Composer\VersionConstraintNormalizerto skip normalization of version constraints when they can not be parsed byComposer\Semver\VersionParser([#813]), by [@fredden] and [@localheinz] - Adjusted
Vendor\Composer\VersionConstraintNormalizerto sort versions in ascending order ([#816]), by [@fredden] - Adjusted
Vendor\Composer\VersionConstraintNormalizerto normalize version constraints separators inandconstraints from space () or comma (,) to space () ([#819]), by [@fredden] - Adjusted
Vendor\Composer\VersionConstraintNormalizerto remove overlapping version constraints inorversion constraints ([#850]), by [@fredden] - Adjusted
Vendor\Composer\VersionConstraintNormalizerto remove duplicate version constraints ([#856]), by [@localheinz]
Fixed
- Adjusted
Vendor\Composer\ComposerJsonNormalizerto stop sortingscripts.auto-scripts([#776]), by [@localheinz] - Adjusted
Vendor\Composer\ComposerJsonNormalizerto stop sortingextra.installer-paths([#777]), by [@localheinz] - Adjusted
Vendor\Composer\ComposerJsonNormalizerto stop sortingconfig.allow-plugins([#778]), by [@localheinz] - Adjusted
Vendor\Composer\ComposerJsonNormalizerto stop sortingconfig.preferred-install([#779]), by [@localheinz] - Adjusted
Vendor\Composer\ComposerJsonNormalizerto stop sorting children ofextra.patches([#780]), by [@localheinz]
Removed
- Started using
ergebnis/jsonand removedJsonandException\InvalidJsonEncoded([#772]), by [@localheinz] - Removed
Vendor\Composer\ConfigHashNormalizer([#775]), by [@localheinz] - Removed
AutoFormatNormalizer([#793]), by [@localheinz] - Removed
FixedFormatNormalizer([#794]), by [@localheinz] - Inlined and removed
Vendor\Composer\BinNormalizer([#805]), by [@localheinz]
- Added
-
3.0.010 Aug 2022Release notes
Open source →For a full diff see [
2.2.0...3.0.0][2.2.0...3.0.0].Changed
- Required
ergebnis/json-schema-validator:^3.0.0([#666]), by [@dependabot] - Renamed
Exception\ExceptionInterfacetoException\Exception([#667]), by [@localheinz] - Removed
Exceptionsuffix from all exceptions ([#668]), by [@localheinz] - Renamed
NormalizerInterfacetoNormalizer([#669]), by [@localheinz] - Renamed
Format\FormattertoFormat\DefaultFormatter([#672]), by [@localheinz] - Renamed
Format\FormatterInterfacetoFormat\Formatter([#673]), by [@localheinz] - Required
ergebnis/json-pointer:^3.0.0andergebnis/json-schema-validator:^3.1.0([#697]), by [@localheinz] - Required
ergebnis/json-pointer:^3.1.0([#698]), by [@dependabot] - Required
justinrainbow/json-schema:^5.2.12([#705]), by [@dependabot]
Fixed
- Adjusted
ConfigHashNormalizerto sort keys correctly ([#723]), by [@fredded]
- Required
-
2.2.021 Jan 2022Release notes
Open source →For a full diff see [
2.1.0...2.2.0][2.1.0...2.2.0].Changed
- Stopped checking whether
typeproperty in schema is set toarrayorobject([#632]), by [@localheinz] - Adjusted
SchemaNormalizerto normalize additional object properties ([#639]), by [@localheinz] - Adjusted
SchemaNormalizerto normalize array values for which schema does not declare item schema ([#641]), by [@localheinz]
- Stopped checking whether
-
2.1.004 Jan 2022Release notes
Open source →For a full diff see [
2.0.0...2.1.0][2.0.0...2.1.0].Changed
- Adjusted
SchemaNormalizerto supportanyOf([#623]), by [@localheinz]
- Adjusted
-
2.0.029 Dec 2021Release notes
Open source →For a full diff see [
1.0.3...2.0.0][1.0.3...2.0.0].Changed
- Dropped support for PHP 7.2 ([#564]), by [@localheinz]
- Dropped support for PHP 7.3 ([#573]), by [@localheinz]
- Renamed
Format::__toString(),Indent::__toString(), andJson::__toString()toFormat::toString(),Indent::toString(), andJson::toString(), requiring consumers to explicitly invoke methods instead of allowing to cast tostring([#589]), by [@localheinz] - Started using the
SchemaValidatorprovided byergebnis/json-schema-validator([#595]), by [@localheinz] - Renamed
Format\JsonEncodeOptions::value()toFormat\JsonEncodeOptions::toInt()([#603]), by [@localheinz] - Extracted
Format\Format::create()as named constructor and reduced visibility of__constructtoprivate([#608]), by [@localheinz] - Stopped composing
Format\FormatintoJson([#616]), by [@localheinz] - Renamed
FinalNewLineNormalizertoWithFinalNewLineNormalizer([#618]), by [@localheinz] - Renamed
NoFinalNewLineNormalizertoWithoutFinalNewLineNormalizer([#619]), by [@localheinz]
Fixed
- Updated
justinrainbow/json-schema([#517]), by [@dependabot] - Stopped sorting the newly added
allow-pluginsconfiguration ([#590]), by [@dependabot]
Removed
- Removed
Validator\Result,Valdiator\SchemaValidator, andValidator\SchemaValidatorInterface([#597]), by [@dependabot]
-
1.0.306 Mar 2021Release notes
Open source →For a full diff see [
1.0.2...1.0.3][1.0.2...1.0.3].Fixed
- Adjusted
Vendor\Composer\PackageHashNormalizerto take into account the newly adddedcomposer-plugin-apias platform requirement ([#463]), by [@localheinz]
- Adjusted
-
1.0.231 Dec 2020Release notes
Open source →For a full diff see [
1.0.1...1.0.2][1.0.1...1.0.2].Fixed
- Adjusted
Vendor\Composer\ConfigHashNormalizerto take into account the full property path, not only the property name ([#429]), by [@localheinz]
- Adjusted
-
1.0.130 Dec 2020Release notes
Open source →For a full diff see [
1.0.0...1.0.1][1.0.0...1.0.1].Fixed
- Adjusted
Vendor\Composer\ConfigHashNormalizerto ignore thepreferred-installhash ([#425]), by [@localheinz]
- Adjusted
-
1.0.029 Dec 2020Release notes
Open source →For a full diff see [
0.14.1...1.0.0][0.14.1...1.0.0].Changed
- Adjusted
Vendor\Composer\ConfigHashNormalizerto recursively sort hashes by key ([#424]), by [@localheinz]
- Adjusted
-
0.14.129 Dec 2020Release notes
Open source →For a full diff see [
0.14.0...0.14.1][0.14.0...0.14.1].Fixed
- Adjusted
Vendor\Composer\ConfigHashNormalizerto continue normalizing properties when a property has an empty value ([#423]), by [@localheinz]
- Adjusted
-
0.14.031 Oct 2020Release notes
Open source →For a full diff see [
0.13.1...0.14.0][0.13.1...0.14.0].Added
- Extracted an
Indent::CHARACTERSconstant that exposes a map of indent styles to indent characters ([#384]), by [@localheinz]
- Extracted an
-
0.13.130 Aug 2020Release notes
Open source →For a full diff see [
0.13.0...0.13.1][0.13.0...0.13.1].Changed
- Dropped support for PHP 7.1 ([#335]), by [@localheinz]
-
0.13.004 Jul 2020Release notes
Open source →For a full diff see [
0.12.0...0.13.0][0.12.0...0.13.0].Added
- Added support for PHP 8.0 ([#308]), by [@localheinz]
-
0.12.019 Apr 2020Release notes
Open source →For a full diff see [
0.11.0...0.12.0][0.11.0...0.12.0].Added
- Added
SchemaValidator::validate(), which returns aResultcomposing validation error messages ([#268]), by [@localheinz]
Deprecated
- Deprecated
SchemaValidator::isValid()([#269]), by [@localheinz]
- Added
-
0.11.009 Jan 2020Release notes
Open source →For a full diff see [
0.10.1...0.11.0][0.10.1...0.11.0].Added
- Merged in normalizers from
ergebnis/composer-json-normalizer([#203]), by [@localheinz]
Removed
- Removed the
ChainUriRetriever([#202]), by [@localheinz]
- Merged in normalizers from
-
0.10.119 Dec 2019Release notes
Open source →For a full diff see [
0.10.0...0.10.1][0.10.0...0.10.1].Fixed
- Brought back support for PHP 7.1 ([#191]), by [@localheinz]
-
0.10.015 Dec 2019Release notes
Open source →For a full diff see [
0.9.0...0.10.0][0.9.0...0.10.0].Added
- Added a
ChainUriRetrieverwhich allows specifying multiple URI retrievers ([#102]), by [@localheinz] - Added this changelog ([#103]), by [@localheinz]
Changed
-
Allowing injection of a
UriRetrieverinto theSchemaNormalizer, and defaulting to aChainUriRetrieverwhich composesFileGetContentsandCurlURI retrievers ([#104]), by [@localheinz] -
Dropped
nulldefault values of constructor arguments ofAutoFormatNormalizer,FixedFormatNormalizer,Formatter,IndentNormalizerto expose hard dependencies ([#109]), by [@localheinz] -
Dropped nullable return type declaration from
ChainUriRetriever::getContentType(), defaulting to an emptystringwhenChainUriRetriever::retrieve()wasn't invoked yet ([#132]), by [@localheinz] -
Started using
ergebnis/json-printerinstead oflocalheinz/json-printer([#176]), by [@localheinz] -
Renamed vendor namespace
LocalheinztoErgebnisafter move to [@ergebnis] ([#181]), by [@localheinz]Run
$ composer remove localheinz/json-normalizerand
$ composer require ergebnis/json-normalizerto update.
Run
$ find . -type f -exec sed -i '.bak' 's/Localheinz\\Json\\Normalizer/Ergebnis\\Json\\Normalizer/g' {} \;to replace occurrences of
Localheinz\Json\NormalizerwithErgebnis\Json\Normalizer.Run
$ find -type f -name '*.bak' -deleteto delete backup files created in the previous step.
Fixed
- Dropped support for PHP 7.1 ([#163]), by [@localheinz]
- Added a
-
0.9.007 Oct 2018Release notes
Open source →For a full diff see [
0.8.0...0.9.0][0.8.0...0.9.0].Added
- Added
JsonEncodeOptionsvalue object ([#93]), by [@localheinz]
Changed
- Turned method on
Formatinto named constructor onIndentvalue object ([#94]), by [@localheinz] - Turned method on
Formatinto named constructor onJsonEncodeOptionsvalue object([#95]), by [@localheinz] - Turned method on
Formatinto named constructor onNewLinevalue object ([#96]), by [@localheinz]
Removed
- Removed capability to create
Jsonvalue object from decoded data ([#88]), by [@localheinz] - Removed
IndentInterface([#89]), by [@localheinz] - Removed
NewLineInterface([#90]), by [@localheinz] - Removed
FormatInterface([#91]), by [@localheinz] - Removed
JsonInterface([#92]), by [@localheinz]
- Added
-
0.8.003 Oct 2018Release notes
Open source →For a full diff see [
0.7.0...0.8.0][0.7.0...0.8.0].Added
- Added named constructor to
Jsonvalue object to allow creation from data ([#86]), by [@localheinz]
Changed
- Renamed
InvalidJsonExceptiontoInvalidJsonEncodedException([#85]), by [@localheinz]
Fixed
ExceptionInterfacenow extendsThrowable([#82]), by [@BackEndTea]- Extension
ext/jsonis now explicitly required ([#84]), by [@localheinz]
- Added named constructor to
-
0.7.008 Sep 2018Release notes
Open source →For a full diff see [
0.6.0...0.7.0][0.6.0...0.7.0].Added
- Added
Indentvalue object ([#73]), by [@localheinz] - Added
NewLinevalue object ([#76]), by [@localheinz] - Added
Jsonvalue object ([#64]), by [@localheinz] - Added exceptions ([#79]), by [@localheinz]
Changed
- Removed the
Snifferin favour of a named constructor onFormatvalue object ([#77]), by [@localheinz]
Fixed
- Added more test cases for sniffing JSON without whitespace ([#67]), by [@localheinz]
- Added missing types in a Docblock ([#68]), by [@localheinz]
- The
Formatvalue object now rejects mixed tabs and spaces as indent ([#69]), by [@localheinz] - Added more test cases for JSON without indent ([#72]), by [@localheinz]
- Sniff only pure indents, no mixed spaces and tabs ([#71]), by [@localheinz]
- Added
-
0.6.007 Apr 2018Release notes
Open source →For a full diff see [
0.5.2...0.6.0][0.5.2...0.6.0].Added
- Added sniffing of new-line character sequence ([#55]), by [@localheinz]
-
0.5.215 Feb 2018Release notes
Open source →For a full diff see [
0.5.1...0.5.2][0.5.1...0.5.2].Fixed
- Keep resolving references until there are none left ([#49]), by [@localheinz]
-
0.5.115 Feb 2018Release notes
Open source →For a full diff see [
0.5.0...0.5.1][0.5.0...0.5.1].Fixed
- Resolve referenced schema in
oneOfcombination ([#47]), by [@localheinz]
- Resolve referenced schema in
-
0.5.011 Feb 2018Release notes
Open source →For a full diff see [
0.4.0...0.5.0][0.4.0...0.5.0].Added
- Added handling of arrays where schema describes tuple ([#37]), by [@localheinz]
- Added handling of arrays were schema has reference definition ([#40]), by [@localheinz]
- Added handling of
oneOf([#45]), by [@localheinz]
-
0.4.027 Jan 2018Release notes
Open source →For a full diff see [
0.3.0...0.4.0][0.3.0...0.4.0].Added
- Extracted
Formatter([#31]), by [@localheinz]
Changed
- Renamed
FormatSniffertoSniffer([#30]), by [@localheinz]
- Extracted
-
0.3.027 Jan 2018Release notes
Open source →For a full diff see [
0.2.0...0.3.0][0.2.0...0.3.0].Changed
- Require PHP 7.1 ([#27]), by [@localheinz]
- Allow to mutate
Formatvalue object ([#29]), by [@localheinz]
-
0.2.020 Jan 2018Release notes
Open source →For a full diff see [
0.1.0...0.2.0][0.1.0...0.2.0].Added
- Added
FixedFormatNormalizer([#17]), by [@localheinz]
- Added
-
0.1.013 Jan 2018Release notes
Open source →For a full diff see
5d8b3e2...0.1.0.Added
- Added
IndentNormalizer(#1), by @localheinz - Added
FinalNewLineNormalizer(#2), by @localheinz - Added
NoFinalNewLineNormalizer(#3), by @localheinz - Added
JsonEncodeNormalizer(#7), by @localheinz - Added
CallableNormalizer(#8), by @localheinz - Added
ChainNormalizer(#9), by @localheinz - Added
Formatvalue object (#10), by @localheinz - Added
FormatSniffer(#12), by @localheinz - Added
AutoFormatNormalizer(#13), by @localheinz - Added
SchemaNormalizer(#15), by @localheinz
- Added