All Versions
Latest Version
Avg Release Cycle
77 days
Latest Release
1571 days ago

Changelog History
Page 2

  • v0.7.1.0 Changes

    • โž• Added Opaleye.Experimental.Enum for an easy way to deal with Postgres ENUM types.

    • โž• Added Opaleye.Manipulation.rReturningI which has better type inference.

    • โž• Added Opaleye.Operators.where_ for easier restriction in monadic style.

    • โž• Added Opaleye.Operators.sqlLength and Opaleye.Operators.dateOfTimestamp.

  • v0.7.0.0 Changes

    • Many renamings have taken place to help make Opaleye easier to understand. The old versions have been deprecated.

    • ๐Ÿšš All previously deprecated functions have been removed.

    Old New
    Query Select
    QueryArr SelectArr
    PG*Type* Sql*Type*
    PG*Class* Sql*Class*
    Constant ToFields
    QueryRunner FromFields
    QueryRunnerColumn FromField
    0๏ธโƒฃ QueryRunnerColumnDefault DefaultFromField
    TableProperties TableFields
    optional optionalTableField
    required requiredTableField
    readOnly readOnlyTableField
  • v0.6.7006.1 Changes

    • โž• Add sumInt4 and sumInt8 Aggregators, which don't crash at run time (sum currently does on those types).

    • โž• Add inferrable FromFields instance for SqlNumeric to Scientific.

  • v0.6.7006.0 Changes

    • โž• Added Opaleye.RunSelect.runSelectI and Opaleye.ToFields.toFieldsI which have better inferability.

    • โšก๏ธ Preliminary FOR UPDATE support in Opaleye.Internal.Locking.

    • โž• Added fromFieldArray for making FromFields for arrays.

  • v0.6.7005.0 Changes

    • Thanks to Shane (@duairc) and Ollie Charles (@ocharles) for writing most of the lateral- and MaybeFields-related code in this release.

    • โž• Add a Monad instance for Select (and SelectArr i).

    • โž• Add Opaleye.Lateral, to support LATERAL subqueries.

    • โž• Add Opaleye.Join.optionalRestrict and Opaleye.Join.optional, as more convenient and composable ways of doing left/right joins.

    • โž• Add Opaleye.MaybeFields

    • โž• Add optionalTableField, readOnlyTableField, requiredTableField, to replace optional, readOnly and required in a later version.

    • โž• Add valuesSafe, a version of values. values of an empty list generates incorrect queries when mixed with @OUTER@/@LEFT@/@RIGHT JOIN@s. valuesSafe will replace it in version 0.7

    • โž• Add Opaleye.Adaptors as the forward-compatible place to import Unpackspec and unpackspecField from, as well as other adaptors.

    • Unicode characters are escaped properly in sqlString/toFields

    • โž• Add inSelect, to replace inQuery in a future version.

    • โž• Add unsafeCoerceField, to replace unsafeCoerceColumn in a future version.

    • Generalise label to type label :: String -> S.SelectArr a b -> S.SelectArr a b

    • Fix invalid queries bug in union, unionAll, except and exceptAll where one side was empty.

  • v0.6.7004.2 Changes

    • No user-visible changes
  • v0.6.7004.1 Changes

    • ๐Ÿ›  Fixed exponential slowdown in removeEmpty.

    • ๐Ÿ›  Fixed read compatibility with time-1.9 in test suite.

  • v0.6.7004.0 Changes

    • ๐Ÿ“š Many changes to the documentation that use the new names. See entry for version 0.6.7000.0.

    • โž• Added fromPGSFromField to replace fieldQueryRunnerColumn.

    • โž• Added fromPGSFieldParser to replace fieldParserQueryRunnerColumn.

    • โž• Added defaultFromField to replace queryRunnerColumnDefault.

    • โž• Added tableField to replace tableColumn.

    • โž• Added unsafeFromField to replace queryRunnerColumn.

    • โž• Added toFieldsExplicit to replace constantExplicit.

    • โž• Added TableRecordField to replace TableField in Opaleye.TypeFamilies. The latter may be used to replace TableColumn in the future.

    • โž• Added array functions arrayAppend, arrayRemove, arrayRemoveNulls.

  • v0.6.7003.1 Changes

    • โฌ†๏ธ Bumped some depedencies so there is an install plan on GHC 8.6
  • v0.6.7003.0 Changes

    • โž• Add tableField as a future replacement for tableColumn

    • Export Opaleye.Field and Opaleye.RunSelect from Opaleye

    • ๐Ÿ‘‰ Use new nomenclature in tutorials