aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2023-01-16 13:32:32 +0100
committerLoïc Hoguin <[email protected]>2023-01-16 13:32:32 +0100
commitd8e4318300cb9bbf7a2189686b0698392467ba91 (patch)
tree06f25048c152b0cd0b06055b90b62b7bd768a654
parent6d78697e159697cc5073cb846d3616dcac570ef2 (diff)
downloadcowlib-d8e4318300cb9bbf7a2189686b0698392467ba91.tar.gz
cowlib-d8e4318300cb9bbf7a2189686b0698392467ba91.tar.bz2
cowlib-d8e4318300cb9bbf7a2189686b0698392467ba91.zip
Update cookie manual pages2.12.0
-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