For a list of breaking changes, check here
babashka-sql-pods: Babashka pods for SQL databases
- Upgrade libraries
- Fix bug with mssql on Windows (@kbosompem)
- Remove dynamic linux builds
- Fix bug in
with-transaction
for MySQL #47 - Upgrade
next.jdbc
to1.2.753
- Releases for Windows
- Releases for Oracle
Breaking changes:
- Arrays are now always returned as vectors, the support for
:pod.babashka.sql/read {:array :array}
option has been dropped. - Writing arrays must always be done using an explicit array instead of using the
:pod.babashka.sql/write
option - Instead of writing
json
orjsonb
via metadata, this must now be done using thewrite-json
andwrite-jsonb
functions from the main db namespace.
All linux binaries are now statically linked with musl.
- Fix insertion and retrieving of byte arrays
- Automatically convert json and jsonb into Clojure values (for PostgreSQL only)
- Add
:pod.babashka.sql/write
and:pod.babashka.sql/read
options to give precise control over how arrays and json/jsonb values are read and written. See arrays and json docs.
- Add
insert-multi!
- Support MS SQL (@jvtrigueros)
- Support inserting Java arrays #7
- Support querying rows with array results (behavior: automatic conversion to Clojure vectors)
- Switch to transit as payload format #27
- Add
execute-one!
- Support Oracle via Helidon driver (@holyjak)
- Add static builds for linux (eccentric-j)
Initial release.
- Arrays are now always returned as vectors, the support for
:pod.babashka.sql/read {:array :array}
option has been dropped. - Writing arrays must always be done using an explicit array instead of using the
:pod.babashka.sql/write
option - Instead of writing
json
orjsonb
via metadata, this must now be done using thewrite-json
andwrite-jsonb
functions from the main db namespace.