Sourced from croner's releases.
9.0.0
Croner 9.0.0
This major release brings significant changes to Croner, improving consistency, fixing bugs, and modernizing the codebase.
Changes
Bug Fixes:
API Changes:
- The
new
keyword is now mandatory when instantiating Croner (e.g.,new Cron(/* ... */)
).- The default export has been removed. You now need to use
import { Cron } from 'croner';
orconst { Cron } = require('croner');
.File Structure Changes (relevant for direct file access):
- All files in the
/dist
directory are now minified.croner.min.js
has been renamed tocroner.js
.- Typings have been moved from
/types
to/dist
.- Only the
/src
directory is exposed in the jsr module jsr.io/@​hexagon/croner
.Codebase Modernization:
- The entire codebase has been migrated from JavaScript with JSDoc to TypeScript.
- Deno is now used for formatting, type checking, and linting, resulting in a cleaner and more maintainable repository. Esbuild is used to build the npm module and typings.
Upgrade Notice:
Due to the API and file structure changes, upgrading from 8.x to 9.x may require modifications to your existing code. Please review the above changes carefully before migrating.
9.0.0-dev.12
- Test new release workflow
244a439
Merge pull request #263
from Hexagon/dev7e280b5
Bump version to 9.0.0 stablec99144f
Remove CodeQl. Rename dev release workflow.4847b7d
Merge pull request #262
from Hexagon/dev7bfefc4
Fix workflow name020cf92
Bump version.40dabf4
Fix npm release ci. Improve tsdoc. Refactor build script.c45e868
Increase timeoutdf7974a
Re-enable more async tests8304e28
Re-add async tests