Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/google/wire from 0.2.1 to 0.5.0 #280

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps github.com/google/wire from 0.2.1 to 0.5.0.

Release notes

Sourced from github.com/google/wire's releases.

0.5.0

New Features

  • Permit specifying build tags for analysis (#252)

Changed

  • Use full go run command in go:generate comment (#268)

Bug Fixes

  • internal/wire: fix panic in objectCache.processExpr (#236)
  • internal/wire: copy doc comment for generated injectors (#254)
  • docs: fix syntax error (#255)
  • docs: fix incorrect generated code in example (#277)

v0.4.0

New Features

  • FieldsOf provides a pointer type to the field as well as the actual field type for pointers to structs (#208)
  • A new --output_file_prefix flag permits changing the name of the outputted file (#192)

Bug Fixes

  • Use go/token to determine whether names are keywords (#203)
  • Wire no longer panics when wire.Struct is given a non-struct first argument (#219)
  • Wire no longer emits invalid code for injectors that return their arguments (#222)
  • Wire's go.mod no longer includes unused dependencies (#228)

v0.3.0

Wire version 0.3.0 is the first release we are marking as beta. With this release, we are committing to API stability: we do not intend to make backward-incompatible changes going forward. There are new features and breaking changes in this release, see below for details.

To upgrade to v0.3.0, please upgrade both the Wire command and library.

Breaking Changes

  • github.com/google/wire is now the single canonical import path. Any code still using github.com/google/go-cloud/wire will no longer be recognized. To upgrade: change github.com/google/go-cloud/wire to github.com/google/wire.
  • The second argument of Bind is now a pointer type to match argument types in other marker functions. If you have code like wire.Bind(new(Fooer), new(MyFoo))), the behavior will change. To upgrade: see the guide for how to migrate.

New Features

  • A new marker function FieldsOf to inject fields of a struct directly. See the guide for how to use it.
  • A new marker function Struct for struct providers. This will replace the current struct provider syntax in 1.0, so please upgrade as soon as possible. To upgrade: see the guide.
  • The wire help command will be more useful. You can use wire help to list available commands and their descriptions; you can also use wire help [command] to get more detailed information.
  • A new --header_file flag to gen and diff commands for copying copyright headers. Support using a wire:”-” tag to prevent filling certain struct fields.
  • Misc stability and documentation improvements.

v0.2.2

This release updates the golang.org/x/tools version used in the generator (#122). There is no change in Wire semantics.

Commits
  • 0ac8450 docs: fix incorrect generated code in example (#277)
  • a58291c internal/wire: use full go run command in go:generate comment (#268)
  • 19bf7da README: add link to GitHub Discussions (#273)
  • d3585c5 docs: add FAQ for explicit binds (#267)
  • 31708f3 doc: update README to point to issues for questions (#264)
  • 523d8fb Permit specifying build tags for analysis (#252)
  • 8d4ff5b docs: fix syntax error (#255)
  • 4d5ab74 internal/wire: copy doc comment for generated injectors (#254)
  • 978b780 internal/wire: remove unused method (#249)
  • ff891bb cmd/wire: simplify gather append (#248)
  • 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [github.com/google/wire](https://github.com/google/wire) from 0.2.1 to 0.5.0.
- [Release notes](https://github.com/google/wire/releases)
- [Commits](google/wire@v0.2.1...v0.5.0)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants