Skip to content

Commit c88306b

Browse files
committed
docs: update changelog
Signed-off-by: Yani Kolev <yani.kolev@tngtech.com>
1 parent 4b3a507 commit c88306b

1 file changed

Lines changed: 35 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 35 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,49 +3,73 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## v2.4.0 (2025-04-04)
7+
8+
- Feat: Recover from MongoDB errors during job execution by stopping and restarting the job after
9+
`timeout` ([#859](https://github.com/TNG/momo-scheduler/issues/859)). In order to make use of this feature, you must
10+
set the `timeout` when defining your job.
11+
- Chore: Dependency updates
12+
613
## v2.3.0 (2024-10-18)
14+
715
- Feat: Add option to pass MongoClientOptions to momo ([#857](https://github.com/TNG/momo-scheduler/issues/857))
816
- Feat: Add index for scheduleId column ([#839](https://github.com/TNG/momo-scheduler/issues/839))
917
- Chore: Dependency updates
1018

1119
## v2.2.0 (2024-09-13)
20+
1221
- Chore: Dependency updates
1322

1423
## v2.1.1 (2024-07-22)
24+
1525
- Chore: Dependency updates
1626

1727
## v2.1.0 (2024-02-16)
18-
- Feat: handle improper error objects (like null, undefined ...) returned from jobs gracefully ([#720](https://github.com/TNG/momo-scheduler/issues/720))
28+
29+
- Feat: handle improper error objects (like null, undefined ...) returned from jobs
30+
gracefully ([#720](https://github.com/TNG/momo-scheduler/issues/720))
1931

2032
## v2.0.4 (2023-12-01)
21-
- Fix: maxRunning is now always respected, also for longer running jobs ([#706](https://github.com/TNG/momo-scheduler/issues/706))
33+
34+
- Fix: maxRunning is now always respected, also for longer running
35+
jobs ([#706](https://github.com/TNG/momo-scheduler/issues/706))
2236

2337
## v2.0.3 (2023-10-20)
38+
2439
- Fix: remove error spam when checking for active schedules ([#624](https://github.com/TNG/momo-scheduler/issues/624))
2540

2641
## v2.0.2 (2023-09-15)
27-
- Fix: prevent a race condition when starting jobs ([#603](https://github.com/TNG/momo-scheduler/issues/603) and [#604](https://github.com/TNG/momo-scheduler/issues/604))
42+
43+
- Fix: prevent a race condition when starting jobs ([#603](https://github.com/TNG/momo-scheduler/issues/603)
44+
and [#604](https://github.com/TNG/momo-scheduler/issues/604))
2845
- Chore: add [mongodb](https://www.npmjs.com/package/mongodb) v6 support
2946

3047
## v2.0.1 (2023-06-12)
31-
- Fix: fixed [CVE](https://github.com/advisories/GHSA-6w63-h3fj-q4vw) in [fast-xml-parser](https://www.npmjs.com/package/fast-xml-parser)
48+
49+
- Fix: fixed [CVE](https://github.com/advisories/GHSA-6w63-h3fj-q4vw)
50+
in [fast-xml-parser](https://www.npmjs.com/package/fast-xml-parser)
3251

3352
## v2.0.0 (2023-05-12)
53+
3454
- Feature: only one schedule with a given name can be active at the same time
35-
- if an instance stops running, a different instance will take over the job scheduling
55+
- if an instance stops running, a different instance will take over the job scheduling
3656
- Fix: Fixed the usage to mongo collection prefixes
3757
- Breaking: dropped Node 14 support (still works with node 14 though)
3858
- Breaking: Removed `executions` collection and use `schedules` collection
3959
- Breaking: Schedules need a name now
4060
- Breaking: Removed `startJob`, `stopJob`, `cancelJob`, and `removeJob` from the schedule
4161

4262
## v1.1.1 (2023-01-11)
43-
- Fix: Dependency upgrades (fix [CVE-2023-22467](https://github.com/moment/luxon/security/advisories/GHSA-3xq5-wjfh-ppjc))
63+
64+
- Fix: Dependency upgrades (
65+
fix [CVE-2023-22467](https://github.com/moment/luxon/security/advisories/GHSA-3xq5-wjfh-ppjc))
4466

4567
## v1.1.0 (2022-09-29)
68+
4669
- Feature: jobs can receive parameters ([#405](https://github.com/TNG/momo-scheduler/issues/405))
4770

4871
## v1.0.0 (2022-07-11)
72+
4973
- Feature: `interval` can be given as a number or in human-readable format
5074
- Feature: `firstRunAfter` can be given as a number or in human-readable format
5175
- Feature: support cron jobs in addition to interval jobs
@@ -54,21 +78,25 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
5478
- Breaking: Removed `MomoJobBuilder::withFirstRunAfter`; now part of `MomoJobBuilder::withSchedule`
5579

5680
## v0.4.1 (2021-11-02)
81+
5782
- Fix: catch exceptions thrown by momo's internal ping
5883

5984
## v0.4.0 (2021-10-07)
85+
6086
- Feature: schedule a job to run with delay (option `firstRunAfter`)
6187
- Feature: offer configuration for a prefix of all used collections (`collectionsPrefix`)
6288
- Feature: the ping interval that momo instances need to keep their executions valid is now configurable
6389
- Breaking: `immediate` was removed; instead, set `firstRunAfter` to `0` for immediate execution
6490
- Breaking: dropped Node 10 support
6591

6692
## v0.3.0 (2021-09-29)
93+
6794
- Feature: compatibility with mongodb v4 (removed typeorm dependency)
6895
- Breaking: moved utility functions into classes
6996
- `check` and `clear` are now part of the `Schedule`
7097

7198
## v0.2.0 (2021-07-16)
99+
72100
- Feature: builder pattern for schedules and jobs
73101
- Fix: remove stale executions from db
74102
- Fix: fix removal of all jobs from the schedule
@@ -77,4 +105,5 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
77105
- Breaking: API to list jobs or get a single job now return job descriptions instead of the job itself
78106

79107
## v0.1.0 (2021-07-05)
108+
80109
- initial release

0 commit comments

Comments
 (0)