Swiftpack.co - Package - vapor/fluent-postgres-driver

Github

link
Stars: 70

Used By

Total: 0

Releases

FluentKit Beta 4 - 2020-02-15 22:26:18

Updates to https://github.com/vapor/fluent-kit/releases/tag/1.0.0-beta.4.

Support dynamic ID keys - 2020-02-12 19:38:37

Adds support for dynamic ID keys introduced in https://github.com/vapor/fluent-kit/pull/153 (#137).

Convert Fluent's uint8 type to Postgres "char" - 2019-12-26 17:20:33

Fluent's .uint8 schema data type is now converted to Postgres' 8-bit "char" type.

FluentPostgresDriver 2.0.0 Beta 2.2 - 2019-12-13 22:13:33

  • Use JSONB instead of JSON (#131)

FluentPostgresDriver 2.0.0 Beta 2.1 - 2019-12-11 17:28:57

  • Use configured PostgresDataEncoder/Decoder added in latest PostgresKit release (#129)

FluentPostgresDriver 2.0.0 Beta 2 - 2019-12-09 19:26:55

Update to latest PostgresKit and FluentKit

FluentPostgresDriver 2.0.0 Beta 1.1 - 2019-10-25 05:13:19

  • Database.eventLoopPreference is now correctly passed to the connection pool.

FluentPostgresDriver 2.0.0 Beta 1 - 2019-10-25 00:01:17

Updated to FluentKit beta 1.

FluentPostgresDriver 2.0.0 Alpha 3 - 2019-08-14 18:44:12

FluentPostgresDriver 2.0.0 Alpha 2 - 2019-08-02 18:41:31

Updated to FluentKit alpha 2: https://github.com/vapor/fluent-kit/releases/tag/1.0.0-alpha.2

FluentPostgresDriver 2.0.0 Alpha 1.2 - 2019-06-19 18:50:37

Fixed:

  • Adds support for BYTEA (#118, #119)

FluentPostgresDriver 2.0. Alpha 1.1 - 2019-06-13 15:55:28

Fixed:

  • Converts Fluent's .bool data type to "BOOL" (#117)

FluentPostgresDriver 2.0.0 Alpha 1 - 2019-06-06 20:42:20

More information on Vapor 4 alpha releases:

https://medium.com/@codevapor/vapor-4-alpha-1-releases-begin-94a4bc79dd9a

API Docs:

https://api.vapor.codes/fluent-postgres-driver/master/FluentPostgresDriver/index.html

Fluent PostgreSQL 1.0.0 - 2018-07-26 01:52:13

Fluent PostgreSQL 1.0 is here 🎉 🖋🐘 Swift ORM (queries, models, relations, etc) built on PostgreSQL.

See the updated documentation for more information: docs.vapor.codes/3.0/fluent/getting-started/ docs.vapor.codes/3.0/postgresql/getting-started/

And of course, check out the API docs for detailed information about the public API: api.vapor.codes/fluent/latest/Fluent api.vapor.codes/postgresql/latest/PostgreSQL

Fluent PostgreSQL 1.0.0 RC 4.0.1 - 2018-07-06 19:43:26

Fluent PostgreSQL 1.0.0 RC 4.0.2 - 2018-07-06 19:43:15

Fluent PostgreSQL 1.0.0 RC 4.1 - 2018-07-06 19:42:52

New:

  • Added support for DROP COLUMN and DROP CONSTRAINT (#77).

Fluent PostgreSQL 1.0.0 RC 4 - 2018-06-19 23:22:37

New:

  • Upgrade to vapor/sql 2.0 protocols.

Fluent PostgreSQL 1.0.0 RC 3.0.1 - 2018-06-15 16:53:39

New:

  • Adds a convenience method for adding custom PostgreSQL types during migrations.
builder.field(for: \.id, type: .bigint, .notNull, .primaryKey, .generated(.byDefault))

Fluent PostgreSQL 1.0.0 RC 3 - 2018-06-15 03:53:31

New:

  • New methods for creating and altering ENUM types.
  • Big improvements to Fluent and PostgreSQL:
    • https://github.com/vapor/fluent/releases/tag/3.0.0-rc.3.
    • https://github.com/vapor/postgresql/releases/tag/1.0.0-rc.3.

Fixed:

  • Lots of bug fixes.

Fluent PostgreSQL 1.0.0 RC 2.3 - 2018-05-11 00:31:17

Fluent PostgreSQL 1.0.0 RC 2.1 - 2018-05-11 00:31:10

Fluent PostgreSQL 1.0.0 RC 2.1.1 - 2018-05-11 00:31:01

Fluent PostgreSQL 1.0.0 RC 2.2 - 2018-05-11 00:30:53

Fluent PostgreSQL 1.0.0 RC 2.2.1 - 2018-05-11 00:30:44

Fluent PostgreSQL 1.0.0 RC 2 - 2018-03-21 22:24:49

New:

  • Vapor is now running on Swift NIO!
  • Table names are now returned alongside column names, allowing for better join support.
  • Improved timestamp precision.
  • Server version is now automatically checked during provider boot.

Milestone

Fluent PostgreSQL 1.0.0 RC 1.1 - 2018-02-27 23:18:32

New:

  • Support for DEFAULT ... values on PostgreSQL columns.

Fixed:

  • Fixed an issue where nested structs would not be properly added in migrations.

Breaking changes:

  • Due to limitations with Swift 4.1 (dynamic casting) nested dictionaries will not be supported on PostgreSQL models. This compiled previously but didn't work. The free conformance to PostgreSQLType on dictionary has been removed now to minimize confusion. Workaround: Use a struct instead.

Fluent PostgreSQL 1.0.0 RC 1 - 2018-02-24 01:32:17

Fluent PostgreSQL 1.0.0 Beta 3 - 2018-02-19 20:10:16

New:

  • enableIdentityColumns: Bool? parameter on FluentPostgreSQLProvider. If false, the identity columns will not be used (suitable for PostgreSQL < 10).
try services.register(FluentPostgreSQLProvider(enableIdentityColumns: false))
  • PostgreSQLModel enforces id: Int?, use new PostgreSQLUUIDModel for id: UUID?. Use Model manually for customization.

Fixed:

  • Fixed an issue where using the Request as DatabaseConnectable could result in hanging queries.

Milestone

Fluent PostgreSQL 1.0.0 Beta 2.1 - 2018-02-15 02:51:56