Releases: kodemore/chili
2.4.1
- Fix issue with decoding Optional typing
2.4.0
What's Changed
- Do not allow incomplete objects to be created by @dkraczkowski in #24
Full Changelog: 2.3.1...2.4.0
2.3.1
What's Changed
- Add support for internal classes by @dkraczkowski in #23
Full Changelog: 2.3.0...2.3.1
2.3.0
Merge pull request #22 from kodemore/allow-registering-mappers-in-dec…
2.2.0
What's Changed
- Add support for re.Pattern and pathlib.Path by @dkraczkowski in #20
Full Changelog: 2.1.1...2.2.0
2.1.1
What's Changed
- Maintain extra encoders and decoders while building subtype encoder/decoders by @Fairlight8 in #15
- chili/decoder.py: pass extra_decoders to build_type_decoder by @ltrojan in #16
- migrates to new poetry structure
New Contributors
- @Fairlight8 made their first contribution in #15
- @ltrojan made their first contribution in #16
Full Changelog: 2.1.0...2.1.1
2.1.0
Fixed minor issue with custom encoders/decoders
Added support for typing.TypeVar and typing.NewType
Full Changelog: 2.0.1...2.1.0
2.0.1
Fix support for forward references
Full Changelog: 2.0.0...2.0.1
2.0.0
I am excited to announce the release of the latest update to our library. As the sole maintainer, I have worked hard to bring you some seriously cool updates in this version. Here are some highlights:
New Feature: Decorators for Serialisation
Added support for @serializable
, @encodable
, and @decodable
decorators that make the serialisation process effortless and make your code more modular and easier to manage. These decorators help you define how your classes or structs should be encoded/decoded.
Faster Data Encoding/Decoding
Significantly boosted the library's performance, making it capable of encoding/decoding up to 100,000 objects in less than a second on an mbp m1. This improved performance means that your applications can handle data processing more efficiently than ever before.
JSON Encoder/Decoder
Added a JSON encode/decoder, allowing you to convert data to and from JSON format easily. This new feature provides flexibility in data exchange between different systems.
JsonDecoder
, JsonEncoder
, json_encode
, json_decode
.
Enhanced Functionality
Expanded the library's functionality so that it is even more versatile and adaptable to a wide range of use cases. To make it easier to work with serialisable data types, I have also introduced new and improved interfaces such as Serialiser
, Encoder
, and Decoder
classes. Additionally, I have included functional interfaces like encode
and decode
functions that provide more flexibility in working with data.
These updates will make your development experience smoother and more efficient.
Full Changelog: 1.8.0...2.0.0
1.8.0
- Added json support
Full Changelog: 1.7.1...1.8.0