Skip to content

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

3.0.0-beta1

04 Sep 03:50
e2ce677
Compare
Choose a tag to compare

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 custom JobIdentifiers 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 setting app.queues.use(.fluent(useSoftDeletes: true))

1.2.0: Fix issue with delayed jobs

25 Mar 00:35
f623ad1
Compare
Choose a tag to compare

Upgrade Queues to 1.5

01 Feb 00:08
Compare
Choose a tag to compare
1.1.0

Upgrade Queues to 1.5.1

Stable release

12 Nov 12:06
c459eb0
Compare
Choose a tag to compare

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

26 Aug 00:39
2b4ef53
Compare
Choose a tag to compare

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

22 Jul 12:23
Compare
Choose a tag to compare

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

17 Jun 12:18
5293ae1
Compare
Choose a tag to compare

Update Fluent to 4.0.0, cleanups (#12)

Upgrade Queues, Fluent and Sql-Kit

31 May 01:18
Compare
Choose a tag to compare

• 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

19 May 12:49
Compare
Choose a tag to compare
  • Improve startup errors handling and reporting. Now we fail (crash) early if something is off.
  • Add missing Foundation imports (#8)
  • Update README to swift-tools-version:5.2
  • Cleanup: remove now useless guard statements, remove unused dbType(#7)

Fix list()

09 May 00:39
Compare
Choose a tag to compare

FluentQueue is now public, allowing to really use the list() custom method (#5)
• Code cleanups