Skip to content

Commit

Permalink
Release v1.18.0 (#914)
Browse files Browse the repository at this point in the history
* Release v1.18.0

Prepare for releasing v1.18.0.

Not to be merged until next Monday (08/08).

* onStart/onStop => OnStart/OnStop

* A longer fxevent.Replaced entry

* Minor bugfixes that were missed

* Add missing reference link

* delete extraneous empty line

Co-authored-by: Abhinav Gupta <mail@abhinavg.net>
  • Loading branch information
sywhang and abhinav committed Aug 8, 2022
1 parent 2833ddf commit 1973f9f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
22 changes: 19 additions & 3 deletions CHANGELOG.md
Expand Up @@ -4,20 +4,36 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## Unreleased
## [1.18.0] - 2022-08-05
### Added
- Soft value groups that lets you specify value groups as best-effort dependencies.
- `fx.OnStart` and `fx.OnStop` annotations which lets you annotate dependencies to provide
OnStart and OnStop lifecycle hooks.
- A new `fxevent.Replaced` event written to `fxevent.Logger` following an `fx.Replace`.

### Fixed
- Upgrade Dig dependency to v1.14.1 to address a couple of issues with decorations. Refer to
Dig v1.14.1 release notes for more details.
- `fx.WithLogger` no longer ignores decorations and replacements of types that
it depends on.
- Don't run lifecycle hooks if the context for them has already expired.
- `App.Start` and `App.Stop` no longer deadlock if the OnStart/OnStop hook
exits the current goroutine.
- `fxevent.ConsoleLogger` no longer emits an extraneous argument for the
Supplied event.

### Deprecated
- `fx.Extract` in favor of `fx.Populate`.

[1.18.0]: https://github.com/uber-go/fx/compare/v1.17.1...v1.18.0

## [1.17.1] - 2021-03-23
## [1.17.1] - 2022-03-23
### Added
- Logging for provide/invoke/decorate now includes the associated `fx.Module` name.

[1.17.1]: https://github.com/uber-go/fx/compare/v1.17.0...v1.17.1

## [1.17.0] - 2021-02-28
## [1.17.0] - 2022-02-28
### Added
- Add `fx.Module` which scopes any modifications made to the dependency graph.
- Add `fx.Decorate` and `fx.Replace` that lets you modify a dependency graph with decorators.
Expand Down
2 changes: 1 addition & 1 deletion version.go
Expand Up @@ -21,4 +21,4 @@
package fx

// Version is exported for runtime compatibility checks.
const Version = "1.18.0-dev"
const Version = "1.18.0"

0 comments on commit 1973f9f

Please sign in to comment.