From d99d0096e29b2abc0b02836da23f622dd0dd1191 Mon Sep 17 00:00:00 2001 From: Morgan Aubert Date: Wed, 25 Sep 2024 08:40:20 -1000 Subject: [PATCH] Update 0.6 release notes --- docs/docs/the-marten-project/release-notes/0.6.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/docs/the-marten-project/release-notes/0.6.md b/docs/docs/the-marten-project/release-notes/0.6.md index 8a375913..8a1ba565 100644 --- a/docs/docs/the-marten-project/release-notes/0.6.md +++ b/docs/docs/the-marten-project/release-notes/0.6.md @@ -29,6 +29,7 @@ _Under development._ * [Session stores](../../handlers-and-http/sessions.md) now make it possible to easily configure when session entries expire through the use of the [`#expires_at=`](pathname:///api/dev/Marten/HTTP/Session/Store/Base.html#expires_at%3D(value%3ATime)-instance-method), [`#expires_at_browser_close=`](pathname:///api/dev/Marten/HTTP/Session/Store/Base.html#expires_at_browser_close%3D(value%3ABool)-instance-method), and [`#expires_in=`](pathname:///api/dev/Marten/HTTP/Session/Store/Base.html#expires_in%3D(value%3ATime%3A%3ASpan)-instance-method) methods. Please refer to [Customizing session expiry times](../../handlers-and-http/sessions.md#customizing-session-expiry-times) to learn more about this capability. * An alias for the [`#reverse`](pathname:///api/dev/Marten/Handlers/Base.html#reverse(*args%2C**options)-instance-method) handler method ([`#url`](pathname:///api/dev/Marten/Handlers/Base.html#url(name%3AString|Symbol%2C**kwargs)%3AString-instance-method)) was introduced. * A [Referrer-Policy middleware](../../handlers-and-http/reference/middlewares.md#referrer-policy-middleware) was introduced to make it possible to automatically set the Referrer-Policy header in responses generated by handlers. +* A new [`unsupported_http_method_strategy`](../../development/reference/settings.md#unsupported_http_method_strategy) setting was introduced to make it possible to configure the strategy to use when processing unsupported HTTP methods in handlers. This setting can be used to configure whether such requests should result in 405 Method Not Allowed responses (the default behavior) or 404 Not Found responses. #### Templates