Releases: typelevel/skunk
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
commandCacheandqueryCacheparameters 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.
v0.1.2
v0.0.28
v0.0.27
v0.1.1
v0.0.26
This is the CE2 series. The equivalent CE3 release is v0.1.1.
- Dependency updates, including removing Scala 3.0.0-RC1 and adding 3.0.0-RC3.
- Removed Enumeratum support from
enumcodec for Scala 3 (it had been using.withDottyCompat) - JSON module is now published for Scala 3, using Circe 0.14 milestones (Scala 2 version remains on Circe 0.13).
v0.1.0
v0.0.25
v0.0.24
Minor updates.
- Documentation improvements (Anton Kovalevsky, lambdista)
- Fix
_float4and_float8codecs (Loránd Szakács) - Hack up mdoc to show nicer
toStrings. - Improve handling of socket disconnects (see "Sessions" in the reference doc).
- Remove Scala 3.0.0-M2, Add RC1
- Update all dependencies
v0.0.23
- Session parameters may now be customized, which is necessary in order to use Skunk with Redshift (Brandon Stilson).