Releases: okta/okta-react
Releases · okta/okta-react
6.8.0
Other
- #266 Fixes useEffect double render in React18 StrictMode
6.7.0
Features
- #248 Adds support for
@okta/okta-auth-js
7.x
- Bumps minimum node version to
14
6.6.0
- #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
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
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
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
Bug Fixes
- #193 Fixes: Cannot find module 'compare-versions' from '../node_modules/@okta/okta-react/bundles/okta-react.cjs.js'
6.4.0
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
Features
- #172 Adds
errorComponent
prop to SecureRoute
to handle internal handleLogin
related errors
6.2.0
Other
- #159 Updates internal dependency