5.0.2 (2024-12-20)
5.0.1 (2024-12-17)
5.0.0 (2024-12-17)
- drop Node.js < 18.19.0 support
part of eggjs/egg#3644
-
New Features
-
Introduced a new
Boot
class for managing agent lifecycle and scheduling. -
Added
Schedule
andScheduleWorker
classes for managing scheduled tasks. -
Implemented
AllStrategy
andWorkerStrategy
classes for scheduling strategies. -
Added TypeScript support with updated interfaces and types for scheduling functionality.
-
Bug Fixes
-
Updated changelog to reflect a bug fix ensuring schedules execute after the application is ready.
-
Documentation
- Updated
README.md
to reflect package renaming and TypeScript usage. - Enhanced documentation with new sections and improved formatting.
- Updated
-
Chores
-
Removed outdated files and configurations related to previous implementations.
-
Transitioned project to TypeScript with updated configurations and module syntax.
4.0.1 (2024-03-06)
features
- [
66e7aeb
] - 📦 NEW: [BREAKING] Support localStorage to run task (#58) (fengmk2 <[email protected]>)
others
- [
7672269
] - Create codeql-analysis.yml (fengmk2 <[email protected]>) - [
bab8585
] - ci: del appveyor (#57) (killa <[email protected]>)
features
- [
ca8b92b
] - feat: add api for register/unregister schedule (#56) (killa <[email protected]>)
fixes
- [
3a8ef55
] - fix: runSchedule get filePath keep same logic with loader (#55) (mansonchor.github.com <[email protected]>)
others
- [
39f4aad
] - docs: updated README with grammatical and spelling fixes (#54) (Hridayesh Sharma <[email protected]>)
fixes
- [
7ee8cb3
] - fix: only reject/error detect as fail (#53) (TZ | 天猪 <[email protected]>)
others
- [
0425031
] - docs: add module exports for custom schedule in document (#52) (Cheng Ju Wu <[email protected]>) - [
7da04fe
] - chore: Update README.md (#51) (Cheng Ju Wu <[email protected]>) - [
13f03b8
] - chore: Update .travis.yml (#50) (TZ | 天猪 <[email protected]>)
fixes
- [
b6b17b0
] - fix: should use template literal (#49) (Jedmeng <[email protected]>)
fixes
- [
bce393f
] - fix: wrap task should always return promise (#48) (TZ | 天猪 <[email protected]>)
fixes
- [
98a0cf7
] - fix: runSchedule should pass args (#47) (TZ | 天猪 <[email protected]>)
others
- [
77fc7d3
] - docs: fix ctx ref (#46) (祝传鹏 <[email protected]>)
others
- [
0960ff8
] - chore: use relative log path (#45) (TZ | 天猪 <[email protected]>)
features
- [
2c64d3c
] - feat: support custom directory (#43) (TZ <[email protected]>)
features
- [
1aaf2d5
] - feat: support custom directory (#43) (Haoliang Gao <[email protected]>)
fixes
- [
4dbf9d9
] - fix: unit-test in 'schedule.test.js' (#41) (Maledong <[email protected]>)
others
- [
571bf9f
] - doc: Add notice for the evil 'setInterval' (#42) (Maledong <[email protected]>) - [
07e4e23
] - docs: fix example in readme (cwtuan <[email protected]>)
features
- [
417a764
] - feat: supportschedule.env
(#39) (TZ | 天猪 <[email protected]>)
- feat: optimize logger msg (#38)
- chore: fix doctools (#37)
features
- [
2003369
] - feat: egg-schedule.log && support send with args (#35) (TZ | 天猪 <[email protected]>)
fixes
- [
9ff3974
] - fix: use ctx.coreLogger to record schedule log (#34) (Yiyu He <[email protected]>)
features
- [
69a588e
] - feat: run a scheduler only once at startup (#33) (zhennann <[email protected]>)
others
- [
925f1c3
] - refactor: remove old stype strategy support [BREAKING CHANGE] (#29) (TZ | 天猪 <[email protected]>) - [
4cdfa20
] - test: change to extend Subscription (#28) (TZ | 天猪 <[email protected]>)
features
- [
f901df4
] - feat: Strategy interface change to start() (#26) (TZ | 天猪 <[email protected]>) - [
c7816f2
] - feat: support class (#25) (Haoliang Gao <[email protected]>)
others
- [
8797489
] - docs: use subscription (#27) (Haoliang Gao <[email protected]>)
- fix: publish files (#24)
- refactor: classify (#23)
- test: sleep after runSchedule (#22)
- fix: use safe-timers only large than interval && add tests (#21)
- feat: use safe-timers to support large delay (#19)
- docs: fix License url (#20)
- test: fix test on windows (#18)
- chore: upgrade all deps (#17)
- feat: task support async function (#13)
- test: move app.close to afterEach (#12)
- chore: upgrade deps and fix test (#11)
- fix: start schedule after egg-ready (#10)
- feat: export app.schedules (#9)
- doc:fix plugin.js config demo (#8)
- refactor: use FileLoader to load schedule files (#7)
- Revert "Release 1.1.1"
- refactor: use loader.getLoadUnits from egg-core (#6)
- docs: add readme (#5)
- feat: support immediate (#4)
- fix: correct path in ctx (#3)
- fix: use absolute path for store key (#2)
- test: add test cases (#1)
- init