Skip to content

Commit

Permalink
Merge pull request #79 from spandex-project/release_2_3_0
Browse files Browse the repository at this point in the history
Prep for 2.3.0 Release
  • Loading branch information
GregMefford authored Sep 15, 2018
2 parents bfe65b5 + ea4a0f0 commit 970cc99
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
9 changes: 5 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

[NEXT]: https://github.com/spandex-project/spandex/compare/vNEXT...v2.2.0
[NEXT]: https://github.com/spandex-project/spandex/compare/vNEXT...v2.3.0

### Added
## [2.3.0]

[2.3.0]: https://github.com/spandex-project/spandex/compare/v2.3.0...v2.2.0

### Added
- `Spandex.current_context/1` and `Spandex.Tracer.current_context/1` functions,
which get a `Spandex.SpanContext` struct based on the current context.

- `Spandex.inject_context/3` and `Spandex.Tracer.inject_context/2` functions,
which inject a distributed tracing context into a list of HTTP headers.

### Changed

- The `Spandex.Adapter` behaviour now requires an `inject_context/3` callback,
which encodes a `Spandex.SpanContext` as HTTP headers for distributed
tracing.
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ would be greatly appreciated.

```elixir
def deps do
[{:spandex, "~> 2.2.0"}]
[{:spandex, "~> 2.3.0"}]
end
```

Expand Down Expand Up @@ -204,3 +204,7 @@ separately.
## Ecto Tracing
Check out [spandex_ecto](https://github.com/spandex-project/spandex_ecto).
## Phoenix Tracing
Check out [spandex_phoenix](https://github.com/spandex-project/spandex_phoenix).
6 changes: 3 additions & 3 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Spandex.Mixfile do
def project do
[
app: :spandex,
version: "2.2.0",
version: "2.3.0",
elixir: "~> 1.3",
elixirc_paths: elixirc_paths(Mix.env()),
build_embedded: Mix.env() == :prod,
Expand All @@ -13,7 +13,7 @@ defmodule Spandex.Mixfile do
package: package(),
name: "Spandex",
docs: docs(),
source_url: "https://github.com/zachdaniel/spandex",
source_url: "https://github.com/spandex-project/spandex",
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
"coveralls.travis": :test,
Expand All @@ -38,7 +38,7 @@ defmodule Spandex.Mixfile do
name: :spandex,
maintainers: ["Zachary Daniel", "Andrew Summers", "Greg Mefford"],
licenses: ["MIT License"],
links: %{"GitHub" => "https://github.com/zachdaniel/spandex"}
links: %{"GitHub" => "https://github.com/spandex-project/spandex"}
]
end

Expand Down

0 comments on commit 970cc99

Please sign in to comment.