Revisions of python-msgspec

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1142843 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 4)
- 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
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1135278 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 3)
- 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 Ana Guerrero (anag+factory) accepted request 1131998 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 2)
- 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`)

- Initial release of 0.18.2.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1108387 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 1)
- Initial release of 0.18.2.
Displaying all 4 revisions
openSUSE Build Service is sponsored by