What's New

2.9.2 - Shut down the driver's connection pool safely

2024-05-24T10:57:31Z

What's Changed

Shut down the driver's connection pool safely by @gwynne in #220

Specifically, don’t use the soft-deprecated AsyncKit API that calls EventLoopFuture.wait() internally; use the one that at least does it with Dispatch (best we can do without changing Fluent’s driver interface).

This patch was released by @gwynne

Full Changelog: 2.9.1...2.9.2

FluentPostgresDriver

Documentation Team Chat MIT License Continuous Integration Swift 5.8+


FluentPostgresDriver is a FluentKit driver for PostgreSQL clients. It provides support for using the Fluent ORM with PostgreSQL databases, and uses PostgresKit to provide SQLKit driver services, PostgresNIO to connect and communicate with the database server asynchronously, and AsyncKit to provide connection pooling.

Usage

Use the SPM string to easily include the dependendency in your Package.swift file:

.package(url: "https://github.com/vapor/fluent-postgres-driver.git", from: "2.0.0")

For additional information, see the Fluent documentation.

Description

  • Swift Tools 5.9.0
View More Packages from this Author

Dependencies

Last updated: Mon Jun 03 2024 04:37:05 GMT-0900 (Hawaii-Aleutian Daylight Time)