selda v0.4.0.0 Release Notes

Release Date: 2019-06-02 // about 3 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)
    • 0๏ธโƒฃ 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.