Skip to content

Commit 8c3cd26

Browse files
committed
3.4.0
1 parent d03707b commit 8c3cd26

4 files changed

Lines changed: 21 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## 3.4.0 - 2020-09-25
4+
5+
### Added
6+
7+
- Serialize `numpy.uint8` and `numpy.int8` instances.
8+
9+
### Fixed
10+
11+
- Fix serializing `numpy.empty()` instances.
12+
13+
### Changed
14+
15+
- No longer publish `manylinux1` wheels due to tooling dropping support.
16+
317
## 3.3.1 - 2020-08-17
418

519
### Fixed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "orjson"
3-
version = "3.3.1"
3+
version = "3.4.0"
44
authors = ["ijl <ijl@mailbox.org>"]
55
description = "Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy"
66
edition = "2018"

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -764,12 +764,10 @@ OverflowError: Invalid Inf value when encoding double
764764

765765
### int
766766

767-
JSON only requires that implementations accept integers with 53-bit precision.
768-
orjson will, by default, serialize 64-bit integers. This is compatible with
769-
the Python standard library and other non-browser implementations. For
770-
transmitting JSON to a web browser or other strict implementations, `dumps()`
771-
can be configured to raise a `JSONEncodeError` on values exceeding the
772-
53-bit range.
767+
orjson serializes 64-bit integers by default. This is widely compatible,
768+
but there are implementations that only support 53-bits for integers, e.g.,
769+
web browsers. For those implementations, `dumps()` can be configured to
770+
raise a `JSONEncodeError` on values exceeding the 53-bit range.
773771

774772
```python
775773
>>> import orjson
@@ -924,7 +922,7 @@ workers) and when
924922
multithreaded. It also uses some tests from the ultrajson library.
925923

926924
orjson is the most correct of the compared libraries. This graph shows how each
927-
library fares handles a combined 342 JSON fixtures from the
925+
library handles a combined 342 JSON fixtures from the
928926
[JSONTestSuite](https://github.com/nst/JSONTestSuite) and
929927
[nativejson-benchmark](https://github.com/miloyip/nativejson-benchmark) tests:
930928

0 commit comments

Comments
 (0)