diff --git a/CHANGELOG.md b/CHANGELOG.md index c4f906ee..7fbf5915 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,32 @@ # Changelog -## 0.8.0 (Unreleased) +## 0.8.0 (2023-01-30) -## 0.7.0 (2022-08-10) +- Updates to the recent upstream `elixir-grpc` that includes Mint support [`f5f5fab4`](https://github.com/elixir-grpc/grpc/commit/f5f5fab412dcf37826e583980a61190e865e96be) + +### Added `mint` client adapter + +Now, when spawning your connections it is possible for developers to choose +which adapter to use. + +```elixir +GRPC.Stub.connect("localhost:5001", adapter: GRPC.Client.Adapters.Mint) +# or (Gun is the current default adapter) +GRPC.Stub.connect("localhost:5001") +# the above is has the same effect as: +GRPC.Stub.connect("localhost:5001", adapter: GRPC.Client.Adapters.Gun) +``` +### Why choose `mint` over `gun`? +Both clients will solve the same problems and recent load tests showed almost no +difference of performance between them. + +The reason why the additional `Mint` adapter is introduced, is because we are +attempting to integrate with LaunchDarkly and their erlang client is +incompatible with the current version of Gun which `elixir-grpc` is using. +Using an adapter based on `Mint` resolves the `gun` version conflict. + +## 0.7.0 (2022-08-10) - Updates to the recent upstream release of `elixir-grpc` [`v0.5.0`](https://github.com/elixir-grpc/grpc/releases/tag/v0.5.0) ### Breaking Changes diff --git a/mix.exs b/mix.exs index 5b382961..af906fbb 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule GRPC.Mixfile do use Mix.Project - @version "0.8.0-dev" + @version "0.8.0" def project do [