From 4be132f7cc42f3c4f2a56b2b2cfceb2d25f6324b Mon Sep 17 00:00:00 2001 From: WJG Date: Sun, 21 Apr 2024 20:53:39 +0800 Subject: [PATCH] release: v2.0.0 --- CHANGELOG.md | 11 ++++++++--- package.json | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 199d279..bdaca08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,16 @@ +## 2.0.0 + +- **Added**: XStaManager - provides a unified interface for basic state management operations. +- **Changed**: Notification sent to components to rebuild when their associated state is deleted, improving reactivity. + ## 1.0.2 -- Feat: Support for implicit state updates with component re-render notifications. +- **Added**: Support for implicit state updates with automatic component re-rendering. ## 1.0.1 -- Fix: Improved example for accessing and updating global state from external functions. +- **Improved**: Example code demonstrating how to access and update global state from external functions. ## 1.0.0 -- Initial release. +- Initial release of the state management library. diff --git a/package.json b/package.json index 73efc6c..ec13716 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xsta", - "version": "1.1.0", + "version": "2.0.0", "type": "module", "description": "An ultra-lightweight (<200 lines) React state management solution with zero learning curve and migration costs.", "license": "MIT",