Releases: nette/neon
Releases Β· nette/neon
Release version 3.4.4
Released version 3.3.4
- support for PHP 8.4
- Encoder: fixed encoding of control characters #72
Neon::decodeFile()
is atomic
Released version 3.4.3
- Decoder: fixed JSON parsing with \n before comma
- Decoder: big integers are decoded as strings #9
Released version 3.4.1
- support for PHP 8.3
- syntax: allowed tab as separator for dashed-blocks
- INF & NAN encoding throws an exception #69
Released version 3.4.0
- requires PHP 8.0
- removed deprecated syntax
on/off
&\x**
(BC break)
Released version 3.3.3
- Encoder: uses more readable single quote strings
Node::getSubNodes()
changed to IteratorAggregate generator,- Traverser: added DontTraverseChildren & StopTraversal, $enter and $leave callbacks
- Node: added $startLine & $endLine
- Node: startPos & endPos renamed to startTokenPos & endTokenPos
- cs, constants are PascalCase
Released version 3.3.2
- ArrayNode::$indentation usage fixed #63
- ArrayNode split to BlockArrayNode & InlineArrayNode
- InlineArrayNode: added property $bracket
- fixed tests
Released version 3.3.1
- added Neon linter
- added
Neon::decodeFile()
Neon::decode()
no longer removes BOM (BC break)Neon::encode()
$flags replaced with parameters- Neon, Encoder: added $indentation
- Traverser: can return different nodes
Released version 3.3.0
- completely rewritten parser
- generates AST
- added Traverser
- encoder uses AST
Released version 3.2.2
- uses mb_string when iconv is not available
- improved PHP doc