Skip to content

Releases: accounts-js/accounts

v0.28.0

22 Jul 12:28
Compare
Choose a tag to compare

0.28.0 (2020-07-22)

We now support stateless sessions, take a look at the docs to see how to use it https://www.accountsjs.com/docs/server#stateless-session.

Features

Bug Fixes

Miscellaneous Chores

Documentation

Continuous Integration

v0.27.0

04 Jun 14:54
Compare
Choose a tag to compare

0.27.0 (2020-06-04)

⚠ BREAKING CHANGES

  • fix impersonate transports params (#992)

Features

  • add exclusion list to invalidateAllSessions method (#990)

Bug Fixes

  • typeorm: add explicit types to userSession and IP decorator (#994) 6fa9363
  • fix impersonate transports params (#992) 7451514

Continuous Integration

v0.26.0

25 May 14:06
Compare
Choose a tag to compare

0.26.0 (2020-05-25)

Thanks to @huikaihoo you can now customise the JWT payload.
Read more about it in the documentation.

Features

  • graphql-api: ability to extend connection information (#988) 853afaa
  • server: add connection info to RefreshTokensSuccess hook (#987) 956b2c6
  • server: add option to customise JWT payload of accessToken (#984) 31418d2

Bug Fixes

  • mongo: fix deprecation warnings, use updateOne for removeAllResetPasswordTokens (#982) e4f0bb1

Miscellaneous Chores

  • deps: remove dependency request-promise from packages/oauth (#981) 1b4b0d3

Documentation

  • website: add edit button to the website pages (#979) fe2e431
  • website: create server documentation (#985) 728db00
  • website: improve database documentation (#980) d3791bb

v0.25.4

14 May 11:46
Compare
Choose a tag to compare

0.25.4 (2020-05-14)

This release brings performance improvements to Mongo. If you are not using the setupIndexes function on production you should add it.

Features

  • mongo: add index options to the setupIndexes method (#973) 8e057af
  • mongo: add missing indexes to the password service (#974) 766d49c

Documentation

v0.25.3

11 May 16:02
Compare
Choose a tag to compare

0.25.3 (2020-05-11)

Features

  • create User generic to allow better typechecking (#942) 1c3591d
  • graphql-client: load user data after login/registration when using @accounts/graphql-client (#943) 2f0f517
  • oauth: allow to pass additional function to make custom pa… (#920) abb51d5
  • rest-example: improve change password page (#940) 3aadd28

Bug Fixes

  • update me -> getUser in examples/react-graphql-typescript (#941) dda9613

Documentation

  • improve README.md (#963) 8ead02b
  • replace netlify domain to accountsjs.com 82b3821
  • website: add a new "try the examples" section on the homepage (#964) 64f3edd
  • website: add fathom analytics (#965) 22bcffe
  • website: fix documentation build 0cfebd4
  • website: improve responsiveness of the homepage c92a246
  • website: update netlify build to use node 12 3e508ae
  • website: upgrade docusaurus to 2.0.0-alpha.54 2a3c236

Miscellaneous Chores

v0.25.2

11 May 15:57
Compare
Choose a tag to compare

Release failed, please use v0.25.3

v0.25.1

16 Apr 15:56
Compare
Choose a tag to compare

Features

  • client-password: add autologin feature to client-password… (#921) b43b3e7

Bug Fixes

  • graphql-client: fix add email mutation (#934) 6c7ab68
  • graphql-client: reduce bundle size by importing only graphq… (#939) 72d9573

Miscellaneous Chores

v0.25.0

09 Apr 09:44
Compare
Choose a tag to compare

0.25.0 (2020-04-09)

In this new release, we are introducing a new server option named enableAutologin (disabled false by default). It will allow a user to be logged in directly after the account creation. The return type of the createUser mutation changed so make sure your app is not breaking when you upgrade. This new option can't be used with ambiguousErrorMessages for security reasons.

⚠ BREAKING CHANGES

  • add option to automatically login user after registration (#901)

Features

  • password: remove reset password tokens on change password (#931) fcccd93
  • add new useInternalUserObjectSanitizer option (#932) 09b5dde
  • add option to automatically login user after registration (#901) 9a0ec68

Bug Fixes

  • fix user enumeration issue during user sign up (#914) 0d9f7da

Miscellaneous Chores

  • eslint: enable typescript recommended rules (#915) a28f2f7
  • prettier: ignore api doc files 1bcc629
  • add github issue template (#917) b67afc2
  • rest-express: typecheck the password functions (#913) c289672

v0.24.0

04 Mar 13:00
Compare
Choose a tag to compare

0.24.0 (2020-03-04)

Features

  • graphql-api: return user data after "authenticate" request (#894) 2d4f85a
  • password: call validatePassword during the resetPassword flow d926648
  • password: use custom error (#903) 2158d45
  • rest-client: use custom error (#907) 6eadbd8
  • rest-express: return the new error code (#906) e1f47a9
  • server: use custom error (#905) 26df392

Documentation

v0.23.0

18 Feb 15:14
Compare
Choose a tag to compare

0.23.0 (2020-02-18)

⚠ BREAKING CHANGES

  • password: add custom password hashing option (#898)
  • password: password from should always be a string, not P… (#895)
  • fix client password types (#893)

Features

  • password: add custom password hashing option (#898) 20977c7

Bug Fixes

  • apollo-link: fix infinite loop while refreshing the session (#897) 76ff8ab
  • graphql-client: fix empty Authorization header for Hasura (#899) 86fc126
  • fix client password types (#893) 5280bc6

Miscellaneous Chores

  • upgrade to jest 25 (#896) cf43462
  • password: password from should always be a string, not P… (#895) 1c4c6ad

Documentation

  • password: show how to customize password hashing (#900) 9d3d239