forked from ocaml/opam-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[new release] pgx_lwt_mirage, pgx_value_core, pgx_async, pgx_unix, pg…
…x_lwt_unix, pgx_lwt and pgx (2.0) CHANGES: ### Breaking changes * The Pgx module is now wrapped, which means `Pgx_aux`, `Types`, `Access`, etc. aren't added to the global scope. The main result of this is that `Pgx_value` now needs to be accessed as `Pgx.Value`. (arenadotio/pgx#103) * `Pgx_async.connect` and `with_conn` now have an additional optional `?ssl` argument (see below). ### Added * Pgx_async now supports TLS connections using Conduit_async. This is enabled by default and can be controlled with the new `?ssl` argument to `connect` and `with_conn`. (arenadotio/pgx#108) ### Fixed * Improved message for authentication errors. Previously these raised `Pgx_eof`, and now they raise `PostgreSQL_Error("Failed to authenticate with postgres server", additional details ...)`. (arenadotio/pgx#105) ### Changed * Support new Mirage-conduit timeout argument (arenadotio/pgx#95).
- Loading branch information
1 parent
b1e6a53
commit a43199a
Showing
7 changed files
with
304 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
opam-version: "2.0" | ||
synopsis: "Pure-OCaml PostgreSQL client library" | ||
description: | ||
"PGX is a pure-OCaml PostgreSQL client library, supporting Async, LWT, or synchronous operations." | ||
maintainer: ["Arena Developers <silver-snakes@arena.io>"] | ||
authors: ["Arena Developers <silver-snakes@arena.io>"] | ||
license: "LGPL-2 with OCaml linking exception" | ||
homepage: "https://github.com/arenadotio/pgx" | ||
doc: "https://arenadotio.github.io/pgx" | ||
bug-reports: "https://github.com/arenadotio/pgx/issues" | ||
depends: [ | ||
"alcotest" {with-test & >= "1.0.0"} | ||
"bisect_ppx" {dev & >= "2.0.0"} | ||
"dune" {>= "1.11"} | ||
"hex" | ||
"ipaddr" | ||
"ocaml" {>= "4.08"} | ||
"odoc" {with-doc} | ||
"ppx_compare" {>= "v0.13.0"} | ||
"ppx_custom_printf" {>= "v0.13.0"} | ||
"ppx_sexp_conv" {>= "v0.13.0"} | ||
"re" | ||
"sexplib0" {>= "v0.13.0"} | ||
"uuidm" | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/arenadotio/pgx.git" | ||
x-commit-hash: "b73b09d8e376f0ba10219f9b860e33ea94281461" | ||
url { | ||
src: | ||
"https://github.com/arenadotio/pgx/releases/download/2.0/pgx_lwt_mirage-2.0.tbz" | ||
checksum: [ | ||
"sha256=be6bac83e4030b6225f3966fd482b242818ff1147efc273163d4a9cd749b62bd" | ||
"sha512=c18e3b7d246f184c5a689d081f613937d569f9b794b95e586c5c16ddb7402581049642dd20852ec95316c4681b70f5e8f494fc9475adecf64d53b13d70257c98" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
opam-version: "2.0" | ||
synopsis: "Pgx using Async for IO" | ||
description: "Pgx using Async for IO" | ||
maintainer: ["Arena Developers <silver-snakes@arena.io>"] | ||
authors: ["Arena Developers <silver-snakes@arena.io>"] | ||
license: "LGPL-2 with OCaml linking exception" | ||
homepage: "https://github.com/arenadotio/pgx" | ||
doc: "https://arenadotio.github.io/pgx" | ||
bug-reports: "https://github.com/arenadotio/pgx/issues" | ||
depends: [ | ||
"dune" {>= "1.11"} | ||
"alcotest-async" {with-test & >= "1.0.0"} | ||
"async_kernel" {>= "v0.13.0"} | ||
"async_unix" {>= "v0.13.0"} | ||
"async_ssl" | ||
"base64" {with-test & >= "3.0.0"} | ||
"conduit-async" | ||
"ocaml" {>= "4.08"} | ||
"pgx" {= version} | ||
"pgx_value_core" {= version} | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/arenadotio/pgx.git" | ||
x-commit-hash: "b73b09d8e376f0ba10219f9b860e33ea94281461" | ||
url { | ||
src: | ||
"https://github.com/arenadotio/pgx/releases/download/2.0/pgx_lwt_mirage-2.0.tbz" | ||
checksum: [ | ||
"sha256=be6bac83e4030b6225f3966fd482b242818ff1147efc273163d4a9cd749b62bd" | ||
"sha512=c18e3b7d246f184c5a689d081f613937d569f9b794b95e586c5c16ddb7402581049642dd20852ec95316c4681b70f5e8f494fc9475adecf64d53b13d70257c98" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
opam-version: "2.0" | ||
synopsis: "Pgx using Lwt for IO" | ||
description: "Pgx using Lwt for IO" | ||
maintainer: ["Arena Developers <silver-snakes@arena.io>"] | ||
authors: ["Arena Developers <silver-snakes@arena.io>"] | ||
license: "LGPL-2 with OCaml linking exception" | ||
homepage: "https://github.com/arenadotio/pgx" | ||
doc: "https://arenadotio.github.io/pgx" | ||
bug-reports: "https://github.com/arenadotio/pgx/issues" | ||
depends: [ | ||
"dune" {>= "1.11"} | ||
"lwt" | ||
"logs" | ||
"ocaml" {>= "4.08"} | ||
"pgx" {= version} | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/arenadotio/pgx.git" | ||
x-commit-hash: "b73b09d8e376f0ba10219f9b860e33ea94281461" | ||
url { | ||
src: | ||
"https://github.com/arenadotio/pgx/releases/download/2.0/pgx_lwt_mirage-2.0.tbz" | ||
checksum: [ | ||
"sha256=be6bac83e4030b6225f3966fd482b242818ff1147efc273163d4a9cd749b62bd" | ||
"sha512=c18e3b7d246f184c5a689d081f613937d569f9b794b95e586c5c16ddb7402581049642dd20852ec95316c4681b70f5e8f494fc9475adecf64d53b13d70257c98" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
opam-version: "2.0" | ||
synopsis: "Pgx using Lwt on Mirage for IO" | ||
description: "Pgx using Lwt on Mirage for IO" | ||
maintainer: ["Arena Developers <silver-snakes@arena.io>"] | ||
authors: ["Arena Developers <silver-snakes@arena.io>"] | ||
license: "LGPL-2 with OCaml linking exception" | ||
homepage: "https://github.com/arenadotio/pgx" | ||
doc: "https://arenadotio.github.io/pgx" | ||
bug-reports: "https://github.com/arenadotio/pgx/issues" | ||
depends: [ | ||
"dune" {>= "1.11"} | ||
"lwt" | ||
"ocaml" {>= "4.08"} | ||
"logs" | ||
"mirage-channel" | ||
"conduit-mirage" {>= "2.2.0" & < "2.3.0"} | ||
"dns-client" | ||
"mirage-random" | ||
"mirage-time" | ||
"mirage-clock" | ||
"mirage-stack" | ||
"pgx" {= version} | ||
"pgx_lwt" {= version} | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/arenadotio/pgx.git" | ||
x-commit-hash: "b73b09d8e376f0ba10219f9b860e33ea94281461" | ||
url { | ||
src: | ||
"https://github.com/arenadotio/pgx/releases/download/2.0/pgx_lwt_mirage-2.0.tbz" | ||
checksum: [ | ||
"sha256=be6bac83e4030b6225f3966fd482b242818ff1147efc273163d4a9cd749b62bd" | ||
"sha512=c18e3b7d246f184c5a689d081f613937d569f9b794b95e586c5c16ddb7402581049642dd20852ec95316c4681b70f5e8f494fc9475adecf64d53b13d70257c98" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
opam-version: "2.0" | ||
synopsis: "Pgx using Lwt and Unix libraries for IO" | ||
description: "Pgx using Lwt and Unix libraries for IO" | ||
maintainer: ["Arena Developers <silver-snakes@arena.io>"] | ||
authors: ["Arena Developers <silver-snakes@arena.io>"] | ||
license: "LGPL-2 with OCaml linking exception" | ||
homepage: "https://github.com/arenadotio/pgx" | ||
doc: "https://arenadotio.github.io/pgx" | ||
bug-reports: "https://github.com/arenadotio/pgx/issues" | ||
depends: [ | ||
"dune" {>= "1.11"} | ||
"alcotest-lwt" {with-test & >= "1.0.0"} | ||
"base64" {with-test & >= "3.0.0"} | ||
"ocaml" {>= "4.08"} | ||
"pgx" {= version} | ||
"pgx_lwt" {= version} | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/arenadotio/pgx.git" | ||
x-commit-hash: "b73b09d8e376f0ba10219f9b860e33ea94281461" | ||
url { | ||
src: | ||
"https://github.com/arenadotio/pgx/releases/download/2.0/pgx_lwt_mirage-2.0.tbz" | ||
checksum: [ | ||
"sha256=be6bac83e4030b6225f3966fd482b242818ff1147efc273163d4a9cd749b62bd" | ||
"sha512=c18e3b7d246f184c5a689d081f613937d569f9b794b95e586c5c16ddb7402581049642dd20852ec95316c4681b70f5e8f494fc9475adecf64d53b13d70257c98" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
opam-version: "2.0" | ||
synopsis: "PGX using the standard library's Unix module for IO (synchronous)" | ||
description: | ||
"PGX using the standard library's Unix module for IO (synchronous)" | ||
maintainer: ["Arena Developers <silver-snakes@arena.io>"] | ||
authors: ["Arena Developers <silver-snakes@arena.io>"] | ||
license: "LGPL-2 with OCaml linking exception" | ||
homepage: "https://github.com/arenadotio/pgx" | ||
doc: "https://arenadotio.github.io/pgx" | ||
bug-reports: "https://github.com/arenadotio/pgx/issues" | ||
depends: [ | ||
"dune" {>= "1.11"} | ||
"alcotest" {with-test & >= "1.0.0"} | ||
"base64" {with-test & >= "3.0.0"} | ||
"ocaml" {>= "4.08"} | ||
"pgx" {= version} | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/arenadotio/pgx.git" | ||
x-commit-hash: "b73b09d8e376f0ba10219f9b860e33ea94281461" | ||
url { | ||
src: | ||
"https://github.com/arenadotio/pgx/releases/download/2.0/pgx_lwt_mirage-2.0.tbz" | ||
checksum: [ | ||
"sha256=be6bac83e4030b6225f3966fd482b242818ff1147efc273163d4a9cd749b62bd" | ||
"sha512=c18e3b7d246f184c5a689d081f613937d569f9b794b95e586c5c16ddb7402581049642dd20852ec95316c4681b70f5e8f494fc9475adecf64d53b13d70257c98" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
opam-version: "2.0" | ||
synopsis: "Pgx_value converters for Core types like Date and Time" | ||
description: "Pgx_value converters for Core types like Date and Time" | ||
maintainer: ["Arena Developers <silver-snakes@arena.io>"] | ||
authors: ["Arena Developers <silver-snakes@arena.io>"] | ||
license: "LGPL-2 with OCaml linking exception" | ||
homepage: "https://github.com/arenadotio/pgx" | ||
doc: "https://arenadotio.github.io/pgx" | ||
bug-reports: "https://github.com/arenadotio/pgx/issues" | ||
depends: [ | ||
"dune" {>= "1.11"} | ||
"alcotest" {with-test & >= "1.0.0"} | ||
"core_kernel" {>= "v0.13.0"} | ||
"ocaml" {>= "4.08"} | ||
"pgx" {= version} | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/arenadotio/pgx.git" | ||
x-commit-hash: "b73b09d8e376f0ba10219f9b860e33ea94281461" | ||
url { | ||
src: | ||
"https://github.com/arenadotio/pgx/releases/download/2.0/pgx_lwt_mirage-2.0.tbz" | ||
checksum: [ | ||
"sha256=be6bac83e4030b6225f3966fd482b242818ff1147efc273163d4a9cd749b62bd" | ||
"sha512=c18e3b7d246f184c5a689d081f613937d569f9b794b95e586c5c16ddb7402581049642dd20852ec95316c4681b70f5e8f494fc9475adecf64d53b13d70257c98" | ||
] | ||
} |