⬆️ Update dependency orjson to v3.9.12 #523
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.9.10
->3.9.12
Release Notes
ijl/orjson (orjson)
v3.9.12
Compare Source
Changed
Fixed
musllinux_1_1
build due to sporadic CI failure.v3.9.11
Compare Source
Changed
str
is significantly faster. Documentsusing
dict
,list
, andtuple
are somewhat faster.3.9.10 - 2023-10-26
Fixed
--profile=dev
build.3.9.9 - 2023-10-12
Changed
orjson
module metadata explicitly marks subinterpreters as not supported.3.9.8 - 2023-10-10
Changed
3.9.7 - 2023-09-08
Fixed
orjson.loads()
due to non-reentrant handling of persistentbuffer. This was introduced in 3.9.3.
3.9.6 - 2023-09-07
Fixed
Changed
3.9.5 - 2023-08-16
Fixed
3.9.4 - 2023-08-07
Fixed
from stack to heap. This was introduced in 3.9.3.
3.9.3 - 2023-08-06
Fixed
Changed
3.9.2 - 2023-07-07
Fixed
__cause__
exception onorjson.JSONEncodeError
possibly beingdenormalized, i.e., of type
str
instead ofException
.3.9.1 - 2023-06-09
Fixed
default
. Thiswas introduced in 3.8.12.
3.9.0 - 2023-06-01
Added
orjson.Fragment
includes already-serialized JSON in a document.3.8.14 - 2023-05-25
Changed
manylinux
wheels are compiled forx86-64
instead ofx86-64-v2
.3.8.13 - 2023-05-23
Changed
MACOSX_DEPLOYMENT_TARGET
of 10.15 instead of 11.3.8.12 - 2023-05-07
Changed
default
are now chained as the__cause__
attributeon
orjson.JSONEncodeError
.3.8.11 - 2023-04-27
Changed
orjson.loads()
on an empty document has a specific error message.manylinux_2_28_x86_64
wheels are compiled forx86-64-v2
.universal2
and compiled forx86-64-v2
andapple-m1
.3.8.10 - 2023-04-09
Fixed
Changed
3.8.9 - 2023-03-28
Fixed
3.8.8 - 2023-03-20
Changed
3.8.7 - 2023-02-28
Fixed
platforms such as glibc, macOS by default.
3.8.6 - 2023-02-09
Fixed
Changed
python-dateutil
optional in tests.3.8.5 - 2023-01-10
Fixed
orjson.dumps()
invalid output on Windows.3.8.4 - 2023-01-04
Changed
3.8.3 - 2022-12-02
Fixed
orjson.dumps()
acceptsoption=None
perOptional[int]
type.3.8.2 - 2022-11-20
Fixed
numpy.intp
andnumpy.uintp
.Changed
3.8.1 - 2022-10-25
Changed
3.8.0 - 2022-08-27
Changed
numpy.int16
andnumpy.uint16
.3.7.12 - 2022-08-14
Fixed
Changed
3.7.11 - 2022-07-31
Fixed
dict
iterator implementation introduced in 3.7.9.3.7.10 - 2022-07-30
Fixed
dict
with deleted final item. This was introduced in 3.7.9.3.7.9 - 2022-07-29
Changed
orjson.OPT_INDENT_2
)to be much nearer to compact.
str
input.3.7.8 - 2022-07-19
Changed
3.7.7 - 2022-07-06
Changed
3.7.6 - 2022-07-03
Changed
3.7.5 - 2022-06-28
Fixed
introduced in 3.7.4.
3.7.4 - 2022-06-28
Changed
Fixed
orjson.JSONDecodeError
.3.7.3 - 2022-06-23
Changed
3.7.2 - 2022-06-07
Changed
3.7.1 - 2022-06-03
Fixed
orjson.JSONDecodeError
now inherit fromjson.JSONDecodeError
instead ofValueError
orjson.dumps()
output.3.7.0 - 2022-06-03
Changed
backend. PyPI wheels for manylinux_2_28 and macOS have it enabled. Packagers
are advised to see the README.
3.6.9 - 2022-06-01
Changed
3.6.8 - 2022-04-15
Fixed
numpy.datetime64("NaT")
to raise on anunsupported type.
3.6.7 - 2022-02-14
Changed
manylinux_2_17
wheels to PyPI.musllinux_1_1
wheels to PyPI.Fixed
python
onPATH
.3.6.6 - 2022-01-21
Changed
datetime.datetime
usingtzinfo
thatare
zoneinfo.ZoneInfo
.Fixed
JSONDecodeError
.orjson.OPT_STRICT_INTEGER
not raising an error onvalues exceeding a 64-bit integer maximum.
3.6.5 - 2021-12-05
Fixed
3.6.4 - 2021-10-01
Fixed
dataclass
inheriting fromabc.ABC
andusing
__slots__
.PyArrayInterface
.3.6.3 - 2021-08-20
Fixed
3.6.2 - 2021-08-17
Changed
orjson
now compiles on Rust stable 1.54.0 or above. Use of some SIMDusage is now disabled by default and packagers are advised to add
--cargo-extra-args="--features=unstable-simd"
to thematurin build
commandif they continue to use nightly.
orjson
built with--features=unstable-simd
adds UTF-8 validationimplementations that use AVX2 or SSE4.2.
3.6.1 - 2021-08-04
Changed
orjson
now includes apyi
type stubs file.Fixed
3.6.0 - 2021-07-08
Added
orjson.dumps()
serializesnumpy.datetime64
instances as RFC 3339strings.
3.5.4 - 2021-06-30
Fixed
datetime.datetime
withtzinfo
.without default specified.
Changed
3.5.3 - 2021-06-01
Fixed
orjson.JSONDecodeError
now haspos
,lineno
, andcolno
.3.5.2 - 2021-04-15
Changed
orjson.dumps()
serializes individualnumpy.bool_
objects.3.5.1 - 2021-03-06
Changed
universal2
wheels for macOS supporting Apple Silicon (aarch64).3.5.0 - 2021-02-24
Added
orjson.loads()
supports reading frommemoryview
objects.Fixed
datetime.datetime
anddatetime.date
zero pad years less than 1000 tofour digits.
Changed
orjson.dumps()
when given a non-C contiguousnumpy.ndarray
hasan error message suggesting to use
default
.3.4.8 - 2021-02-04
Fixed
Changed
3.4.7 - 2021-01-19
Changed
3.4.6 - 2020-12-07
Fixed
3.4.5 - 2020-12-02
Fixed
3.4.4 - 2020-11-25
Changed
orjson.dumps()
serializes integers up to a 64-bit unsigned integer'smaximum. It was previously the maximum of a 64-bit signed integer.
3.4.3 - 2020-10-30
Fixed
dict
keys.3.4.2 - 2020-10-29
Changed
3.4.1 - 2020-10-20
Fixed
orjson.dumps.__module__
andorjson.loads.__module__
not being thestr
"orjson".Changed
3.4.0 - 2020-09-25
Added
numpy.uint8
andnumpy.int8
instances.Fixed
numpy.empty()
instances.Changed
manylinux1
wheels due to tooling dropping support.3.3.1 - 2020-08-17
Fixed
was introduced in 3.2.0.
orjson.dumps()
forhelp()
.Changed
manylinux2014
wheels for amd64 in addition tomanylinux1
.3.3.0 - 2020-07-24
Added
orjson.dumps()
now serializes individual numpy floats and integers, e.g.,numpy.float64(1.0)
.orjson.OPT_PASSTHROUGH_DATACLASS
causesorjson.dumps()
to passdataclasses.dataclass
instances todefault
.3.2.2 - 2020-07-13
Fixed
dataclasses.dataclass
that have no attributes.Changed
str
.3.2.1 - 2020-07-03
Fixed
orjson.dumps(..., **{})
raisingTypeError
on python3.6.3.2.0 - 2020-06-30
Added
orjson.OPT_APPEND_NEWLINE
appends a newline to output.Changed
str
.3.1.2 - 2020-06-23
Fixed
numpy.ndarray
.3.1.1 - 2020-06-20
Fixed
str
that are ASCII-only and have a legacy(non-compact) layout.
3.1.0 - 2020-06-08
Added
orjson.OPT_PASSTHROUGH_SUBCLASS
causesorjson.dumps()
to passsubclasses of builtin types to
default
so the caller can customize theoutput.
orjson.OPT_PASSTHROUGH_DATETIME
causesorjson.dumps()
to passdatetime
objects todefault
so the caller can customize theoutput.
3.0.2 - 2020-05-27
Changed
orjson.dumps()
does not serializedataclasses.dataclass
attributesthat begin with a leading underscore, e.g.,
_attr
. This is because of thePython idiom that a leading underscores marks an attribute as "private."
orjson.dumps()
does not serializedataclasses.dataclass
attributes thatare
InitVar
orClassVar
whether using__slots__
or not.3.0.1 - 2020-05-19
Fixed
orjson.dumps()
raises an exception if the object to be serializedis not given as a positional argument.
orjson.dumps({})
is intended and okwhile
orjson.dumps(obj={})
is an error. This makes it consistent with thedocumentation,
help()
annotation, and type annotation.garbage collector runs.
Changed
calling convention on python3.7 and above.
3.0.0 - 2020-05-01
Added
orjson.dumps()
serializes subclasses ofstr
,int
,list
, anddict
.Changed
orjson.dumps()
serializesdataclasses.dataclass
anduuid.UUID
instances by default. The options
OPT_SERIALIZE_DATACLASS
andOPT_SERIALIZE_UUID
can still be specified but have no effect.2.6.8 - 2020-04-30
Changed
2.6.7 - 2020-04-30
Fixed
Changed
.cargo/config
.2.6.6 - 2020-04-24
Fixed
numpy
only on first use ofOPT_SERIALIZE_NUMPY
to reduceinterpreter start time when not used.
2.6.5 - 2020-04-08
Fixed
JSONDecodeError
on some valid negativefloats with large exponents.
2.6.4 - 2020-04-08
Changed
2.6.3 - 2020-04-01
Changed
enum.Enum
objects.2.6.2 - 2020-03-27
Changed
manylinux2014
wheel instead ofmanylinux1
forx86_64
.manylinux2014
wheel foraarch64
.Fixed
2.6.1 - 2020-03-19
Changed
directly to the returned
bytes
object.2.6.0 - 2020-03-10
Added
orjson.dumps()
pretty prints with an indentation of two spaces ifoption=orjson.OPT_INDENT_2
is specified.2.5.2 - 2020-03-07
Changed
manylinux2014
wheels foraarch64
.numpy.uint32
andnumpy.uint64
.2.5.1 - 2020-02-24
Changed
manylinux1
wheels for 3.6, 3.7, and 3.8 are now compliant with the spec bynot depending on glibc 2.18.
2.5.0 - 2020-02-19
Added
orjson.dumps()
serializesdict
keys of type other thanstr
ifoption=orjson.OPT_NON_STR_KEYS
is specified.2.4.0 - 2020-02-14
Added
orjson.dumps()
serializesnumpy.ndarray
instances ifoption=orjson.OPT_SERIALIZE_NUMPY
is specified.Fixed
dataclasses.dataclass
attributes that aredict
to be effected byorjson.OPT_SORT_KEYS
.2.3.0 - 2020-02-12
Added
orjson.dumps()
serializesdict
instances sorted by keys, equivalent tosort_keys
in other implementations, ifoption=orjson.OPT_SORT_KEYS
isspecified.
Changed
dataclasses.dataclass
instances without__slots__
now serialize faster.Fixed
default
, in particular documenting the need to raisean exception if the type cannot be handled.
2.2.2 - 2020-02-10
Changed
same type.
2.2.1 - 2020-02-04
Fixed
orjson.loads()
rejects floats that do not have a digit followingthe decimal, e.g.,
-2.
,2.e-3
.Changed
2.2.0 - 2020-01-22
Added
orjson.dumps()
serializesuuid.UUID
instances ifoption=orjson.OPT_SERIALIZE_UUID
is specified.Changed
2.1.4 - 2020-01-08
Fixed
orjson.loads()
.Changed
2.1.3 - 2019-11-12
Changed
2.1.2 - 2019-11-07
Changed
default
onorjson.dumps()
has been increased from5 to 254.
2.1.1 - 2019-10-29
Changed
manylinux1
wheels instead ofmanylinux2010
.2.1.0 - 2019-10-24
Added
orjson.dumps()
serializesdataclasses.dataclass
instances ifoption=orjson.OPT_SERIALIZE_DATACLASS
is specified.orjson.dumps()
acceptsorjson.OPT_UTC_Z
to serialize UTC as "Z" insteadof "+00:00".
orjson.dumps()
acceptsorjson.OPT_OMIT_MICROSECONDS
to not serializethe
microseconds
attribute ofdatetime.datetime
anddatetime.time
instances.
orjson.loads()
acceptsbytearray
.Changed
manylinux2010
wheels instead ofmanylinux1
.2.0.11 - 2019-10-01
Changed
2.0.10 - 2019-09-25
Changed
by creating only one
str
object for repeated map keys.2.0.9 - 2019-09-22
Changed
Fixed
datetime.time
objects.2.0.8 - 2019-09-18
Fixed
datetime.datetime
objects.2.0.7 - 2019-08-29
Changed
Fixed
orjson.dumps()
raisesJSONEncodeError
on circular references.2.0.6 - 2019-05-11
Changed
2.0.5 - 2019-04-19
Fixed
float
values, e.g.,31.245270191439438 was parsed to 31.24527019143944. Serialization was
unaffected.
2.0.4 - 2019-04-02
Changed
orjson.dumps()
now serializesdatetime.datetime
objects without atzinfo
rather than raisingJSONEncodeError
.2.0.3 - 2019-03-23
Changed
orjson.loads()
uses SSE2 to validatebytes
input.2.0.2 - 2019-03-12
Changed
2.0.1 - 2019-02-05
Changed
2.0.0 - 2019-01-28
Added
orjson.dumps()
accepts adefault
callable to serialize arbitrarytypes.
orjson.dumps()
acceptsdatetime.datetime
,datetime.date
,and
datetime.time
. Each is serialized to an RFC 3339 string.orjson.dumps(..., option=orjson.OPT_NAIVE_UTC)
allows serializingdatetime.datetime
objects that do not have a timezone set as UTC.orjson.dumps(..., option=orjson.OPT_STRICT_INTEGER)
available toraise an error on integer values outside the 53-bit range of all JSON
implementations.
Changed
orjson.dumps()
no longer acceptsbytes
.1.3.1 - 2019-01-03
Fixed
1.3.0 - 2019-01-02
Changed
1.2.1 - 2018-12-31
Fixed
1.2.0 - 2018-12-16
Changed
1.1.0 - 2018-12-04
Changed
Fixed
1.0.1 - 2018-11-26
Fixed
1.0.0 - 2018-11-23
Added
orjson.dumps()
function.orjson.loads()
function.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.