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

Bump the effect group with 3 updates #148

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 16, 2024

Bumps the effect group with 3 updates: @effect/platform, @effect/schema and effect.

Updates @effect/platform from 0.48.29 to 0.49.0

Release notes

Sourced from @​effect/platform's releases.

@​effect/platform@​0.49.0

Minor Changes

  • #2207 cf69f46 Thanks @​github-actions! - make Http.middleware.withTracerDisabledWhen a Layer api

    And add Http.middleware.withTracerDisabledWhenEffect to operate on Effect's.

    Usage is now:

    import * as Http from "@effect/platform/HttpServer";
    Http.router.empty.pipe(
    Http.router.get("/health"),
    Http.server.serve(),
    Http.middleware.withTracerDisabledWhen(
    (request) => request.url === "/no-tracing",
    ),
    );

  • #2207 aa4a3b5 Thanks @​github-actions! - Swap type parameters in /platform data types

    A codemod has been released to make migration easier:

    npx @effect/codemod platform-0.49 src/**/*
    
  • #2207 6c6087a Thanks @​github-actions! - rename auto-scoped ClientResponse apis from _Effect to _Scoped

  • #2207 5a2314b Thanks @​github-actions! - replace use of unit terminology with void

    For all the data types.

    Effect.unit; // => Effect.void
    Stream.unit; // => Stream.void
    // etc

  • #2207 6c6087a Thanks @​github-actions! - move fetch options to a FiberRef

    This change makes adjusting options to fetch more composable. You can now do:

    import { pipe } from "effect";
    import * as Http from "@effect/platform/HttpClient";
    pipe(
    Http.request.get("https://example.com"),

... (truncated)

Changelog

Sourced from @​effect/platform's changelog.

0.49.0

Minor Changes

  • #2207 cf69f46 Thanks @​github-actions! - make Http.middleware.withTracerDisabledWhen a Layer api

    And add Http.middleware.withTracerDisabledWhenEffect to operate on Effect's.

    Usage is now:

    import * as Http from "@effect/platform/HttpServer";
    Http.router.empty.pipe(
    Http.router.get("/health"),
    Http.server.serve(),
    Http.middleware.withTracerDisabledWhen(
    (request) => request.url === "/no-tracing",
    ),
    );

  • #2207 aa4a3b5 Thanks @​github-actions! - Swap type parameters in /platform data types

    A codemod has been released to make migration easier:

    npx @effect/codemod platform-0.49 src/**/*
    
  • #2207 6c6087a Thanks @​github-actions! - rename auto-scoped ClientResponse apis from *Effect to *Scoped

  • #2207 5a2314b Thanks @​github-actions! - replace use of unit terminology with void

    For all the data types.

    Effect.unit; // => Effect.void
    Stream.unit; // => Stream.void
    // etc

  • #2207 6c6087a Thanks @​github-actions! - move fetch options to a FiberRef

    This change makes adjusting options to fetch more composable. You can now do:

    import { pipe } from "effect";
    import * as Http from "@effect/platform/HttpClient";

... (truncated)

Commits

Updates @effect/schema from 0.65.0 to 0.66.0

Release notes

Sourced from @​effect/schema's releases.

@​effect/schema@​0.66.0

Minor Changes

Patch Changes

Changelog

Sourced from @​effect/schema's changelog.

0.66.0

Minor Changes

Patch Changes

Commits
  • 1713d63 Version Packages (#2525)
  • e81b17c update devDependencies (#2534)
  • e542371 Schema: add compose overloads to enable a subtyping relationship in both di...
  • 78b767c Rename ReadonlyArray and ReadonlyRecord modules (#2529)
  • 5a2314b replace use of unit terminology with void (#2476)
  • 9aeae46 Schema: remove the custom Simplify type that was previously introd… (#2391)
  • e7e1bbe Replace custom NoInfer type with the native NoInfer type from Typ… (#2390)
  • 271b79f Either: fix getEquivalence parameter order from `Either.getEquivale… (#2243)
  • cd3bb69 Add instructions for running the codemod (#2519)
  • See full diff in compare view

Updates effect from 2.4.19 to 3.0.0

Release notes

Sourced from effect's releases.

[email protected]

Major Changes

Minor Changes

  • #2207 1b5f0c7 Thanks @​github-actions! - close FiberHandle/FiberSet/FiberMap when it is released

    When they are closed, fibers can no longer be added to them.

  • #2207 d50a652 Thanks @​github-actions! - add preregisteredWords option to frequency metric key type

    You can use this to register a list of words to pre-populate the value of the metric.

    import { Metric } from "effect";
    const counts = Metric.frequency("counts", {
    preregisteredWords: ["a", "b", "c"],
    }).register();

  • #2207 9a3bd47 Thanks @​github-actions! - Bump TypeScript min requirement to version 5.4

  • #2207 be9d025 Thanks @​github-actions! - add unique identifier to Tracer.ParentSpan tag

  • #2529 78b767c Thanks @​fubhy! - Renamed ReadonlyArray and ReadonlyRecord modules for better discoverability.

  • #2207 5c2b561 Thanks @​github-actions! - The signatures of the HaltStrategy.match StreamHaltStrategy.match functions have been changed to the generally accepted ones

  • #2207 a18f594 Thanks @​github-actions! - support variadic arguments in Effect.log

    This makes Effect.log more similar to console.log:

    Effect.log("hello", { foo: "bar" }, Cause.fail("error"));
  • #2207 2f96d93 Thanks @​github-actions! - Fix ConfigError _tag, with the previous implementation catching the ConfigError with Effect.catchTag would show And, Or, etc.

  • #2207 5a2314b Thanks @​github-actions! - replace use of unit terminology with void

    For all the data types.

    Effect.unit; // => Effect.void
    Stream.unit; // => Stream.void

... (truncated)

Changelog

Sourced from effect's changelog.

3.0.0

Major Changes

Minor Changes

  • #2207 1b5f0c7 Thanks @​github-actions! - close FiberHandle/FiberSet/FiberMap when it is released

    When they are closed, fibers can no longer be added to them.

  • #2207 d50a652 Thanks @​github-actions! - add preregisteredWords option to frequency metric key type

    You can use this to register a list of words to pre-populate the value of the metric.

    import { Metric } from "effect";
    const counts = Metric.frequency("counts", {
    preregisteredWords: ["a", "b", "c"],
    }).register();

  • #2207 9a3bd47 Thanks @​github-actions! - Bump TypeScript min requirement to version 5.4

  • #2207 be9d025 Thanks @​github-actions! - add unique identifier to Tracer.ParentSpan tag

  • #2529 78b767c Thanks @​fubhy! - Renamed ReadonlyArray and ReadonlyRecord modules for better discoverability.

  • #2207 5c2b561 Thanks @​github-actions! - The signatures of the HaltStrategy.match StreamHaltStrategy.match functions have been changed to the generally accepted ones

  • #2207 a18f594 Thanks @​github-actions! - support variadic arguments in Effect.log

    This makes Effect.log more similar to console.log:

    Effect.log("hello", { foo: "bar" }, Cause.fail("error"));
  • #2207 2f96d93 Thanks @​github-actions! - Fix ConfigError _tag, with the previous implementation catching the ConfigError with Effect.catchTag would show And, Or, etc.

  • #2207 5a2314b Thanks @​github-actions! - replace use of unit terminology with void

    For all the data types.

    Effect.unit; // => Effect.void
    Stream.unit; // => Stream.void

... (truncated)

Commits

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the effect group with 3 updates: [@effect/platform](https://github.com/effect-ts/effect/tree/HEAD/packages/platform), [@effect/schema](https://github.com/effect-ts/effect/tree/HEAD/packages/schema) and [effect](https://github.com/effect-ts/effect/tree/HEAD/packages/effect).


Updates `@effect/platform` from 0.48.29 to 0.49.0
- [Release notes](https://github.com/effect-ts/effect/releases)
- [Changelog](https://github.com/Effect-TS/effect/blob/main/packages/platform/CHANGELOG.md)
- [Commits](https://github.com/effect-ts/effect/commits/@effect/[email protected]/packages/platform)

Updates `@effect/schema` from 0.65.0 to 0.66.0
- [Release notes](https://github.com/effect-ts/effect/releases)
- [Changelog](https://github.com/Effect-TS/effect/blob/main/packages/schema/CHANGELOG.md)
- [Commits](https://github.com/effect-ts/effect/commits/@effect/[email protected]/packages/schema)

Updates `effect` from 2.4.19 to 3.0.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/[email protected]/packages/effect)

---
updated-dependencies:
- dependency-name: "@effect/platform"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: effect
- dependency-name: "@effect/schema"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: effect
- dependency-name: effect
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: effect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 16, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 18, 2024

Superseded by #151.

@dependabot dependabot bot closed this Apr 18, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/effect-d9615ab7a0 branch April 18, 2024 14:34
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants