Releases: open-pioneer/trails-core-packages
@open-pioneer/[email protected]
Patch Changes
- 39dad46: Switch to a new versioning strategy.
From now on, packages released by this repository share a common version number. - Updated dependencies [39dad46]
- @open-pioneer/[email protected]
- @open-pioneer/[email protected]
@open-pioneer/[email protected]
Patch Changes
- 39dad46: Switch to a new versioning strategy.
From now on, packages released by this repository share a common version number. - Updated dependencies [39dad46]
- @open-pioneer/[email protected]
@open-pioneer/[email protected]
Patch Changes
- 39dad46: Switch to a new versioning strategy.
From now on, packages released by this repository share a common version number. - Updated dependencies [39dad46]
- @open-pioneer/[email protected]
- @open-pioneer/[email protected]
@open-pioneer/[email protected]
Patch Changes
- 39dad46: Switch to a new versioning strategy.
From now on, packages released by this repository share a common version number.
@open-pioneer/[email protected]
Patch Changes
- 39dad46: Switch to a new versioning strategy.
From now on, packages released by this repository share a common version number.
@open-pioneer/[email protected]
Patch Changes
- 39dad46: Switch to a new versioning strategy.
From now on, packages released by this repository share a common version number. - Updated dependencies [39dad46]
- @open-pioneer/[email protected]
@open-pioneer/[email protected]
Minor Changes
-
41f0c6f: Introduce new authentication state
AuthStateAuthenticationError
Error state is supposed to be used for errors that occur during the authentication process (e.g. lost connection to authentication backend) rather than for failed login attempts (e.g. invalid credentials)
ForceAuth
component provides two mechanisms to render a fallback component if an authentication error occurs.errorFallback
option takes an abitrary react component that is rendered in case of an error. The error object can be accessed via the ErrorFallbackPros.<ForceAuth errorFallback={ErrorFallback}> App Content </ForceAuth> function ErrorFallback(props: ErrorFallbackProps) { return ( <> <Box margin={2} color={"red"}>{props.error.message}</Box> </> ); }
If additional inputs or state must be accessed from within the error fallback component the
renderErrorFallback
option should be used.const userName = "user1"; <ForceAuth renderErrorFallback={(e: Error) => ( <> <Box>Could not login {userName}</Box> <Box color={"red"}>{e.message}</Box> </> )}> App Content </ForceAuth>
The
renderErrorFallback
property takes precedence over theerrorFallback
property.
Patch Changes
- 39dad46: Switch to a new versioning strategy.
From now on, packages released by this repository share a common version number. - Updated dependencies [39dad46]
- @open-pioneer/[email protected]
- @open-pioneer/[email protected]
- @open-pioneer/[email protected]
@open-pioneer/[email protected]
Patch Changes
- 41f0c6f: Use error state to communicate keycloak exceptions
- 39dad46: Switch to a new versioning strategy.
From now on, packages released by this repository share a common version number. - Updated dependencies [41f0c6f]
- Updated dependencies [39dad46]
- @open-pioneer/[email protected]
- @open-pioneer/[email protected]
- @open-pioneer/[email protected]
- @open-pioneer/[email protected]
@open-pioneer/[email protected]
Patch Changes
- e0b2fae: Update dependencies
- Updated dependencies [5c62522]
- Updated dependencies [e0b2fae]
- @open-pioneer/[email protected]
- @open-pioneer/[email protected]
@open-pioneer/[email protected]
Patch Changes
- 58ce24f: Export
DECLARE_SERVICE_INTERFACE
as a value instead of a type only.
It was previously necessary to import this symbol viaimport type
to avoid errors during development.
Thetype
keyword can now be omitted. - e0b2fae: Update dependencies
- 6cc7fcd: Allow synchronous
getApiMethods()
when implementing anApiExtension
. - Updated dependencies [5c62522]
- Updated dependencies [50550d3]
- Updated dependencies [e0b2fae]
- @open-pioneer/[email protected]
- @open-pioneer/[email protected]
- @open-pioneer/[email protected]
- @open-pioneer/[email protected]