Download Latest Version v0.6.0 source code.zip (302.3 kB)
Email in envelope

Get an email when there's a new version of Wire

Home / v0.3.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2019-06-18 1.8 kB
v0.3.0.tar.gz 2019-06-18 86.2 kB
v0.3.0.zip 2019-06-18 286.7 kB
Totals: 3 Items   374.7 kB 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

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.
Source: README.md, updated 2019-06-18