Skip to content

Releases: PropelAuth/javascript

v2.0.0

17 Nov 20:46
9aa878e
Compare
Choose a tag to compare

Added support for custom roles and permissions. See https://docs.propelauth.com/changelog/upgrade-guide for details of how to upgrade.

v2.0.0-beta.3

10 Nov 10:04
Compare
Choose a tag to compare
v2.0.0-beta.3 Pre-release
Pre-release
Export accessHelper types

v2.0.0-beta.2

10 Nov 09:47
6c45ae4
Compare
Choose a tag to compare
v2.0.0-beta.2 Pre-release
Pre-release

Roles are now customizable in the backend, and this codebase handles that. A user still has a single role, but now we give a list of all roles that role "inherits" from.

The old attribute userRole is renamed userAssignedRole. It's now a straight string instead of an enum.

There are two new attributes to look at:

  • userRoles is a list of all roles that this user "inherits". Instead of checking roles with < and >, you should check for the existence of the role in this list.
  • userPermissions is a list of all permissions this user has. These are the four hardcoded permissions, e.g. SAML, deleting users, etc.

Added accessHelper to AuthenticationInfo, which has four validation functions.

v1.2.5

04 Oct 06:10
Compare
Choose a tag to compare
Add redirecting back to a URL after login/signup if specified

v1.2.4

24 Aug 00:23
Compare
Choose a tag to compare
Debounce token refetches on tab focus + network reconnect

v1.2.3

05 Jul 22:38
Compare
Choose a tag to compare
Rename file OrgHelper

v1.2.2

05 Jul 22:12
Compare
Choose a tag to compare
Added orgHelper and url safe version of org's name

orgHelper provides a nicer abstraction on top of organizations.

We also added a url safe version of the org name for path checking.

v2.0.0-beta.1

04 Mar 09:10
Compare
Choose a tag to compare

Beta release of customizable roles

v1.2.1

04 Mar 09:03
Compare
Choose a tag to compare
Bump version

v1.2.0

16 Jan 23:34
Compare
Choose a tag to compare

Updated user schema and added refetching auth information on online/focus