Releases: folio-org/stripes-core
Releases · folio-org/stripes-core
v10.2.4
- Show a "you have logged out" message after logging out instead of redirecting to login. Refs STCOR-882.
- If discovery requests fail on return from SAML/OIDC, show the error instead of redirecting to login. Refs STCOR-902.
- Use the
users-keycloak/_self
endpoint conditionally when theusers-keycloak
interface is present; otherwise, usebl-users/_self
withinuseUserTenantPermissions
. Refs STCOR-905. - Don't override initial discovery and okapi data in test mocks. Refs STCOR-913.
<Logout>
must consumeQueryClient
in order to supply it tologinServices::logout()
. Refs STCOR-906.- On resuming session, spread session and
_self
together to preserve session values. Refs STCOR-912.
v10.1.4
v10.2.3
v10.2.2
v10.2.1
v10.1.2
v10.2.0 Ramsons
- Utilize the
tenant
procured through the SSO login process. Refs STCOR-769. - Remove tag-based selectors from Login, ResetPassword, Forgot UserName/Password form CSS. Refs STCOR-712.
- Provide
useUserTenantPermissions
hook. Refs STCOR-830. - Load DayJS locale data as part of
loginServices
. STCOR-771. - Turn on
<StrictMode>
; ignore it withstripes.config.js
disableStrictMode: true
. Refs STCOR-841. - Make branding optional. Refs STCOR-847.
- Idle-session timeout and "Keep working?" modal. Refs STCOR-776.
- Implement password validation for Login Page. Refs STCOR-741.
- Avoid deprecated
defaultProps
for functional components. Refs STCOR-844.. - Update session data with values from
_self
request on reload. Refs STCOR-846. - Avoid deprecated
getChildContext
. Refs STCOR-842. - Read locale from stripes-config before defaulting to
en-US
. Refs STCOR-851. - Use keycloak URLs in place of users-bl for tenant-switch. Refs US1153537.
- Fix 404 error page when logging in after changing password in Eureka. Refs STCOR-845.
- Always retrieve
clientId
andtenant
values fromconfig.tenantOptions
in stripes.config.js. Retiresokapi.tenant
,okapi.clientId
, andconfig.isSingleTenant
. Refs STCOR-787. - List UI apps in "Applications/modules/interfaces" column. STCOR-773
- Correctly evaluate
stripes.okapi
before rendering<RootWithIntl>
. Refs STCOR-864. /users-keycloak/_self
is an authentication request. Refs STCOR-866.- Terminate the session when the fixed-length session expires. Refs STCOR-862.
- Ensure support for the passed
tenantId
value byuseChunkedCQLFetch
for manipulations in the context of a specific tenant. Refs STCOR-873. - Provide
key
to elements in<SessionEventContainer>
. Refs STCOR-874. - Correctly populate
stripes.user.user
on reload. Refs STCOR-860. - Correctly evaluate
stripes.okapi
before rendering<RootWithIntl>
. Refs STCOR-864. - Change main navigation's skip link label to "Skip to main content". Refs STCOR-863.
- Invalidate
QueryClient
cache on login/logout. Refs STCOR-832. - Ensure support for the passed
tenantId
value byuseChunkedCQLFetch
for manipulations in the context of a specific tenant. Refs STCOR-873. - When re-authenticating after logout timeout, return to previous location. Refs STCOR-849.
- Add
nl
(Dutch, Flemish) to the supported locales. Refs STCOR-878. - Include optional okapi interfaces,
consortia
,roles
,users-keycloak
. Refs STCOR-889. - useUserTenantPermissions hook - provide
isFetched
property. Refs STCOR-890. - Reword error message "Error: server is forbidden, unreachable or down. VPN issue?". Refs STCOR-893.
- Move session timeout banner to the bottom of the page. Refs STCOR-883.
v10.1.1
v10.1.0 Quesnelia
- Provide optional tenant argument to
useOkapiKy
hook. Refs STCOR-747. - Avoid private path when import
validateUser
function. Refs STCOR-749. - Ensure
<AppIcon>
is not cut off when app name is long. Refs STCOR-752. - Allow console to be preserved on logout. STCOR-761.
- Export
unregisterServiceWorker
to eliminate zombie service workers. Refs FOLIO-3627. - Fix duplicated "FOLIO" in document title in some cases. Refs STCOR-767.
- Refactor away from
color()
function. Refs STCOR-768. - Export
getEventHandler
to be able to create events in other modules. Refs STCOR-770. - Opt-in: handle access-control via cookies. Refs STCOR-671.
- Opt-in: disable login when cookies are disabled. Refs STCOR-762.
- Add arial-label for
ProfileDropdown.js
. Refs STCOR-753. - Upgrade, configure stylelint. Refs STCOR-799.
- Move
localforage.clear()
toafterEach
for test suite. Refs STCOR-801. - Show app/record when you have permission for that. Refs STCOR-800.
- Convert
<SSOLanding />
tests to jest. STCOR-798. - Avoid calling
map
onundefined
via optional-chaining. Refs STCOR-793. - Make
<Settings>
a functional component. Update connected modules whenstripes
object changes. Fixes STCOR-797. useOkapiKy
uses || instead of ?? to apply current tenant id when override was not provided. Refs STCOR-814.- Correctly parse
.../_self
permissions object. Refs STCOR-813. - Add
idName
andlimit
as passable props touseChunkedCQLFetch
. Refs STCOR-821. - Check for valid token before rotating during XHR send. Refs STCOR-817.
- Remove
autoComplete
from<ForgotPassword>
,<ForgotUsername>
fields. Refs STCOR-742.