18.0.0 (2024-12-04)
- core: The build will need to be adapted to match this new feature. The autoloader service signature changed. Also the utils now provide a location decorator to allow you to create modules declaring their own location.
17.3.0 (2024-12-02)
17.2.1 (2024-11-14)
- build: align the build with overrides (688e5b0)
- build: Some builds could break but in the real world no build were made in such a short time frame.
17.2.0 (2024-11-14)
17.1.0 (2024-11-07)
- utils: add a way to uninject a dependency (7f90e65)
17.0.3 (2024-07-15)
17.0.2 (2024-05-28)
17.0.1 (2023-08-20)
- build: add a banner for generated files (97327e7)
17.0.0 (2023-08-20)
Enabling the build to use fatal error promises and to gracefully exit.
16.0.1 (2023-08-16)
16.0.0 (2023-08-16)
- build: fix deps lock file (ab9114e)
15.0.1 (2023-05-28)
15.0.0 (2023-05-28)
14.1.0 (2022-08-30)
- types: fix types according to the last TypeScript version (0873bff)
14.0.0 (2022-06-16)
13.0.0 (2022-06-12)
12.0.4 (2022-05-25)
12.0.3 (2022-05-25)
12.0.2 (2021-11-11)
12.0.1 (2021-11-01)
- types: less strict registering (3453508)
12.0.0 (2021-11-01)
11.1.1 (2021-04-09)
- docs: fix the readme on singletons (5e51fe9)
11.1.0 (2021-01-11)
- build: allow to either use esm or cjs (719ba37)
11.0.1 (2020-12-06)
- build: fix build issues with constants (2d4d597)
11.0.0 (2020-11-22)
- types: fix generic types initializer passthrough (773a913)
10.0.3 (2020-10-18)
10.0.2 (2020-09-15)
- utils: fix optional dependencies merge (cadac91)
10.0.1 (2020-09-14)
- utils: reexport injections utils (a94b734)
10.0.0 (2020-09-14)
- utils: allow object rest spread in autodected injections (846fde9)
- utils: allow to reuse initializers injections (bc6873f)
9.1.1 (2020-04-02)
- types: fix bad type declaration (21b3c7f)
9.1.0 (2020-04-01)
- core: add support for esm (bbb3491)
9.0.0 (2020-03-20)
8.1.0 (2020-01-19)
8.0.1 (2019-12-10)
8.0.0 (2019-12-07)
- types: fix handler types (4d975df)
7.0.3 (2019-12-02)
- types: use literals instead of onjects for strings (89a22f9)
7.0.2 (2019-12-01)
7.0.1 (2019-12-01)
7.0.0 (2019-11-28)
6.0.0 (2019-03-15)
- Chore: Better handling of optional dependencies (539eb47)
- Chore: Autoloaders needs to throw a E_UNMATCHED_DEPENDENCY error to still work with optional dependencies
5.3.0 (2019-03-03)
- Debug: Fix the
$injector
debug message format (ae8510d) - Knifecycle: Take in count more errors for optional failures (6b5fab3), closes #83
- alsoInject: Dedupe injections when adding some (10e9d4f)
5.2.0 (2019-02-09)
- $injector: Fix services mapping in the $injector (ee2a2bd)
- $injector: Allow new instantiations within $injector calls (b66e10e)
5.1.6 (2019-02-02)
5.1.5 (2019-01-27)
- autoInject: Improve the injection detection (82d3391)
5.1.4 (2019-01-26)
- autoService/Provider: Fix auto detection for services and providers with no deps (761921e)
- Types: Fix the provider declaration for optional properties (cf2abcc)
5.1.3 (2019-01-24)
- Types: Set tup the good method name for service descriptors (e77f6af)
5.1.2 (2019-01-20)
- Types: Fix register method chaining type declaration (c468a2a)
5.1.1 (2019-01-20)
5.1.0 (2019-01-19)
- TypeScript: Add types for TypeScript support (65e94a9)
5.0.4 (2019-01-12)
5.0.3 (2019-01-12)
- autoInject: Ensure auto injection works with trailing commas (521ab18)
5.0.2 (2018-11-29)
- Core: Fail on syntax error even for optional services (8cfcabd)
5.0.1 (2018-11-22)
- autoInject: Remove unecessary check in the autoInject regExp (fff9a6f)
5.0.0 (2018-11-18)
- handler: Split the handler utils in autoHandler and handler (cae9b2f), closes #80
- Utils: Change the service/provider utils signature (84e52a6)
- auto(Service/Provider): Add a way to automatically set provider/service (d08dca7)
- Utils: service/provider utils call will need to be changed everywhere
- handler: handler calls will need to be converted for the new handler signature or use the newly created autoHandler function.
4.3.1 (2018-11-10)
- autoInject util: Fix autoInject for named functions (b3b8c10)
4.3.0 (2018-11-10)
- autoInject util: Allow to auto inject even with multi-args functions (bdf4e8b)
4.2.0 (2018-11-10)
- handler util: Add autodetection features for handler utils (7190028)
4.1.0 (2018-11-10)
4.0.0 (2018-11-04)
- Dependencies: Update
metapak-nfroidure
(dc65134)
- autoInject: Adds a utility function to autodetect dependencies (03c8527)
- autoName: Allow to set name according to the function name (19cde56)
- Dependencies: Drop support for NodeJS < 8 versions
3.1.0 (2018-10-14)
- Knifecycle instance: Add extra errors for bad use (a43aa30)
3.0.0 (2018-10-11)
- $instance: Add a way to inject the Knifecycle instance (5321401)
2.7.0 (2018-10-08)
- Decorators: Add a
service
decorator (3216abf) - Decorators: Add the
constant
decorator (911898e), closes #60
2.6.2 (2018-09-30)
- $autoload: Fix autoload disposal (f087b12)
2.6.1 (2018-09-30)
- $autoload: Fix autoload behavior (2256be0)
2.6.0 (2018-09-30)
- $autoload: Allows to autoload missing dependencies (5b1cdb1)
2.5.4 (2018-09-22)
2.5.3 (2018-09-16)
2.5.2 (2018-05-06)
- Tests: Fix tests for Node10 (b3511a4)
2.5.1 (2018-04-13)
2.5.0 (2018-03-21)
- Build: Fix build for providers (2847929)
- API: Ensure existing initializer type are provided (bf880d9)
2.4.2 (2017-12-02)
2.4.1 (2017-11-07)
2.4.0 (2017-11-07)
- Build: Allow to build initialization modules (1aaca1b)
2.3.0 (2017-10-30)
- Build: Fix frontend tests for Firefox (890227b)
2.2.2 (2017-10-24)
- Build: Quick fix of the build (0b71c08)
2.2.1 (2017-10-24)
- Services mapping: Fix deep service mapping (9445cc3)
- Browser: Add browser support (d268fbd)
2.2.0 (2017-07-30)
2.1.1 (2017-06-15)
- Mappings: Fix the mappings for the initial run (2cfdb7f)
2.1.0 (2017-06-04)
- Util: Add a function to decorate initializers (477ad14)
2.0.0 (2017-05-28)
- Decorators: Isolated decorators code (a776ab8), closes #28 #32
- Dependencies: Change depends to be a Knifecycle static property (a35f5ca), closes #24
- Dependencies declarations: Change the dependencies mapping symbol fron
:
to>
. (9744aeb), closes #26 - Providers: Simplify the service providers signature (7f5fef3), closes #30
- Services: Do not support services as a promise anymore (af31c0d)
- Options: Add a decorator to specify service provider options (867f427)
- Dependencies declarations: Break 1.0 mappings
- Decorators: Every 1.0 code will break since the
index.js
exports were broken. - Dependencies: Will break almost every 1.0 things
- Providers: Almost every providers written before will not work anymore
- Services: It is not possible to use a promise while declaring a service.
1.4.0 (2017-05-22)
- Providers: Allow services to have options too (75bffcf)
- Singletons: Ensure singletons aren't shut down (1de26d6)
- Bad usage: Fail on dependencies declaration for constant (ab57c18)
- Dependencies declarations: Allow to make some dependencies optional (0944709), closes #23
- Providers: Allow to declare providers as singletons (dad9006), closes #3
- Shutdown: Allow to shutdown all silos (7af87de)
- Singletons: Shutdown singletons when not used per any silo (f953851)
1.3.1 (2017-03-14)
1.3.0 (2017-03-08)
- mermaid: Add the ability to generate dependencies graphs (b2ac582)
- mermaid: Allow to add styles to graphs (520b7a1)
- mermaid: Allow to shape Mermaid diagrams node (ced9dad)
- 8a663e0 1.1.2 (@nfroidure)
- 2ce95e2 Regenerating docs (@nfroidure)
- ff1bf5e Fixing linting (@nfroidure)
- f37a5d3 Fixing shutdown order (@nfroidure)
- #4 Update dependencies to enable Greenkeeper 🌴 (@nfroidure)
- b767a8b chore(package): update dependencies (@greenkeeper[bot])
- 4d2db29 1.1.0 (@nfroidure)
- 8346671 Adding an helper to get a Knifecycle instance easily (@nfroidure)
- 7b2408c Adding the service fix #2 (@nfroidure)
- f278cb7 1.0.0 (@nfroidure)
- 648d7ff Adding doc (@nfroidure)
- 160d086 Adding project files (@nfroidure)
- 1ee0bff Adding a LICENSE (@nfroidure)
- dff2847 Specifying node engine (@nfroidure)
- acffe5a Adding codeclimate config (@nfroidure)
- 97099fc Adding coveralss cfg file to git ignore (@nfroidure)
- f32f016 Fixing the linter issues (@nfroidure)
- 461ecf6 Adding travis build (@nfroidure)
- 2243977 Adding badges (@nfroidure)
- caa3e4e Adding some usage infos and future plans (@nfroidure)
- f7081a8 Adding the fatal error handler (@nfroidure)
- 05fa72a First draft of a service injection tool for node (@nfroidure)