chore: Bump version to 0.6.0
Some checks failed
CI / Test (OTP 27.2 / Elixir 1.18.2) (push) Failing after 0s
CI / Test (OTP 28.4 / Elixir 1.19.4 + Marmot E2E) (push) Failing after 0s
Release / Release Gate (push) Failing after 0s
Release / Build and publish image (push) Has been skipped

This commit is contained in:
2026-03-18 21:29:58 +01:00
parent fc3d121599
commit 46af9bd2a4
6 changed files with 24 additions and 13 deletions

View File

@@ -454,7 +454,7 @@ For systemd/process managers, run the release command with `start`.
Build:
```bash
nix-build
nix build
```
Run the built release from `./result/bin/parrhesia` (release command interface).

View File

@@ -10,7 +10,7 @@
vips,
}: let
pname = "parrhesia";
version = "0.5.0";
version = "0.6.0";
beamPackages = beam.packages.erlang_28.extend (
final: _prev: {

View File

@@ -23,7 +23,7 @@ defmodule Parrhesia.Storage.Adapters.Memory.Store do
}
def ensure_started do
with :ok <- ensure_agent_started() do
with :ok <- start_store() do
Agent.get(@name, fn state ->
ensure_tables_started()
state
@@ -182,14 +182,6 @@ defmodule Parrhesia.Storage.Adapters.Memory.Store do
Agent.get_and_update(@name, fun)
end
defp ensure_agent_started do
if Process.whereis(@name) do
:ok
else
start_store()
end
end
defp start_store do
case Agent.start_link(&init_state/0, name: @name) do
{:ok, _pid} -> :ok

View File

@@ -4,7 +4,7 @@ defmodule Parrhesia.MixProject do
def project do
[
app: :parrhesia,
version: "0.5.0",
version: "0.6.0",
elixir: "~> 1.18",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,

View File

@@ -5,7 +5,6 @@ defmodule Parrhesia.ConfigTest do
test "returns configured relay limits/policies/features" do
assert Parrhesia.Config.get([:metadata, :name]) == "Parrhesia"
assert Parrhesia.Config.get([:metadata, :version]) == "0.5.0"
assert Parrhesia.Config.get([:metadata, :hide_version?]) == true
assert Parrhesia.Config.get([:limits, :max_frame_bytes]) == 1_048_576
assert Parrhesia.Config.get([:limits, :max_event_bytes]) == 262_144

View File

@@ -24,4 +24,24 @@ exclude_tags =
end, []}
)
# Suppress Req retry warnings (e.g. transient socket closures during tests).
# These are expected when tests tear down HTTP connections mid-flight.
:logger.add_primary_filter(
:suppress_req_retry,
{fn
%{msg: {:string, chars}}, _extra ->
str = IO.chardata_to_string(chars)
if :string.find(str, "retry:") != :nomatch or
:string.find(str, "Req.TransportError") != :nomatch do
:stop
else
:ignore
end
_event, _extra ->
:ignore
end, []}
)
ExUnit.start(exclude: exclude_tags)