Skip to content

Releases: open-pioneer/trails-core-packages

@open-pioneer/chakra-integration@2.4.0

05 Dec 15:12
46550b3
Compare
Choose a tag to compare

Patch Changes

@open-pioneer/base-theme@2.4.0

05 Dec 15:12
46550b3
Compare
Choose a tag to compare

Patch Changes

  • 1b63ebe: Update dependencies
  • Updated dependencies [1b63ebe]
    • @open-pioneer/chakra-integration@2.4.0

@open-pioneer/authentication@2.4.0

05 Dec 15:12
46550b3
Compare
Choose a tag to compare

Minor Changes

  • 1ce5f11: Replace change events for auth state with signals from Reactivity API

    Example: watch for updates of the auth state

    const myAuthService = ...
    watch(
        () => [myAuthService.getAuthState()],
        ([state]) => {
            console.log(state);
        },
        {
            immediate: true
        }
    );

    The Auth Service forwards the auth state from the underlying AuthPlugin.
    Therefore, the plugin implementation must use reactive signals when its auth state changes in order to signal changes to the service.

    class DummyPlugin implements AuthPlugin {
        #state = reactive<AuthState>({
            kind: "not-authenticated"
        });
    
        getAuthState(): AuthState {
            return this.#state.value;
        }
    
        $setAuthState(newState: AuthState) {
            this.#state.value = newState;
        }
    }

Patch Changes

  • 1b63ebe: Update dependencies
  • Updated dependencies [1b63ebe]
  • Updated dependencies [e3802fb]
  • Updated dependencies [ac39468]
  • Updated dependencies [e3802fb]
    • @open-pioneer/chakra-integration@2.4.0
    • @open-pioneer/core@2.4.0
    • @open-pioneer/reactivity@2.4.0
    • @open-pioneer/runtime@2.4.0

@open-pioneer/authentication-keycloak@2.4.0

05 Dec 15:12
46550b3
Compare
Choose a tag to compare

Minor Changes

  • 1ce5f11: Replace change events for auth state with signals from Reactivity API

    Example: watch for updates of the auth state

    const myAuthService = ...
    watch(
        () => [myAuthService.getAuthState()],
        ([state]) => {
            console.log(state);
        },
        {
            immediate: true
        }
    );

    The Auth Service forwards the auth state from the underlying AuthPlugin.
    Therefore, the plugin implementation must use reactive signals when its auth state changes in order to signal changes to the service.

    class DummyPlugin implements AuthPlugin {
        #state = reactive<AuthState>({
            kind: "not-authenticated"
        });
    
        getAuthState(): AuthState {
            return this.#state.value;
        }
    
        $setAuthState(newState: AuthState) {
            this.#state.value = newState;
        }
    }

Patch Changes

  • 1b63ebe: Update dependencies
  • Updated dependencies [1ce5f11]
  • Updated dependencies [1b63ebe]
  • Updated dependencies [e3802fb]
  • Updated dependencies [e4ba048]
  • Updated dependencies [ac39468]
  • Updated dependencies [e3802fb]
    • @open-pioneer/authentication@2.4.0
    • @open-pioneer/core@2.4.0
    • @open-pioneer/notifier@2.4.0
    • @open-pioneer/runtime@2.4.0

@open-pioneer/test-utils@2.3.0

21 Oct 11:17
c10a2b7
Compare
Choose a tag to compare

Minor Changes

  • 2fbaaa0: Use normal dependencies instead of peerDependencies. Peer dependencies have some usability issues (and bugs) when used at scale.

Patch Changes

  • Updated dependencies [2fbaaa0]
    • @open-pioneer/runtime-react-support@2.3.0
    • @open-pioneer/chakra-integration@2.3.0

@open-pioneer/runtime@2.3.0

21 Oct 11:17
c10a2b7
Compare
Choose a tag to compare

Minor Changes

  • 2fbaaa0: Use normal dependencies instead of peerDependencies. Peer dependencies have some usability issues (and bugs) when used at scale.

Patch Changes

  • Updated dependencies [2fbaaa0]
    • @open-pioneer/runtime-react-support@2.3.0
    • @open-pioneer/chakra-integration@2.3.0
    • @open-pioneer/base-theme@2.3.0
    • @open-pioneer/core@2.3.0

@open-pioneer/runtime-react-support@2.3.0

21 Oct 11:17
c10a2b7
Compare
Choose a tag to compare

Minor Changes

  • 2fbaaa0: Use normal dependencies instead of peerDependencies. Peer dependencies have some usability issues (and bugs) when used at scale.

@open-pioneer/reactivity@2.3.0

21 Oct 11:17
c10a2b7
Compare
Choose a tag to compare

Minor Changes

  • 2fbaaa0: Use normal dependencies instead of peerDependencies. Peer dependencies have some usability issues (and bugs) when used at scale.

@open-pioneer/react-utils@2.3.0

21 Oct 11:17
c10a2b7
Compare
Choose a tag to compare

Minor Changes

  • 2fbaaa0: Use normal dependencies instead of peerDependencies. Peer dependencies have some usability issues (and bugs) when used at scale.

Patch Changes

  • Updated dependencies [2fbaaa0]
    • @open-pioneer/chakra-integration@2.3.0
    • @open-pioneer/core@2.3.0

@open-pioneer/notifier@2.3.0

21 Oct 11:17
c10a2b7
Compare
Choose a tag to compare

Minor Changes

  • 2fbaaa0: Use normal dependencies instead of peerDependencies. Peer dependencies have some usability issues (and bugs) when used at scale.

Patch Changes

  • Updated dependencies [2fbaaa0]
    • @open-pioneer/chakra-integration@2.3.0
    • @open-pioneer/react-utils@2.3.0
    • @open-pioneer/runtime@2.3.0
    • @open-pioneer/core@2.3.0