Skip to content

v3.0.0

Compare
Choose a tag to compare
@dr-dimitru dr-dimitru released this 13 May 04:35
· 85 commits to master since this release
51ff340

πŸ“¦ v3.0.0

Now β˜„οΈ meteor and πŸ“¦ NPM follow the same versioning pattern. In this release we have added couple of new features and improved existing codebase.

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, see CRON usage example
  • πŸ‘¨β€πŸ’» 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