Neon-py

Latest version: v0.2.1

Safety actively analyzes 682244 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

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

3.1.2

- Encoder: correctly encodes numeric strings
- Decoder: date-time is not decoded in keys 48

For the details you can have a look at the [diff](https://github.com/nette/neon/compare/v3.1.1...v3.1.2).

3.1.1

- 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](https://github.com/nette/neon/compare/v3.1.0...v3.1.1).

3.1.0

* 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

3.0.1

- 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](https://github.com/nette/neon/compare/v3.0.0...v3.0.1).

3.0.0

- 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

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.