Overview

Request 1135278 accepted

- 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`).

Request History
Dirk Mueller's avatar

dirkmueller created request

- 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`).


Ana Guerrero's avatar

anag+factory added as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:32"


Ana Guerrero's avatar

anag+factory accepted review

Picked "openSUSE:Factory:Staging:adi:32"


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

The legal review is accepted preliminary. The package may require actions later on.


Dominique Leuenberger's avatar

dimstar accepted review

ok


Ana Guerrero's avatar

anag+factory accepted review

Staging Project openSUSE:Factory:Staging:adi:32 got accepted.


Ana Guerrero's avatar

anag+factory approved review

Staging Project openSUSE:Factory:Staging:adi:32 got accepted.


Ana Guerrero's avatar

anag+factory accepted request

Staging Project openSUSE:Factory:Staging:adi:32 got accepted.

openSUSE Build Service is sponsored by