Skip to content

Releases: vapor/fluent

Fluent 3.0.0 RC 4

19 Jun 23:11
a821d46
Compare
Choose a tag to compare
Fluent 3.0.0 RC 4 Pre-release
Pre-release

New:

  • Upgraded to vapor/sql 2.0 protocols.
  • Standardized FluentBenchmarker run method.
  • Add new Fluent benchmarks for sorting, subset operations, and range.

Fixed:

  • Fixed an issue where ranges would not be applied.
  • Fixed an issue where ranges would be off-by-one.

Fluent 3.0.0 RC 3.0.3

22 Jun 01:17
Compare
Choose a tag to compare
Fluent 3.0.0 RC 3.0.3 Pre-release
Pre-release
3.0.0-rc.3.0.3

publicize QueryBuilder CRUD methods

Fluent 3.0.0 RC 3.0.2

22 Jun 01:17
305ebf1
Compare
Choose a tag to compare
Fluent 3.0.0 RC 3.0.2 Pre-release
Pre-release
Merge pull request #507 from vapor/serialize-migrations

serialize migrations + convenience methods

Fluent 3.0.0 RC 3.0.1

15 Jun 15:53
Compare
Choose a tag to compare
Fluent 3.0.0 RC 3.0.1 Pre-release
Pre-release

Fixed:

  • Fixes a typo in enableReferences on DatabasesConfig (#505).
  • Adds deprecations for actions: overload when creating a reference (#506).

See 3.0.0 RC 3 for more information.

Fluent 3.0.0 RC 3

15 Jun 03:38
Compare
Choose a tag to compare
Fluent 3.0.0 RC 3 Pre-release
Pre-release

New:

  • Generic database queries: QueryBuilder and SchemaBuilder now store query types generic to each specific database. This means you can now do much of what required raw SQL queries with type-safe Swift!
  • Timestampable & SoftDeletable are now part of Model: This allows for users to opt in to exactly which timestamps they would like to use. It also removes a lot of type-erasing and casting that needed to happen internally. New lifecycle hooks have been added for soft-deletion as well.
  • Generic transactions + convenience methods: Transactions now allow for a generic return type. Use the new convenience method on DatabaseConnectable to perform a transaction.
  • Data and KeyPath conversion failures are now assertions. This makes working with Fluent a lot easier (huge reduction in try statements) for what really should be develop-time errors.
  • Aggregates are now generic.
  • New update(data:) and create(data:) methods on QueryBuilder allow for easy batch updates.
  • Joins now support joining additional models to previously joined tables.

Fixed:

  • Tons of bug fixes throughout Fluent and all of its drivers.

Breaking changes:

  • Model entity now defaults to the model's type name. It no longer attempts to create a lowercased, pluralized string. Implement static var entity: String on your model if you want to define a custom entity (#492).
  • Timestampable and SoftDeletable key paths must now be optional. Not-implementing these key paths (or returning nil) is equivalent to not conforming to the protocol.
  • join methods have been simplified: join(\Pet.userID, to: \User.id)
  • Please report any breaking changes you notice not listed--they may be unintentional

Fluent 3.0.0 RC 2.4.1

02 May 16:39
8f22ef2
Compare
Choose a tag to compare
Fluent 3.0.0 RC 2.4.1 Pre-release
Pre-release

Fixed:

Fluent 3.0.0 RC 2.4

15 Jun 03:38
99ff18d
Compare
Choose a tag to compare
Fluent 3.0.0 RC 2.4 Pre-release
Pre-release
Merge pull request #459 from vapor/dbkit-gm

dbkit 1.0.0 gm

Fluent 3.0.0 RC 2.3.3

15 Jun 03:38
Compare
Choose a tag to compare
Fluent 3.0.0 RC 2.3.3 Pre-release
Pre-release
3.0.0-rc.2.3.3

remove extraneous routing slug

Fluent 3.0.0 RC 2.3.2

15 Jun 03:39
Compare
Choose a tag to compare
Fluent 3.0.0 RC 2.3.2 Pre-release
Pre-release
3.0.0-rc.2.3.2

add new routing static method

Fluent 3.0.0 RC 2.3.1

29 Mar 01:55
Compare
Choose a tag to compare
Fluent 3.0.0 RC 2.3.1 Pre-release
Pre-release
3.0.0-rc.2.3.1

temporary reflect property fix