UNPKG

2.02 kBMarkdownView Raw
1# Changelog
2All notable changes to this project from 5.0.0 forward will be documented in this file.
3
4The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
7## [Unreleased]
8### Added
9- createTaggedDecorator #1343
10- Async bindings #1132
11- Async binding resolution (getAllAsync, getAllNamedAsync, getAllTaggedAsync, getAsync, getNamedAsync, getTaggedAsync, rebindAsync, unbindAsync, unbindAllAsync, unloadAsync) #1132
12- Global onActivation / onDeactivation #1132
13- Parent/Child onActivation / onDeactivation #1132
14- Module onActivation / onDeactivation #1132
15- Added @preDestroy decorator #1132
16
17### Changed
18- @postConstruct can target an asyncronous function #1132
19- Singleton scoped services cache resolved values once the result promise is fulfilled #1320
20
21### Fixed
22- only inject decorator can be applied to setters #1342
23- Container.resolve should resolve in that container #1338
24
25## [Unreleased]
26-Feat add API method for check dependency only in current container
27
28## [5.1.1] - 2021-04-25
29-Fix pre-publish for build artifacts
30
31## [5.1.0] - 2021-04-25
32### Added
33- Upgrade information for v4.x to v5.x
34
35### Changed
36- Update BindingToSyntax with `.toAutoNamedFactory()`.
37
38### Fixed
39- Fix `Target.isTagged()` to exclude `optional` from tag injections #1190.
40- Update `toConstructor`, `toFactory`, `toFunction`, `toAutoFactory`, `toProvider` and `toConstantValue` to have singleton scope #1297.
41- Fix injection on optional properties when targeting ES6 #928
42
43## [5.0.1] - 2018-10-17
44### Added
45- Updating constructor injection wiki document with concrete injection example #922
46
47### Changed
48- Change GUID to incremented counter for better performance #882
49
50### Fixed
51- fix broken compilation by adding `.toString()` so symbols serialization #893
52- Fix problem with applying options on Container.resolve (fix #914) #915
53- Fixed documentation issues
54
55## [4.14.0] - 2018-10-16
56Deprecated - Replaced by 5.0.1