Skip to content

Commit

Permalink
Prepare release 1.8.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
paurkedal committed Mar 24, 2022
1 parent 1828965 commit ee2c6fc
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 11 deletions.
21 changes: 16 additions & 5 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## unreleased
## v1.8.0 - 2022-03-24

New features:

Expand All @@ -12,10 +12,10 @@ New features:
with the relevant drivers.

- A second set of request construction operators `->.`, `->?`, `->!`, and
`->*` due to aesthetical concerns when converting some existing code.

- The `-->` operator was renamed to `-->!`, with a deprecated alias, for
consistency with the above.
`->*` were introduced after experience with converting existing code.
Given the parameter and result type they return a function which
constructs a request directly from a query string. Avoiding the need to
compose with `@:-` simplifies local opens and usage with `List.map` etc.

- Environment variables are now expanded in the debug log when using the
new request constructors introduced in 1.7.0.
Expand All @@ -34,6 +34,17 @@ Fixes:
callback instead of a dummy driver info which would cause a failure if
unsupported.

Deprecations:

- The `-->` operator was renamed to `-->!`, with a deprecated alias, for
consistency with the new `->!` operator.

- The old convenience interface for creating requests has been deprecated
in favour of the new infix operators and the new query template parser.

- Documented-only deprecations of `Caqti_sql_io`, `Caqti_lwt_sql_io`, and
`Caqti_async_sql_io` have been annotated.

## v1.7.0 - 2022-02-13

New features:
Expand Down
2 changes: 1 addition & 1 deletion caqti-async.opam
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ depends: [
"alcotest-async" {>= "1.5.0"}
"async_kernel" {>= "v0.11.0"}
"async_unix" {>= "v0.11.0"}
"caqti" {>= "1.7.0" & < "1.8.0~"}
"caqti" {>= "1.8.0" & < "1.9.0~"}
"caqti-dynload" {with-test & >= "1.0.0" & < "2.0.0~"}
"caqti-driver-sqlite3" {with-test & >= "1.0.0" & < "2.0.0~"}
"cmdliner" {with-test & >= "1.1.0"}
Expand Down
2 changes: 1 addition & 1 deletion caqti-driver-mariadb.opam
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ doc: "https://paurkedal.github.io/ocaml-caqti/index.html"
bug-reports: "https://github.com/paurkedal/ocaml-caqti/issues"
depends: [
"ocaml"
"caqti" {>= "1.7.0" & < "1.8.0~"}
"caqti" {>= "1.8.0" & < "1.9.0~"}
"dune" {>= "2.0"}
"mariadb" {>= "1.1.1"}
"odoc" {with-doc}
Expand Down
2 changes: 1 addition & 1 deletion caqti-driver-postgresql.opam
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ doc: "https://paurkedal.github.io/ocaml-caqti/index.html"
bug-reports: "https://github.com/paurkedal/ocaml-caqti/issues"
depends: [
"ocaml"
"caqti" {>= "1.7.0" & < "1.8.0~"}
"caqti" {>= "1.8.0" & < "1.9.0~"}
"dune" {>= "2.0"}
"odoc" {with-doc}
"postgresql" {>= "5.0.0"}
Expand Down
2 changes: 1 addition & 1 deletion caqti-driver-sqlite3.opam
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ doc: "https://paurkedal.github.io/ocaml-caqti/index.html"
bug-reports: "https://github.com/paurkedal/ocaml-caqti/issues"
depends: [
"ocaml"
"caqti" {>= "1.7.0" & < "1.8.0~"}
"caqti" {>= "1.8.0" & < "1.9.0~"}
"dune" {>= "2.0"}
"odoc" {with-doc}
"sqlite3"
Expand Down
2 changes: 1 addition & 1 deletion caqti-dynload.opam
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ homepage: "https://github.com/paurkedal/ocaml-caqti/"
doc: "https://paurkedal.github.io/ocaml-caqti/index.html"
bug-reports: "https://github.com/paurkedal/ocaml-caqti/issues"
depends: [
"caqti" {>= "1.3.0" & < "1.8.0~"}
"caqti" {>= "1.3.0" & < "1.9.0~"}
"caqti-driver-sqlite3" {with-test & >= "1.0.0" & < "2.0.0~"}
"cmdliner" {with-test & >= "1.1.0"}
"dune" {>= "2.0"}
Expand Down
2 changes: 1 addition & 1 deletion caqti-lwt.opam
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ bug-reports: "https://github.com/paurkedal/ocaml-caqti/issues"
depends: [
"alcotest" {>= "1.5.0"}
"alcotest-lwt" {>= "1.5.0"}
"caqti" {>= "1.7.0" & < "1.8.0~"}
"caqti" {>= "1.8.0" & < "1.9.0~"}
"caqti-dynload" {with-test & >= "1.0.0" & < "2.0.0~"}
"caqti-driver-sqlite3" {with-test & >= "1.0.0" & < "2.0.0~"}
"cmdliner" {with-test & >= "1.1.0"}
Expand Down
1 change: 1 addition & 0 deletions dune-workspace.dev
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(lang dune 1.2)

(context (opam (switch 4.13.1)))
(context (opam (switch 4.12.0)))
(context (opam (switch 4.09.0)))
(context (opam (switch 4.08.1)))
Expand Down

0 comments on commit ee2c6fc

Please sign in to comment.