Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions CHANGELOG.md

This file was deleted.

4 changes: 2 additions & 2 deletions hpgsql-simple-compat/hpgsql-simple-compat.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.0
name: hpgsql-simple-compat
version: 0.2.0.0
version: 0.3.0
synopsis: Fork of postgresql-simple implemented with hpgsql instead of postgresql-libpq.
description:
This is a fork of postgresql-simple that tries to preserve its API as much as possible, but
Expand Down Expand Up @@ -97,7 +97,7 @@ library
, text >= 2.0 && < 2.2
, aeson >= 2.2 && < 2.3
, attoparsec >= 0.14 && < 0.15
, hpgsql >= 0.2 && < 0.3
, hpgsql >= 0.3 && < 0.4
, hashable >= 1.5 && < 1.6
, mtl >= 2.3 && < 2.4
, time-compat >= 1.9 && < 1.10
Expand Down
28 changes: 28 additions & 0 deletions hpgsql/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
## v0.3.0
- Support GHC 9.12
- Support OverloadedRecordDot inside the `sql` quasiquoter
- Fix the lack of type-checking query fields when using RowDecoderMonadic
- Also when using RowDecoderMonadic, a previously cryptic error message has been improved
- Performance materializing query results improved by ~23% in some benchmarks
- Binary COPY made ~4.3% faster
- Users can supply non-default connection options, including the minimum socket recv size
- Dropped dependencies cereal and transformers
- Replaced dependency haskell-src-meta with ghc-lib-parser

To support OverloadedRecordDot in the `sql` quasiquoter, we have a brand new implementation of a Haskell expression parser instead of using haskell-src-meta's. Parts of the Haskell language might no longer be supported as parameters in the quasiquoter, but the more commonly used ones should be there, and error messages should be helpful to guide you in case you run into an unsupported case.

Thank you Brandon Chinn and Nick Ivanych for your contributions.

## v0.2.0.1

- Major fix: connecting via TCP on MacOS could fail completely. Thanks @luntain for the contribution.
- Performance materializing query results improved by ~17%
- Future-proofing for a future protocol change: accepting longer backend secret keys.

## v0.2.0.0

- Fixed a bug where an asynchronous exception thrown at the right time could hide an `IrrecoverableHpgsqlError` when using `withTransaction`. Thank you Yuras for the report.
- SCRAM-SHA-256 authentication implemented.
- Added `connectionIsClosed` function.
- `resetConnectionState` made much more thorough, to the image of the `DISCARD ALL` statement.
- `pipelineMay` and `pipelineMayWith` publicly exported.
3 changes: 2 additions & 1 deletion hpgsql/hpgsql.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 2.0

name: hpgsql
version: 0.2.0.1
version: 0.3.0
synopsis: Pure Haskell PostgreSQL driver (no libpq)
description: hpgsql is a pure Haskell implementation of a PostgreSQL driver
category: Database
Expand All @@ -12,6 +12,7 @@ maintainer: mzabani@gmail.com
copyright: 2026 Marcelo Zabani
license: BSD3
license-file: LICENSE
extra-doc-files: CHANGELOG.md
build-type: Simple
tested-with:
GHC ==9.6.7
Expand Down