Releases: nette/neon
Releases · nette/neon
Released version 3.4.3
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
Released version 3.2.1
Released version 3.2.0
- now supports only UTF-8 mode and throws exception on invalid input (BC break)
- syntax \xAA is deprecated in favor of \uAAAA (BC break)
- Encoder: encodes multiline strings in """ format