aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/src/manual/cow_cookie.asciidoc6
-rw-r--r--doc/src/manual/cow_cookie.setcookie.asciidoc1
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