Releases: typelevel/skunk
v0.3.2
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.
Features
- Extend support for Twiddles to length 16 on Scala 3 by @benhutchison in #656
Infrastructure / Docs / Tech Debt
- Use refinement types on mirrors - fixes #706 by @mpilquist in #707
- change gitter (deprecated) to discord by @michelspeiser in #698
- Fully adopt sbt-typelevel by @armanbilge in #705
Updates
- Update saslprep to 0.1.1 by @scala-steward in #658
- Update scalacheck-effect-munit to 1.0.4 by @scala-steward in #653
- Update sbt-header to 5.7.0 by @scala-steward in #651
- Update sbt-scalajs-crossproject to 1.2.0 by @scala-steward in #637
- Update circe-core, circe-parser to 0.14.2 by @scala-steward in #659
- Update scodec-core to 1.11.10 by @scala-steward in #702
- Update scodec-cats to 1.2.0 by @scala-steward in #701
- Update fs2-core, fs2-io to 3.2.14 by @scala-steward in #700
- Update scala-collection-compat to 2.8.1 by @scala-steward in #692
- Update cats-effect to 3.3.14 by @scala-steward in #681
- Update sbt-tpolecat to 0.1.22 by @scala-steward in #626
- Update refined to 0.9.29 by @scala-steward in #657
- Update sbt-updates to 0.6.3 by @scala-steward in #667
- Update locales-minimal-en_us-db to 1.4.1 by @scala-steward in #668
- Update scodec-bits to 1.1.34 by @scala-steward in #673
- Update cats-core, cats-free, cats-laws to 2.8.0 by @scala-steward in #675
- Update scodec-core to 2.2.0 by @scala-steward in #693
- Update scala3-library, ... to 3.1.3 by @scala-steward in #672
- Update scala-library to 2.12.16 by @scala-steward in #671
- Update sbt to 1.7.1 by @scala-steward in #680
- Update sbt-scalajs, scalajs-compiler, ... to 1.10.1 by @scala-steward in #670
- Update scala-java-time to 2.4.0 by @scala-steward in #669
- Update sbt-typelevel-ci-release to 0.4.13 by @scala-steward in #682
- Update sbt-mdoc to 2.3.3 by @scala-steward in #688
- Update sbt-paradox to 0.10.2 by @scala-steward in #666
- Update sbt-scoverage to 2.0.2 by @scala-steward in #694
New Contributors
- @michelspeiser made their first contribution in #698
- @benhutchison made their first contribution in #656
Full Changelog: v0.3.1...v0.3.2
v0.3.1
v0.3.0
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:
- CreateDatabase and DropDatabase completions (Alexander Galagutskiy)
- Migrate to sbt-typelevel-ci-release (Arman Bilge)
- Doc improvements (Gavin Bisesi)
- Implement AuthenticationCleartextPassword (Oleg Oshmyan)
- Add support for bit and varbit data types (Rob Norris)
- Add sync instructions following extends query interactions (Rob Norris)
- Add host and port validation to BitVectorSocket (zsambek)
v0.2.2
v0.2.1
This version introduces artifacts built for Scala-JS, allowing Skunk to run on node.
Huge thanks to @armanbilge for this surprising development!
v0.2.0
This release adds caching for the Describe
protocol exchange, which is used to validate that declared parameter and column types are consistent with the schema. Because the schema is typically static at runtime, we can cache the results of these checks on a per-pool basis and save an extra round-trip during each Prepare
exchange.
Pooled Session
constructors now have extra parameters for cache-tuning, as described in the associated doc:
The pool maintains a cache of queries and commands that have been checked against the schema,
eliminating the need to check them more than once. If your program is changing the schema on
the fly than you probably don't want this behavior; you can disable it by setting the
commandCache
andqueryCache
parameters to zero.
By default both caches have size 1024.
This release also changes SkunkException
to include the full diagnostic message in getMessage
rather than only in toString
. This improves error reporting with MUnit.