Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Bump go.uber.org/dig from 1.13.0 to 1.14.1 #117

Merged
merged 1 commit into from
Mar 25, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 23, 2022

Bumps go.uber.org/dig from 1.13.0 to 1.14.1.

Release notes

Sourced from go.uber.org/dig's releases.

v1.14.1

Fixed

  • Fix an issue where a dependency for a decoration supplied by another decorator in the same scope is ignored.
  • Fix a panic when submitting a single value as a value group in Scope.Decorate.
  • Upon a provide error, make the error message contain the function named specified by LocationForPC Option.

v1.14.0

Added

  • Introduce dig.Scope which creates a scoped dependency injection container to scope dependencies.
  • Introduce Scope.Decorate and Container.Decorate which allows a decorator to modify a dependency already provided in the dependency graph.
  • Add FillDecorateInfo Option and DecorateInfo struct which exposes information on what Dig was able to understand from the decorator provided with Scope.Decorate or Container.Decorate.

Changed

  • The error message that appears when a cycle is detected in the dependency graph has been changed slightly.

Fixed

  • A stack overflow bug that happens when cycles are introduced via self-pointing dependencies with DeferAcyclicVerification.
Changelog

Sourced from go.uber.org/dig's changelog.

1.14.1 - 2022-03-22

Fixed

  • Fix an issue where a dependency for a decoration supplied by another decorator in the same scope is ignored.
  • Fix a panic when submitting a single value as a value group in Scope.Decorate.
  • Upon a provide error, make the error message contain the function named specified by LocationForPC Option.

1.14.0 - 2022-02-23

Added

  • Introduce dig.Scope which creates a scoped dependency injection container to scope dependencies.
  • Introduce Scope.Decorate and Container.Decorate which allows a decorator to modify a dependency already provided in the dependency graph.
  • Add FillDecorateInfo Option and DecorateInfo struct which exposes information on what Dig was able to understand from the decorator provided with Scope.Decorate or Container.Decorate.

Changed

  • The error message that appears when a cycle is detected in the dependency graph has been changed slightly.

Fixed

  • A stack overflow bug that happens when cycles are introduced via self-pointing dependencies with DeferAcyclicVerification.
Commits
  • d14f6ca Prepare for release v1.14.1 (#335)
  • 063171a Error out when trying to decorate a value group with single value (#334)
  • 42c4022 Bubble location from LocationForPC's ProvideOption up to errors (#332)
  • 8dcf217 Fix issue with multiple decorations of value group in same Scope (#333)
  • ce8b9d7 Keep track of single decorator per Scope (#330)
  • 0cb3fb3 CI: Test against Go 1.17/1.18 (#331)
  • 1988af9 Fix issue with multiple decoration passes in same Scope (#329)
  • 665bb49 Back to development (#326)
  • 157b1b4 CHANGELOG: Add missing references (#327)
  • 879a6f8 prepare for v1.14.0 release (#323)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [go.uber.org/dig](https://github.com/uber-go/dig) from 1.13.0 to 1.14.1.
- [Release notes](https://github.com/uber-go/dig/releases)
- [Changelog](https://github.com/uber-go/dig/blob/master/CHANGELOG.md)
- [Commits](uber-go/dig@v1.13.0...v1.14.1)

---
updated-dependencies:
- dependency-name: go.uber.org/dig
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 23, 2022
@dependabot dependabot bot requested a review from im-kulikov March 23, 2022 10:38
@codecov
Copy link

codecov bot commented Mar 23, 2022

Codecov Report

Merging #117 (af62a2c) into master (585a4d1) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #117   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           17        17           
  Lines          528       528           
=========================================
  Hits           528       528           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 585a4d1...af62a2c. Read the comment docs.

@im-kulikov im-kulikov merged commit d23c172 into master Mar 25, 2022
@im-kulikov im-kulikov deleted the dependabot/go_modules/go.uber.org/dig-1.14.1 branch March 25, 2022 13:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant