Skip to content

v0.2.1

Latest

Choose a tag to compare

@JonesHong JonesHong released this 19 May 03:16
· 5 commits to master since this release
e9d1020

[0.2.0] - 2025-05-15

Core Features

  • Introduced a stable integration mechanism from Pydantic to immutables.Map
  • Fully implemented an Action pooling system to enhance performance when reusing the same Action frequently
  • Established an immutable state container infrastructure that automatically converts mutable data into immutable forms
  • Complete support for ReactiveX (RxPy) reactive data streams

Added

  • Utility functions: to_immutable, to_dict, and to_pydantic for easy conversion between Pydantic models and immutables.Map
  • Tool functions update_in and batch_update for efficient deep updates and batch updates

Changed

  • Used immutables.Map to implement fully immutable Action objects
  • Action object pooling significantly reduced memory usage and creation overhead
  • Improved effect registration and management, now supporting module-level lifecycle management
  • Optimized selector memoization with deep equality checks and TTL caching strategies
  • Enhanced error handling system to provide structured error reports

Architecture

  • Strict adherence to the NgRx/Redux architectural patterns for unified state management flows
  • Modular design with clear separation of concerns
  • A full middleware architecture that supports extensible workflows
  • .pyi stub files provide precise type hints

Developer Experience

  • Out-of-the-box middleware options reduce boilerplate code
  • Detailed documentation and comments in English and Chinese for the Chinese-speaking community
  • Complete example projects, including a counter and demo for detection
  • A more concise API design to minimize boilerplate

Fixed

  • Resolved edge-case immutability guarantee issues

Deprecated

  • Removed *.ipy files as they are no longer needed; .py files now provide type hints and detailed comments.