diff --git a/CHANGELOG.md b/CHANGELOG.md index b6ef49274d2962798362ac2cf73cd0ee27d30af4_Q0hBTkdFTE9HLm1k..9be6b0d382ab6b4c1182d66a90fe1b59db891c5f_Q0hBTkdFTE9HLm1k 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 3.4.0 - 2020-09-25 + +### Added + +- Serialize `numpy.uint8` and `numpy.int8` instances. + +### Fixed + +- Fix serializing `numpy.empty()` instances. + +### Changed + +- No longer publish `manylinux1` wheels due to tooling dropping support. + ## 3.3.1 - 2020-08-17 ### Fixed diff --git a/Cargo.lock b/Cargo.lock index b6ef49274d2962798362ac2cf73cd0ee27d30af4_Q2FyZ28ubG9jaw==..9be6b0d382ab6b4c1182d66a90fe1b59db891c5f_Q2FyZ28ubG9jaw== 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -109,7 +109,7 @@ [[package]] name = "orjson" -version = "3.3.1" +version = "3.4.0" dependencies = [ "associative-cache", "bytecount", diff --git a/Cargo.toml b/Cargo.toml index b6ef49274d2962798362ac2cf73cd0ee27d30af4_Q2FyZ28udG9tbA==..9be6b0d382ab6b4c1182d66a90fe1b59db891c5f_Q2FyZ28udG9tbA== 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "orjson" -version = "3.3.1" +version = "3.4.0" authors = ["ijl <ijl@mailbox.org>"] description = "Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" edition = "2018" diff --git a/README.md b/README.md index b6ef49274d2962798362ac2cf73cd0ee27d30af4_UkVBRE1FLm1k..9be6b0d382ab6b4c1182d66a90fe1b59db891c5f_UkVBRE1FLm1k 100644 --- a/README.md +++ b/README.md @@ -764,12 +764,10 @@ ### int -JSON only requires that implementations accept integers with 53-bit precision. -orjson will, by default, serialize 64-bit integers. This is compatible with -the Python standard library and other non-browser implementations. For -transmitting JSON to a web browser or other strict implementations, `dumps()` -can be configured to raise a `JSONEncodeError` on values exceeding the -53-bit range. +orjson serializes 64-bit integers by default. This is widely compatible, +but there are implementations that only support 53-bits for integers, e.g., +web browsers. For those implementations, `dumps()` can be configured to +raise a `JSONEncodeError` on values exceeding the 53-bit range. ```python >>> import orjson @@ -924,7 +922,7 @@ multithreaded. It also uses some tests from the ultrajson library. orjson is the most correct of the compared libraries. This graph shows how each -library fares handles a combined 342 JSON fixtures from the +library handles a combined 342 JSON fixtures from the [JSONTestSuite](https://github.com/nst/JSONTestSuite) and [nativejson-benchmark](https://github.com/miloyip/nativejson-benchmark) tests: