Releases: jatcwang/doobieroll
Releases · jatcwang/doobieroll
v0.3.2
v0.3.1
Updating for Doobie 1.0.0-RC2
Merge pull request #227 from jatcwang/update_deps update deps (minor)
v0.2.1
v0.2.0
Breaking Changes
TableColumns
'slist
,prefixed
column now return Fragment instead of String. This change was done because since Doobie 0.9.0 you can directly interpolate Fragments inside Fragments like this:
val fromMyTable = Fragment.const("FROM mytable")
fr"SELECT * ${fromMyTable}" // SELECT * FROM mytable
This makes the common case easy and also help prevent accidentally turning what should be SQL into a query parameter. (Since in Doobie 0.9.0 you should be using interpolation instead of ++
to build your Fragment :^) )
To make migration, you should migrate to 0.1.7 first and resolve the deprecations by either switching to the *Str
variant (e.g. listStr), or directly interpolate the fragment (listF
).
See #124 for changes.
Additions
- Add method to retrieve a column name from a string. Thanks @francesconero! (#122)
Dependency updates
- Update cats-core to 2.4.2 @scala-steward (#120)
- Update scala-collection-compat to 2.4.2 @scala-steward (#119)
- Update cats-core to 2.4.1 @scala-steward (#116)
\
v0.1.7
Added
Deprecations
- Deprecate TableColumn methods that return strings such as
list
andparameterized
. Use the likes oflistStr
andparameterizedStr
if you need to work with strings, but as of Doobie 0.9.0 you can interpolate Fragments directly so consider usinglistF
& friends. In a future versionlist
,paraeterized
will return Fragment. @jatcwang (#110)
v0.1.6
v0.1.5
v0.1.4
This release contains just dependency updates.
Changes
- Update scala-collection-compat to 2.2.0 @scala-steward (#32)
- Update doobie-core, doobie-hikari, ... to 0.9.2 @scala-steward (#31)
- Update cats-core to 2.2.0 @scala-steward (#28)