Releases: beerush-id/airlib
Releases · beerush-id/airlib
v1.1.1
🚀 Features
- Introduce
@airlib/formreactive form management library - Introduce field and input shortcut methods and fix change store cleanup
- Introduce strictly typed form factory and revamp documentation
- Introduce form submission lifecycle and status tracking
- Introduce changed state tracking for fields and inputs
- Synchronize form state with external deep object and array mutations
- Expose modified fields in form submit handler
- Introduce
@airlib/react-formlibrary for reactive React forms - Introduce
touchedstate tracking and migrate internal stores to plain objects - Introduce cross-field bound validation and
matchedstate - Enhance form accessibility and introduce cross-field matching
- Introduce
@airlib/solid-formpackage for reactive SolidJS forms - (form) Add field-level clear and reset functionality
- (field) Add array element manipulation methods
- (form) Add form event subscription and improve field state management
- (react-form) Add configurable styling and validation classes for form components
- (solid-form) Introduce styling configuration and dynamic classes for form components
- (form) Add fallback form field creation when context unavailable
🐛 Bug Fixes
- Retain parent object and array paths in flattened data map
- Rebind state subscription on root form value replacement
- (form) Clone object baseline values to prevent reference mutations
- (form) Handle object cloning in baseline value processing
- (form) Prevent unintended reactive tracking during form input updates
- (form) Untrack reactivity in input value setter
- (react-form) Prevent array initialization on unnamed FieldList components
- (solid-form) Ensure array initialization only occurs with valid field names
- (solid-form) Ensure proper value synchronization and test updates
- (solid-form) Correct ref assignment in Select component
🚜 Refactor
- Replace explicit
anywithAnyTypein form utilities - Improve reactivity and state synchronization in form state
- Add explicit component and view names to React form elements
- (form) Overhaul architecture with class-based engine and flattened package
- (form) Change touched tracking from per-field to global state
- (form) Simplify form context reset logic
- (forms) Simplify exports by using wildcard instead of individual exports
📚 Documentation
- Revamp README with AIR Libraries branding and project structure
🎨 Styling
- (test) Format code according to team style guide
🧪 Testing
- (form) Add subscription event tests for reset and clear operations
- Expand coverage for form configuration, reset, and state classes
- (solid-form) Add comprehensive test coverage for error class handling and form configuration
- (config) Add vitest configuration and update test scripts
⚙️ Miscellaneous Tasks
- Initialize AIR Libraries monorepo workspace
- Update build and prepublish scripts
- Update package configurations, dependencies, and add array mutation tests
- Correct spelling of
constant.tsfilename and update references - Update dependencies and resolve root catalog versions
- Bump package versions to 1.0.0 and configure prepublish script
- Add release scripts and update package metadata for 1.0.1
- (monorepo) Bump package versions and update workspace configuration
- (release) Bump version to 1.1.1 across all packages