Skip to content

Tags: veliovgroup/josk

Tags

5.0.0

Toggle 5.0.0's commit message

Verified

This commit was signed with the committer’s verified signature.
dr-dimitru dr.dimitru
📦 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

4.1.0

Toggle 4.1.0's commit message

Verified

This commit was signed with the committer’s verified signature.
dr-dimitru dr.dimitru
📦 v4.1.0

What's new

- ✨ Added async `.ping()` method

4.0.0

Toggle 4.0.0's commit message

Verified

This commit was signed with the committer’s verified signature.
dr-dimitru dr.dimitru
📦 v4.0.0

Major Changes

- ⚠️ New way to `import` and `require` the package `import { JoSk, RedisAdapter, MongoAdapter } from 'josk';`
- ⚠️ Decouple from storage, requires changes in options passed to constructor `new JoSk({})`
- 🟥 Added support for Redis as adapter 🥳
- 🍃 MongoDB as optional adapter 🥳

Changes

- 🟥 Added support for Redis, well tested with Redis.io and KeyDB
- 👨‍💻 Decoupled storage from main codebase
- ✨ Support for custom storage adapters
- ✨ `opts.adapter` {*RedisAdapter*|*MongoAdapter*}
- ✨ `opts.client` {*RedisClient*}
- 👨‍🔬 Added tests for Redis
- 👨‍🔬 Added tests for Redis within Meteor.js
- 📔 Updated documentation
- 📔 Created documentation for custom adapter

Dev Dependencies

- 📦 `chai@5.1.0`, *was `v4.4.1`*
- 📦 `mocha@10.4.0`, *was `v10.3.0`*
- 📦 Added `redis@4.6.13`

3.1.1

Toggle 3.1.1's commit message

Verified

This commit was signed with the committer’s verified signature.
dr-dimitru dr.dimitru
☄️ v3.1.1

Version bump to match NPM version release that now supports CommonJS and ESM import/export, see #16

3.1.0

Toggle 3.1.0's commit message

Verified

This commit was signed with the committer’s verified signature.
dr-dimitru dr.dimitru
📔 Documentation update

Update ToC linking new examples

3.0.2

Toggle 3.0.2's commit message

Verified

This commit was signed with the committer’s verified signature.
dr-dimitru dr.dimitru
Update .versions

3.0.1

Toggle 3.0.1's commit message

Verified

This commit was signed with the committer’s verified signature.
dr-dimitru dr.dimitru
📦 v3.0.1

- 👨‍💻 Make sure call-check-loop spins even on rare MongoDB errors
- 🤝 Support `meteor@2.7.3`

__Dependencies__:
- 📦 `[dev]` `bson@4.6.4`, *was `v4.6.3`*
- 📦 `[dev]` `mongodb@4.7.0`, *was `v4.6.0`*

3.0.0

Toggle 3.0.0's commit message

Verified

This commit was signed with the committer’s verified signature.
dr-dimitru dr.dimitru
📦 v3.0.0 (meteor.js)

📦 v3.0.0

__New features:__

- ✨ `opts.lockCollectionName` — `new JoSk()` constructor option
- ✨ `opts.debug` — `new JoSk()` constructor option
- 👨‍💻 `ready()` — Function passed as an argument to a scheduled task now accepts a callback
- 👨‍💻 `JoSk#clearTimeout()` and `JoSk#clearInterval()` — Methods now accept callback as a last argument

__Major changes:__

- 👷‍♂️ Now all JoSk instances share the same `*.lock` collection, this behavior can get changed using `opts.lockCollectionName` constructor option

__Other changes:__

- 📔 Add examples for CRON instructions usage
- 👨‍🔬 Improve test-cases coverage to 97%
- 👨‍💻 Overall codebase refactoring and performance improvements
- 🤝 Compatibility and support of `mongod@5.0.8` (*Mongo Database*)
- 🤝 Compatibility and support of `mongodb@4.6.0` (*MongoDB node.js driver*)
- 🤝 Compatibility ans support of `meteor@2.7.1`

__Dependencies:__

- 📦 `[dev]` `mongodb@4.6.0`, *was `v4.5.0`*
- 📦 `[dev]` added `cron-parser@4.4.0` for CRON tasks tests

2.4.1

Toggle 2.4.1's commit message

Verified

This commit was signed with the committer’s verified signature.
dr-dimitru dr.dimitru
📦 v2.6.1 (meteor.js/atmosphere.js)

2.4.0

Toggle 2.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #6 from veliovgroup/dependabot/npm_and_yarn/ini-1.3.7

Bump ini from 1.3.5 to 1.3.7