Skip to content

Commit

Permalink
bump (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpiemontese authored Oct 25, 2022
1 parent 24d14ba commit 8f012ba
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 2 deletions.
35 changes: 34 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

---

## [2.3.0] - 2022-10-25

### Added

- options can now be configured through `config` for each single bridge
Expand All @@ -15,25 +19,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- base `:endpoint` is not required anymore during `use BridgeEx.Graphql`

---

## [2.2.0] - 2022-09-19

### Added

- New `:decode_keys` option to determine how JSON keys in GraphQL responses are decoded

---

## [2.1.1] - 2022-07-29

### Changed

- **Deprecation**: a warning is emitted if global `log_options` config is set. This option was introduced to save some boilerplate when multiple bridges are used in the same app, but it's a footgun for umbrella apps and a bad design pattern for libraries

---

## [2.1.0] - 2022-07-07

### Added

- New `format_variables` option to format query `variables` keys as camelCase, as per GraphQL conventions
- New `BridgeEx.Graphql.Formatter.SnakeCase` and `BridgeEx.Graphql.Formatter.CamelCase` formatters

---

## [2.0.0] - 2022-05-19

### Changed
Expand All @@ -45,6 +57,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `BridgeEx.Graphql.Client.call` accepts only `variables :: map()` once again
- `BridgeEx.Graphql.Client.call` now performs `variables` encoding internally

---

## [1.2.0] - 2022-05-16

### Added
Expand All @@ -55,6 +69,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Typespec of `BridgeEx.Graphql.Client.call` function is now compatible with `encode_variables: true` option

---

## [1.1.0] - 2022-03-07

### Added
Expand All @@ -68,6 +84,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Retry delay starts with 100ms by default,
- `max_attempts` option is now deprecated in favour of `retry_options`

---

## [1.0.1] - 2022-03-07

### Added
Expand All @@ -81,6 +99,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- If audience is not set but auth0 is enabled a `RuntimeError` is now raised instead of a `CompileError`
- Global log options are fetched with `get_env` instead of `compile_env`

---

## [1.0.0] - 2022-02-18

### Changed
Expand All @@ -93,18 +113,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Support for global log options i.e. `config :bridge_ex, log_options: [...]`
- Compile time detection of incorrect auth0 config: if audience is not set but auth0 is enabled a `CompileError` is raised

---

## [0.4.1] - 2022-02-07

### Added

- New `log_options` keyword list with options `:log_query_on_error` and `:log_response_on_error` for better control of what the lib logs on HTTP errors/request errors

---

## [0.4.0] - 2022-02-02

### Changed

- Require `config :bridge_ex, :auth0_enabled` to be set in order to use auth0 authentication

---

## [0.3.1]

### Changed
Expand All @@ -115,6 +141,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Fixed handling of custom headers

---

## [0.3.0-rc.1]

### Added
Expand All @@ -125,19 +153,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Fixed typo in bridge for `max_attempts` configuration.

---

## [0.2.0-rc.1]

### Added

- Added package publication on hex.pm

---

## [0.1.0]

### Added

- Initial implementation of `bridge_ex`

[Unreleased]: https://github.com/primait/bridge_ex/compare/2.2.0...HEAD
[Unreleased]: https://github.com/primait/bridge_ex/compare/2.3.0...HEAD
[2.3.0]: https://github.com/primait/bridge_ex/compare/2.2.0...2.3.0
[2.2.0]: https://github.com/primait/bridge_ex/compare/2.1.1...2.2.0
[2.1.1]: https://github.com/primait/bridge_ex/compare/2.1.0...2.1.1
[2.1.0]: https://github.com/primait/bridge_ex/compare/2.0.0...2.1.0
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule BridgeEx.MixProject do
use Mix.Project

@source_url "https://github.com/primait/bridge_ex"
@version "2.2.0"
@version "2.3.0"

def project do
[
Expand Down

0 comments on commit 8f012ba

Please sign in to comment.