A data access library for Scala + Postgres.
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:
Minor updates, no API changes.
Completion
cases (Hossein Naderi)TCP_NODELAY
(Thibaut Robert)This version introduces artifacts built for Scala-JS, allowing Skunk to run on node.
Huge thanks to @armanbilge for this surprising development!
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.
CE3 version of 0.0.28
Same as 0.0.26, sorry.
This is the CE3 version of v0.0.26.
This is the CE2 series. The equivalent CE3 release is v0.1.1.
enum
codec for Scala 3 (it had been using .withDottyCompat
)