Skip to content

Releases: persevie/statemanjs

@persevie/statemanjs@1.7.1

15 Aug 20:32
Compare
Choose a tag to compare

Added

  • Custom Comparators: Introduced support for custom comparator functions in the set and update 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/statemanjs@1.6.0

14 Dec 21:23
Compare
Choose a tag to compare

feat: add debug service (transactions)

@persevie/statemanjs@1.5.7

23 Jul 14:57
Compare
Choose a tag to compare
chore(statemanjs-react): update repository url

@persevie/statemanjs-vue@1.2.2

23 Jul 14:58
Compare
Choose a tag to compare
chore(statemanjs-react): update repository url

@persevie/statemanjs-solid@1.2.2

23 Jul 14:59
Compare
Choose a tag to compare
chore(statemanjs-react): update repository url

@persevie/statemanjs-react@1.2.6

23 Jul 14:58
Compare
Choose a tag to compare
chore(statemanjs-react): update repository url

v1.5.3

22 Jul 00:28
Compare
Choose a tag to compare
chore(release): get ready for new version

@persevie/statemanjs@1.5.6

22 Jul 01:08
Compare
Choose a tag to compare

Note: Version bump only for package @persevie/statemanjs

@persevie/statemanjs@1.5.5

22 Jul 01:01
Compare
Choose a tag to compare

1.5.5 (2023-07-22)

1.5.3 (2023-07-22)

Note: Version bump only for package @persevie/statemanjs

v1.5.1

01 May 22:31
Compare
Choose a tag to compare

Support selectors, async actions and subscription properties