Skip to content

Releases: thma/generic-persistence

0.6.0

17 Oct 15:20
Compare
Choose a tag to compare

new features in v0.6

  • Autoincrement flag for primary keys can now defined per Entity
  • insert now always returns the inserted entity (thus insertReturning was removed)
  • insertMany now also respects handling of primary keys

new features in v0.5

  • support for PostgreSQL
  • support RETURNING statement for insert
  • support for auto-incrementing primary keys
  • entitiesFromRows now available in GP api also
  • provide a simple quasi-qoter for defining sql queries
  • expose some HDBC functions in the GP API
  • explicit setting of transaction mode

0.4.0.0

07 Apr 17:28
Compare
Choose a tag to compare

New things in this release:

  • A query DSL
  • connection pool handling
  • a fail safe API that uses Either to safely return all database runtime errors
  • the default API is now based on the safe API and throws exceptions in case of Left ... results

changes:

  • all retrieve* functions have been renamed to select*
  • the function retrieveAll was removed. selection of all entries os a table can now be done with select conn allEntries

0.3.0.1

25 Feb 17:06
Compare
Choose a tag to compare

Hackage Release 0.3.0.1

minor update to hackage

09 Feb 17:27
Compare
Choose a tag to compare
0.2.0.1

fix typos

first hackage release

09 Feb 17:07
e35fd42
Compare
Choose a tag to compare
Merge pull request #3 from thma/reference-handling

Reference handling

Initial release

26 Jan 15:26
Compare
Choose a tag to compare