From 4e6dc918fa62cfe02c9cead4bf5f993efe326941 Mon Sep 17 00:00:00 2001 From: Maxime Levillain Date: Mon, 8 Jul 2024 11:32:28 +0200 Subject: [PATCH] release 2.1.0 --- CHANGES.md | 26 ++++++++++++++++++++++++++ dune-project | 2 +- ez_api.opam | 6 +++--- 3 files changed, 30 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index f83fab8..222cac8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,29 @@ +## [2.1.0](https://github.com/ocamlpro/ez_api/compare/v2.0.0...2.1.0) (2024-07-08) + +* revamp registration of services (register/hide) +* fixes: + * allow different methods with same path + * 404 instead of 405 if the path has no services +* improvements: + * extension syntax instead of attributes for ppx + * allow multipart in curl common + * use http code defined in error cases in the server +* remove deprecated curl_multi + +## [2.0.0](https://github.com/ocamlpro/ez_api/compare/1.2.0...v2.0.0) (2023-02-06) + +* fixes: + * capital method names + * curl callback +* improvements: + * export session services + * cookie support + +## [1.2.0](https://github.com/ocamlpro/ez_api/compare/1.1.0...1.2.0) (2022-06-27) + +* release dependencies constraints +* better result errors + ## [1.1.0](https://github.com/ocamlpro/ez_api/compare/v1.0.0...1.1.0) (2022-04-11) * allow collision of static and dynamic path in server diff --git a/dune-project b/dune-project index 8b6a876..f12c6d3 100644 --- a/dune-project +++ b/dune-project @@ -16,7 +16,7 @@ (documentation "https://ocpmax.github.io/ez_api/ez_api/index.html") (depends (ocaml (>= 4.08)) - (json-data-encoding (>= 0.9)) + (json-data-encoding (>= 1.0.1)) (lwt (>= 4.0.0)) (ezjsonm (>= 1.1.0)) uuidm) diff --git a/ez_api.opam b/ez_api.opam index 72e6112..8d407ce 100644 --- a/ez_api.opam +++ b/ez_api.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "2.0.0" +version: "2.1.0" synopsis: "Easy API library and tools" maintainer: ["Fabrice Le Fessant "] authors: [ @@ -10,14 +10,14 @@ authors: [ "Maxime Levillain " "Alain Mebsout " ] -license: "LGPL-2.1-only with OCaml-LGPL-linking-exception" +license: "LGPL-2.1-only" homepage: "https://github.com/ocamlpro/ez_api" doc: "https://ocpmax.github.io/ez_api/ez_api/index.html" bug-reports: "https://github.com/ocamlpro/ez_api/issues" depends: [ "dune" {>= "2.8"} "ocaml" {>= "4.08"} - "json-data-encoding" {>= "0.9"} + "json-data-encoding" {>= "1.0.1"} "lwt" {>= "4.0.0"} "ezjsonm" {>= "1.1.0"} "uuidm"