Releases: vapor/fluent
Releases · vapor/fluent
Fluent 1.3.4
Fixed:
- Support for limits in the in-memory database.
Fluent 1.3.3
Fixed:
fetch
action is now set for.all()
and.first()
allowing you to.count()
queries before fetching them.
Fluent 1.3.2
New:
- modifications are reflected in updates and saves.
Fluent 1.2.1
Fixed:
- Added single quotes (
'
) around default values inGeneralSQLSerializer
.
Fluent 1.2.0
New:
- Adds custom data types.
- Adds unique fields.
- Adds default values for fields.
A sample of new field APIs being used:
static func prepare(database: Database) throws {
try database.create("users") { users in
users.id()
users.string("name", unique: true)
users.custom("data", type: "JSON")
users.custom("time", type: "TIMESTAMP", default: 1234)
}
}
Fluent 1.1.0
New:
- Fluent Tester: A growing set a benchmark tests for Fluent drivers.
- Memory driver now supports unions.
Fluent 1.0.7
Fixed:
- Filtering with
null
values in SQL.
Fluent 1.0.6
Fixed:
- Database property on Pivot is no longer order dependent.
Fluent 1.0.5
Fixed:
- Fix for only retrieving a fields from the Model table in union SQL queries
Fluent 1.0.4
Fixed:
- Fixes a bug that could cause
EntityError.noDatabase
when using Vapor 1.1.