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