Skip to content

Releases: tchoutri/pg-entity

v0.0.4.0

26 Dec 17:42
Compare
Choose a tag to compare
Bump to version v0.0.4.0

v0.0.3.0

30 Oct 14:35
3d9a29a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.0.2.0...v0.0.3.0

v0.0.2.0

28 Aug 19:36
1578603
Compare
Choose a tag to compare

0.0.2.0 -- 2022-08-28

This is an experimental release

  • Add queryOne_, which takes no params and returns 0 or 1 results.
  • Add FieldModifiers deriving option, which takes multiple modifiers:
    • StripPrefix (prefix :: Symbol): You can remove a certain prefix from your field names
    • CamelTo (separator :: Symbol) and its variants, CamelToSnake and CamelToKebab: Transform field names written
      in CamelCase to snake_case, kebab-case, or with a custom separator.
  • Remove redundant metadata about the query nature when logging the query
  • Add selectOneWhereIn that can match a row's column in a value of user-provided values
  • Add selectOrderBy to specify a vector of sorting specs (field + sorting keyword) with your select.
  • Fix primary key detection in generic deriving
  • Remove withPool'.
  • When using resource-pool-0.3, the type of withPool reflects the removal of MonadBaseControl from the upstream.
  • The prod Cabal flag is introduced. At this time, it disables the stdout logging of queries
  • Add an upsert function
  • Stop filtering out unknown fields passed to _where. PostgreSQL will report them better than we do.

v0.0.1.0-rc1

02 Sep 20:39
Compare
Choose a tag to compare
v0.0.1.0-rc1 Pre-release
Pre-release

v0.0.1.0 – First RC

Pre-released on Hackage.

Many thanks to our new contributors:

@divarvel
@MorrowM