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

Version Packages #3519

Merged
merged 1 commit into from
Aug 30, 2024
Merged

Version Packages #3519

merged 1 commit into from
Aug 30, 2024

Conversation

github-actions[bot]
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

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))
    )
    
    Effect.runPromise(Stream.runDrain(stream))
    // Output each millisecond from the first stream, the rest streams are interrupted
    // 0
    // 1
    // 2
    // 3
    // 4
    // 5
  • #3410 e9d0310 Thanks @mikearnaldi! - Avoid automatic propagation of finalizer concurrency, closes Dynamic Scope access causes a memory leak #3440

  • #3410 6bf28f7 Thanks @tim-smart! - add Context.getOrElse api, for gettings a Tag's value with a fallback

Patch Changes

@effect/cli@0.42.0

Patch Changes

@effect/cluster@0.6.0

Patch Changes

@effect/cluster-browser@0.5.0

Patch Changes

@effect/cluster-node@0.6.0

Patch Changes

@effect/cluster-workflow@0.5.0

Patch Changes

@effect/experimental@0.24.0

Patch Changes

@effect/opentelemetry@0.36.0

Patch Changes

@effect/platform@0.63.0

Patch Changes

@effect/platform-browser@0.42.0

Patch Changes

@effect/platform-bun@0.43.0

Patch Changes

@effect/platform-node@0.58.0

Patch Changes

@effect/platform-node-shared@0.13.0

Patch Changes

@effect/printer@0.35.0

Patch Changes

@effect/printer-ansi@0.35.0

Patch Changes

@effect/rpc@0.37.0

Patch Changes

@effect/rpc-http@0.35.0

Patch Changes

@effect/schema@0.72.0

Patch Changes

@effect/sql@0.10.0

Patch Changes

@effect/sql-d1@0.7.0

Patch Changes

@effect/sql-drizzle@0.8.0

Patch Changes

@effect/sql-kysely@0.5.0

Patch Changes

@effect/sql-mssql@0.10.0

Patch Changes

@effect/sql-mysql2@0.10.0

Patch Changes

@effect/sql-pg@0.10.0

Patch Changes

@effect/sql-sqlite-bun@0.10.0

Patch Changes

@effect/sql-sqlite-node@0.10.0

Patch Changes

@effect/sql-sqlite-react-native@0.12.0

Patch Changes

@effect/sql-sqlite-wasm@0.9.0

Patch Changes

@effect/typeclass@0.26.0

Patch Changes

@effect/vitest@0.9.0

Patch Changes

@tim-smart tim-smart merged commit 19a7c96 into main Aug 30, 2024
@tim-smart tim-smart deleted the changeset-release/main branch August 30, 2024 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Dynamic Scope access causes a memory leak
1 participant