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 #132

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

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

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

Updates @effect/platform from 0.48.21 to 0.48.24

Release notes

Sourced from @​effect/platform's releases.

@​effect/platform@​0.48.24

Patch Changes

@​effect/platform@​0.48.23

Patch Changes

@​effect/platform@​0.48.22

Patch Changes

Changelog

Sourced from @​effect/platform's changelog.

0.48.24

Patch Changes

0.48.23

Patch Changes

0.48.22

Patch Changes

Commits

Updates @effect/schema from 0.64.15 to 0.64.18

Release notes

Sourced from @​effect/schema's releases.

@​effect/schema@​0.64.18

Patch Changes

@​effect/schema@​0.64.17

Patch Changes

  • #2446 62a7f23 Thanks @​gcanti! - ParseResult: Add output field to TupleType and TypeLiteral. While the operation may not be entirely successful, it still provides some useful output or information.

    Examples (Tuple)

    import * as S from "@effect/schema/Schema";
    import * as Either from "effect/Either";
    const schema = S.array(S.number);
    const result = S.decodeUnknownEither(schema)([1, "a", 2, "b"], {
    errors: "all",
    });
    if (Either.isLeft(result)) {
    const issue = result.left.error;
    if (issue._tag === "TupleType") {
    console.log(issue.output); // [1, 2]
    }
    }

    Examples (TypeLiteral)

    import * as S from "@effect/schema/Schema";
    import * as Either from "effect/Either";
    const schema = S.record(S.string, S.number);
    const result = S.decodeUnknownEither(schema)(
    { a: 1, b: "b", c: 2, d: "d" },
    { errors: "all" },
    );
    if (Either.isLeft(result)) {
    const issue = result.left.error;
    if (issue._tag === "TypeLiteral") {
    console.log(issue.output); // { a: 1, c: 2 }
    }
    }

  • #2453 7cc2b41 Thanks @​jessekelly881! - added Schema.BooleanFromUnknown

... (truncated)

Changelog

Sourced from @​effect/schema's changelog.

0.64.18

Patch Changes

0.64.17

Patch Changes

  • #2446 62a7f23 Thanks @​gcanti! - ParseResult: Add output field to TupleType and TypeLiteral. While the operation may not be entirely successful, it still provides some useful output or information.

    Examples (Tuple)

    import * as S from "@effect/schema/Schema";
    import * as Either from "effect/Either";
    const schema = S.array(S.number);
    const result = S.decodeUnknownEither(schema)([1, "a", 2, "b"], {
    errors: "all",
    });
    if (Either.isLeft(result)) {
    const issue = result.left.error;
    if (issue._tag === "TupleType") {
    console.log(issue.output); // [1, 2]
    }
    }

    Examples (TypeLiteral)

    import * as S from "@effect/schema/Schema";
    import * as Either from "effect/Either";
    const schema = S.record(S.string, S.number);
    const result = S.decodeUnknownEither(schema)(
    { a: 1, b: "b", c: 2, d: "d" },
    { errors: "all" },
    );
    if (Either.isLeft(result)) {
    const issue = result.left.error;
    if (issue._tag === "TypeLiteral") {
    console.log(issue.output); // { a: 1, c: 2 }
    }
    }

... (truncated)

Commits

Updates effect from 2.4.15 to 2.4.17

Release notes

Sourced from effect's releases.

[email protected]

Patch Changes

  • #2461 8fdfda6 Thanks @​tim-smart! - add Inspectable.toStringUnknown/stringifyCircular

  • #2462 607b2e7 Thanks @​tim-smart! - remove handled errors from Effect.retryOrElse

  • #2461 8fdfda6 Thanks @​tim-smart! - improve formatting of Runtime failures

  • #2415 8206caf Thanks @​tim-smart! - add Iterable module

    This module shares many apis compared to "effect/ReadonlyArray", but is fully lazy.

    import { Iterable, pipe } from "effect";
    // Only 5 items will be generated & transformed
    pipe(
    Iterable.range(1, 100),
    Iterable.map((i) => item ${i}),
    Iterable.take(5),
    );

  • #2438 7ddd654 Thanks @​mikearnaldi! - Support Heterogeneous Effects in Effect Iterable apis

    Including:

    • Effect.allSuccesses
    • Effect.firstSuccessOf
    • Effect.mergeAll
    • Effect.reduceEffect
    • Effect.raceAll
    • Effect.forkAll

    For example:

    import { Effect } from "effect";
    class Foo extends Effect.Tag("Foo")<Foo, 3>() {}
    class Bar extends Effect.Tag("Bar")<Bar, 4>() {}
    // const program: Effect.Effect<(1 | 2 | 3 | 4)[], never, Foo | Bar>
    export const program = Effect.allSuccesses([
    Effect.succeed(1 as const),
    Effect.succeed(2 as const),
    Foo,
    Bar,
    ]);

... (truncated)

Changelog

Sourced from effect's changelog.

2.4.17

Patch Changes

  • #2461 8fdfda6 Thanks @​tim-smart! - add Inspectable.toStringUnknown/stringifyCircular

  • #2462 607b2e7 Thanks @​tim-smart! - remove handled errors from Effect.retryOrElse

  • #2461 8fdfda6 Thanks @​tim-smart! - improve formatting of Runtime failures

  • #2415 8206caf Thanks @​tim-smart! - add Iterable module

    This module shares many apis compared to "effect/ReadonlyArray", but is fully lazy.

    import { Iterable, pipe } from "effect";
    // Only 5 items will be generated & transformed
    pipe(
    Iterable.range(1, 100),
    Iterable.map((i) => item ${i}),
    Iterable.take(5),
    );

  • #2438 7ddd654 Thanks @​mikearnaldi! - Support Heterogeneous Effects in Effect Iterable apis

    Including:

    • Effect.allSuccesses
    • Effect.firstSuccessOf
    • Effect.mergeAll
    • Effect.reduceEffect
    • Effect.raceAll
    • Effect.forkAll

    For example:

    import { Effect } from "effect";
    class Foo extends Effect.Tag("Foo")<Foo, 3>() {}
    class Bar extends Effect.Tag("Bar")<Bar, 4>() {}
    // const program: Effect.Effect<(1 | 2 | 3 | 4)[], never, Foo | Bar>
    export const program = Effect.allSuccesses([
    Effect.succeed(1 as const),
    Effect.succeed(2 as const),
    Foo,
    Bar,

... (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.21 to 0.48.24
- [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.64.15 to 0.64.18
- [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.15 to 2.4.17
- [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-patch
  dependency-group: effect
- dependency-name: "@effect/schema"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: effect
- dependency-name: effect
  dependency-type: direct:production
  update-type: version-update:semver-patch
  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 3, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 5, 2024

Superseded by #137.

@dependabot dependabot bot closed this Apr 5, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/effect-5bdb213ab3 branch April 5, 2024 14:10
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