forked from pool/python-msgspec
* Improve JSON encoding performance by up to 40%.
* Ensure tuple and frozenset default values are treated identically whether
specified by value or default_factory.
* Fix memory leak of match_args in StructConfig object.
* Fix memory leak in Raw.copy().
* Update decode signatures for PEP 688.
* Generate __replace__ method on Struct types, for use with copy.replace.
* Fix incorrect decoding of certain > 64 bit integers.
* Call __post_init__ when converting from an object to a Struct.
* BREAKING: Expand buffer when encode_into is passed a buffer smaller than
offset.
* Support Raw objects as inputs to convert.
* Error nicely when a dataclass type (instead of an instance) is passed to
encode.
* Drop support for Python 3.8.
* Add support for Python 3.13.
* Remove deprecated from_builtins.
* Support encoding any Enum type whose .value is a supported type.
* Don't fail eagerly when processing generic types with unsupported
__parameters__.
* Use eval_type_backport to backport type annotations to Python 3.9.
- Drop patch python313.patch, included upstream.
- Add patch support-python314.patch:
* Support Python 3.14 annontation changes.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-msgspec?expand=0&rev=13
99 lines
4.3 KiB
Plaintext
99 lines
4.3 KiB
Plaintext
-------------------------------------------------------------------
|
|
Fri Nov 7 03:30:11 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
|
|
|
- Update to 0.19.0:
|
|
* Improve JSON encoding performance by up to 40%.
|
|
* Ensure tuple and frozenset default values are treated identically whether
|
|
specified by value or default_factory.
|
|
* Fix memory leak of match_args in StructConfig object.
|
|
* Fix memory leak in Raw.copy().
|
|
* Update decode signatures for PEP 688.
|
|
* Generate __replace__ method on Struct types, for use with copy.replace.
|
|
* Fix incorrect decoding of certain > 64 bit integers.
|
|
* Call __post_init__ when converting from an object to a Struct.
|
|
* BREAKING: Expand buffer when encode_into is passed a buffer smaller than
|
|
offset.
|
|
* Support Raw objects as inputs to convert.
|
|
* Error nicely when a dataclass type (instead of an instance) is passed to
|
|
encode.
|
|
* Drop support for Python 3.8.
|
|
* Add support for Python 3.13.
|
|
* Remove deprecated from_builtins.
|
|
* Support encoding any Enum type whose .value is a supported type.
|
|
* Don't fail eagerly when processing generic types with unsupported
|
|
__parameters__.
|
|
* Use eval_type_backport to backport type annotations to Python 3.9.
|
|
- Drop patch python313.patch, included upstream.
|
|
- Add patch support-python314.patch:
|
|
* Support Python 3.14 annontation changes.
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Sep 17 13:09:18 UTC 2025 - ecsos <ecsos@opensuse.org>
|
|
|
|
- Add %{?sle15_python_module_pythons}
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Oct 28 22:29:06 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
|
|
- add python313.patch: support python 3.13
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Jan 30 18:06:33 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
|
|
- update to 0.18.6:
|
|
* Support coercing integral floats to ints when strict=False
|
|
* Preserve leading _ when renaming fields to camel or pascal
|
|
case
|
|
* Support zero-copy decoding binary fields to a memoryview
|
|
* Fix a bug when inheriting from the same Generic base class
|
|
multiple times
|
|
* Add an order option to all encoders for enforcing
|
|
deterministic/sorted ordering when encoding. This can help
|
|
provide a more consistent or human readable output
|
|
* Support inheriting from any slots-class when defining a new
|
|
Struct type with gc=False
|
|
* Automatically infer the input field naming convention when
|
|
converting non-dict mappings or arbitrary objects to Struct
|
|
types in msgspec.convert
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Dec 27 10:51:29 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
|
|
- update to 0.18.5:
|
|
* Support unhashable ``Annotated`` metadata in
|
|
`msgspec.inspect.type_info`
|
|
* Fix bug preventing decoding dataclasses/attrs types with
|
|
default values and ``slots=True, frozen=True`` (:pr:`569`).
|
|
* Support passing parametrized generic struct types to
|
|
`msgspec.structs.fields`
|
|
* Validate ``str`` constraints on dict keys when decoding
|
|
msgpack (:pr:`577`).
|
|
* Support ``UUID`` subclasses as inputs to `msgspec.convert`
|
|
* Call ``__eq__`` from generated ``__ne__`` if user defines
|
|
manual ``__eq__`` method on a ``Struct`` type (:pr:`593`).
|
|
* Include the ``Struct`` type in the generated hash
|
|
* Add a ``cache_hash`` struct option (:pr:`596`).
|
|
* Fix a bug around caching of dataclass type info when dealing
|
|
with subclasses of dataclasses (:pr:`599`).
|
|
* Add `msgspec.structs.force_setattr` (:pr:`600`).
|
|
* Support custom dict key types in JSON encoder and decoder
|
|
* Include ``dict`` key constraints in generated JSON schema via
|
|
the ``propertyNames`` field (:pr:`604`).
|
|
* Add a ``schema_hook`` for generating JSON schemas for custom
|
|
types
|
|
* Add support for Python 3.12's ``type`` aliases (:pr:`606`).
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Dec 7 23:03:38 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
|
|
- update to 0.18.4:
|
|
* Resolve an issue leading to periodic segfaults when importing
|
|
``msgspec`` on CPython 3.12
|
|
* Improve type annotation for ``Struct.__rich_repr__``
|
|
* Add pre-built wheels for Python 3.12 (:pr:`558`)
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Sep 1 07:09:26 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
|
|
|
- Initial release of 0.18.2.
|