Releases: PropelAuth/javascript
Releases · PropelAuth/javascript
v2.0.0
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
Export accessHelper types
v2.0.0-beta.2
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
Add redirecting back to a URL after login/signup if specified
v1.2.4
Debounce token refetches on tab focus + network reconnect
v1.2.3
Rename file OrgHelper
v1.2.2
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
Beta release of customizable roles
v1.2.1
Bump version
v1.2.0
Updated user schema and added refetching auth information on online/focus