Skip to content

v2.0.15

Choose a tag to compare

@github-actions github-actions released this 04 Oct 14:13
· 25 commits to main since this release

Changes

  • fix(di): 🐛 Keep legacy base64 service ids with node-dependency-injection 4

Release details

Pull request notes

node-dependency-injection 4 generates human-readable service ids by default, but the kernel's class-based resolution (parent aliases, overrides, service lookup) decodes base64 ids. In containerBuild mode this left overrides unmatched, so override classes were registered without their constructor arguments (e.g. Cannot read properties of undefined in consumers) and abstract-parent aliasing broke.

Switch the autowire to the legacy base64 id strategy so generated services.yaml files keep the format the kernel expects. Adds a regression test that checks the generated ids.