@plumbus/core 0.8.0-beta.0 → 0.8.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @plumbus/core changelog
2
2
 
3
+ ## 0.8.0-beta.1 — 2026-09-11
4
+
5
+ ### Changed
6
+
7
+ - **403 responses keep `metadata.reason`.** `errorToHttpResponse` still replaces the message with `Access denied` and drops every other metadata key, but a string `reason` set at the throw site (`session-revoked`, `tenant-suspended`) now reaches the client so it can act on the refusal without learning anything else about it.
8
+
9
+ ### Fixed
10
+
11
+ - **Audit writer refusals are surfaced, not relabelled.** A custom `AuditWriter` that throws a `PlumbusError` is refusing the record (for example a validation error about the payload). `AuditService.record` now rethrows it unchanged on the first attempt instead of retrying three times and wrapping it as `Audit persistence failed`. Non-Plumbus errors keep the retry-and-wrap behaviour.
12
+
3
13
  ## 0.8.0-beta.0 — 2026-09-11 — core 0.8 beta family
4
14
 
5
15
  ### Upgrade boundary