Skip to content

v0.2.1

Compare
Choose a tag to compare
@illuxiza illuxiza released this 27 Dec 04:49
· 74 commits to main since this release

v0.2.1

Added

  • New Ref type in @rustable/utils for immutable references
    • Deep cloning of original values
    • Independent modifications without affecting originals
    • Symbol-based access to original values via Ref.ptr
    • Full support for complex objects, arrays, and class instances
    • Comprehensive test coverage

Changed

  • Reimplemented Mut in @rustable/utils as proxy-based mutable reference
    • Replaced class-based implementation with Proxy for transparent object mutation
    • Added Symbol-based pointer (Mut.ptr) for full object replacement
    • Improved direct property access and method binding
    • Enhanced type safety and object property access
    • Added extensive test cases for new proxy behavior

Documentation

  • Added detailed examples and usage guides for both Ref and Mut
  • Updated API documentation with new features and patterns
  • Improved code samples demonstrating common use cases