@praxisjs/fsm 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.
Files changed (2) hide show
  1. package/CHANGELOG.md +18 -9
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @praxisjs/fsm
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
@@ -89,39 +107,31 @@
89
107
  - 3372878: Migrate all packages from functional APIs to a decorator-first design.
90
108
 
91
109
  **`@praxisjs/core`**
92
-
93
110
  - Added `Composable` abstract base class for building class-based composables
94
111
  - Removed `resource`, `createResource`, `Resource`, `ResourceStatus`, `ResourceOptions` from public exports — use `@Resource` from `@praxisjs/decorators` instead
95
112
 
96
113
  **`@praxisjs/motion`**
97
-
98
114
  - Replaced `useMotion`, `tween`, `spring`, `createTransition`, `Animate`, `easings`, `resolveEasing` with `@Tween` and `@Spring` decorators
99
115
 
100
116
  **`@praxisjs/di`**
101
-
102
117
  - Replaced `useService` and `createScope` with a `@Scope` decorator
103
118
  - Renamed exported type `Scope` to `ScopeType` to free the name for the new decorator
104
119
 
105
120
  **`@praxisjs/fsm`**
106
-
107
121
  - Removed `createMachine` — use the `@StateMachine` and `@Transition` decorators directly
108
122
 
109
123
  **`@praxisjs/router`**
110
-
111
124
  - Removed `createRouter`, `lazy`, `useRouter`, `useParams`, `useQuery`, `useLocation`
112
125
  - Added `@RouterConfig`, `@Lazy`, `@InjectRouter`, `@Params`, `@Query`, `@Location` decorators
113
126
 
114
127
  **`@praxisjs/store`**
115
-
116
128
  - Removed `createStore` — use the `@Store` and `@UseStore` decorators directly
117
129
 
118
130
  **`@praxisjs/composables`**
119
-
120
131
  - Replaced all `use*` composable functions with class-based composables extending `Composable`:
121
132
  `WindowSize`, `ScrollPosition`, `ElementSize`, `Intersection`, `Focus`, `MediaQuery`, `ColorScheme`, `Mouse`, `KeyCombo`, `Idle`, `Clipboard`, `Geolocation`, `TimeAgo`, `Pagination`
122
133
 
123
134
  **`@praxisjs/concurrent`**
124
-
125
135
  - Removed `task`, `queue`, `pool` and their instance types — use `@Task`, `@Queue`, `@Pool` decorators instead
126
136
 
127
137
  ### Patch Changes
@@ -157,7 +167,6 @@
157
167
  ### Minor Changes
158
168
 
159
169
  - bb0d4f8: **Refactor decorator system and component architecture across PraxisJS packages**
160
-
161
170
  - 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`.
162
171
  - 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.
163
172
  - 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/fsm",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -14,9 +14,9 @@
14
14
  "typescript": "^5.9.3"
15
15
  },
16
16
  "dependencies": {
17
- "@praxisjs/core": "1.5.0",
18
- "@praxisjs/decorators": "0.8.1",
19
- "@praxisjs/shared": "0.2.0"
17
+ "@praxisjs/core": "1.6.0",
18
+ "@praxisjs/shared": "0.2.0",
19
+ "@praxisjs/decorators": "1.0.1"
20
20
  },
21
21
  "scripts": {
22
22
  "build": "tsc",