Changelog for beam-postgres-0.5.4.4
0.5.4.4
Added features
- Added the array functions
arrayAppend_,arrayPrepend_,arrayRemove_,arrayReplace_,arrayShuffle_,arraySample_,arrayToString_, andarrayToStringWithNull_(#770)
Updated dependencies
- Updated the upper bound on
timeto includetime-1.14
0.5.4.3
Added features
- Added
pgSelectWith, a combinator likeselectWithwhich allows to nest common table expressions in subqueries (#720).
Bug fixes
- Added the ability to migrate Postgres' array types (#354).
- Remove dependency on
haskell-src-exts, which was not in use anymore.
0.5.4.2
Bug fixes
- Fixed an issue where columns of type
Maybe (Vector a)did not marshall correctly from the database. In particular, querying aNothingwould returnJust (Vector.fromList [])instead (#692).
0.5.4.1
Bug fixes
- Fixed an issue where inexact numeric literals (e.g. Haskell type
Double) were implicitly converted to PostgresNUMERIC, triggering a runtime conversion error (#700).
0.5.4.0
Added features
- Better error messages on column type mismatches (#696).
- Added support for creating and dropping database schemas and associated tables with
createDatabaseSchema,dropDatabaseSchema, andcreateTableWithSchema(#716).
Documentation
- Make
runBeamPostgresandrunBeamPostgresDebugeasier to find (#663).
0.5.3.1
Added features
- Loosen some version bounds
0.5.3.0
Bug fixes
- Make sure lateral join names do not overlap
- Fix
bool_or
Addded features
- Add
runSelectReturningFirst IN (SELECT ...)syntax viainQuery_
0.5.2.1
Added features
- Aeson 2.0 support
0.5.2.0
Added features
- New
conduitstreaming variants which work directly inMonadResource - Heterogeneous variant of
ilike_:ilike_' - Postgres-specific
EXTRACTfields - GHC 9.2 and 9.0 support
Bug fixes
- Throw correct exception for row errors in
conduitimplementation - Support emitting UUID values in context where type cannot be inferred by Postgres
0.5.1.0
Added features
MonadBaseandMonadBaseControlinstances forPg
Bug fixes
- Fix possible memory corruption by copying row data
- Remove invalid parentheses emitted by
pgUnnest
0.5.0.0
Interface changes
- Removed instances for machine-dependent ambiguous integer types
IntandWord - Fixed types for some functions that only work with
jsonband notjson
Added features
- Support for
in_on row values - Various Postgres regex functions
- Expose
fromPgIntegralandfromPgScientificOrIntegral - Add
liftIOWithHandle :: (Connection -> IO a) -> Pg a - Add
getDbConstraintsForSchemasto get constraints without relying on the state of the connection - Poly-kinded instances for
Data.Tagged.Tagged - Add
HasDefaultDatatypeforUTCTime - Support for specifically-sized
SqlSerialintegers (smallserial,serial,bigserial) - Predicate detection for extensions
pgArrayToJsonforarray_to_json- Extension definition and all functions provided by
uuid-ossp - GHC 8.8 support
Bug fixes
- Only detect primary keys of tables in visible schemas
- Fix emitting of
DECIMALtype - Report JSON correct decoding errors instead of throwing
UnexpectedNull
Behavior changes
runReturningOneandrunResturningListnow fetch all rows at once instead of using cursors
0.4.0.0
0.3.2.0
Add Semigroup instances to prepare for GHC 8.4 and Stackage nightly
0.3.1.0
Add runBeamPostgres and runBeamPostgresDebug functions.
0.3.0.0
Initial hackage beam-postgres