Releases: accounts-js/accounts
Releases · accounts-js/accounts
@accounts/client@0.33.1
@accounts/client-password@0.32.2
@accounts/client-magic-link@0.1.1
@accounts/boost@0.32.2
@accounts/apollo-link@0.32.1
@accounts/mongo@0.33.4
v0.32.0
0.32.0 (2021-04-21)
⚠ BREAKING CHANGES
- server: Change the option
userObjectSanitizer
parameters.pick
andomit
are removed, if you are relying on them, you can import them from lodash directly. - password: await sendVerificationEmail during user signup (#1113)
Bug Fixes
- mongo: put mongodb types in dependencies (#1085) 35c4c8c
- mongo-session/password: added missing mongodb peer dependency 89c2b83
- typeorm: fix query in findUserByServiceId #1108 (#1109) 2450f33
Tests
Miscellaneous Chores
- Update peer dependencies to the latest version (#1121) d8451e6
- update tslib to 2.1.0 (#1118) 2ed2537
- updating peer dependencies to latest version (#1123) 1edab97
- password: await sendVerificationEmail during user signup (#1113) c9b1b0e
- password: remove lodash dependency (#1106) 88ffb56
- rest-client: remove lodash dependency (#1117) ab3c5b2
- server: remove lodash dependency (#1107) 73b9c84
- server: simplify userObjectSanitizer option (#1116) 6bc702b
- upgrade jest and ts-jest (#1114) 7680a41
v0.31.0
0.31.0 (2021-02-01)
⚠ BREAKING CHANGES
- Drop support for node 8. Minimum node version is node 10.
db.setResetPassword
has been removed from the database interface as it was just an alias todb.setPassword
.
If you are using this method, usesetPassword
instead.
Note: if you are using the typeorm adapter, you also need to call db.removeAllResetPasswordTokens
to keep the same behavior as before.
Features
- graphql-api: custom typings for authenticated-resolver (#1004) 3c2264d
- graphql-client: support graphql ^15.0.0 (#1088) 8419a49
Bug Fixes
- change target to es2018 for server packages (#1100) 68eeaec, closes #1091
- client: invalidate session when stopping impersonation (#1097) 7b65203
- example-typeorm: fix readme link (#1084) 21a2c5e
- graphql-api: add graphql to peerDependencies (#1086) e242169
- graphql-api: update peer dependencies (#1087) 4133b43
- password: update peer dependencies (#1083) 19c2925
- server: fix impersonation token (#1095) 997ca43
Code Refactoring
Documentation
Miscellaneous Chores
v0.30.0
0.30.0 (2020-12-12)
⚠ BREAKING CHANGES
- password: calling
password.sendResetPasswordEmail
will not hide the error anymore if the user is not found whenambiguousErrorMessages
is true, this error will now be hidden by the transport layer (rest-express, graphql).
Only a breaking change if you exposepassword.sendResetPasswordEmail
to your users directly. - password: calling
password.sendVerificationEmail
will not hide the error anymore if the user is not found whenambiguousErrorMessages
is true, this error will now be hidden by the transport layer (rest-express, graphql).
Only a breaking change if you exposepassword. sendVerificationEmail
to your users directly. - The hooks on the server are now awaited. The execution will continue after the hook promise is resolved. (#1068)
Features
- execute server hooks with await (#1068) d6efc69
- upgrade graphql-tools to v7 (#1066) 099fea6
- accounts-client: Add token storage separator option to Client e84e275
Bug Fixes
Continuous Integration
Documentation
- add website to monorepo (#1075) e760e61
- fix an issue in an example of the README for graphql-api 84f480d
- upgrade docusaurus to 2.0.0-alpha.68 (#1074) c7f6e2b
Miscellaneous Chores
- examples: upgrade to create-react-app 4 and react 17 (#1076) 785104f
- password: move
sendResetPasswordEmail
user check to transport 3f02186 - password: move
sendVerificationEmail
user check to transport b6ff028 - add jsx files to prettier 64f4e3d
- two-factor: remove lodash from the dependencies (#1073) e3c3860
- update prettier and eslint (#1072) 20d9dbe
- mongo: remove lodash from the dependencies (#1070) 366f44f
- redis: remove lodash from the dependencies (#1071) dc59fa4
v0.29.0
0.29.0 (2020-08-06)
⚠ BREAKING CHANGES
- apollo-link-accounts: update to use @apollo/client 3. If you still use apollo client 2, do not upgrade this dependency (#1030)
Features
- apollo-link-accounts: update to use @apollo/client 3 (#1030) f884146
- graphql-client: generate ts types from operations (#1027) c22d38a