Skip to content

Releases: okta/okta-react

6.8.0

05 Apr 15:45
7d26146
Compare
Choose a tag to compare

Other

  • #266 Fixes useEffect double render in React18 StrictMode

6.7.0

29 Sep 18:57
5c810a6
Compare
Choose a tag to compare

Features

  • #248 Adds support for @okta/okta-auth-js 7.x
    • Bumps minimum node version to 14

6.6.0

21 Jul 16:15
5afc5ef
Compare
Choose a tag to compare
  • #239
    • Fixes Two custom restoreOriginalUri callbacks are detected warning, will only fire once on <Security> didMount
    • Fixes react-router v6 routing samples, no longer calls /authorize on page load with valid, active session

6.5.0

10 Jun 14:15
e92e34b
Compare
Choose a tag to compare

Others

  • #233
    • Removes oktaAuth.stop() from <Security>
    • Removes oktaAuth.start() from <LoginCallback> after handleLoginRedirect()
    • Fixes useEffect hook in <Security> - don't watch for restoreOriginalUri prop to perform side effects (start, subscribe, unsubscribe) on oktaAuth
    • Upgrades internal dependencies

6.4.3

24 Feb 22:36
cd517c5
Compare
Choose a tag to compare

Bug Fixes

  • #213
    • Avoids build time error when react-router-dom v6 is in app dependencies
    • Throws unsupported error when SecureRoute is used with react-router-dom v6

6.4.2

28 Jan 21:04
31469df
Compare
Choose a tag to compare

Bug Fixes

  • #199 Fixes okta-auth-js peer dependency error
  • #200 Fixes: Typescript types when using react-router-dom v6 with okta-react
  • #201 Removes process.env reference from the bundles

6.4.1

12 Jan 18:18
564633b
Compare
Choose a tag to compare

Bug Fixes

  • #193 Fixes: Cannot find module 'compare-versions' from '../node_modules/@okta/okta-react/bundles/okta-react.cjs.js'

6.4.0

11 Jan 22:56
57fa309
Compare
Choose a tag to compare

Others

  • #191 Set okta-auth-js minimum supported version as 5.3.1, AuthSdkError will be rendered if oktaAuth instance cannot meet the version requirement

6.3.0

02 Nov 21:48
5f059ef
Compare
Choose a tag to compare

Features

  • #172 Adds errorComponent prop to SecureRoute to handle internal handleLogin related errors

6.2.0

21 Sep 21:40
cc1b33c
Compare
Choose a tag to compare

Other

  • #159 Updates internal dependency