Skip to content

brave 3.0.0-alpha1

Compare
Choose a tag to compare
@kristofa kristofa released this 21 Jun 14:47
· 1525 commits to master since this release

First public release of brave 3.0.0. It is an Alpha release as it is not feature complete yet.
Components are available in Maven Central.

This is a breaking change when coming from brave 2.x. However the changes you need to do to upgrade should be minimal and expected to be straight forward.

List of changes:

  • [Breaking change] Java 7 bytecode (was Java 6 for brave 2.x). Build and release was done using Java 8.
  • Module changes:
    • flume-zipkin-collector-sink is extracted from brave project and lives in separate repo now
    • flume-zipkin-metrics-sink is extracted from brave project and lives in separate repo now
    • brave-interfaces and brave-impl have been merged into new module: brave-core
    • brave-client module is renamed into brave-http as it was very http focused anyway
  • Upgrade modules that depend on Spring to use Spring 4.1.6.RELEASE. However the Spring dependencies have scope provided and you are not forced to update from Spring 3 if you don't want to. All Spring dependent modules should also still work with Spring 3.2.2.RELEASE or later.
  • Groundwork for new client and server abstractions that are not http specific. These classes and interfaces (ServerRequestInterceptor, ServerResponseInterceptor, ClientRequestInterceptor, ClientResponseInterceptor) live in brave-core but are not integrated yet. This will be for next alpha or beta release.
  • Contributions by @adriancole . Big thanks!
    • Introduce animal-sniffer Maven plugin to make sure we don't accidently introduce Java 8 features in brave-core.
    • Remove guava as a dependency.
    • [Breaking change] Consolidate Impl classes and interfaces in brave-core : Interfaces which really only have and need 1 implementation have been merged into single class (interface becomes class)
    • [Breaking change] Introduce Google AutoValue which removes lots of boilerplate code and also enabled the removal of commons-lang3 dependency \o/.
    • [Breaking change] Rename EndPointSubmitter to EndpointSubmitter.

brave-resteasy-example has been updated to use brave 3.0.0-alpha1.

For a list of what's left to do for brave 3.0.0, see #59