@teqfw/di 2.6.2 → 2.8.0
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 +24 -0
- package/README.md +63 -561
- package/ai/AGENTS.md +10 -54
- package/dist/esm.js +1 -1
- package/dist/umd.js +1 -1
- package/package.json +23 -16
- package/skills/teqfw-di/SKILL.md +36 -0
- package/skills/teqfw-di/agents/openai.yaml +4 -0
- package/skills/teqfw-di/references/compatibility.md +35 -0
- package/skills/teqfw-di/references/concepts.md +43 -0
- package/{ai → skills/teqfw-di/references}/container.md +12 -6
- package/{ai → skills/teqfw-di/references}/dependency-id.md +28 -11
- package/skills/teqfw-di/references/distribution.md +24 -0
- package/{ai → skills/teqfw-di/references}/extensions.md +18 -7
- package/{ai → skills/teqfw-di/references}/package-api.ts +58 -35
- package/skills/teqfw-di/references/usage.md +283 -0
- package/src/AGENTS.md +20 -16
- package/src/Config/NamespaceRegistry.mjs +3 -213
- package/src/Container/Executor.mjs +2 -2
- package/src/Container/GraphResolver.mjs +24 -13
- package/src/Container/Instantiate.mjs +2 -2
- package/src/Container/Lifecycle.mjs +2 -2
- package/src/Container/Pipeline.mjs +20 -22
- package/src/Container.mjs +67 -35
- package/src/Dto/DepId.mjs +1 -1
- package/src/Internal/DepsDecl.mjs +2 -2
- package/src/Node/Registry/Namespace.mjs +208 -0
- package/src/Node/Registry/Package.mjs +215 -0
- package/src/Parser.mjs +18 -18
- package/types.d.ts +9 -4
- package/ai/concepts.md +0 -25
- package/ai/usage.md +0 -194
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.8.0 - 2026-07-31 - Registry and Agent Skill publication
|
|
4
|
+
|
|
5
|
+
* Added an architecture-level catalog for temporary public compatibility commitments, including the review date and removal condition for the deprecated Namespace Registry import.
|
|
6
|
+
|
|
7
|
+
* Restored `/di/src/Config/NamespaceRegistry.mjs` as a deprecated compatibility re-export; new integrations must use `/di/node/registry/namespace`.
|
|
8
|
+
|
|
9
|
+
* Converted the published AI interface into the versioned `skills/teqfw-di` Agent Skill, added its manifest declaration and structural contract test, and documented host-owned manual mounting without installation-time mutation.
|
|
10
|
+
|
|
11
|
+
* Introduced the array-only canonical `teqfw.fw.di.namespaces` schema with support for multiple namespace mappings per package. `teqfw.namespaces` remains a temporary fallback through 2027-01-28, while the unused singular `teqfw.fw.di.namespace` schema was removed.
|
|
12
|
+
|
|
13
|
+
* Added the public composition-stage PackageRegistry runtime package graph and refactored NamespaceRegistry to consume it. Package metadata interpretation for application providers remains outside DI.
|
|
14
|
+
|
|
15
|
+
* Replaced the former CDC terminology in source comments, internal variable names, diagnostics, parser errors, and tests with `Dependency Specifier`, without changing identifier syntax or public method behavior.
|
|
16
|
+
* Retained `DepId` and its `origin` field as compatibility-level implementation names.
|
|
17
|
+
* Updated package version metadata to `2.8.0`.
|
|
18
|
+
|
|
19
|
+
## 2.7.0 - 2026-07-10 - As-is injection fix and coverage expansion
|
|
20
|
+
|
|
21
|
+
* Fixed the bug that prevented injecting classes as-is, including named exports resolved without factory wrapping.
|
|
22
|
+
* Aligned container namespace aliases and published type declarations with the actual filesystem layout.
|
|
23
|
+
* Expanded unit and integration coverage for pipeline execution, dependency key generation, dependency declarations, Promise-safe wrappers, and as-is export resolution.
|
|
24
|
+
* Refreshed development dependencies and lockfile metadata before the release.
|
|
25
|
+
* Updated package version metadata to `2.7.0`.
|
|
26
|
+
|
|
3
27
|
## 2.6.2 - 2026-06-08 - Documentation alignment and container simplification
|
|
4
28
|
|
|
5
29
|
* Removed the legacy `setParser()` extension point and flattened the internal container implementation layout.
|