Skip to content

Commit 5ad66b1

Browse files
committed
📦 v5.0.0
What's New - 🦄 `async`/`await` API for all public methods - 🚀 Return {*Promise*} from tasks instead of calling `ready()` Major Changes - ⚠️ Drop support for callbacks - ⚠️ Renamed private methods for clarity - ⚠️ Renamed methods of "Adapter" API for clarity - ⚠️ `opts.adapter` now expects instance of the *StorageAdapter*, *was: Class of StorageAdapter* - ⚠️ Moved `opts.prefix` and `opts.resetOnInit` to StorageAdapter's constructor - ⚠️ Moved storage-related options `opts.client`, `opts.db`, and `lockCollectionName` to StorageAdapter's constructor Changes - ✨ New options {object} accepted by `new RedisAdapter({})` - ✨ New options {object} accepted by `new MongoAdapter({})` - 👨‍🔬 Refactored tests for the new async/await API - 👨‍🔬 Refactored Meteor.js test-suite for the new async/await API - 📔 Updated documentation - 📔 Updated custom adapter documentation
1 parent 1765b5d commit 5ad66b1

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ [email protected]
2222
2323
2424
25-
local-test:ostrio:cron-jobs@4.1.0
25+
local-test:ostrio:cron-jobs@5.0.0
2626
2727
2828
meteortesting:[email protected]
@@ -38,7 +38,7 @@ [email protected]
3838
3939
4040
41-
ostrio:cron-jobs@4.1.0
41+
ostrio:cron-jobs@5.0.0
4242
4343
4444

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package.describe({
22
name: 'ostrio:cron-jobs',
3-
version: '4.1.0',
3+
version: '5.0.0',
44
summary: 'Tasks/CRON scheduler and manager for horizontally scaled multi-server apps',
55
git: 'https://github.com/veliovgroup/josk',
66
documentation: 'README.md'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "josk",
3-
"version": "4.1.0",
3+
"version": "5.0.0",
44
"description": "Tasks/CRON scheduler and manager for horizontally scaled multi-server applications",
55
"main": "index.js",
66
"type": "module",

0 commit comments

Comments
 (0)