14
0

- 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-msgspec?expand=0&rev=7
This commit is contained in:
2024-01-30 18:06:52 +00:00
committed by Git OBS Bridge
parent 86349e9f38
commit 1753bb4ac2
4 changed files with 24 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e10b758ab3b063c1674119da5105e4ee69353481b95f1d0538ff29c117de3a04
size 1286542

3
msgspec-0.18.6.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5bff8c3f9303eb589516e02de4141ce31be09a0fdf4980734b020b64c120295e
size 1311867

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-msgspec
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python-msgspec
Version: 0.18.5
Version: 0.18.6
Release: 0
Summary: A fast serialization and validation library
License: BSD-3-Clause