Changelog History
Page 2
-
v0.7.1.0 Changes
โ Added
Opaleye.Experimental.Enum
for an easy way to deal with PostgresENUM
types.โ Added
Opaleye.Manipulation.rReturningI
which has better type inference.โ Added
Opaleye.Operators.where_
for easier restriction in monadic style.โ Added
Opaleye.Operators.sqlLength
andOpaleye.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
andsumInt8
Aggregator
s, which don't crash at run time (sum
currently does on those types).โ Add inferrable
FromFields
instance forSqlNumeric
toScientific
.
-
v0.6.7006.0 Changes
โ Added
Opaleye.RunSelect.runSelectI
andOpaleye.ToFields.toFieldsI
which have better inferability.โก๏ธ Preliminary
FOR UPDATE
support inOpaleye.Internal.Locking
.โ Added
fromFieldArray
for makingFromField
s for arrays.
-
v0.6.7005.0 Changes
Thanks to Shane (@duairc) and Ollie Charles (@ocharles) for writing most of the
lateral
- andMaybeFields
-related code in this release.โ Add a
Monad
instance forSelect
(andSelectArr i
).โ Add
Opaleye.Lateral
, to support LATERAL subqueries.โ Add
Opaleye.Join.optionalRestrict
andOpaleye.Join.optional
, as more convenient and composable ways of doing left/right joins.โ Add
Opaleye.MaybeFields
โ Add
optionalTableField
,readOnlyTableField
,requiredTableField
, to replaceoptional
,readOnly
andrequired
in a later version.โ Add
valuesSafe
, a version ofvalues
.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 importUnpackspec
andunpackspecField
from, as well as other adaptors.Unicode characters are escaped properly in
sqlString
/toFields
โ Add
inSelect
, to replaceinQuery
in a future version.โ Add
unsafeCoerceField
, to replaceunsafeCoerceColumn
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
andexceptAll
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 replacefieldQueryRunnerColumn
.โ Added
fromPGSFieldParser
to replacefieldParserQueryRunnerColumn
.โ Added
defaultFromField
to replacequeryRunnerColumnDefault
.โ Added
tableField
to replacetableColumn
.โ Added
unsafeFromField
to replacequeryRunnerColumn
.โ Added
toFieldsExplicit
to replaceconstantExplicit
.โ Added
TableRecordField
to replaceTableField
inOpaleye.TypeFamilies
. The latter may be used to replaceTableColumn
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 fortableColumn
Export
Opaleye.Field
andOpaleye.RunSelect
fromOpaleye
๐ Use new nomenclature in tutorials