Skip to content

Conversation

@dependabot-preview
Copy link

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

Release notes

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

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
  • 89cb901 document wire.Struct first argument (#197)
  • 93b1ce7 doc: add guide to use the wire:"-" tag (#195)
  • 000df02 parse: use reflect.StructTag to detect wire tags #179 (#181)
  • b5d7d78 wire: remove color in wire show (#190)
  • 89bcaa2 wire: improve color output to term by using fatih/color (#186)
  • ed1f30e docs: add FieldsOf to the guide (#159)
  • cbfca74 wire: support using '-' tag to prevent filling struct fields (#163)
  • 7d9ac45 internal: fix issues found by shellcheck (#177)
  • fe01654 cmd/wire: add a --header_file flag to the "gen" and "diff" commands (#175)
  • d76a979 wire: use subcommands package, improving help (#173)
  • 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 ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jun 19, 2019
@dependabot-preview
Copy link
Author

Superseded by #34.

@dependabot-preview dependabot-preview bot deleted the dependabot/go_modules/github.com/google/wire-0.3.0 branch December 16, 2019 11:13
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant