Skip to content

Commit b002578

Browse files
authored
Bump version to v0.30.0 (#141)
* Update documentation
1 parent ee9e536 commit b002578

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## [0.30.0] - 2025-02-17
4+
5+
- Add new configuration option `registry_ssl_ops` with arbitrary Erlang SSL client options (#134 @sstoltze)
6+
7+
## [0.29.2] - 2025-01-30
8+
9+
- Fix guard for HTTPClient.post/3 #139 (#136 @azeemchauhan)
10+
311
## [0.29.1] - 2025-01-22
412

513
- Fix regression caused by #129 (#136 @woylie)
@@ -42,6 +50,8 @@
4250

4351
- Add runtime config resolution for Avrora.Client (#92, @strech)
4452

53+
[0.30.0]: https://github.com/Strech/avrora/releases/tag/v0.30.0
54+
[0.29.2]: https://github.com/Strech/avrora/releases/tag/v0.29.2
4555
[0.29.1]: https://github.com/Strech/avrora/releases/tag/v0.29.1
4656
[0.29.0]: https://github.com/Strech/avrora/releases/tag/v0.29.0
4757
[0.28.0]: https://github.com/Strech/avrora/releases/tag/v0.28.0

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
[v0.25]: https://github.com/Strech/avrora/releases/tag/v0.25.0
2525
[v0.26]: https://github.com/Strech/avrora/releases/tag/v0.26.0
2626
[v0.28]: https://github.com/Strech/avrora/releases/tag/v0.28.0
27+
[v0.30]: https://github.com/Strech/avrora/releases/tag/v0.30.0
2728
[1]: https://avro.apache.org/
2829
[2]: https://www.confluent.io/confluent-schema-registry
2930
[3]: https://docs.confluent.io/current/schema-registry/serializer-formatter.html#wire-format
@@ -36,6 +37,7 @@
3637
[10]: https://github.com/Strech/avrora/pull/70
3738
[11]: https://github.com/klarna/erlavro#decoder-hooks
3839
[12]: https://www.erlang.org/docs/26/man/ssl#type-client_cacerts
40+
[13]: https://www.erlang.org/docs/26/man/ssl#type-client_option
3941

4042
# Getting Started
4143

@@ -64,7 +66,7 @@ Add Avrora to `mix.exs` as a dependency
6466
```elixir
6567
def deps do
6668
[
67-
{:avrora, "~> 0.27"}
69+
{:avrora, "~> 0.30"}
6870
]
6971
end
7072
```
@@ -88,7 +90,8 @@ defmodule MyClient do
8890
schemas_path: "./priv/schemas",
8991
registry_url: "http://localhost:8081",
9092
registry_auth: {:basic, ["username", "password"]},
91-
registry_user_agent: "Avrora/0.25.0 Elixir",
93+
registry_user_agent: "Avrora/0.30.0 Elixir",
94+
registry_ssl_opts: [verify: :verify_none]
9295
registry_ssl_cacerts: File.read!("./priv/trusted.der"),
9396
registry_ssl_cacert_path: "./priv/trusted.crt",
9497
registry_schemas_autoreg: false,
@@ -111,7 +114,8 @@ config :avrora,
111114
schemas_path: "./priv/schemas",
112115
registry_url: "http://localhost:8081",
113116
registry_auth: {:basic, ["username", "password"]}, # optional
114-
registry_user_agent: "Avrora/0.24.2 Elixir", # optional: if you want to return previous behaviour, set it to `nil`
117+
registry_user_agent: "Avrora/0.30.0 Elixir", # optional: if you want to return previous behaviour, set it to `nil`
118+
registry_ssl_opts: [verify: :verify_none], # optional: if you want to set any available SSL options, overwriting rest
115119
registry_ssl_cacerts: File.read!("./priv/trusted.der"), # optional: if you have DER-encoded certificate
116120
registry_ssl_cacert_path: "./priv/trusted.crt", # optional: if you have PEM-encoded certificate file
117121
registry_schemas_autoreg: false, # optional: if you want manually register schemas
@@ -126,6 +130,7 @@ config :avrora,
126130
- `registry_url` - URL for the Schema Registry, default `nil`
127131
- `registry_auth` – Credentials to authenticate in the Schema Registry, default `nil`
128132
- `registry_user_agent`<sup>[v0.25]</sup> - HTTP `User-Agent` header for Schema Registry requests, default `Avrora/<version> Elixir`
133+
- `registry_ssl_opts`<sup>[v0.30]</sup> - Arbitrary [SSL client options][13] in Erlang format (take precedence over other SSL options), default `nil`
129134
- `registry_ssl_cacerts`<sup>[v0.28]</sup> - DER-encoded certificates, but [without combined support][12], default `nil`
130135
- `registry_ssl_cacert_path`<sup>[v0.28]</sup> - Path to a file containing PEM-encoded CA certificates, default `nil`
131136
- `registry_schemas_autoreg`<sup>[v0.13]</sup> - Flag for automatic schemas registration in the Schema Registry, default `true`

lib/avrora/config.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ defmodule Avrora.Config do
99
* `registry_url` URL for Schema Registry, default `nil`
1010
* `registry_auth` authentication settings for Schema Registry, default `nil`
1111
* `registry_user_agent` HTTP `User-Agent` header for Schema Registry requests, default `Avrora/<version> Elixir`
12-
* `registry_ssl_opts` Erlang SSL client options for connecting to the Schema Registry (takes precedence over other SSL options) (see https://www.erlang.org/docs/26/man/ssl#type-client_option), default `nil`
12+
* `registry_ssl_opts` arbitrary SSL client options in Erlang format (take precedence over other SSL options) (see https://www.erlang.org/docs/26/man/ssl#type-client_option), default `nil`
1313
* `registry_ssl_cacerts` DER-encoded trusted certificate (not combined) (see https://www.erlang.org/docs/26/man/ssl#type-client_cacerts), default `nil`
1414
* `registry_ssl_cacert_path` path to a file containing PEM-encoded CA certificates, default `nil`
1515
* `registry_schemas_autoreg` automatically register schemas in Schema Registry, default `true`

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule Avrora.MixProject do
22
use Mix.Project
33

4-
@version "0.29.2"
4+
@version "0.30.0"
55

66
def project do
77
[

0 commit comments

Comments
 (0)