Swiftpack.co - Package - vapor/fluent-postgresql

Github

link
Stars: 7
Help us keep the lights on

Releases

1.0.0-rc.2 - Mar 21, 2018

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

1.0.0-rc.1.1 - Feb 27, 2018

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.

1.0.0-rc.1 - Feb 24, 2018

1.0.0-beta.3 - Feb 19, 2018

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

1.0.0-beta.2.1 - Feb 15, 2018