Releases: m-barthelemy/vapor-queues-fluent-driver
3.0.0-beta1
3.0.0 beta1
This new major release will hopefully fix a long-standing issue with Mysql.
Breaking changes
- When upgrading from previous versions, the existing jobs DB storage table will not be used anymore. This new version cannot process pending jobs stored by the previous releases of this package.
In fact, after successfully upgrading, you can delete the table created by the 1.x releases of QueuesFluentDriver. - The ability to list the existing jobs via the (non-standard)
list()
method has been removed. Not sure if anyone was really using this feature; can be added back upon request. - This version now assumes that the jobs will always have a unique ID. When you specify a custom
JobIdentifier
, it is now your responsibility to ensure that you don't create another job with the same ID as a job that still exists in the QueuesFluentDriver DB tables.
Generally, we don't recommend using customJobIdentifier
s with this package (unless you are absolutely certain that your custom values will be unique). - Jobs that are completed are now deleted from the database tables, instead of using Fluent's soft delete feature.
You can opt in for the previous behavior by settingapp.queues.use(.fluent(useSoftDeletes: true))
1.2.0: Fix issue with delayed jobs
Upgrade Queues to 1.5
1.1.0 Upgrade Queues to 1.5.1
Stable release
The previous rc.2 release has been reasonably well tested on macOS and Linux and no issue has been found so far.
This 1.0.0 release doesn't contain any change compared to rc.2. It just removes the rc
prefix to dissipate any doubts about the stability of the project.
Fix "Fatal error: leaking promise" on exit
Previously, when the application was shutting down, the following kind of errors could appear:
ERROR: Cannot schedule tasks on an EventLoop that has already shut down. This will be upgraded to a forced crash in future SwiftNIO versions.
ERROR: Cannot schedule tasks on an EventLoop that has already shut down. This will be upgraded to a forced crash in future SwiftNIO versions.
ERROR: Cannot schedule tasks on an EventLoop that has already shut down. This will be upgraded to a forced crash in future SwiftNIO versions.
ERROR: Cannot schedule tasks on an EventLoop that has already shut down. This will be upgraded to a forced crash in future SwiftNIO versions.
Fatal error: leaking promise created at [...]
Fix from #11
Use returning() from sql-kit
This release removes the internal implementation of .returning()
used with Postgres.
Instead, we now rely on the implementation of RETURNING recently added to SQL-kit 3.5.0
Bumping release number to 1.0.0-rc now that this project has been used by quite a few people with no reports of issues.
UPGRADE NOTES: If you want to upgrade to this release and use Postgres, make sure you use postgres-kit
>= 2.1.0.
Update Fluent to 4.0.0
Update Fluent to 4.0.0, cleanups (#12)
Upgrade Queues, Fluent and Sql-Kit
• Upgrade Queues, Fluent and Sql-Kit
• Use transaction for Sqlite (#10). This might allow this driver to work with Sqlite in testing/specific scenarios (1 single Queues worker)
startup errors improvement
Fix list()
• FluentQueue
is now public, allowing to really use the list()
custom method (#5)
• Code cleanups