From 9a7d2bb0c3e3192200b8840f41aab2dfad31718c Mon Sep 17 00:00:00 2001 From: "Max P." Date: Tue, 11 Mar 2025 17:46:00 +0100 Subject: [PATCH] docs: Reflect changes to changelog --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21240b1..b4782a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- refactor: consolidate registration decorators + Introduced Register decorator to handle class and instance registration in the DI container. + Deprecated RegisterInstance in favor of Register, which now internally handles instance registration. + Added support for marking dependencies as deprecated with a warning logged upon first resolution. + Updated documentation with examples and notes on deprecation. +- tests: add mode parameter to RegisterInstanceDecorator + Introduced a mode parameter to the test_RegisterInstanceDecorator function allowing 'instance' or 'standalone' modes. + Updated test cases to utilize the new mode parameter when registering an instance. + Disabled specific ESLint rule in Decorators.test.ts for deprecation warnings. + Added an additional test call to test_RegisterInstanceDecorator with 'instance' mode. + ### Deprecated