Releases: ermakov-oleg/serpyco-rs
v1.13.0
Release Notes - Version 1.13.0
Updates
Performance Boost: Faster Enum Serialization
We've significantly improved the performance of dump
for enums, achieving a speedup of over 50%.
Dependency Updates
- pyo3: Updated to the latest version (
0.23.4
). - uuid: Updated to the latest version (
1.12.0
).
Full Changelog: v1.12.0...v1.13.0
v1.12.0
Release Notes - Version 1.12.0
Updates
Added Support for MinLength/MaxLength for list/Sequence: We've enhanced validation capabilities by introducing support for MinLength
and MaxLength
constraints for list
and Sequence
types. This allows for more robust data validation directly in your models.
Updated pyo3: Updated to the latest version.
Full Changelog: v1.11.0...v1.12.0
v1.11.0
Release Notes - Version 1.11.0
Updates
Added Support for Python 3.13: In this release, we've introduced support for Python 3.13, ensuring compatibility with the latest Python version and taking advantage of its new features and performance improvements.
Full Changelog: v1.10.2...v1.11.0
v1.10.2
Release Notes - Version 1.10.3
Updates
Fixed Support for ForwardRef in Python 3.12.4: In this release, we've addressed an issue with the handling of ForwardRef
in Python 3.12.4.
Full Changelog: v1.10.1...v1.10.2
v1.10.1
Release Notes - Version 1.10.1
Updates
Fixed JSON Schema for Literal[Enum.variant]: We've made a fix in this release to correct the JSON schema generation for Literal[Enum.variant]
.
Full Changelog: v1.10.0...v1.10.1
v1.10.0
Release Notes - Version 1.10.0
Updates
Added Support for Literal[Enum.variant] in Tagged Unions: In this release, we've introduced support for Literal[Enum.variant]
as a discriminator in tagged unions. This enhancement provides more flexibility and precision in handling tagged unions.
Full Changelog: v1.9.1...v1.10.0
v1.9.1
Release Notes - Version 1.9.1
Updates
Omitting Modifiers in JSON Schema Names: In this release, we've made a change to omit modifiers like no_format
, keep_nones
, etc., in JSON schema names. This is part of our ongoing effort to improve the clarity and readability of our JSON schemas.
Full Changelog: v1.9.0...v1.9.1
v1.9.0
Release Notes - Version 1.9.0
Updates
Added Support for typing.NewType: We've introduced support for typing.NewType
in serialization and deserialization. This allows users to create distinct types with a single value item, providing an extra layer of safety in type checking.
Full Changelog: v1.8.0...v1.9.0
v1.8.0
Release Notes - Version 1.8.0
Updates
Added Custom Type Support: We've added the ability to handle custom types in serialization and deserialization. Users can now define their own types using the CustomType
class and use the custom_type_resolver
parameter to specify how these types should be handled.
Full Changelog: v1.7.1...v1.8.0
v1.7.1
Release Notes - Version 1.7.1
Bug Fix
Added Missing 'description' Field: A missing 'description' field in the JSON schema for boolean fields has been added.
Full Changelog: v1.7.0...v1.7.1