Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps-dev): bump @equinor/fusion-observable from 8.1.5 to 8.4.4 #69

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 11, 2025

Bumps @equinor/fusion-observable from 8.1.5 to 8.4.4.

Release notes

Sourced from @​equinor/fusion-observable's releases.

@​equinor/fusion-observable@​8.4.4

Patch Changes

  • 7f4a381 Thanks @​odinr! - added react-dom in dev deps since @testing-library/react hadd peer deps to React 19, which crashed tests
Changelog

Sourced from @​equinor/fusion-observable's changelog.

8.4.4

Patch Changes

  • 7f4a381 Thanks @​odinr! - added react-dom in dev deps since @testing-library/react hadd peer deps to React 19, which crashed tests

8.4.3

Patch Changes

8.4.2

Patch Changes

8.4.1

Patch Changes

8.4.0

Minor Changes

  • #2353 e092f75 Thanks @​odinr! - Added new constructor overloads and a select method to FlowSubject for enhanced state management and selection capabilities.

    The FlowSubject class now supports constructor overloading, allowing for more flexible initialization with either a ReducerWithInitialState<S, A> or a Reducer<S, A> along with an initialState. This change enables users to set up the initial state of their FlowSubject instances in a way that best suits their application's needs.

    Additionally, a new select method has been introduced. This method allows users to select and emit derived states from the FlowSubject's state based on custom logic. The select method takes a selector function for computing the derived state and an optional comparator function for custom comparison logic, making state management more versatile and efficient.

    The selector exposes an shorthand method for selecting derived states from the FlowSubject's state without the need to import and use map and distinctUntilChanged operators from RxJS.

    Consumers should update their code to utilize the new constructor overloads for initializing FlowSubject instances as needed. For advanced state management scenarios, consider using the select method to work with derived states efficiently. These changes are backward compatible and aim to provide more flexibility and functionality to the FlowSubject class.

    /** Example of using the new constructor with a reducer with initial state */
    const reducerWithInitial = createReducer(
        { count: 0 }, // initial state
        (builder) => {
            builder.addCase('increment', (state) => {
                state.count += 1;
            });
            builder.addCase('decrement', (state) => {
                state.count -= 1;
            });
        },

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@equinor/fusion-observable](https://github.com/equinor/fusion-framework/tree/HEAD/packages/utils/observable) from 8.1.5 to 8.4.4.
- [Release notes](https://github.com/equinor/fusion-framework/releases)
- [Changelog](https://github.com/equinor/fusion-framework/blob/main/packages/utils/observable/CHANGELOG.md)
- [Commits](https://github.com/equinor/fusion-framework/commits/@equinor/[email protected]/packages/utils/observable)

---
updated-dependencies:
- dependency-name: "@equinor/fusion-observable"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 11, 2025
Copy link
Author

dependabot bot commented on behalf of github Feb 25, 2025

Superseded by #100.

@dependabot dependabot bot closed this Feb 25, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/equinor/fusion-observable-8.4.4 branch February 25, 2025 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants