Skip to content

Commit 879a6f8

Browse files
authored
prepare for v1.14.0 release (#323)
1 parent 677f64b commit 879a6f8

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

CHANGELOG.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,23 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

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.
924

1025
## [1.13.0] - 2021-09-21
1126
### Added

version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
package dig
2222

2323
// Version of the library.
24-
const Version = "1.14.0-dev"
24+
const Version = "1.14.0"

0 commit comments

Comments
 (0)