Releases: persevie/statemanjs
Releases · persevie/statemanjs
@persevie/[email protected]
Added
- Custom Comparators: Introduced support for custom comparator functions in the
set
andupdate
methods. This allows developers to define how states should be compared, providing greater flexibility in state management. - Extended Subscription Options: Added new subscription options, including property-based notifications and
notifyCondition
callbacks. This enables more efficient state updates and reduces unnecessary recalculations or re-renders. - Enhanced Computed State API: Improved the
createSelector
function to accept additional configuration options, such as custom and default comparators. This ensures computed states are more efficiently managed.
Changed
- Optimized Core Logic: Refactored the internal state management logic to improve performance, particularly in how state changes are tracked and handled. This includes the introduction of a proxy cache to reduce the overhead of accessing nested properties.
- Improved Error Handling: Enhanced error handling mechanisms across the state management system, providing clearer feedback when issues occur during state updates or subscriptions.
- Refined Update Process: The update process now better handles property changes, ensuring that only necessary updates trigger notifications to subscribers.
Fixed
- Vulnerability Fixes: Addressed potential vulnerabilities in state management by tightening control over how state modifications are performed and by improving access controls.
This release focuses on improving the performance, flexibility, and security of the statemanjs
library, offering developers greater control and efficiency in managing application state.
@persevie/[email protected]
feat: add debug service (transactions)
@persevie/[email protected]
chore(statemanjs-react): update repository url
@persevie/[email protected]
chore(statemanjs-react): update repository url
@persevie/[email protected]
chore(statemanjs-react): update repository url
@persevie/[email protected]
chore(statemanjs-react): update repository url
v1.5.3
@persevie/[email protected]
Note: Version bump only for package @persevie/statemanjs
@persevie/[email protected]
1.5.5 (2023-07-22)
1.5.3 (2023-07-22)
Note: Version bump only for package @persevie/statemanjs