-
Notifications
You must be signed in to change notification settings - Fork 625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor!: migrate to TypeScript #694
Merged
sheerlox
merged 30 commits into
kelektiv:beta
from
sheerlox:refactor/typescript-migration
Sep 26, 2023
Merged
refactor!: migrate to TypeScript #694
sheerlox
merged 30 commits into
kelektiv:beta
from
sheerlox:refactor/typescript-migration
Sep 26, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sheerlox
force-pushed
the
refactor/typescript-migration
branch
4 times, most recently
from
September 10, 2023 16:30
e533351
to
bb25602
Compare
sheerlox
force-pushed
the
refactor/typescript-migration
branch
from
September 10, 2023 16:39
12d0237
to
8d3423a
Compare
34 tasks
sheerlox
force-pushed
the
refactor/typescript-migration
branch
2 times, most recently
from
September 10, 2023 17:00
4e1e777
to
9591b63
Compare
BREAKING CHANGE: `CronJob`'s constructor no longer accepts an object as its first and only param. Use `CronJob.from(argsObject)` instead. BREAKING CHANGE: removed `cron.job()` method in favor of `new CronJob()` / `CronJob.from()`
sheerlox
force-pushed
the
refactor/typescript-migration
branch
from
September 11, 2023 15:23
eb65983
to
6c6b856
Compare
sheerlox
force-pushed
the
refactor/typescript-migration
branch
from
September 24, 2023 09:10
f82fa43
to
a1dbc5c
Compare
BREAKING CHANGE: callbacks are now called in the order they were registered
sheerlox
force-pushed
the
refactor/typescript-migration
branch
from
September 25, 2023 17:20
8976e81
to
32245e4
Compare
intcreator
reviewed
Sep 26, 2023
1 task
ncb000gt
pushed a commit
that referenced
this pull request
Sep 26, 2023
## [3.0.0-beta.6](v3.0.0-beta.5...v3.0.0-beta.6) (2023-09-26) ### ⚠ Breaking changes * removed `cron.job()` method in favor of `new CronJob(...args)` / `CronJob.from(argsObject)` * removed `cron.time()` method in favor of `new CronTime()` * `CronJob`: constructor no longer accepts an object as its first and only params. Use `CronJob.from(argsObject)` instead. * `CronJob`: callbacks are now called in the order they were registered ### 📦 Code Refactoring * migrate to TypeScript ([#694](#694)) ([97a65e1](97a65e1))
🎉 This PR is included in version 3.0.0-beta.6 🎉 The release is available on: Your semantic-release bot 📦🚀 |
intcreator
approved these changes
Sep 26, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did a quick scan of everything and I think it looks ok. I'll take a more in depth look later
sheerlox
added a commit
that referenced
this pull request
Sep 27, 2023
BREAKING CHANGE: removed `cron.job()` method in favor of `new CronJob(...args)` / `CronJob.from(argsObject)` BREAKING CHANGE: removed `cron.time()` method in favor of `new CronTime()` BREAKING CHANGE: `CronJob`: constructor no longer accepts an object as its first and only params. Use `CronJob.from(argsObject)` instead. BREAKING CHANGE: `CronJob`: callbacks are now called in the order they were registered
sheerlox
added a commit
that referenced
this pull request
Sep 27, 2023
BREAKING CHANGE: removed `cron.job()` method in favor of `new CronJob(...args)` / `CronJob.from(argsObject)` BREAKING CHANGE: removed `cron.time()` method in favor of `new CronTime()` BREAKING CHANGE: `CronJob`: constructor no longer accepts an object as its first and only params. Use `CronJob.from(argsObject)` instead. BREAKING CHANGE: `CronJob`: callbacks are now called in the order they were registered
sheerlox
added a commit
to sheerlox/node-cron
that referenced
this pull request
Sep 27, 2023
BREAKING CHANGE: removed `cron.job()` method in favor of `new CronJob(...args)` / `CronJob.from(argsObject)` BREAKING CHANGE: removed `cron.time()` method in favor of `new CronTime()` BREAKING CHANGE: `CronJob`: constructor no longer accepts an object as its first and only params. Use `CronJob.from(argsObject)` instead. BREAKING CHANGE: `CronJob`: callbacks are now called in the order they were registered
sheerlox
added a commit
to sheerlox/node-cron
that referenced
this pull request
Sep 27, 2023
BREAKING CHANGE: removed `cron.job()` method in favor of `new CronJob(...args)` / `CronJob.from(argsObject)` BREAKING CHANGE: removed `cron.time()` method in favor of `new CronTime()` BREAKING CHANGE: `CronJob`: constructor no longer accepts an object as its first and only params. Use `CronJob.from(argsObject)` instead. BREAKING CHANGE: `CronJob`: callbacks are now called in the order they were registered
sheerlox
added a commit
to sheerlox/node-cron
that referenced
this pull request
Sep 29, 2023
BREAKING CHANGE: removed `cron.job()` method in favor of `new CronJob(...args)` / `CronJob.from(argsObject)` BREAKING CHANGE: removed `cron.time()` method in favor of `new CronTime()` BREAKING CHANGE: `CronJob`: constructor no longer accepts an object as its first and only params. Use `CronJob.from(argsObject)` instead. BREAKING CHANGE: `CronJob`: callbacks are now called in the order they were registered
sheerlox
added a commit
to sheerlox/node-cron
that referenced
this pull request
Sep 29, 2023
BREAKING CHANGE: removed `cron.job()` method in favor of `new CronJob(...args)` / `CronJob.from(argsObject)` BREAKING CHANGE: removed `cron.time()` method in favor of `new CronTime()` BREAKING CHANGE: `CronJob`: constructor no longer accepts an object as its first and only params. Use `CronJob.from(argsObject)` instead. BREAKING CHANGE: `CronJob`: callbacks are now called in the order they were registered
sheerlox
added a commit
to sheerlox/node-cron
that referenced
this pull request
Sep 29, 2023
BREAKING CHANGE: removed `cron.job()` method in favor of `new CronJob(...args)` / `CronJob.from(argsObject)` BREAKING CHANGE: removed `cron.time()` method in favor of `new CronTime()` BREAKING CHANGE: `CronJob`: constructor no longer accepts an object as its first and only params. Use `CronJob.from(argsObject)` instead. BREAKING CHANGE: `CronJob`: callbacks are now called in the order they were registered
sheerlox
added a commit
to sheerlox/node-cron
that referenced
this pull request
Sep 29, 2023
BREAKING CHANGE: removed `cron.job()` method in favor of `new CronJob(...args)` / `CronJob.from(argsObject)` BREAKING CHANGE: removed `cron.time()` method in favor of `new CronTime()` BREAKING CHANGE: `CronJob`: constructor no longer accepts an object as its first and only params. Use `CronJob.from(argsObject)` instead. BREAKING CHANGE: `CronJob`: callbacks are now called in the order they were registered
Merged
sheerlox
added a commit
that referenced
this pull request
Sep 30, 2023
BREAKING CHANGE: removed `cron.job()` method in favor of `new CronJob(...args)` / `CronJob.from(argsObject)` BREAKING CHANGE: removed `cron.time()` method in favor of `new CronTime()` BREAKING CHANGE: `CronJob`: constructor no longer accepts an object as its first and only params. Use `CronJob.from(argsObject)` instead. BREAKING CHANGE: `CronJob`: callbacks are now called in the order they were registered
ncb000gt
pushed a commit
that referenced
this pull request
Sep 30, 2023
## [3.0.0](v2.4.4...v3.0.0) (2023-09-30) ### ⚠ Breaking changes * `utcOffset` parameter no longer accepts a string * `utcOffset` values between -60 and 60 are no longer treated as hours * providing both `timeZone` and `utcOffset` parameters now throws an error * removed `cron.job()` method in favor of `new CronJob(...args)` / `CronJob.from(argsObject)` * removed `cron.time()` method in favor of `new CronTime()` * `CronJob`: constructor no longer accepts an object as its first and only params. Use `CronJob.from(argsObject)` instead. * `CronJob`: callbacks are now called in the order they were registered * return empty array from nextDates when called without argument (#519) * UNIX standard alignments (#667) ### ✨ Features * expose useful types ([737b344](737b344)) * rework utcOffset parameter ([#699](#699)) ([671e933](671e933)) * UNIX standard alignments ([#667](#667)) ([ff615f1](ff615f1)) ### 🐛 Bug Fixes * return empty array from nextDates when called without argument ([#519](#519)) ([c2891ba](c2891ba)) ### 📦 Code Refactoring * migrate to TypeScript ([#694](#694)) ([2d77894](2d77894)) ### 📚 Documentation * **readme:** remove outdated informations ([#695](#695)) ([b5ceaf1](b5ceaf1)) ### 🚨 Tests * update new test for cron standard alignments ([4a406c1](4a406c1)) ### ♻️ Chores * improve GitHub community standards ([#698](#698)) ([6bdef77](6bdef77)) * update contributors list ([dab3d69](dab3d69)) ### 💎 Styles * fix linting issues ([47e665f](47e665f))
sheerlox
added
released
type:refactor
Changes that neither fixes a bug nor adds a feature
and removed
released on @beta
labels
Sep 30, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
!
after the type/scope in the title (see the Conventional Commits standard).Breaking changes
cron.job()
method in favor ofnew CronJob(...args)
/CronJob.from(argsObject)
cron.time()
method in favor ofnew CronTime()
CronJob
: constructor no longer accepts an object as its first and only params. UseCronJob.from(argsObject)
instead.CronJob
: callbacks are now called in the order they were registered