Skip to content

Releases: vapor/postgres-kit

2.12.1 - Remove use of legacy codepath when establishing Postgres connections

11 Aug 02:27
81d1106

Choose a tag to compare

What's Changed

Remove use of legacy codepath when establishing Postgres connections by @gwynne in #249

Also tidies CI as usual.

Reviewers

Thanks to the reviewers for their help:

This patch was released by @gwynne

Full Changelog: 2.12.0...2.12.1

2.12.0 - Support the sslmode URL query parameter and UDS URLs

27 Jul 19:07
e0f6bc9

Choose a tag to compare

What's Changed

Support the sslmode URL query parameter and UDS URLs by @gwynne in #248

Overhauls the URL parser for connection configurations to accept considerably more flexible syntax. See the documentation for details of the new syntax. (A screenshot of the new documentation is included below in case the website doesn’t update immediately.)

Reviewers

Thanks to the reviewers for their help:

This patch was released by @gwynne.

Full Changelog: 2.11.4...2.12.0

2.11.4 - Add Postgres support for nested subpath (JSON) expressions

11 Jul 06:25
b69f427

Choose a tag to compare

This patch was authored and released by @gwynne.

Implements SQLKit's new SQLDialect.nestedSubpathExpression(in:for:) method. #246

Remove the temporary workaround for PSQLError descriptions

09 Jun 13:32
a88d025

Choose a tag to compare

This patch was authored and released by @gwynne.

The workaround didn't work very well anyway (I got it slightly wrong), and thanks to vapor/postgres-nio#372 is no longer needed at all.

This reverts #244, commit 875e8c1.

Temporary bandaid workaround for lack of PSQLError usefulness

16 May 06:46
875e8c1

Choose a tag to compare

This patch was authored and released by @gwynne.

This is a temporary workaround while waiting for vapor/postgres-nio#360 to be finished.

Add workaround for decoding `NUMERIC` as `Double`

11 May 23:54
69d8595

Choose a tag to compare

This patch was authored and released by @gwynne.

The PostgresData implementation allowed this, and it's a halfway reasonable code path, so support it at the driver level.

Remove all use of deprecated PostgresNIO APIs

09 May 05:54
3976618

Choose a tag to compare

This patch was authored and released by @gwynne.

This is a major cleanup pass that deprecates PostgresDataEncoder, PostgresDataDecoder, and PostgresConfiguration in favor of working with the newer, better-designed APIs now available from PostgresNIO. As a side effect of this work, the minimum Swift version has been bumped to 5.7.

Every effort has been made to maintain backwards-compatible behavior whenever possible.

Require PostgresNIO 1.14.2 for CVE-2023-31136 fix

04 May 17:50
3a4e63e

Choose a tag to compare

This patch was authored and released by @gwynne.

Update min Swift version to 5.6 and make platform versions consistent

14 Apr 01:00
3ad0826

Choose a tag to compare

Update to match FluentKit's declared version minimums

20 Mar 06:48
8ea9274

Choose a tag to compare

This patch was authored and released by @gwynne.

This should help fix building in Xcode.