jcrist/msgspec
### [`v0.14.1`](https://togithub.com/jcrist/msgspec/releases/tag/0.14.1): Version 0.14.1
[Compare Source](https://togithub.com/jcrist/msgspec/compare/0.14.0...0.14.1)
- Further optimize decoding of JSON arrays into lists [#363](https://togithub.com/jcrist/msgspec/issues/363)
- Fix a bug preventing using structs configured with `dict=True` on Python 3.11 [#365](https://togithub.com/jcrist/msgspec/issues/365)
- Avoid preallocating large lists/tuples in the msgpack decoder [#367](https://togithub.com/jcrist/msgspec/issues/367)
### [`v0.14.0`](https://togithub.com/jcrist/msgspec/releases/tag/0.14.0): Version 0.14.0
[Compare Source](https://togithub.com/jcrist/msgspec/compare/0.13.1...0.14.0)
- Support encoding and decoding [attrs](https://attrs.org) types ([#323](https://togithub.com/jcrist/msgspec/issues/323)).
- Add `repr_omit_defaults` configuration option for omitting struct default values in the `repr` ([#322](https://togithub.com/jcrist/msgspec/issues/322)).
- Expose a struct's configuration through a `__struct_config__` attribute ([#328](https://togithub.com/jcrist/msgspec/issues/328)).
- Add `msgspec.structs.fields` utility function for inspecting the fields configured on a Struct ([#330](https://togithub.com/jcrist/msgspec/issues/330)).
- Add a `dict` configuration option for adding a `__dict__` attribute to a Struct ([#331](https://togithub.com/jcrist/msgspec/issues/331)).
- Allow non-struct mixins to be used with struct types ([#332](https://togithub.com/jcrist/msgspec/issues/332)).
- Fix a bug when defining both `lt` and `gt` constraints on an integer type ([#335](https://togithub.com/jcrist/msgspec/issues/335)).
- Fix a bug supporting fields defined with `msgspec.field()` with no arguments ([#343](https://togithub.com/jcrist/msgspec/issues/343)).
- Allow arbitrary input types to `msgspec.from_builtins` ([#346](https://togithub.com/jcrist/msgspec/issues/346)).
- Support decoding into subclasses of `int` & `bytes` in `msgspec.from_builtins` ([#346](https://togithub.com/jcrist/msgspec/issues/346)).
- Add `msgspec.UNSET` and `msgspec.UnsetType` for tracking unset fields. See the [docs](https://jcristharif.com/msgspec/supported-types.html#unset) for more information ([#350](https://togithub.com/jcrist/msgspec/issues/350)).
- **BREAKING**: In the unlikely event you were using the previous `msgspec.UNSET` singleton to explicitly indicate no default value on struct types, you should now make use of `msgspec.NODEFAULT` instead ([#350](https://togithub.com/jcrist/msgspec/issues/350)).
- Improve struct type annotations now that `mypy` supports `typing.dataclass_transform` ([#352](https://togithub.com/jcrist/msgspec/issues/352)).
- Support `typing.Final` annotations for indicating that an object field should be treated as immutable ([#354](https://togithub.com/jcrist/msgspec/issues/354)).
- Add a `name` keyword option to `msgspec.field` for renaming a single field ([#356](https://togithub.com/jcrist/msgspec/issues/356)).
- **BREAKING**: The rules around class inheritance and a struct's `rename` option have changed. See [#356](https://togithub.com/jcrist/msgspec/issues/356) for more information.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
==1.51.3
->==1.53.0
==0.13.1
->==0.14.1
==4.22.1
->==4.22.3
==2.0.7
->==2.0.9
Release Notes
jcrist/msgspec
### [`v0.14.1`](https://togithub.com/jcrist/msgspec/releases/tag/0.14.1): Version 0.14.1 [Compare Source](https://togithub.com/jcrist/msgspec/compare/0.14.0...0.14.1) - Further optimize decoding of JSON arrays into lists [#363](https://togithub.com/jcrist/msgspec/issues/363) - Fix a bug preventing using structs configured with `dict=True` on Python 3.11 [#365](https://togithub.com/jcrist/msgspec/issues/365) - Avoid preallocating large lists/tuples in the msgpack decoder [#367](https://togithub.com/jcrist/msgspec/issues/367) ### [`v0.14.0`](https://togithub.com/jcrist/msgspec/releases/tag/0.14.0): Version 0.14.0 [Compare Source](https://togithub.com/jcrist/msgspec/compare/0.13.1...0.14.0) - Support encoding and decoding [attrs](https://attrs.org) types ([#323](https://togithub.com/jcrist/msgspec/issues/323)). - Add `repr_omit_defaults` configuration option for omitting struct default values in the `repr` ([#322](https://togithub.com/jcrist/msgspec/issues/322)). - Expose a struct's configuration through a `__struct_config__` attribute ([#328](https://togithub.com/jcrist/msgspec/issues/328)). - Add `msgspec.structs.fields` utility function for inspecting the fields configured on a Struct ([#330](https://togithub.com/jcrist/msgspec/issues/330)). - Add a `dict` configuration option for adding a `__dict__` attribute to a Struct ([#331](https://togithub.com/jcrist/msgspec/issues/331)). - Allow non-struct mixins to be used with struct types ([#332](https://togithub.com/jcrist/msgspec/issues/332)). - Fix a bug when defining both `lt` and `gt` constraints on an integer type ([#335](https://togithub.com/jcrist/msgspec/issues/335)). - Fix a bug supporting fields defined with `msgspec.field()` with no arguments ([#343](https://togithub.com/jcrist/msgspec/issues/343)). - Allow arbitrary input types to `msgspec.from_builtins` ([#346](https://togithub.com/jcrist/msgspec/issues/346)). - Support decoding into subclasses of `int` & `bytes` in `msgspec.from_builtins` ([#346](https://togithub.com/jcrist/msgspec/issues/346)). - Add `msgspec.UNSET` and `msgspec.UnsetType` for tracking unset fields. See the [docs](https://jcristharif.com/msgspec/supported-types.html#unset) for more information ([#350](https://togithub.com/jcrist/msgspec/issues/350)). - **BREAKING**: In the unlikely event you were using the previous `msgspec.UNSET` singleton to explicitly indicate no default value on struct types, you should now make use of `msgspec.NODEFAULT` instead ([#350](https://togithub.com/jcrist/msgspec/issues/350)). - Improve struct type annotations now that `mypy` supports `typing.dataclass_transform` ([#352](https://togithub.com/jcrist/msgspec/issues/352)). - Support `typing.Final` annotations for indicating that an object field should be treated as immutable ([#354](https://togithub.com/jcrist/msgspec/issues/354)). - Add a `name` keyword option to `msgspec.field` for renaming a single field ([#356](https://togithub.com/jcrist/msgspec/issues/356)). - **BREAKING**: The rules around class inheritance and a struct's `rename` option have changed. See [#356](https://togithub.com/jcrist/msgspec/issues/356) for more information.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.