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

chore(deps): bump effect from 3.6.5 to 3.7.0 #489

Merged
merged 1 commit into from
Sep 1, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 1, 2024

Bumps effect from 3.6.5 to 3.7.0.

Release notes

Sourced from effect's releases.

effect@3.7.0

Minor Changes

  • #3410 2f456cc Thanks @​vinassefranche! - preserve Array.modify Array.modifyOption non emptiness

  • #3410 8745e41 Thanks @​patroza! - improve: type Fiber.awaitAll as Exit<A, E>[].

  • #3410 e557838 Thanks @​titouancreach! - New constructor Config.nonEmptyString

  • #3410 d6e7e40 Thanks @​KhraksMamtsov! - preserve Array.replace Array.replaceOption non emptiness

  • #3410 8356321 Thanks @​KhraksMamtsov! - add Effect.bindAll api

    This api allows you to combine Effect.all with Effect.bind. It is useful when you want to concurrently run multiple effects and then combine their results in a Do notation pipeline.

    import { Effect } from "effect"
    const result = Effect.Do.pipe(
    Effect.bind("x", () => Effect.succeed(2)),
    Effect.bindAll(
    ({ x }) => ({
    a: Effect.succeed(x + 1),
    b: Effect.succeed("foo")
    }),
    { concurrency: 2 }
    )
    )
    assert.deepStrictEqual(Effect.runSync(result), {
    x: 2,
    a: 3,
    b: "foo"
    })

  • #3410 192f2eb Thanks @​tim-smart! - add propagateInterruption option to Fiber{Handle,Set,Map}

    This option will send any external interrupts to the .join result.

  • #3410 718cb70 Thanks @​dilame! - feat(Stream): implement race operator, which accepts two upstreams and returns a stream that mirrors the first upstream to emit an item and interrupts the other upstream.

    import { Stream, Schedule, Console, Effect } from "effect"
    const stream = Stream.fromSchedule(Schedule.spaced("2 millis")).pipe(
    Stream.race(Stream.fromSchedule(Schedule.spaced("1 millis"))),
    Stream.take(6),
    Stream.tap((n) => Console.log(n))

... (truncated)

Changelog

Sourced from effect's changelog.

3.7.0

Minor Changes

  • #3410 2f456cc Thanks @​vinassefranche! - preserve Array.modify Array.modifyOption non emptiness

  • #3410 8745e41 Thanks @​patroza! - improve: type Fiber.awaitAll as Exit[].

  • #3410 e557838 Thanks @​titouancreach! - New constructor Config.nonEmptyString

  • #3410 d6e7e40 Thanks @​KhraksMamtsov! - preserve Array.replace Array.replaceOption non emptiness

  • #3410 8356321 Thanks @​KhraksMamtsov! - add Effect.bindAll api

    This api allows you to combine Effect.all with Effect.bind. It is useful when you want to concurrently run multiple effects and then combine their results in a Do notation pipeline.

    import { Effect } from "effect"
    const result = Effect.Do.pipe(
    Effect.bind("x", () => Effect.succeed(2)),
    Effect.bindAll(
    ({ x }) => ({
    a: Effect.succeed(x + 1),
    b: Effect.succeed("foo")
    }),
    { concurrency: 2 }
    )
    )
    assert.deepStrictEqual(Effect.runSync(result), {
    x: 2,
    a: 3,
    b: "foo"
    })

  • #3410 192f2eb Thanks @​tim-smart! - add propagateInterruption option to Fiber{Handle,Set,Map}

    This option will send any external interrupts to the .join result.

  • #3410 718cb70 Thanks @​dilame! - feat(Stream): implement race operator, which accepts two upstreams and returns a stream that mirrors the first upstream to emit an item and interrupts the other upstream.

    import { Stream, Schedule, Console, Effect } from "effect"
    const stream = Stream.fromSchedule(Schedule.spaced("2 millis")).pipe(
    Stream.race(Stream.fromSchedule(Schedule.spaced("1 millis"))),
    Stream.take(6),

... (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 [effect](https://github.com/Effect-TS/effect/tree/HEAD/packages/effect) from 3.6.5 to 3.7.0.
- [Release notes](https://github.com/Effect-TS/effect/releases)
- [Changelog](https://github.com/Effect-TS/effect/blob/main/packages/effect/CHANGELOG.md)
- [Commits](https://github.com/Effect-TS/effect/commits/effect@3.7.0/packages/effect)

---
updated-dependencies:
- dependency-name: effect
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 1, 2024
@github-actions github-actions bot merged commit de99c78 into main Sep 1, 2024
3 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/effect-3.7.0 branch September 1, 2024 06:29
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