Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CHANGELOG

## Unreleased
## v0.21.0 (2026-10-21)

* Request the CI job's OIDC token only for the audience in the new `workload_identity_audience` config option, `hexpm` by default, and return `{error, {oidc_audience_not_allowed, Audience}}` when the API advertises a different one, so a configured API can't get a token that another service accepts.
* Don't send the config's `api_key` with the device authorization, token and OIDC audience requests in `hex_api_oauth`. The server refuses a request carrying a credential it refuses, so renewing a refused API token had its refresh or device authorization refused too, and the refused refresh cleared the stored token.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ Add to `rebar.config`:

```erlang
{deps, [
{hex_core, "0.20.1"}
{hex_core, "0.21.0"}
]}
```

Expand All @@ -233,7 +233,7 @@ Add to `mix.exs`:
```elixir
defp deps do
[
{:hex_core, "~> 0.20.1"}
{:hex_core, "~> 0.21.0"}
]
end
```
Expand Down
2 changes: 1 addition & 1 deletion src/hex_core.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{application, hex_core, [
{description, "Reference implementation of Hex specifications"},
{vsn, "0.20.1"},
{vsn, "0.21.0"},
{registered, []},
{applications, [kernel, stdlib, inets, ssl, ssh]},
{licenses, ["Apache-2.0"]},
Expand Down
2 changes: 1 addition & 1 deletion src/hex_core.hrl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-define(HEX_CORE_VERSION, "0.20.1").
-define(HEX_CORE_VERSION, "0.21.0").
Loading