selda v0.4.0.0 Release Notes
Release Date: 2019-06-02 // almost 5 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.