@praxisjs/di 1.2.6 → 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 +10 -9
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
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
|
+
|
|
3
13
|
## 1.2.6
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -110,39 +120,31 @@
|
|
|
110
120
|
- 3372878: Migrate all packages from functional APIs to a decorator-first design.
|
|
111
121
|
|
|
112
122
|
**`@praxisjs/core`**
|
|
113
|
-
|
|
114
123
|
- Added `Composable` abstract base class for building class-based composables
|
|
115
124
|
- Removed `resource`, `createResource`, `Resource`, `ResourceStatus`, `ResourceOptions` from public exports — use `@Resource` from `@praxisjs/decorators` instead
|
|
116
125
|
|
|
117
126
|
**`@praxisjs/motion`**
|
|
118
|
-
|
|
119
127
|
- Replaced `useMotion`, `tween`, `spring`, `createTransition`, `Animate`, `easings`, `resolveEasing` with `@Tween` and `@Spring` decorators
|
|
120
128
|
|
|
121
129
|
**`@praxisjs/di`**
|
|
122
|
-
|
|
123
130
|
- Replaced `useService` and `createScope` with a `@Scope` decorator
|
|
124
131
|
- Renamed exported type `Scope` to `ScopeType` to free the name for the new decorator
|
|
125
132
|
|
|
126
133
|
**`@praxisjs/fsm`**
|
|
127
|
-
|
|
128
134
|
- Removed `createMachine` — use the `@StateMachine` and `@Transition` decorators directly
|
|
129
135
|
|
|
130
136
|
**`@praxisjs/router`**
|
|
131
|
-
|
|
132
137
|
- Removed `createRouter`, `lazy`, `useRouter`, `useParams`, `useQuery`, `useLocation`
|
|
133
138
|
- Added `@RouterConfig`, `@Lazy`, `@InjectRouter`, `@Params`, `@Query`, `@Location` decorators
|
|
134
139
|
|
|
135
140
|
**`@praxisjs/store`**
|
|
136
|
-
|
|
137
141
|
- Removed `createStore` — use the `@Store` and `@UseStore` decorators directly
|
|
138
142
|
|
|
139
143
|
**`@praxisjs/composables`**
|
|
140
|
-
|
|
141
144
|
- Replaced all `use*` composable functions with class-based composables extending `Composable`:
|
|
142
145
|
`WindowSize`, `ScrollPosition`, `ElementSize`, `Intersection`, `Focus`, `MediaQuery`, `ColorScheme`, `Mouse`, `KeyCombo`, `Idle`, `Clipboard`, `Geolocation`, `TimeAgo`, `Pagination`
|
|
143
146
|
|
|
144
147
|
**`@praxisjs/concurrent`**
|
|
145
|
-
|
|
146
148
|
- Removed `task`, `queue`, `pool` and their instance types — use `@Task`, `@Queue`, `@Pool` decorators instead
|
|
147
149
|
|
|
148
150
|
### Patch Changes
|
|
@@ -178,7 +180,6 @@
|
|
|
178
180
|
### Minor Changes
|
|
179
181
|
|
|
180
182
|
- bb0d4f8: **Refactor decorator system and component architecture across PraxisJS packages**
|
|
181
|
-
|
|
182
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`.
|
|
183
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.
|
|
184
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",
|