All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
3.0.1 (2022-04-16)
- index.js: fix mount point and routing configuration issues (c2a1bb3), closes #3
- password validator: fix bug in password validation routine (2cd3c21), closes #2
3.0.0 (2021-01-02)
- app (new methods):
- SESSION_TOKEN_KEY deprecated in favour of SESSION_SECRET
- AUTH_TOKEN_KEY deprecated in favour of AUTH_TOKEN_SECRET
- PASSWORD_BLACK_LIST deprecated in favour of DISALLOWED_PASSWORDS
- app (src/index.js):
-
express-user-manager.getDbDriver
has been removed. Calls to it will error. -
express-user-manager.getDbAdapter(adapter)
no longer returns a constructor, instead it returns an object. This means the following no longer works:const DataStore = userManager.getDbAdapter(adapter); const store = new DataStore(); // Error: DataStore is not a constructor userManager.set('store', store);
Do this instead:
const store = userManager.getDbAdapter(adapter);
This still performs all the previous initialization steps, but internally.
-
- app (new methods): add new configuration and initialization methods (8e306ef)
- hooks: implement methods to unregister hooks (2590cc2)
- hooks: implement request hooks (445f32a)
- hooks: implement response hooks (a919078)
- routing: implement user data update route (f487bf0)
- app (src/index.js): simplify the API setup (e49c432)
2.1.0 (2020-12-21)
- passwords: allow customization of password length and non-secure passwords list (cf2d977)
- users listing: implement results filtering, pagination, and limit (3309734)
2.0.0 (2020-12-20)
- supported databases: Calls to
express-user-manager.getDbDriver('mysql')
will fail. Passing connection parameters to the constructor returned by the call toexpress-user-manager.getDbDriver()
no longer connects to the database, theconnect()
method must be explicitly called on the instantiated object and passed the connection parameters.express-user-manager.getDbDriver()
is now deprecated and will be removed in an upcoming release, useexpress-user-manager.getDbAdapter()
instead.
- supported databases: add support for more databases (ad39a98)
- databases:adapter:mongoose: fix the getUsers() filtering bug (bfcb508)
1.1.0 (2020-12-19)
- supported database engines: add support for MySQL Database using MySQL2 and Sequelize adapter (f86217b)