Skip to content

Releases: m-barthelemy/vapor-queues-fluent-driver

Code quality improvements

27 Apr 01:22
Compare
Choose a tag to compare

Replaced dangerous try! and as! occurrences with code having proper error handling

Update to SQLKit 3.0.0

26 Apr 12:30
Compare
Choose a tag to compare

Updates to be compatible with slightly breaking changes introduced in SQLKit 3.0.0

0.3.1

26 Apr 10:38
Compare
Choose a tag to compare

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

17 Apr 02:29
Compare
Choose a tag to compare
  • 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 and queue, and new indices. See “Upgrading” note below.
  • Fixed a bug with the list() method introduced in last release didn’t work when setting its queue: 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

16 Apr 12:37
a627a33
Compare
Choose a tag to compare
  • Added a new list() method for listing stored jobs
  • Code cleanups and improvements coming from Maxim-Inv's nice contribution (#2)

0.2.4

09 Apr 16:12
Compare
Choose a tag to compare
Fix push()

0.2.3

09 Apr 16:10
Compare
Choose a tag to compare
0.2.3 Pre-release
Pre-release
Fix push()

0.2.2

09 Apr 15:38
Compare
Choose a tag to compare
Parameterless init if reusing the application DB

0.2.1

07 Apr 00:57
Compare
Choose a tag to compare
fix ignored useSoftDeletes option

0.2.0

07 Apr 00:10
Compare
Choose a tag to compare
First usable release with working Postgres support