Releases: flash-oss/node_acl
v4.2.0
v4.0.0
BREAKING:
- callbacks are not supported any more.
- if you used redis AND user IDs as Numbers, then this is not longer supported. The
userId
can be only string from now on. (Redis module enforcement.) - the "redis" module v4 is the only supported.
- Node.js minimal version is 16.
- the "mongodb" module v5 and v6 supported only.
Commits:
- Merge pull request #19 from flash-oss/ditch-callbacks 654d6d8
- JSDoc improvements 1f304bd
- var->const and let ea5ebdf
- Update README 7210c74
- Remove: "chai" e94064d
- Remove: "bluebird" and "async" modules 49a9bd3
- Refactor: more remove callbacks, stop support of "Number" type as user ID, only strings from now on because redis v4 wants strings 4bf5282
- Refactor: remove callbacks from the code 757f28d
- Refactor get() - remove callback support 87721ff
- Refactor clean(), close(), end() - remove callback support 781da75
- Apply the latest Prettier e9394af
- Upgrade various dev deps 686b348
- Merge pull request #18 from tonila/master 2d96f0a
- new mongodb v5 and v6 driver support 6d6a0b9
- Fix Markdown syntax and fine tune documentation (#13) fa672fe
v3.0.1
mongodb driver v4 support, drop node v10 and MongoDB v3.6 support
MongoDB version support is now >= 4.0
mongodb
driver support support is now v3 and v4 (thanks @harisvsulaiman)
Node v10 is not supported any more. Added Node v16 support though.
No API changes!
Also, redis
driver support hasn't changed, still >= 2
v2.0.1
Removing mongodb and redis as dependencies
No changes at all! v2 is fully compatible with v1.
Since NPM's optionalDependencies
are not at all optional (they are always installed), we have some mongodb
and redis
modules conflicts. The only way to solve it was to remove them as optionalDependencies
.
In addition to acl2
you would need to install mongodb
or redis
manually (if using any of those backends).
So, if using in-memory you need only npm i acl2
.
If using redis
backend please npm i acl2 redis
.
If using MongoDB backend npm i acl2 mongodb
.
Maintenance release with everything upgraded
- Merge pull request #1 from flash-oss/maintenance cc7514f
- Pre publish README.md updates. Unify Redis API with MongoDB one a65d1c0
- Typo in workflow file 47d2137
- Drop node 8 support. f20c2d5
- Improve Actions testing speed 3620f92
- Improve Actions test names 868004a
- Fix up .editorconfig b43a270
- Prepare for publish. Apply other people important contributions. Replace Travis with GH Actions. 9cb3cdc
- Prepare for publish as "acl2" 8dbb280
- Allow either
client
ordb
when creating MongoDBBackend. Remove mongo deprecation warnings 41c95d1 - Modernise code for better stack traces. f1b1445
- v1.0.0. Add prettier, eslint. Upgrade all deps. Move mongodb and redis to optional deps. Make tests debuggable. Fix a number of broken tests. a48c141