Nette Neon Versions Save

🍸 Encodes and decodes NEON file format.

v3.0.1

4 years ago
  • Encoder: correctly encodes numeric strings
  • Decoder: date-time is not decoded in keys #48
  • Encoder: json_encode() error is escalated to exception

For the details you can have a look at the diff.

v3.1.1

4 years ago
  • Encoder: json_encode() error is escalated to exception
  • Single quoted string accepts double '' to express one quote #45

For the details you can have a look at the diff.

v3.1.0

4 years ago
  • requires PHP 7.1
  • Literal cannot begin with a character : when it follows after '" to improve JSON compatibility (syntax BC break)
  • Literal cannot begin with a character - or : followed by =[{( (syntax BC break)
  • Neon syntax: deprecated keywords on/off (#41)
  • Nette syntax: literals can begins with ! (#42)
  • removed neon.php

v3.0.0

5 years ago
  • requires PHP 7.0
  • uses declare(strict_types=1)
  • uses PHP 7.0 scalar and return type hints
  • some classes & members marked as final (BC break)
  • Entity: $value is mandatory

v2.4.3

5 years ago
  • type fixes, coding style

For the details you can have a look at the diff.

v2.4.2

6 years ago
  • supports PHP up to 7.2
  • coding style: fixes, lowercase true/false/null

For the details you can have a look at the diff.

v2.4.1

7 years ago
  • Decoder: every regexp are possessive #36
  • Entity: added __set_state() support #35

For the details you can have a look at the diff.

v2.4.0

7 years ago
  • requires PHP 5.6
  • added support for multilines strings nette/nette#1375
  • Decoder: added support for octal 0o777 and binary 0b11001 numbers #31
  • Decoder: generates DateTimeImmutable instead of DateTime (BC break)
  • Decoder: refactoring, added some constants

For the details you can have a look at the diff.

v2.3.5

7 years ago
  • Decoder: fixed datetime regexp #29
  • Decoder: some regexps changed to constants

For the details you can have a look at the diff.

v2.3.4

8 years ago
  • Decoder: fixed entity value conversion in the entity chain

For the details you can have a look at the diff.