Skip to content

Latest commit

 

History

History
128 lines (77 loc) · 4.41 KB

File metadata and controls

128 lines (77 loc) · 4.41 KB

3.0.0 (TBD)

This release simplifies the Stormpath Client API behaviour that was introduced in 2.0.0, the SDK now works in the following way:

  • By default, it will use the OAuth Token strategy, which means that:

    • Login attemps are posted to /oauth/token
    • Local storage is used to store the token.
    • Use ReactStormpath.getAccesToken() to get the access token and attach it to requests, as needed.
    • This strategy with the Client API and with servers that are running our framework integrations, such as Express-Stormpath.
  • We still provide a cookie strategy, allowing you to use cookies to store and send the access token to your server.

For both cases, please see the README and the Upgrade Guide for specific examples of how to use this new version.

2.0.0 (January 13, 2017)

Deprecated Please use 3.0.0 insetad.

This release adds support for the Stormpath Client API, which allows you to authenticate the user directly with Stormpath (authentication does not require extra software in your server). The user receives an access token, which can be used to authorize requests on your server. If you need to authorize requests on your server, you will sill want to use one of our SDKs to make that process simpler.

1.3.4 (January 9, 2017)

Fixes:

  • Fix file system issue with files being referenced inconsistently.
  • Fix onClick handler not being triggered on SocialLoginLink click.
  • Fix issue with http requests erroring on valid request statuses.
  • Fix so that Content-Type is set on all requests.
  • Fix route component swallows errors.

Docs:

  • Improved RegistrationForm field docs.

1.3.3 (November 10, 2016)

Chores:

  • Upgraded packages to their latest versions.

Fixes:

  • Downgraded the history module to version 2.1.2 due to React Router incompatibility.

1.3.2 (November 4, 2016)

Fixes:

  • Fix: Router props inheritance not working in IE <= 10.

1.3.1 (August 22, 2016)

Features:

  • Custom data support.
  • Support for additional LoginForm and RegistrationForm events.

1.3.0 (August 8, 2016)

Fixes:

  • Fix: Login request should use login instead of username field.
  • Fix: Support routes as property to Router.
  • Fix: redirectTo should be unchanged after state change.
  • Fix: Always forward props from components to child elements.
  • Fix: Change the user-agent to have stormpath-sdk-react as a fixed name.
  • Fix: Set withCredentials if the requested domain differs from the one we're.
  • Fix: React unknown prop.

1.2.2 (June 30, 2016)

Fixes:

  • Fix so that login retrieves session data from the /me endpoint instead of the /login endpoint result.

1.2.1 (May 5, 2016)

Fixes:

  • Fix issue with deprecated onEnter replaceState in react-router v2.

1.2.0 (May 5, 2016)

Notes:

  • Updated dependencies to their latest versions. Most notably react to version 15.0.2 and react-router to version 2.4.0.

Fixes:

  • Fix issue with SocialLoginLink redirectUri being named redirectTo.

1.1.2 (Apr 26, 2016)

Features:

  • Redux support.

1.1.1 (Mar 31, 2016)

Fixes:

  • Rebuilt dist files.

1.1.0 (Mar 31, 2016)

Features:

  • Add Router context support (#43)
  • Add support for updating the user profile (#44)
  • Add group support (#47)
  • Add ChangePasswordForm to support changing password (#50)

1.0.0 (Mar 1, 2016)

Features:

  • Change logout request to use POST (#41)
  • Add support for the registration view model (#39)
  • Add support for the login view model (#38)
  • Add support for new error structure (#35)
  • Add X-Stormpath-Agent header to requests (#31)