Merged
Conversation
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.12Release Notes
ijl/orjson (orjson)
v3.9.12Compare Source
Changed
Fixed
musllinux_1_1build due to sporadic CI failure.v3.9.11Compare Source
Changed
stris significantly faster. Documentsusing
dict,list, andtupleare somewhat faster.3.9.10 - 2023-10-26
Fixed
--profile=devbuild.3.9.9 - 2023-10-12
Changed
orjsonmodule 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.JSONEncodeErrorpossibly beingdenormalized, i.e., of type
strinstead ofException.3.9.1 - 2023-06-09
Fixed
default. Thiswas introduced in 3.8.12.
3.9.0 - 2023-06-01
Added
orjson.Fragmentincludes already-serialized JSON in a document.3.8.14 - 2023-05-25
Changed
manylinuxwheels are compiled forx86-64instead ofx86-64-v2.3.8.13 - 2023-05-23
Changed
MACOSX_DEPLOYMENT_TARGETof 10.15 instead of 11.3.8.12 - 2023-05-07
Changed
defaultare 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_64wheels are compiled forx86-64-v2.universal2and compiled forx86-64-v2andapple-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-dateutiloptional 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=NoneperOptional[int]type.3.8.2 - 2022-11-20
Fixed
numpy.intpandnumpy.uintp.Changed
3.8.1 - 2022-10-25
Changed
3.8.0 - 2022-08-27
Changed
numpy.int16andnumpy.uint16.3.7.12 - 2022-08-14
Fixed
Changed
3.7.11 - 2022-07-31
Fixed
dictiterator implementation introduced in 3.7.9.3.7.10 - 2022-07-30
Fixed
dictwith 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.
strinput.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.JSONDecodeErrornow inherit fromjson.JSONDecodeErrorinstead ofValueErrororjson.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_17wheels to PyPI.musllinux_1_1wheels to PyPI.Fixed
pythononPATH.3.6.6 - 2022-01-21
Changed
datetime.datetimeusingtzinfothatare
zoneinfo.ZoneInfo.Fixed
JSONDecodeError.orjson.OPT_STRICT_INTEGERnot raising an error onvalues exceeding a 64-bit integer maximum.
3.6.5 - 2021-12-05
Fixed
3.6.4 - 2021-10-01
Fixed
dataclassinheriting fromabc.ABCandusing
__slots__.PyArrayInterface.3.6.3 - 2021-08-20
Fixed
3.6.2 - 2021-08-17
Changed
orjsonnow 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 buildcommandif they continue to use nightly.
orjsonbuilt with--features=unstable-simdadds UTF-8 validationimplementations that use AVX2 or SSE4.2.
3.6.1 - 2021-08-04
Changed
orjsonnow includes apyitype stubs file.Fixed
3.6.0 - 2021-07-08
Added
orjson.dumps()serializesnumpy.datetime64instances as RFC 3339strings.
3.5.4 - 2021-06-30
Fixed
datetime.datetimewithtzinfo.without default specified.
Changed
3.5.3 - 2021-06-01
Fixed
orjson.JSONDecodeErrornow haspos,lineno, andcolno.3.5.2 - 2021-04-15
Changed
orjson.dumps()serializes individualnumpy.bool_objects.3.5.1 - 2021-03-06
Changed
universal2wheels for macOS supporting Apple Silicon (aarch64).3.5.0 - 2021-02-24
Added
orjson.loads()supports reading frommemoryviewobjects.Fixed
datetime.datetimeanddatetime.datezero pad years less than 1000 tofour digits.
Changed
orjson.dumps()when given a non-C contiguousnumpy.ndarrayhasan 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
dictkeys.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.uint8andnumpy.int8instances.Fixed
numpy.empty()instances.Changed
manylinux1wheels due to tooling dropping support.3.3.1 - 2020-08-17
Fixed
was introduced in 3.2.0.
orjson.dumps()forhelp().Changed
manylinux2014wheels 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_DATACLASScausesorjson.dumps()to passdataclasses.dataclassinstances todefault.3.2.2 - 2020-07-13
Fixed
dataclasses.dataclassthat have no attributes.Changed
str.3.2.1 - 2020-07-03
Fixed
orjson.dumps(..., **{})raisingTypeErroron python3.6.3.2.0 - 2020-06-30
Added
orjson.OPT_APPEND_NEWLINEappends a newline to output.Changed
str.3.1.2 - 2020-06-23
Fixed
numpy.ndarray.3.1.1 - 2020-06-20
Fixed
strthat are ASCII-only and have a legacy(non-compact) layout.
3.1.0 - 2020-06-08
Added
orjson.OPT_PASSTHROUGH_SUBCLASScausesorjson.dumps()to passsubclasses of builtin types to
defaultso the caller can customize theoutput.
orjson.OPT_PASSTHROUGH_DATETIMEcausesorjson.dumps()to passdatetimeobjects todefaultso the caller can customize theoutput.
3.0.2 - 2020-05-27
Changed
orjson.dumps()does not serializedataclasses.dataclassattributesthat 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.dataclassattributes thatare
InitVarorClassVarwhether 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.dataclassanduuid.UUIDinstances by default. The options
OPT_SERIALIZE_DATACLASSandOPT_SERIALIZE_UUIDcan 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
numpyonly on first use ofOPT_SERIALIZE_NUMPYto reduceinterpreter start time when not used.
2.6.5 - 2020-04-08
Fixed
JSONDecodeErroron some valid negativefloats with large exponents.
2.6.4 - 2020-04-08
Changed
2.6.3 - 2020-04-01
Changed
enum.Enumobjects.2.6.2 - 2020-03-27
Changed
manylinux2014wheel instead ofmanylinux1forx86_64.manylinux2014wheel foraarch64.Fixed
2.6.1 - 2020-03-19
Changed
directly to the returned
bytesobject.2.6.0 - 2020-03-10
Added
orjson.dumps()pretty prints with an indentation of two spaces ifoption=orjson.OPT_INDENT_2is specified.2.5.2 - 2020-03-07
Changed
manylinux2014wheels foraarch64.numpy.uint32andnumpy.uint64.2.5.1 - 2020-02-24
Changed
manylinux1wheels 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()serializesdictkeys of type other thanstrifoption=orjson.OPT_NON_STR_KEYSis specified.2.4.0 - 2020-02-14
Added
orjson.dumps()serializesnumpy.ndarrayinstances ifoption=orjson.OPT_SERIALIZE_NUMPYis specified.Fixed
dataclasses.dataclassattributes that aredictto be effected byorjson.OPT_SORT_KEYS.2.3.0 - 2020-02-12
Added
orjson.dumps()serializesdictinstances sorted by keys, equivalent tosort_keysin other implementations, ifoption=orjson.OPT_SORT_KEYSisspecified.
Changed
dataclasses.dataclassinstances 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.UUIDinstances ifoption=orjson.OPT_SERIALIZE_UUIDis 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
defaultonorjson.dumps()has been increased from5 to 254.
2.1.1 - 2019-10-29
Changed
manylinux1wheels instead ofmanylinux2010.2.1.0 - 2019-10-24
Added
orjson.dumps()serializesdataclasses.dataclassinstances ifoption=orjson.OPT_SERIALIZE_DATACLASSis specified.orjson.dumps()acceptsorjson.OPT_UTC_Zto serialize UTC as "Z" insteadof "+00:00".
orjson.dumps()acceptsorjson.OPT_OMIT_MICROSECONDSto not serializethe
microsecondsattribute ofdatetime.datetimeanddatetime.timeinstances.
orjson.loads()acceptsbytearray.Changed
manylinux2010wheels instead ofmanylinux1.2.0.11 - 2019-10-01
Changed
2.0.10 - 2019-09-25
Changed
by creating only one
strobject for repeated map keys.2.0.9 - 2019-09-22
Changed
Fixed
datetime.timeobjects.2.0.8 - 2019-09-18
Fixed
datetime.datetimeobjects.2.0.7 - 2019-08-29
Changed
Fixed
orjson.dumps()raisesJSONEncodeErroron circular references.2.0.6 - 2019-05-11
Changed
2.0.5 - 2019-04-19
Fixed
floatvalues, e.g.,31.245270191439438 was parsed to 31.24527019143944. Serialization was
unaffected.
2.0.4 - 2019-04-02
Changed
orjson.dumps()now serializesdatetime.datetimeobjects without atzinforather than raisingJSONEncodeError.2.0.3 - 2019-03-23
Changed
orjson.loads()uses SSE2 to validatebytesinput.2.0.2 - 2019-03-12
Changed
2.0.1 - 2019-02-05
Changed
2.0.0 - 2019-01-28
Added
orjson.dumps()accepts adefaultcallable 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.datetimeobjects 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.