版本发布 8
## Major version changes - hummingbird-fluent has been updated to work with Hummingbird v2.0 - Added `Fluent` service to manage your Fluent migrations and databases
## Minor release changes - Using hummingbird v2.5.0 - Using fluent-kit v1.49.0 ## Patch release changes Throw invalidConversion if FluentPersistDriver.get(key:as:) fails to convert object. #34 ## Other changes Moved from Nick Lockwood's SwiftFormat to Apple's swift-format for formatting the project. #33
## Patch release changes - Don't update expires if it is nil in `FluentPersistDriver.set()`. #28 ## Other changes - Update to fluent-sqlite-driver 4.7.0 in tests
## Patch release changes - Documentation updates
Using Hummingbird 2.0
Use Hummingbird v2.0.0 Release Candidate
This is the first beta release of Hummingbird v2. Below is a list of the changes since the last alpha ## Major release changes - The "HB" prefix on symbols has been removed. To help transition from previous symbols with the "HB" prefix we have added deprecated typealiases for the old symbols. eg `typealias HBFluent = Fluent`. - Migrations are now wrapped in `FluentMigrations` actor, instead of attaching them to the `@MainActor`. ## Other changes - 2.0 code has now been merged into `main` branch.
Changes to coincide with [Hummingbird v2 alpha](https://github.com/hummingbird-project/hummingbird/releases) release. - Rewritten to use structured concurrency. - EventLoop APIs no longer exist - Fluent is no longer attached to `HBApplication`, accessed via `HBFluent` type. - `HBFluent` conforms to `Service` from swift service lifecycle. API Documentation can be found [here](https://hummingbird-project.github.io/hummingbird-docs/2.0/documentation/hummingbirdfluent)