All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
4.0.0 (2022-07-13)
- use the new
add(payload, options)
signature.
If you are using the hashKey
param of add
method, please migrate your code
to pass it as an optional param. Example:
- queue.add(payload, 'id');
+ queue.add(payload, { hashKey: 'id' })
or a more generic example,
- queue.add(payload, hashKey);
+ queue.add(payload, { hashKey })
- drop support for Node 12.x
NodeJS isn't giving active maintenance on these versions anymore: https://nodejs.org/en/about/releases/ The EOL on this version was 2022-04-30.
- remove legacy
add
method signature (635bba1)
- drop support for NodeJS 12.x (c50909f)
3.1.0 (2022-07-13)
- allow delay param to add method (6b86dac)
3.0.0 (2022-01-19)
- it is hard to support both versions (3.x and 4.x) of native driver on the same branch because 4.x has native types definitions and they diverge from the ones provided by @types/mongodb.
This means that this version might still be compatible with previous versions of mongodb native driver (3.6.x and 3.7.x), but we aren't testing them due to typescript mismatch.
Please open an issue and we will try to support your use case.
- add [email protected] support (3e37498)
2.0.0 (2022-01-17)
- drop support for Node 13.x and 15.x
NodeJS isn't giving active maintenance on these versions anymore: https://nodejs.org/en/about/releases/
- add official support to node@16 (4b6ab7d)
- add types to peerDeps (optional) (a981e3e)
- use returnDocument instead of returnOriginal (9fe1521)
- drop support for NodeJS 13.x and 15.x (02aced2)
1.4.3 (2021-04-02)
1.4.2 (2021-04-02)
- deps: [security] bump ini from 1.3.5 to 1.3.8 (ebcd446)
1.4.1 (2020-07-09)
1.4.0 (2020-07-09)
1.3.2 (2020-05-23)
1.3.1 (2020-03-21)
1.3.0 (2020-03-21)
- support duplicate message check (f38a35b)
1.2.0 (2020-03-21)
- better typescript support for payload (035164f)
1.1.4 (2020-03-10)
- types for the payload (97d8311)
1.1.3 (2020-03-10)
1.1.2 (2020-03-10)
- date fields in DB (b4d60ad)
1.1.1 (2020-03-10)
- date fields in DB (b4d60ad)
1.1.0 (2020-02-28)
- allow passing type of payload (0b2271f)
1.0.1 (2020-02-28)
- types on Message were incorrect (c15682f)
1.0.0 (2020-02-28)
- first draft for mongodb-queue with types (a9f608a)