# Amber v2.0.0-beta.12 released!

**URL:** <https://forum.devtalk.com/t/amber-v2-0-0-beta-12-released/251964>\
**Category:** Backend Official News\
**Tags:** newsbot, amber, official-news\
**Created:** [22 November 2026 16:17 UTC](https://forum.devtalk.com/t/amber-v2-0-0-beta-12-released/251964 "2026-11-22T16:17:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NewsBot](https://forum.devtalk.com/user_avatar/forum.devtalk.com/newsbot/32/1114_2.png) [@NewsBot](https://forum.devtalk.com/u/NewsBot)\
**Post date:** [22 November 2026 16:17 UTC](https://forum.devtalk.com/t/amber-v2-0-0-beta-12-released/251964/1 "2026-11-22T16:17:54Z")

</div>

[Amber](https://devtalk.com/amber) v2.0.0-beta.12 has been released.

> [@](#):
>
> # Amber 2.0.0-beta.12
> 
> Amber 2.0.0-beta.12 makes a default app smaller in memory and safer at the  
> door: it refuses compressed request bodies, stops keeping a session for every  
> visitor, and allocates less on every request.
> 
> ## What changed
> 
> - **Compressed request bodies are refused (#1454).** A request with a  
> compressed body is answered `415 Unsupported Media Type` before routing or  
> any pipe reads it. Crystal before 1.21.1 inflates gzip and deflate request  
> bodies with no size limit  
> ([GHSA-jfq5-c3x6-w7jj](https://github.com/crystal-lang/crystal/security/advisories/GHSA-jfq5-c3x6-w7jj)),  
> so a 1 MiB body could become 1 GiB. The guard works on every compiler,  
> crystal-alpha 1.21.0 included. An app that accepts compressed uploads sets  
> `params.accepts_encoded_request_bodies: true` and bounds the body itself.
> - **Sessions follow `session.store` (#1455).** See the behavior change below.  
> `Amber::Pipe::Flash` writes the session only when there is a flash to keep  
> or clear, so a visitor who never sees a flash gets no session. The memory  
> session adapter keeps at most `session.max_memory_sessions` sessions  
> (10,000 by default) and drops the one used longest ago. A `:web` route  
> served to cookieless clients used to grow to 858 MiB in 90 s; it now stays  
> under 15 MiB.
> - **The logger allocates nothing when its lines are filtered (#1456).** At the  
> default `info` level `Amber::Pipe::Logger` used to build every debug line,  
> parse the params and create a session, about 11.8 KB per request, before  
> `Log` dropped it.
> - **`Amber::Pipe::Compression` (#1457).** It gzips or deflates responses with  
> the same bytes as `HTTP::CompressHandler`, but its zlib streams come from  
> `malloc` and are reused through a small pool, where `HTTP::CompressHandler`  
> allocates about 270 KB from the collected heap for every compressed  
> response. Amber CLI 2.0.12 apps use it through `CompressedResponsePipe`.
> - **Asset tags are rendered once per manifest (#1458).** `stylesheet\_link\_t…

Link: [Release Amber 2.0.0-beta.12 · amberframework/amber · GitHub](https://github.com/amberframework/amber/releases/tag/v2.0.0-beta.12)
