- Introduce From/ToSQL instances for Word16, Word32 and Word64.
- Add support for (de)serialization of
Integerto/fromnumeric.
- Make
begin,commitandrollbackdo nothing instead of throwing an error if the on demand connection acquisition mode is active.
- Fix a bug in
initConnectionStateandfinalizeConnectionStatethat could lead to leaking connections.
- Drop support for GHC < 9.2.
- Include time spent executing queries in
ConnectionStats. - Add
initialConnectionStats. - Introduce on-demand connection acquisition mode.
- Drop support for GHC 8.8.
- Attach
CallStackandBackendPidtoDBException. - Add
getBackendPidtoMonadDBfor getting the ID of the server process attached to the current session.
- Support multihost setups and the
connect_timeoutparameter 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 thecreatePoolfunction to seamlessly accommodate future changes to theresource-poollibrary.
- Simplify Setup.
- Provide detailed error when
openConnectionfails.
- Improve
Showinstances ofHPQTypesErrorandLibPQError. - Remove
INLINEandINLINABLEpragmas. - Fix a rare bug in the
connectfunction 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
PGconnwith aForeignPtr. - Use
closeFdWithwhen closing connections.
- Fix
withTransactionandwithSavepointwith 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
UUIDformat (#17). - Support GHC 8.8.
- Remove the
Defaultinstances forConnectionSettingsandTransactionSettings; usedefaultConnectionSettingsanddefaultTransactionsettingsinstead (#15).
- Add support for cursors (#13).
- Remove explicit
deriving Typeablefrom all data types.
- Convert the
PQFormatclass to useTypeApplicationsinstead of anundefined :: targument (#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.