Skip to content

1.3.0.0

Choose a tag to compare

@ocharles ocharles released this 31 Jan 13:51
· 133 commits to master since this release
f6910a7

Breaking changes

  • div and mod have been changed to match Haskell semantics. If you need the PostgreSQL div() and mod() functions, use quot and rem. 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

  • divMod and quotRem functions have been added, matching Haskell's Prelude functions. (#155)
  • avg and mode aggregation functions to find the mean value of an expression, or the most common row in a query, respectively. (#152)
  • The full EqTable and OrdTable classes have been exported, allowing for instances to be manually created. (#157)
  • Added like and ilike (for the LIKE and ILIKE operators). (#146)

Other

  • Rel8 now requires Opaleye 0.9. (#158)
  • Rel8's test suite supports Hedgehog 1.1. (#160)
  • The documentation for binary operations has been corrected. (#162)