Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: Pipelex/kajson

v0.3.1

11 Jul 08:26
5c1f017

Choose a tag to compare

[v0.3.1] - 2025-07-10

  • Fix documentation URL in pyproject.toml
  • Add GHA for doc deploy

v0.3.0

09 Jul 09:52
673d8e6

Choose a tag to compare

[v0.3.0] - 2025-07-09

  • Making KajsonManager a proper Singleton using MetaSingleton

v0.2.4

30 Jun 09:21
d60cd9d

Choose a tag to compare

[v0.2.4] - 2025-06-30

  • Automatic changelog in Github Release

v0.2.3

26 Jun 13:52
7fde91c

Choose a tag to compare

  • Better handle enums including in pydantic BaseModels

v0.2.2

26 Jun 10:56
e3cf166

Choose a tag to compare

🚀 New Features

  • Generic Pydantic Models: Comprehensive support for generic models with type parameters (Container[T], KeyValueStore[K, V], etc.) with enhanced class registry that automatically handles generic type resolution and fallback to base classes
  • Cross-Platform DateTime: Enhanced datetime encoding with 4-digit year formatting for better cross-platform compatibility

📚 New Examples

  • ex_15_pydantic_subclass_polymorphism.py: Demonstrates polymorphic APIs, plugin architectures, and mixed collections with preserved subclass types
  • ex_16_generic_models.py: Showcases single/multiple type parameters, nested generics, and bounded generic types

🏗️ Core Improvements

  • Automatic Metadata Handling: Built-in encoders now automatically receive __class__ and __module__ metadata, simplifying custom encoder implementation
  • Generic Type Resolution: JSON decoder now handles generic class names by intelligently falling back to base classes
  • Timezone Support: Fixed missing timezone encoder/decoder registration for ZoneInfo objects
  • Simplified Encoders: Removed manual metadata from built-in encoders (datetime, date, time, timedelta, timezone)

📖 Documentation

  • Expanded README: Added compatibility matrix, migration guide, architecture overview, and comprehensive use cases
  • Enhanced API Docs: Updated encoder/decoder documentation with automatic metadata handling examples
  • Examples Documentation: New detailed examples with polymorphism and generic models patterns

🧪 Testing

  • Integration Tests: Added comprehensive test suites for generic models and subclass polymorphism
  • DateTime Tests: Enhanced datetime/timezone round-trip testing with edge cases and complex structures
  • Class Registry Tests: Improved test coverage for dynamic class scenarios

v0.2.1

24 Jun 09:36
862a625

Choose a tag to compare

Merge pull request #21 from Pipelex/release/v0.2.1

- Added the last missing example & doc: using the class registry to handle dynamic classes from distributed systems and runtime generation
- Fixed markdown of overview docs

v0.2.0

23 Jun 09:05
73ae9b0

Choose a tag to compare

  • Test coverage 100%
  • New integration tests
  • New examples in examples/ directory, used as e2e tests
  • Full documentation in docs/ directory
  • MkDocs deployed on GitHub pages: https://pipelex.github.io/kajson/

v0.1.6

19 Jun 10:18
38421a4

Choose a tag to compare

Merge pull request #17 from Pipelex/release/v0.1.6

- Introduced `ClassRegistryAbstract` (ABC) for dependency injection of ClassRegistry
- Added `KajsonManager` for better lifecycle management
- Changed default Python version to 3.11 (still requires Python >=3.9)
- Updated Pydantic dependency from exact version `==2.10.6` to minimum version `>=2.10.6`
- Code cleanup and removal of unused components, most notably the `sandbox_manager`

v0.1.5

02 Jun 15:29
92643e3

Choose a tag to compare

Merge pull request #11 from Pipelex/release/v0.1.5

Release/v0.1.5

v0.1.4

25 May 15:54
4ca3b51

Choose a tag to compare

Merge pull request #7 from Pipelex/release/v0.1.4

Remove inappropriate VS Code settings