Releases: PropelAuth/javascript
Releases · PropelAuth/javascript
v2.0.3
Switch out XMLHttpRequest for fetch (#10) * Switch out XMLHttpRequest for fetch Also remove/update two tests that were flakey * Update version
v2.0.2
Expose methods to get just the hosted URLs (#9) This makes it easier to set up links. Also added a method for redirecting to the SAML configuration page
v2.0.1
Fall back to not using localStorage if it's unavailable (#8) * Fall back to not using localStorage if it's unavailable * Bump version
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.