diff --git a/CHANGES.md b/CHANGES.md index ad370269..5ac543a1 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,7 @@ +## [2.0.0] - 2021-10-04 +### Changed +- Added the concept of a service context `ctx` which can be used for configuration that is valid for one function call only. + ## [1.0.1] - 2021-09-17 ### Added - Support `multipart/form-data` in CSRF middleware diff --git a/dune-project b/dune-project index 01029c9d..f05c7bc7 100644 --- a/dune-project +++ b/dune-project @@ -2,7 +2,7 @@ (generate_opam_files true) (name sihl) -(version 1.0.1) +(version 2.0.0) (authors "Josef Erben" diff --git a/sihl-cache.opam b/sihl-cache.opam index f9649df9..ae6e4b56 100644 --- a/sihl-cache.opam +++ b/sihl-cache.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "1.0.1" +version: "2.0.0" synopsis: "Cache service implementations for Sihl" description: "A key-value store with support for PostgreSQL and MariaDB." maintainer: ["josef@oxidizing.io"] diff --git a/sihl-cache.opam.locked b/sihl-cache.opam.locked index dbb28c90..0eb5861e 100644 --- a/sihl-cache.opam.locked +++ b/sihl-cache.opam.locked @@ -1,5 +1,5 @@ opam-version: "2.0" -version: "1.0.0" +version: "2.0.0" synopsis: "Cache service implementations for Sihl" description: "A key-value store with support for PostgreSQL and MariaDB." maintainer: ["josef@oxidizing.io"] diff --git a/sihl-email.opam b/sihl-email.opam index 331eda29..b59575ce 100644 --- a/sihl-email.opam +++ b/sihl-email.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "1.0.1" +version: "2.0.0" synopsis: "Email service implementations for Sihl" description: "Modules for sending emails using Lwt and SMTP or Sendgrid." maintainer: ["josef@oxidizing.io"] diff --git a/sihl-email.opam.locked b/sihl-email.opam.locked index ecd8d804..d64ea1a6 100644 --- a/sihl-email.opam.locked +++ b/sihl-email.opam.locked @@ -1,5 +1,5 @@ opam-version: "2.0" -version: "1.0.0" +version: "2.0.0" synopsis: "Email service implementations for Sihl" description: "Modules for sending emails using Lwt and SMTP or Sendgrid." maintainer: ["josef@oxidizing.io"] @@ -20,6 +20,7 @@ depends: [ "bigarray-compat" {= "1.0.0"} "bigarray-overlap" {= "0.2.0"} "bigstringaf" {= "0.8.0"} + "biniou" {= "1.2.1"} "bos" {= "0.2.0"} "ca-certs" {= "0.2.1"} "cmdliner" {= "1.0.4"} @@ -44,6 +45,7 @@ depends: [ "dune" {= "2.9.0"} "dune-configurator" {= "2.9.0"} "duration" {= "0.2.0"} + "easy-format" {= "1.3.2"} "emile" {= "1.1"} "eqaf" {= "0.8"} "fmt" {= "0.8.9"} @@ -52,6 +54,8 @@ depends: [ "hkdf" {= "1.0.4"} "ipaddr" {= "5.1.0"} "ipaddr-sexp" {= "5.1.0"} + "js_of_ocaml" {= "3.9.0"} + "js_of_ocaml-compiler" {= "3.9.1"} "jsonm" {= "1.0.1"} "ke" {= "0.4"} "letters" {= "0.2.1"} @@ -109,6 +113,7 @@ depends: [ "uutf" {= "1.0.2"} "uuuu" {= "0.2.0"} "x509" {= "0.14.1"} + "yojson" {= "1.7.0"} "yuscii" {= "0.3.0"} "zarith" {= "1.12"} ] diff --git a/sihl-queue.opam b/sihl-queue.opam index c3a0ae5f..a36e17a0 100644 --- a/sihl-queue.opam +++ b/sihl-queue.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "1.0.1" +version: "2.0.0" synopsis: "Queue service implementations for Sihl" description: "Modules for running tasks in the background on a persistent queue." diff --git a/sihl-queue.opam.locked b/sihl-queue.opam.locked index 54f9dd10..e2756c9a 100644 --- a/sihl-queue.opam.locked +++ b/sihl-queue.opam.locked @@ -1,5 +1,5 @@ opam-version: "2.0" -version: "1.0.0" +version: "2.0.0" synopsis: "Queue service implementations for Sihl" description: "Modules for running tasks in the background on a persistent queue." diff --git a/sihl-storage.opam b/sihl-storage.opam index 336ecde0..3a1e8a3e 100644 --- a/sihl-storage.opam +++ b/sihl-storage.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "1.0.1" +version: "2.0.0" synopsis: "Storage service implementations for Sihl" description: "Modules for storing large binary blobs using either PostgreSQL or MariaDB." diff --git a/sihl-storage.opam.locked b/sihl-storage.opam.locked index 45af79a1..5b1dbc4e 100644 --- a/sihl-storage.opam.locked +++ b/sihl-storage.opam.locked @@ -1,5 +1,5 @@ opam-version: "2.0" -version: "1.0.0" +version: "2.0.0" synopsis: "Storage service implementations for Sihl" description: "Modules for storing large binary blobs using either PostgreSQL or MariaDB." diff --git a/sihl-token.opam b/sihl-token.opam index 4a4ab2a4..30ad95eb 100644 --- a/sihl-token.opam +++ b/sihl-token.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "1.0.1" +version: "2.0.0" synopsis: "Token service implementations for Sihl" description: "Modules for token handling with support for JWT blacklisting and server-side stored tokens using PostgreSQL and MariaDB." diff --git a/sihl-token.opam.locked b/sihl-token.opam.locked index dd8fba7e..9da1b85d 100644 --- a/sihl-token.opam.locked +++ b/sihl-token.opam.locked @@ -1,5 +1,5 @@ opam-version: "2.0" -version: "1.0.0" +version: "2.0.0" synopsis: "Token service implementations for Sihl" description: "Modules for token handling with support for JWT blacklisting and server-side stored tokens using PostgreSQL and MariaDB." diff --git a/sihl-user.opam b/sihl-user.opam index 22bf9746..e9533f3c 100644 --- a/sihl-user.opam +++ b/sihl-user.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "1.0.1" +version: "2.0.0" synopsis: "User service implementations for Sihl" description: "Modules for user management and password reset workflows with support for PostgreSQL and MariaDB." diff --git a/sihl-user.opam.locked b/sihl-user.opam.locked index e0088fb7..469e92ab 100644 --- a/sihl-user.opam.locked +++ b/sihl-user.opam.locked @@ -1,5 +1,5 @@ opam-version: "2.0" -version: "1.0.0" +version: "2.0.0" synopsis: "User service implementations for Sihl" description: "Modules for user management and password reset workflows with support for PostgreSQL and MariaDB." diff --git a/sihl.opam b/sihl.opam index 4bb805b2..f3c27db8 100644 --- a/sihl.opam +++ b/sihl.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "1.0.1" +version: "2.0.0" synopsis: "The Sihl web framework" description: """ diff --git a/sihl.opam.locked b/sihl.opam.locked index 8f4b177b..11e354ab 100644 --- a/sihl.opam.locked +++ b/sihl.opam.locked @@ -1,5 +1,5 @@ opam-version: "2.0" -version: "1.0.0" +version: "2.0.0" synopsis: "The Sihl web framework" description: """ @@ -58,12 +58,17 @@ depends: [ "hmap" {= "0.8.1"} "httpaf" {= "0.7.1"} "httpaf-lwt-unix" {= "0.7.1"} + "js_of_ocaml" {= "3.9.0"} + "js_of_ocaml-compiler" {= "3.9.1"} "jwto" {= "0.3.0"} "logs" {= "0.7.0"} "lwt" {= "5.4.2"} "lwt_ppx" {= "2.0.2"} "lwt_ssl" {= "1.1.3"} "magic-mime" {= "1.2.0"} + "menhir" {= "20210419"} + "menhirLib" {= "20210419"} + "menhirSdk" {= "20210419"} "mirage-crypto" {= "0.10.3"} "mirage-crypto-ec" {= "0.10.3"} "mirage-crypto-pk" {= "0.10.3"}