Skip to content

2.0

Compare
Choose a tag to compare
@brendanlong brendanlong released this 12 May 15:07
· 10 commits to master since this release
cdef3ff

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.
    (#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.
    (#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 ...).
    (#105)

Changed

  • Support new Mirage-conduit timeout argument (#95).