A data access library for Scala + Postgres.
Notice: Skunk 0.6 introduces a unified syntax for creating codecs, based on the Scala 3 specific syntax from earlier versions (*:
instead of ~
). The old syntax is now deprecated, though code should be mostly source compatible (as long as fatal warnings are disabled). There's one notable exception -- parameterized commands. Add import skunk.feature.legacyCommandSyntax
to any files that fail to build after upgrading. See #846 for details.
set constraints
by @tpolecat in https://github.com/typelevel/skunk/pull/855
Mutex
instead of Semaphore(1)
by @armanbilge in https://github.com/typelevel/skunk/pull/853
Full Changelog: https://github.com/typelevel/skunk/compare/v0.5.1...v0.6.0-RC1
Full Changelog: https://github.com/tpolecat/skunk/compare/v0.4.1...v0.5.1
0.4.0 was accidentally released against natchez 0.3.0-M3. This release is functionally equivalent to 0.4.0 but is built against natchez 0.3.0.
Full Changelog: https://github.com/tpolecat/skunk/compare/v0.4.0...v0.5.0
As a result of #764, prepare
no longer returns a Resource[F, ...]
and instead returns an F[...]
. To ease migration, the old signature is available under the name prepareR
.
SSL.Trusted
by @armanbilge in https://github.com/tpolecat/skunk/pull/708
Resource
for TLSContext
by @armanbilge in https://github.com/tpolecat/skunk/pull/710
Full Changelog: https://github.com/tpolecat/skunk/compare/v0.3.2...v0.4.0
As a result of #764, prepare
no longer returns a Resource[F, ...]
and instead returns an F[...]
. To ease migration, the old signature is available under the name prepareR
.
Full Changelog: https://github.com/tpolecat/skunk/compare/v0.4.0-M1...v0.4.0-M3
SSL.Trusted
by @armanbilge in https://github.com/tpolecat/skunk/pull/708
Resource
for TLSContext
by @armanbilge in https://github.com/tpolecat/skunk/pull/710
Full Changelog: https://github.com/tpolecat/skunk/compare/v0.3.2...v0.4.0-M1
SSL.Trusted
by @armanbilge in https://github.com/tpolecat/skunk/pull/708
Resource
for TLSContext
by @armanbilge in https://github.com/tpolecat/skunk/pull/710
Full Changelog: https://github.com/tpolecat/skunk/compare/v0.3.2...v0.4.0-M1
This is a maintenance release of the 0.3 series and is fully binary compatible with 0.3.1. The only new feature in this release is the extension of twiddle list support on Scala 3 from a maximum of 6 entries to 16 (#656). Otherwise, changes are limited to library upgrades.
Full Changelog: https://github.com/tpolecat/skunk/compare/v0.3.1...v0.3.2
This fixes a regression caused by #620 that would invalidate cursors after the first page was read.
Minor release. Nothing super special here.
The only potentially risky change is an additional Sync instruction following prepared statement execution, which is required by the spec but hadn't been done before. This prevents the implicit transaction from being held open, which allows notifications to proceed on the session rather than being queued awaiting commit. Very few if any users should expect to see behavioral changes, but if you do please open an issue.
This release also marks the start of binary-compatibility checking under the Early SemVer scheme. In practice this means we're going to burn through a lot of minor versions, but there may on occasion be a binary-compatible release. We can always hope.
As always, many thanks to our sparkly contributors: