Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: vapor/fluent-postgres-driver

Update PostgresError's DatabaseError conformance for new PostgresNIO behavior

07 May 10:23
@VaporBot VaporBot
c7e3976
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
This patch was authored and released by @gwynne.

This makes DatabaseError.isSyntaxError and .isConstraintFailure work again.

Contributors

gwynne
Loading

Require PostgresKit 2.10.1 for CVE-2023-31136 fix

04 May 20:24
@VaporBot VaporBot
c7cd020
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
This patch was authored and released by @gwynne.

Contributors

gwynne
Loading

Update min Swift version to 5.6 and make platform versions consistent

14 Apr 01:01
@VaporBot VaporBot
afc0746
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

Contributors

gwynne
Loading

Update to match FluentKit's declared version minimums

20 Mar 07:07
@VaporBot VaporBot
f2b0844
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
This patch was authored and released by @gwynne.

This should help fix building in Xcode.

Contributors

gwynne
Loading

Update minimum Swift version to 5.5

27 Nov 02:51
@VaporBot VaporBot
4808c53
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
This patch was authored and released by @gwynne.

And a couple of minor cleanups to tests.

Contributors

gwynne
Loading

Add ability to control transactions

30 Jun 15:02
@VaporBot VaporBot
a8b2839
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
This patch was authored and released by @0xTim.

Adds the ability to control starting, committing and rolling back transactions outside of the main Fluent API. This could be used for setting up tests.

Since the new APIs give you manual control over a transaction, you should not use Database.transaction(_:) when using the manual transaction control. The inTransactionFlag will not be set when manually controlling a transaction

Warning: It is the users' responsibility to ensure the handle errors and rollback when necessary and commit transactions

Related to vapor/fluent-kit#520

Contributors

0xTim
Loading

Explicitly handle a custom ID key set to the empty string

13 Jun 16:14
@VaporBot VaporBot
5230817
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
This patch was authored and released by @gwynne.

Treat it as meaning not to retrieve an inserted ID value. This is in support of upcoming FluentKit feature work.

Contributors

gwynne
Loading

Clean up row decoding

18 Mar 21:22
@VaporBot VaporBot
7c266b5
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
This patch was authored and released by @gwynne.

Instead of duplicating logic implemented by postgres-kit for row decoding - and incorrectly, at that - we now always call through to that logic. Despite the additional indirection through the SQLRow existential, this should yield a minor improvement in performance, as we perform fewer unnecessary checks and retain fewer copies of data.

Note: Depends on vapor/postgres-kit#221 to receive the full benefit of these changes.

Contributors

gwynne
Loading

Fix logging of enum builder queries

18 Mar 15:03
@VaporBot VaporBot
33d502d
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
This patch was authored and released by @gwynne.

Queries issued for creation, updating, and dropping of enum types in databases which use custom data types for enumeration support (e.g. Postgres) were not being logged properly.

Contributors

gwynne
Loading

Support adding multiple enum cases at once

12 Mar 22:28
@VaporBot VaporBot
f4769c5
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
This patch was authored by @seeppp and released by @0xTim.

Fixes an issue where updating a table to add multiple new enum cases would only add the last case to the database.

Fixes #189

Contributors

seeppp and 0xTim
Loading

AltStyle によって変換されたページ (->オリジナル) /