Skip to content

Latest commit

 

History

History
172 lines (105 loc) · 5.89 KB

CHANGELOG.md

File metadata and controls

172 lines (105 loc) · 5.89 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

4.0.0 (2022-07-13)

⚠ BREAKING CHANGES

  • 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.

Features

  • remove legacy add method signature (635bba1)

Bug Fixes

  • drop support for NodeJS 12.x (c50909f)

3.1.0 (2022-07-13)

Features

  • allow delay param to add method (6b86dac)

3.0.0 (2022-01-19)

⚠ BREAKING CHANGES

  • 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.

Features

2.0.0 (2022-01-17)

⚠ BREAKING CHANGES

  • 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/

Features

  • add official support to node@16 (4b6ab7d)
  • add types to peerDeps (optional) (a981e3e)
  • use returnDocument instead of returnOriginal (9fe1521)

Bug Fixes

  • drop support for NodeJS 13.x and 15.x (02aced2)

1.4.3 (2021-04-02)

1.4.2 (2021-04-02)

Bug Fixes

  • 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)

Features

  • throw when add/get returns unexpected data (370d786)
  • types: payload as unknown (2fc7d74)

1.3.2 (2020-05-23)

1.3.1 (2020-03-21)

1.3.0 (2020-03-21)

Features

  • support duplicate message check (f38a35b)

1.2.0 (2020-03-21)

Features

  • better typescript support for payload (035164f)

1.1.4 (2020-03-10)

Bug Fixes

1.1.3 (2020-03-10)

1.1.2 (2020-03-10)

Bug Fixes

1.1.1 (2020-03-10)

Bug Fixes

1.1.0 (2020-02-28)

Features

  • allow passing type of payload (0b2271f)

1.0.1 (2020-02-28)

Bug Fixes

  • types on Message were incorrect (c15682f)

1.0.0 (2020-02-28)

Features

  • first draft for mongodb-queue with types (a9f608a)