Releases: timrburnham/paperjson
Releases · timrburnham/paperjson
Release list
v0.2.0
Breaking changes
SerdesBase→PaperJsonBase— inherit fromPaperJsonBasefor type-safeto_json()/from_json().SerdesProtocol→PaperJsonProtocol— use in type annotations for structural typing.- Removed
.pyitype stub files.
Docs & DX
- Added Overview section to the README explaining automatic type stringification (the round-trip
str()fallback). - Updated docstrings across the codebase to reflect the new class names.
Infrastructure
- Bumped CI workflow actions:
actions/checkout@v4→v6,astral-sh/setup-uv@v5→v8.1.0.
v0.1.0
v0.1.0 — Initial release
paperjson is a paper-thin JSON serialization/deserialization library for Python dataclasses.
SerdesBase— inherit for full type-checker/LSP support withto_json()/from_json()@serdesdecorator — inject methods at runtime without a base classSerdesProtocol— use in type annotations for structural typingregister_serializer/register_deserializer— add custom type support- Built-in support for
datetime,Path,Decimal, and nested dataclasses