Skip to content

Commit

Permalink
chore: release version 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Oct 19, 2018
1 parent 233f9f5 commit 2f51a20
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 45 deletions.
48 changes: 5 additions & 43 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,11 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

[NEXT]: https://github.com/spandex-project/spandex_datadog/compare/vNEXT...v0.3.0

## [0.3.0]
# Change Log

[0.3.0]: https://github.com/spandex-project/spandex_datadog/compare/v0.3.0...v0.2.0

### Added
- `SpandexDatadog.Adapter.inject_context/3` added to support the new version of
the `Spandex.Adapter` behaviour.

## [0.2.0]

[0.2.0]: https://github.com/spandex-project/spandex_datadog/compare/v0.2.0...v0.1.0

### Added
- Priority sampling of distributed traces is now supported by sending the
`priorty` field from the `Trace` along with each `Span` sent to Datadog,
using the appropriate `_sampling_priority_v1` field under the `metrics`
field.
All notable changes to this project will be documented in this file.
See [Conventional Commits](Https://conventionalcommits.org) for commit guidelines.

### Changed
- If the `env` option is not specified for a trace, it will no longer be sent
to Datadog, This allows the Datadog trace collector configured default to be
used, if desired.
- `SpandexDatadog.Adapter.distributed_context/2` now returns a `Spandex.Trace`
struct, including a `priority` based on the `x-datadog-sampling-priority`
HTTP header.
- `SpandexDatadog.ApiServer` now supports the `send_trace` function, taking a
`Spandex.Trace` struct.
<!-- changelog -->

### Deprecated
- `SpandexDatadog.ApiServer.send_spans/2` is deprecated in favor of
`SpandexDatadog.ApiServer.send_trace/2`.
## [0.3.1](https://github.com/spandex-project/spandex_datadog/compare/0.3.1...0.3.1) (2018-10-19)

## [0.1.0]

### Added
- Initial release of the `spandex_datadog` library separately from the
`spandex` library.

[0.1.0]: https://github.com/spandex-project/spandex_datadog/commit/3c217429ec5e79e77e05729f2a83d355eeab4996
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies in `mix.exs`:
```elixir
def deps do
[
{:spandex_datadog, "~> 0.3.0"}
{:spandex_datadog, "~> 0.3.1"}
]
end
```
Expand Down
12 changes: 12 additions & 0 deletions config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
# and its dependencies with the aid of the Mix.Config module.
use Mix.Config

config :git_ops,
mix_project: SpandexDatadog.MixProject,
changelog_file: "CHANGELOG.md",
repository_url: "https://github.com/spandex-project/spandex_datadog",
types: [],
# Instructs the tool to manage your mix version in your `mix.exs` file
# See below for more information
manage_mix_version?: true,
# Instructs the tool to manage the version in your README.md
# Pass in `true` to use `"README.md"` or a string to customize
manage_readme_version: "README.md"

if Mix.env() == :test do
import_config "./test.exs"
end
5 changes: 4 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
defmodule SpandexDatadog.MixProject do
use Mix.Project

@version "0.3.1"

def project do
[
app: :spandex_datadog,
description: description(),
version: "0.3.0",
version: @version,
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
deps: deps(),
Expand Down Expand Up @@ -57,6 +59,7 @@ defmodule SpandexDatadog.MixProject do
[
{:ex_doc, ">= 0.0.0", only: :dev},
{:excoveralls, "~> 0.10", only: :test},
{:git_ops, "~> 0.3.4", only: [:dev]},
{:inch_ex, github: "rrrene/inch_ex", only: [:dev, :test]},
{:spandex, "~> 2.3"},
{:httpoison, "~> 0.13", only: :test},
Expand Down
2 changes: 2 additions & 0 deletions mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"earmark": {:hex, :earmark, "1.2.6", "b6da42b3831458d3ecc57314dff3051b080b9b2be88c2e5aa41cd642a5b044ed", [:mix], [], "hexpm"},
"ex_doc": {:hex, :ex_doc, "0.19.1", "519bb9c19526ca51d326c060cb1778d4a9056b190086a8c6c115828eaccea6cf", [:mix], [{:earmark, "~> 1.1", [hex: :earmark, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.7", [hex: :makeup_elixir, repo: "hexpm", optional: false]}], "hexpm"},
"excoveralls": {:hex, :excoveralls, "0.10.1", "407d50ac8fc63dfee9175ccb4548e6c5512b5052afa63eedb9cd452a32a91495", [:mix], [{:hackney, "~> 1.13", [hex: :hackney, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm"},
"git_cli": {:hex, :git_cli, "0.2.5", "40673235d088d2784d4e03511e62cac2ef520495cb6cc459f00b4e13aaf0fbf4", [:mix], [], "hexpm"},
"git_ops": {:hex, :git_ops, "0.3.4", "4cac61a23a30950877740e10bc985485c08107a5a48cee56421870875cf4cae7", [:mix], [{:git_cli, "~> 0.2", [hex: :git_cli, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 0.4", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm"},
"hackney": {:hex, :hackney, "1.14.0", "66e29e78feba52176c3a4213d42b29bdc4baff93a18cfe480f73b04677139dee", [:rebar3], [{:certifi, "2.4.2", [hex: :certifi, repo: "hexpm", optional: false]}, {:idna, "6.0.0", [hex: :idna, repo: "hexpm", optional: false]}, {:metrics, "1.0.1", [hex: :metrics, repo: "hexpm", optional: false]}, {:mimerl, "1.0.2", [hex: :mimerl, repo: "hexpm", optional: false]}, {:ssl_verify_fun, "1.1.4", [hex: :ssl_verify_fun, repo: "hexpm", optional: false]}], "hexpm"},
"httpoison": {:hex, :httpoison, "0.13.0", "bfaf44d9f133a6599886720f3937a7699466d23bb0cd7a88b6ba011f53c6f562", [:mix], [{:hackney, "~> 1.8", [hex: :hackney, repo: "hexpm", optional: false]}], "hexpm"},
"idna": {:hex, :idna, "6.0.0", "689c46cbcdf3524c44d5f3dde8001f364cd7608a99556d8fbd8239a5798d4c10", [:rebar3], [{:unicode_util_compat, "0.4.1", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm"},
Expand Down

0 comments on commit 2f51a20

Please sign in to comment.