Skip to content

v1.3.1

Latest

Choose a tag to compare

@A35G A35G released this 03 Oct 23:42
· 6 commits to main since this release

Bug-fix release for the command-line tool.

Fixed

  • bin/json-to-xml now works when the package is installed as a dependency. Since 1.1.0 the script looked for vendor/autoload.php relative to its own location, which only exists in a checkout of the repository. In a project that installed the package, vendor/bin/json-to-xml failed with Failed opening required '.../vendor/autoload.php'. The script now looks for Composer's autoloader in several locations, and a regression test simulates the installed layout.

The library classes (JsonToXmlConverter, XmlToJsonConverter) are not affected: only the CLI was broken.

If you installed 1.1.0 to 1.3.0 and use the CLI from your project's vendor/bin, upgrade to 1.3.1.

Full changelog: v1.3.0...v1.3.1