Selda Versions Save

A type-safe, high-level SQL library for Haskell

0.5.2.0

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/valderman/selda/compare/0.5.1.0...0.5.2.0

0.5.1.0

4 years ago

Major feature of this release: build queries from raw SQL fragments.

Changelog:

  • Support for raw SQL fragments. (#134)
  • Expose tableName.
  • Document performance drawbacks of withoutForeignKeyEnforcement.
  • Fix several bugs validating auto-incrementing PKs. (#133)

0.5.0.0

4 years ago

Would have been a minor release if not for index and indexUsing getting new type signatures.

Changelog

  • index and indexUsing now accept a Group instead of a Selector (#121)
  • Custom type errors for scope mismatches.
  • Provide Generic instances for ID and RowID.
  • Provide To/FromJSON instances for ID and RowID (selda-json).
  • Add back MonadTrans instance for SeldaT.

0.4.0.0

4 years ago

Major release, mainly focusing on API improvements and new functionality. Not entirely backwards compatible with the 0.3 branch.

Changelog

  • Type-safe support for backend-specific functionality. Top level query definitions now require explicit type signature. (#80)
  • Native UUID support. (#47)
  • Support JSON columns on all backends through aeson.
  • Support JSON lookups (i.e. SELECT json_column.some_property FROM ...) on PostgreSQL.
  • Multi-column primary key and uniqueness constraint support. (#25, #99)
  • Switch to PostgreSQL binary protocol. (#18)
  • Prevent dangerous user-defined SQL result instances.
  • Expose backend internals through Database.Selda.Backend.Internal. (#109)
  • Expose SQLite connection handle. (#101)
  • Make MonadSelda more amenable to connection pooling. (#108)
  • Add weakly auto-incrementing primary keys. (#94)
  • Move compile* functions to Database.Selda.Debug.
  • Remove half the tuple convenience functions.
  • Remove in-process cache. (#117)
  • Officially support GHC 8.6, 8.8 (SQLite only until postgres dependencies catch up with 8.8).
  • Drop support for GHC 7.10. (#118)
  • Manual (i.e. non record label) selectors are no longer exported by default; import Database.Selda.MakeSelectors is you need them. (#118)
  • Update toolchain to use v2-style cabal commands.
  • Fix date/time types for PostgreSQL. (#104)
  • Fix bug when migrating tables with indexes. (#107)
  • Misc. smaller bug fixes.