From d8e4318300cb9bbf7a2189686b0698392467ba91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 16 Jan 2023 13:32:32 +0100 Subject: Update cookie manual pages --- doc/src/manual/cow_cookie.asciidoc | 6 ++++-- doc/src/manual/cow_cookie.setcookie.asciidoc | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/src/manual/cow_cookie.asciidoc b/doc/src/manual/cow_cookie.asciidoc index 0bde0ed..035342d 100644 --- a/doc/src/manual/cow_cookie.asciidoc +++ b/doc/src/manual/cow_cookie.asciidoc @@ -29,7 +29,7 @@ cookie_attrs() :: #{ path => binary(), secure => true, http_only => true, - same_site => strict | lax | none + same_site => default | none | strict | lax } ---- @@ -48,7 +48,7 @@ cookie_opts() :: #{ http_only => boolean(), max_age => non_neg_integer(), path => binary(), - same_site => strict | lax | none, + same_site => default | none | strict | lax, secure => boolean() } ---- @@ -101,6 +101,8 @@ transfer. By default there are no restrictions. == Changelog +* *2.12*: The `same_site` attribute and option may now be + set to `default`. * *2.10*: The `same_site` attribute and option may now be set to `none`. * *2.9*: The `cookie_attrs` type was added. diff --git a/doc/src/manual/cow_cookie.setcookie.asciidoc b/doc/src/manual/cow_cookie.setcookie.asciidoc index d600a07..77f98b1 100644 --- a/doc/src/manual/cow_cookie.setcookie.asciidoc +++ b/doc/src/manual/cow_cookie.setcookie.asciidoc @@ -36,6 +36,7 @@ An iolist with the generated set-cookie header value. == Changelog +* *2.12*: The `Version` attribute is no longer generated. * *1.0*: Function introduced. == Examples -- cgit v1.2.3