Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adapt to API changes of mirage-conduit (dns resolver now has a timeout) #95

Merged
merged 4 commits into from
May 20, 2020

Conversation

hannesm
Copy link
Contributor

@hannesm hannesm commented May 12, 2020

to be released in ocaml/opam-repository#16425

@anuragsoni
Copy link
Contributor

Thanks! I'll land this once the new release of conduit is published on opam

@hannesm
Copy link
Contributor Author

hannesm commented May 12, 2020

unfortunately the mirage utility has the functor arguments hardcoded, and mirage/mirage#1154 is needed to get this up and running (I'll cut a mirage 3.7.7 release as well).

@hannesm
Copy link
Contributor Author

hannesm commented May 18, 2020

fwiw, conduit-mirage 2.2.0 is now part of opam-repository, and mirage 3.7.7 is PRed to opam-repository, thus this PR could very well be landed and a minor release of pgx-lwt-mirage be pushed to opam-repository :)

@anuragsoni
Copy link
Contributor

Sorry this took some time. I took a couple of days off. I've synced the PR with changes in master and this should be ready to land after that. Thank you!

@pull-request-size pull-request-size bot added size/M and removed size/S labels May 20, 2020
@anuragsoni anuragsoni force-pushed the newer-mirage-conduit branch 4 times, most recently from f73a7fe to 10dd89a Compare May 20, 2020 19:54
@pull-request-size pull-request-size bot added size/S and removed size/M labels May 20, 2020
@anuragsoni anuragsoni force-pushed the newer-mirage-conduit branch 3 times, most recently from 5357bdc to e469622 Compare May 20, 2020 21:09
@pull-request-size pull-request-size bot added size/M and removed size/S labels May 20, 2020
@anuragsoni anuragsoni merged commit e3d789e into arenadotio:master May 20, 2020
@samoht
Copy link
Contributor

samoht commented Jun 18, 2020

Hello! Any ETA for a new release of pgx_lwt_mirage compatible with conduit.2.2.0? Thanks!

samoht added a commit to samoht/mirage-skeleton that referenced this pull request Jun 19, 2020
brendanlong added a commit to brendanlong/opam-repository that referenced this pull request May 12, 2021
…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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants