Skunk Versions Save

A data access library for Scala + Postgres.

v0.3.1

2 years ago

This fixes a regression caused by #620 that would invalidate cursors after the first page was read.

v0.3.0

2 years ago

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

2 years ago

Minor updates, no API changes.

  • Added some missing Completion cases (Hossein Naderi)
  • Set TCP_NODELAY (Thibaut Robert)

v0.2.1

2 years ago

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

2 years ago

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 and queryCache 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.

v0.1.2

3 years ago

CE3 version of 0.0.28

v0.0.28

3 years ago
  • removes Scala 3.0.0-RC2/3, adds Scala 3.0.0

v0.0.27

3 years ago

Same as 0.0.26, sorry.

v0.1.1

3 years ago

This is the CE3 version of v0.0.26.

v0.0.26

3 years ago

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 enum codec 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).