File tree Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,23 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
5
5
and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
6
6
7
- ## Unreleased
8
- - No changes yet.
7
+ ## [ 1.14.0] - 2022-02-23
8
+ ### Added
9
+ - Introduce ` dig.Scope ` which creates a scoped dependency injection
10
+ container to scope dependencies.
11
+ - Introduce ` Scope.Decorate ` and ` Container.Decorate ` which allows a
12
+ decorator to modify a dependency already provided in the dependency graph.
13
+ - Add ` FillDecorateInfo ` Option and ` DecorateInfo ` struct which exposes
14
+ information on what Dig was able to understand from the decorator provided
15
+ with ` Scope.Decorate ` or ` Container.Decorate ` .
16
+
17
+ ### Changed
18
+ - The error message that appears when a cycle is detected in the dependency graph
19
+ has been changed slightly.
20
+
21
+ ### Fixed
22
+ - A stack overflow bug that happens when cycles are introduced via self-pointing
23
+ dependencies with DeferAcyclicVerification.
9
24
10
25
## [ 1.13.0] - 2021-09-21
11
26
### Added
Original file line number Diff line number Diff line change 21
21
package dig
22
22
23
23
// Version of the library.
24
- const Version = "1.14.0-dev "
24
+ const Version = "1.14.0"
You can’t perform that action at this time.
0 commit comments