@praxisjs/store 1.0.10 → 1.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -9
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @praxisjs/store
|
|
2
2
|
|
|
3
|
+
## 1.0.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [74d414a]
|
|
8
|
+
- @praxisjs/core@1.6.0
|
|
9
|
+
- @praxisjs/decorators@1.0.1
|
|
10
|
+
|
|
11
|
+
## 1.0.11
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [954e456]
|
|
16
|
+
- Updated dependencies [a0bf339]
|
|
17
|
+
- Updated dependencies [a0bf339]
|
|
18
|
+
- Updated dependencies [a8df1e1]
|
|
19
|
+
- @praxisjs/decorators@1.0.0
|
|
20
|
+
|
|
3
21
|
## 1.0.10
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -97,39 +115,31 @@
|
|
|
97
115
|
- 3372878: Migrate all packages from functional APIs to a decorator-first design.
|
|
98
116
|
|
|
99
117
|
**`@praxisjs/core`**
|
|
100
|
-
|
|
101
118
|
- Added `Composable` abstract base class for building class-based composables
|
|
102
119
|
- Removed `resource`, `createResource`, `Resource`, `ResourceStatus`, `ResourceOptions` from public exports — use `@Resource` from `@praxisjs/decorators` instead
|
|
103
120
|
|
|
104
121
|
**`@praxisjs/motion`**
|
|
105
|
-
|
|
106
122
|
- Replaced `useMotion`, `tween`, `spring`, `createTransition`, `Animate`, `easings`, `resolveEasing` with `@Tween` and `@Spring` decorators
|
|
107
123
|
|
|
108
124
|
**`@praxisjs/di`**
|
|
109
|
-
|
|
110
125
|
- Replaced `useService` and `createScope` with a `@Scope` decorator
|
|
111
126
|
- Renamed exported type `Scope` to `ScopeType` to free the name for the new decorator
|
|
112
127
|
|
|
113
128
|
**`@praxisjs/fsm`**
|
|
114
|
-
|
|
115
129
|
- Removed `createMachine` — use the `@StateMachine` and `@Transition` decorators directly
|
|
116
130
|
|
|
117
131
|
**`@praxisjs/router`**
|
|
118
|
-
|
|
119
132
|
- Removed `createRouter`, `lazy`, `useRouter`, `useParams`, `useQuery`, `useLocation`
|
|
120
133
|
- Added `@RouterConfig`, `@Lazy`, `@InjectRouter`, `@Params`, `@Query`, `@Location` decorators
|
|
121
134
|
|
|
122
135
|
**`@praxisjs/store`**
|
|
123
|
-
|
|
124
136
|
- Removed `createStore` — use the `@Store` and `@UseStore` decorators directly
|
|
125
137
|
|
|
126
138
|
**`@praxisjs/composables`**
|
|
127
|
-
|
|
128
139
|
- Replaced all `use*` composable functions with class-based composables extending `Composable`:
|
|
129
140
|
`WindowSize`, `ScrollPosition`, `ElementSize`, `Intersection`, `Focus`, `MediaQuery`, `ColorScheme`, `Mouse`, `KeyCombo`, `Idle`, `Clipboard`, `Geolocation`, `TimeAgo`, `Pagination`
|
|
130
141
|
|
|
131
142
|
**`@praxisjs/concurrent`**
|
|
132
|
-
|
|
133
143
|
- Removed `task`, `queue`, `pool` and their instance types — use `@Task`, `@Queue`, `@Pool` decorators instead
|
|
134
144
|
|
|
135
145
|
### Patch Changes
|
|
@@ -171,7 +181,6 @@
|
|
|
171
181
|
### Minor Changes
|
|
172
182
|
|
|
173
183
|
- bb0d4f8: **Refactor decorator system and component architecture across PraxisJS packages**
|
|
174
|
-
|
|
175
184
|
- Replaced legacy decorator signatures (`constructor`, `target`, `propertyKey`, method descriptor) with the standard TC39 decorator context API (`ClassDecoratorContext`, `ClassFieldDecoratorContext`, `ClassMethodDecoratorContext`) across `@praxisjs/decorators`, `@praxisjs/store`, `@praxisjs/concurrent`, `@praxisjs/router`, `@praxisjs/motion`, `@praxisjs/di`, and `@praxisjs/fsm`.
|
|
176
185
|
- Introduced `StatefulComponent` and `StatelessComponent` as the new base classes, replacing the deprecated `BaseComponent`/`Function Component` pattern, across `@praxisjs/core`, `@praxisjs/runtime`, `@praxisjs/devtools`, and templates.
|
|
177
186
|
- Implemented core rendering functionality in `@praxisjs/runtime` (`mountChildren`, `mountComponent`, reactive scope management) and removed the deprecated `renderer.ts`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisjs/store",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"typescript": "^5.9.3"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@praxisjs/core": "1.
|
|
18
|
-
"@praxisjs/decorators": "0.
|
|
17
|
+
"@praxisjs/core": "1.6.0",
|
|
18
|
+
"@praxisjs/decorators": "1.0.1"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
21
|
"build": "tsc",
|