# fabricators .NET foundation 0.4.0: Release 0.4.0

2026-11-05

- Require .NET 10; update the SDK, Microsoft libraries, FusionCache and test tooling to stable releases.
- Add an enforcing antiforgery gate for JSON writes, anonymous endpoint opt-in and reviewed opt-out.
  Cover inline/fallback authorization policies and identity-bound token re-minting in integration tests.
- Add authenticated BFF visitor-IP resolution with configurable protocol headers, startup validation,
  proof-header removal and no implicit trust in Cloudflare or X-Forwarded-For headers.
- Make API-key rate limiting use the same resolved address and IPv6 /64 partitioning.
  The legacy boolean overload remains source-compatible but no longer trusts raw Cloudflare headers.
- Cap `Email` input at 320 characters and match it with a non-backtracking generated regex,
  so pathological input can no longer stall validation.
- Document consumer middleware order, BFF obligations and incremental adoption in Platform/live-studio.

This is a breaking consumer upgrade from 0.3.x. Consumers must target .NET 10, recompile,
configure the BFF trust boundary and explicitly wire the new middleware. Package publication
and consumer deployment are separate steps; changing this source does not update Platform.
