Skip to content

Commit e6a361e

Browse files
authored
Prepare Release 1.22.0 (#1208)
This updates the changelog and the version for a 1.22.0 release. I will wait to merge this until #1207 is reviewed. I tested Fx tip within Uber's Go codebase and saw no issues. Ref: #1204
1 parent b3b1c3b commit e6a361e

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

CHANGELOG.md

+15-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,21 @@ All notable changes to this project will be documented in this file.
1010
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
1111
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1212

13-
## Unreleased
14-
- No changes yet.
13+
## [1.22.0](https://github.com/uber-go/fx/compare/v1.21.1...v1.22.0) - 2024-05-30
14+
15+
### Added
16+
- Add `fx.Self` which can be passed to the `fx.As` annotation to signify
17+
that a type should be provided as itself.
18+
- Add `fxtest.EnforceTimeout` that can be passed to `fxtest.NewLifecycle`
19+
to force `Start` and `Stop` to return context errors when hook context expires.
20+
21+
### Changed
22+
- `fx.Private` can now be used with `fx.Supply`.
23+
24+
### Fixed
25+
- Fx apps will no longer listen to OS signals when they are stopped,
26+
solving blocking issues in programs that depended on OS signals
27+
after an Fx app stops.
1528

1629
## [1.21.1](https://github.com/uber-go/fx/compare/v1.21.0...v1.21.1) - 2024-04-24
1730

version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
package fx
2222

2323
// Version is exported for runtime compatibility checks.
24-
const Version = "1.22.0-dev"
24+
const Version = "1.22.0"

0 commit comments

Comments
 (0)