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

fix(deps): update dependency xstate to ^4.37.1 for gatsby-source-filesystem #37872

Merged
merged 4 commits into from Apr 12, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 1, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
xstate (source) ^4.35.3 -> ^4.37.1 age adoption passing confidence

Release Notes

statelyai/xstate

v4.37.1

Compare Source

Patch Changes

v4.37.0

Compare Source

Minor Changes
  • #​3835 431472082 Thanks @​with-heart! - The new TagsFrom helper type extracts the type of tags from a state machine when typegen is enabled:

    const machine = createMachine({
      // `tags` attached to machine via typegen
      tsTypes: {} as import('./machine.typegen').Typegen0,
      tags: ['a', 'b'],
      states: {
        idle: { tags: 'c' }
      }
    });
    
    type Tags = TagsFrom<typeof machine>; // 'a' | 'b' | 'c'

    If typegen is not enabled, TagsFrom returns string:

    const machine = createMachine({
      tags: ['a', 'b'],
      states: {
        idle: { tags: 'c' }
      }
    });
    
    type Tags = TagsFrom<typeof machine>; // string
Patch Changes

v4.36.0

Compare Source

Minor Changes
  • #​3393 430986cdf Thanks @​davidkpiano! - Deprecated send() action creator. Instead of that, you can use sendTo() to send events to other actors and raise() to send events to the "self" actor.

  • #​3802 8743ad0bd Thanks @​Andarist! - Fixed a class of inference problems for our builtin actions (assign, sendTo, etc).

  • #​3694 fd589055b Thanks @​Andarist! - All actions received a new generic: TExpressionEvent. To type things more correctly and allow TS to infer things better we need to distinguish between all events accepted by a machine (TEvent) and the event type that actions are "called" with (TExpressionEvent).

    It's best to rely on type inference so you shouldn't have to specify this generic manually all over the place.

Patch Changes
  • #​3818 2d8d84fd8 Thanks @​Andarist! - Fixed inference for assign using PropertyAssigner, like here:

    actions: assign({
      counter: 0,
      delta: (ctx, ev) => ev.delta
    });

Configuration

📅 Schedule: Branch creation - "before 7am on the first day of the month" in timezone GMT, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the topic: automation Related to Circle CI, Peril, Renovate, scripts/*, Github Workflows, Github Actions, or Slackbot label Apr 1, 2023
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Apr 1, 2023
@renovate
Copy link
Contributor Author

renovate bot commented Apr 3, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@LekoArts LekoArts removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Apr 6, 2023
@LekoArts LekoArts merged commit 579fe1e into master Apr 12, 2023
29 of 31 checks passed
@LekoArts LekoArts deleted the renovate/gatsby-source-filesystem-prod-minor branch April 12, 2023 06:33
mwfrost pushed a commit to mwfrost/gatsby that referenced this pull request Apr 20, 2023
…system (gatsbyjs#37872)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lennart <lekoarts@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: automation Related to Circle CI, Peril, Renovate, scripts/*, Github Workflows, Github Actions, or Slackbot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant