Skip to content

Releases: PropelAuth/javascript

v2.0.3

26 Feb 03:27
009ff4d

Choose a tag to compare

Switch out XMLHttpRequest for fetch (#10)

* Switch out XMLHttpRequest for fetch

Also remove/update two tests that were flakey

* Update version

v2.0.2

24 Feb 21:03
c794b70

Choose a tag to compare

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

16 Feb 17:03
f14d458

Choose a tag to compare

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

17 Nov 20:46
9aa878e

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

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

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

Choose a tag to compare

Add redirecting back to a URL after login/signup if specified

v1.2.4

24 Aug 00:23

Choose a tag to compare

Debounce token refetches on tab focus + network reconnect

v1.2.3

05 Jul 22:38

Choose a tag to compare

Rename file OrgHelper

v1.2.2

05 Jul 22:12

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.