Releases: m-barthelemy/vapor-queues-fluent-driver
Releases · m-barthelemy/vapor-queues-fluent-driver
Code quality improvements
Replaced dangerous try!
and as!
occurrences with code having proper error handling
Update to SQLKit 3.0.0
Updates to be compatible with slightly breaking changes introduced in SQLKit 3.0.0
0.3.1
Add a real implementation of shutdown()
. Previously the Vapor application could hang when asked to quit, with errors looking like this:
[ ERROR ] Job run failed: shutdown (Queues/QueuesCommand.swift:101)
[ ERROR ] Could not stop HTTP server: Abort(identifier: "500", status: NIOHTTP1.HTTPResponseStatus.internalServerError, headers: , reason: "Server stop took too long." .........
Vapor Queues 1.0.0
- Pairs with Vapor Queues 1.0.0
- Brings support for custom
JobIdentifier
implemented in Queues 1.0.0 - Proper support for multiple queues: previously, a worker would pick any pending job even if it didn’t match its queue name
- Breaking change: the database table storing the jobs has been renamed from
jobs
to_jobs
, has two new columns,job_id
andqueue
, and new indices. See “Upgrading” note below. - Fixed a bug with the
list()
method introduced in last release didn’t work when setting itsqueue:
parameter.
Upgrading:
This package will support proper Fluent migrations once it gets out of “experimental” status. For now, to upgrade to 0.3 you should run DELETE FROM _fluent_migrations WHERE name='JobModelMigrate’
and DROP TABLE jobs
. Sorry for the inconvenience.
New list() method
- Added a new
list()
method for listing stored jobs - Code cleanups and improvements coming from Maxim-Inv's nice contribution (#2)
0.2.4
Fix push()
0.2.3
Fix push()
0.2.2
Parameterless init if reusing the application DB
0.2.1
fix ignored useSoftDeletes option
0.2.0
First usable release with working Postgres support