v0.2.0
v0.2.0
This release focuses on consolidating packages and enhancing the trait system for better usability and maintainability.
Breaking Changes
- Renamed
@rustable/trait-impls
to@rustable/commons
- Merged
@rustable/coll
into@rustable/commons
- All collection and trait implementations are now available through
@rustable/commons
Features & Improvements
Trait System
- Improved generic parameter handling and inheritance
- Fixed method binding for Object prototype methods
- Added global type declarations for common traits
- Updated all imports from
trait-impls
tocommons
Collections
- Moved all collection implementations (HashMap, HashSet, Vec) to commons
- Maintained all existing collection features and type safety
- Better integration with trait system
Enum Package
- Added
replace()
andmodify()
methods for variant manipulation
Package Structure
- Simplified by combining related functionality
- Better organized exports in root package
- Added
@rustable/enum
as direct dependency of commons - Improved package descriptions and documentation
This release represents a significant step in streamlining the library's architecture while maintaining all functionality and type safety.