@praxisjs/di 1.2.5 → 1.2.7
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 +17 -9
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @praxisjs/di
|
|
2
2
|
|
|
3
|
+
## 1.2.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [954e456]
|
|
8
|
+
- Updated dependencies [a0bf339]
|
|
9
|
+
- Updated dependencies [a0bf339]
|
|
10
|
+
- Updated dependencies [a8df1e1]
|
|
11
|
+
- @praxisjs/decorators@1.0.0
|
|
12
|
+
|
|
13
|
+
## 1.2.6
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [9c7a165]
|
|
18
|
+
- @praxisjs/decorators@0.8.1
|
|
19
|
+
|
|
3
20
|
## 1.2.5
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -103,39 +120,31 @@
|
|
|
103
120
|
- 3372878: Migrate all packages from functional APIs to a decorator-first design.
|
|
104
121
|
|
|
105
122
|
**`@praxisjs/core`**
|
|
106
|
-
|
|
107
123
|
- Added `Composable` abstract base class for building class-based composables
|
|
108
124
|
- Removed `resource`, `createResource`, `Resource`, `ResourceStatus`, `ResourceOptions` from public exports — use `@Resource` from `@praxisjs/decorators` instead
|
|
109
125
|
|
|
110
126
|
**`@praxisjs/motion`**
|
|
111
|
-
|
|
112
127
|
- Replaced `useMotion`, `tween`, `spring`, `createTransition`, `Animate`, `easings`, `resolveEasing` with `@Tween` and `@Spring` decorators
|
|
113
128
|
|
|
114
129
|
**`@praxisjs/di`**
|
|
115
|
-
|
|
116
130
|
- Replaced `useService` and `createScope` with a `@Scope` decorator
|
|
117
131
|
- Renamed exported type `Scope` to `ScopeType` to free the name for the new decorator
|
|
118
132
|
|
|
119
133
|
**`@praxisjs/fsm`**
|
|
120
|
-
|
|
121
134
|
- Removed `createMachine` — use the `@StateMachine` and `@Transition` decorators directly
|
|
122
135
|
|
|
123
136
|
**`@praxisjs/router`**
|
|
124
|
-
|
|
125
137
|
- Removed `createRouter`, `lazy`, `useRouter`, `useParams`, `useQuery`, `useLocation`
|
|
126
138
|
- Added `@RouterConfig`, `@Lazy`, `@InjectRouter`, `@Params`, `@Query`, `@Location` decorators
|
|
127
139
|
|
|
128
140
|
**`@praxisjs/store`**
|
|
129
|
-
|
|
130
141
|
- Removed `createStore` — use the `@Store` and `@UseStore` decorators directly
|
|
131
142
|
|
|
132
143
|
**`@praxisjs/composables`**
|
|
133
|
-
|
|
134
144
|
- Replaced all `use*` composable functions with class-based composables extending `Composable`:
|
|
135
145
|
`WindowSize`, `ScrollPosition`, `ElementSize`, `Intersection`, `Focus`, `MediaQuery`, `ColorScheme`, `Mouse`, `KeyCombo`, `Idle`, `Clipboard`, `Geolocation`, `TimeAgo`, `Pagination`
|
|
136
146
|
|
|
137
147
|
**`@praxisjs/concurrent`**
|
|
138
|
-
|
|
139
148
|
- Removed `task`, `queue`, `pool` and their instance types — use `@Task`, `@Queue`, `@Pool` decorators instead
|
|
140
149
|
|
|
141
150
|
### Patch Changes
|
|
@@ -171,7 +180,6 @@
|
|
|
171
180
|
### Minor Changes
|
|
172
181
|
|
|
173
182
|
- bb0d4f8: **Refactor decorator system and component architecture across PraxisJS packages**
|
|
174
|
-
|
|
175
183
|
- 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
184
|
- 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
185
|
- 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/di",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@praxisjs/core": "1.5.0",
|
|
15
|
-
"@praxisjs/decorators": "0.
|
|
15
|
+
"@praxisjs/decorators": "1.0.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/node": "^25.5.0",
|