- Drop support for GHC 8.8.
- Attach
CallStack
andBackendPid
toDBException
. - Add
getBackendPid
toMonadDB
for getting the ID of the server process attached to the current session.
- Support multihost setups and the
connect_timeout
parameter in the connection string.
- Add support for GHC 9.6.
- Add support for setting a custom role when establishing a connection.
- Require
resource-pool
>= 0.4 and adjust thecreatePool
function to seamlessly accommodate future changes to theresource-pool
library.
- Simplify Setup.
- Provide detailed error when
openConnection
fails.
- Improve
Show
instances ofHPQTypesError
andLibPQError
. - Remove
INLINE
andINLINABLE
pragmas. - Fix a rare bug in the
connect
function related to file descriptors. - Add support for GHC 9.4.
- Require
resource-pool >= 0.3
(changes type signature ofpoolSource
).
- Add support for prepared statements.
- Make more foreign C calls safe.
- Don't manage
PGconn
with aForeignPtr
. - Use
closeFdWith
when closing connections.
- Fix
withTransaction
andwithSavepoint
with short-circuiting monad transformers such asExceptT
.
- Fix support for M1 chips.
- Add support for aeson >= 2.0.
- Add support for GHC 9.2.
- Drop support for GHC < 8.8.
- Improve an SQL query that gets information about composite types.
- Add method withFrozenLastQuery to (temporarily) stop recording queries.
- Fix compilation issues caused by ambiguos occurence of
controlT
.
- Support GHC 9.0.
- Expose aesonFromSQL and aesonToSQL for convenience.
- Remove upper bounds of dependencies.
- Support GHC 8.8 and 8.10.
- Make poolSource work properly with shortcircuiting monad transformers.
- Implement
UUID
format (#17). - Support GHC 8.8.
- Remove the
Default
instances forConnectionSettings
andTransactionSettings
; usedefaultConnectionSettings
anddefaultTransactionsettings
instead (#15).
- Add support for cursors (#13).
- Remove explicit
deriving Typeable
from all data types.
- Convert the
PQFormat
class to useTypeApplications
instead of anundefined :: t
argument (#11). - Support GHC 8.6.
- Drop support for GHC < 8.
- Add INLINE/INLINEABLE pragmas for call site specialization.
- Remove -O2 -funbox-strict-fields from ghc-options.
- Make query execution interruptible with asynchronous exceptions.
- Make connect interruptible with asynchronous exceptions.
- Support GHC 8.4.1.
- Fix test suite compilation with GHC 8.
- Fix lower bound of base version.
- Fix compilation with 'cabal new-build' and Cabal < 1.24.
- Do not use linux/limits.h.
- Remove orphan MonadDB instances.
- Turn ConnectionSource into indexed datatype.
- Remove Binary wrapper and (de)serialize ByteString as bytes.
- Use Text instead of ByteString where appropriate.
- Use UTF-8 client encoding by default for compatibility with Text.
- Fix compilation with Cabal 1.24 and GHC 8.0.1.
- Fix lower bound of base version.
- Remove invalid FromSQL ZonedTime instance.
- Use strict StateT for DBT.
- Use catch in withTransaction only if it might be used.
- Add support for json and jsonb sql types.
- Add support for lazy ByteString and Text.
- Add support for QuickCheck 2.7.
- Add support for notifications.
- Remove SpaceMonoid, use Monoid and IsString instead.
- Use data-default-class package for default values.
- Drop Single, use Identity functor instead.
- Remove someSQL from IsSQL class.
- Remove foldlM/foldrM from MonadDB and make QueryResult instance of Foldable instead.
- Add support for a type representing cartesian product of rows for more composability.
- Do not wrap exceptions thrown from DBT in DBException unless explicitly requested.
- Provide custom Show instance for Interval.
- Add ToSQL instance for Int.
- Replace wrong package uploaded to hackage.
- Add support for XML type.
- Composite: make {from,to}Composite functions pure.
- Add support for monad-control >= 1.0.0.1.
- Add IsString instance for Savepoint newtype.