Hi all,
I’m happy to announce the release of Rel8 1.3.
Rel8 is a Haskell library for interacting with PostgreSQL databases, built on top of the fantastic Opaleye library.
The main objectives of Rel8 are:
-
Conciseness: Users using Rel8 should not need to write boiler-plate code. By using expressive types, we can provide sufficient information for the compiler to infer code whenever possible.
-
Inferrable: Despite using a lot of type level magic, Rel8 aims to have excellent and predictable type inference.
-
Familiar: writing Rel8 queries should feel like normal Haskell programming.
The changes in this release are:
Breaking changes
-
divandmodhave been changed to match Haskell semantics. If you need the PostgreSQLdiv()andmod()functions, usequotandrem. While this is not an API change, we feel this is a breaking change in semantics and have bumped the major version number. (#155)
New features
-
divModandquotRemfunctions have been added, matching Haskell’sPreludefunctions. (#155) -
avgandmodeaggregation functions to find the mean value of an expression, or the most common row in a query, respectively. (#152) -
The full
EqTableandOrdTableclasses have been exported, allowing for instances to be manually created. (#157) -
Added
likeandilike(for theLIKEandILIKEoperators). (#146)