Skip to content

Releases

0.7.0

Choose a tag to compare

@BenMorel BenMorel released this 06 Jan 22:57

✨ New features

  • Added VarExporter::INLINE_LITERAL_LIST, similar to INLINE_SCALAR_LIST but includes enum values

💥 BC breaks

  • Minimum PHP version is now 8.2

0.6.0

Choose a tag to compare

@BenMorel BenMorel released this 20 Feb 17:52

💥 BC breaks

  • Minimum PHP version is now 8.1 (#39)

✨ New features

  • Support for exporting match constructs in closures (#38)

Thanks to @reinfi!

0.5.0

Choose a tag to compare

@BenMorel BenMorel released this 10 May 17:16

✨ Compatibility

  • Added compatibility with nikic/php-parser 5.x
  • Removed compatibility with nikic/php-parser 4.x

💥 BC breaks

  • deprecated constant VarExporter::INLINE_NUMERIC_SCALAR_ARRAY has been removed, please use INLINE_SCALAR_LIST instead

0.4.0

Choose a tag to compare

@BenMorel BenMorel released this 01 Sep 21:12

Minimum PHP version is now 7.4. No breaking changes.

0.3.8

Choose a tag to compare

@BenMorel BenMorel released this 21 Jan 23:06
b5853ed

✨ New feature

  • Support for PHP 8.1 readonly properties (#27, #28)

Thanks @AnnaDamm!

0.3.7

Choose a tag to compare

@BenMorel BenMorel released this 29 Jun 23:40

✨ New feature

  • New option: VarExporter::INLINE_ARRAY

🗑️ Deprecated

  • The VarExporter::INLINE_NUMERIC_SCALAR_ARRAY is deprecated, please use INLINE_SCALAR_LIST instead

0.3.6

Choose a tag to compare

@BenMorel BenMorel released this 15 Jun 23:55

✨ New feature

Support for PHP 8.1 enums (#23).

Thanks @Jacobs63!

0.3.5

Choose a tag to compare

@BenMorel BenMorel released this 10 Feb 13:54

✨ New feature

Support for controlling the base indentation level (#17).

Thanks @ADmad!

0.3.4

Choose a tag to compare

@BenMorel BenMorel released this 07 Feb 22:56

✨ New feature

Support for trailing comma in non-inline arrays, with the TRAILING_COMMA_IN_ARRAY flag (#16).

Thanks @ADmad!

0.3.3

Choose a tag to compare

@BenMorel BenMorel released this 24 Dec 15:10

🐛 Bug fix

  • Exporting an object with numeric dynamic properties would lead to a TypeError