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 across 1 directory with 3 updates #201

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 27, 2024

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

Updates @effect/platform from 0.49.3 to 0.55.1

Release notes

Sourced from @​effect/platform's releases.

@​effect/platform@​0.55.1

Patch Changes

  • Updated dependencies [c5846e9]:
    • @​effect/schema@​0.67.14

@​effect/platform-node@​0.51.0

Minor Changes

Patch Changes

@​effect/platform@​0.55.0

Minor Changes

Patch Changes

@​effect/platform-node@​0.50.0

Minor Changes

Patch Changes

@​effect/platform@​0.54.0

Minor Changes

  • #2801 1af94df Thanks @​tim-smart! - remove permits from workers, to prevent issues with pool resizing

  • #2801 c07e0ce Thanks @​gcanti! - Revise the ordering of type parameters within the SchemaStore interface to enhance consistency

Patch Changes

... (truncated)

Changelog

Sourced from @​effect/platform's changelog.

0.55.1

Patch Changes

  • Updated dependencies [c5846e9]:
    • @​effect/schema@​0.67.14

0.55.0

Minor Changes

Patch Changes

0.54.0

Minor Changes

  • #2801 1af94df Thanks @​tim-smart! - remove permits from workers, to prevent issues with pool resizing

  • #2801 c07e0ce Thanks @​gcanti! - Revise the ordering of type parameters within the SchemaStore interface to enhance consistency

Patch Changes

0.53.14

Patch Changes

0.53.13

Patch Changes

... (truncated)

Commits

Updates @effect/schema from 0.66.1 to 0.67.14

Release notes

Sourced from @​effect/schema's releases.

@​effect/schema@​0.67.14

Patch Changes

  • #2851 c5846e9 Thanks @​gcanti! - Add tag and TaggedStruct constructors.

    In TypeScript tags help to enhance type discrimination and pattern matching by providing a simple yet powerful way to define and recognize different data types.

    What is a Tag?

    A tag is a literal value added to data structures, commonly used in structs, to distinguish between various object types or variants within tagged unions. This literal acts as a discriminator, making it easier to handle and process different types of data correctly and efficiently.

    Using the tag Constructor

    The tag constructor is specifically designed to create a property signature that holds a specific literal value, serving as the discriminator for object types. Here's how you can define a schema with a tag:

    import { Schema } from "@effect/schema";
    const User = Schema.Struct({
    _tag: Schema.tag("User"),
    name: Schema.String,
    age: Schema.Number,
    });
    assert.deepStrictEqual(User.make({ name: "John", age: 44 }), {
    _tag: "User",
    name: "John",
    age: 44,
    });

    In the example above, Schema.tag("User") attaches a _tag property to the User struct schema, effectively labeling objects of this struct type as "User". This label is automatically applied when using the make method to create new instances, simplifying object creation and ensuring consistent tagging.

    Simplifying Tagged Structs with TaggedStruct

    The TaggedStruct constructor streamlines the process of creating tagged structs by directly integrating the tag into the struct definition. This method provides a clearer and more declarative approach to building data structures with embedded discriminators.

    import { Schema } from "@effect/schema";
    const User = Schema.TaggedStruct("User", {
    name: Schema.String,
    age: Schema.Number,
    });
    // _tag is optional
    const userInstance = User.make({ name: "John", age: 44 });
    assert.deepStrictEqual(userInstance, {
    _tag: "User",

... (truncated)

Changelog

Sourced from @​effect/schema's changelog.

0.67.14

Patch Changes

  • #2851 c5846e9 Thanks @​gcanti! - Add tag and TaggedStruct constructors.

    In TypeScript tags help to enhance type discrimination and pattern matching by providing a simple yet powerful way to define and recognize different data types.

    What is a Tag?

    A tag is a literal value added to data structures, commonly used in structs, to distinguish between various object types or variants within tagged unions. This literal acts as a discriminator, making it easier to handle and process different types of data correctly and efficiently.

    Using the tag Constructor

    The tag constructor is specifically designed to create a property signature that holds a specific literal value, serving as the discriminator for object types. Here's how you can define a schema with a tag:

    import { Schema } from "@effect/schema";
    const User = Schema.Struct({
    _tag: Schema.tag("User"),
    name: Schema.String,
    age: Schema.Number,
    });
    assert.deepStrictEqual(User.make({ name: "John", age: 44 }), {
    _tag: "User",
    name: "John",
    age: 44,
    });

    In the example above, Schema.tag("User") attaches a _tag property to the User struct schema, effectively labeling objects of this struct type as "User". This label is automatically applied when using the make method to create new instances, simplifying object creation and ensuring consistent tagging.

    Simplifying Tagged Structs with TaggedStruct

    The TaggedStruct constructor streamlines the process of creating tagged structs by directly integrating the tag into the struct definition. This method provides a clearer and more declarative approach to building data structures with embedded discriminators.

    import { Schema } from "@effect/schema";
    const User = Schema.TaggedStruct("User", {
    name: Schema.String,
    age: Schema.Number,
    });
    // _tag is optional
    const userInstance = User.make({ name: "John", age: 44 });
    assert.deepStrictEqual(userInstance, {

... (truncated)

Commits

Updates effect from 3.0.1 to 3.2.5

Release notes

Sourced from effect's releases.

effect@3.2.5

Patch Changes

effect@3.2.4

Patch Changes

effect@3.2.3

Patch Changes

effect@3.2.2

Patch Changes

  • #2787 5d9266e Thanks @​mikearnaldi! - Prohibit name clashes in Effect.Tag

    The following now correctly flags a type error given that the property context exists already in Tag:

    import { Effect } from "effect";
    class LoaderArgs extends Effect.Tag("@​services/LoaderContext")<
    LoaderArgs,
    { context: number }
    >() {}

  • #2797 9f8122e Thanks @​mikearnaldi! - Improve internalization of functions to clean stack traces

  • #2798 6a6f670 Thanks @​mikearnaldi! - Avoid eager read of the stack when captured by a span

Changelog

Sourced from effect's changelog.

3.2.5

Patch Changes

3.2.4

Patch Changes

3.2.3

Patch Changes

3.2.2

Patch Changes

  • #2787 5d9266e Thanks @​mikearnaldi! - Prohibit name clashes in Effect.Tag

    The following now correctly flags a type error given that the property context exists already in Tag:

    import { Effect } from "effect";
    class LoaderArgs extends Effect.Tag("@​services/LoaderContext")<
    LoaderArgs,
    { context: number }
    >() {}

  • #2797 9f8122e Thanks @​mikearnaldi! - Improve internalization of functions to clean stack traces

  • #2798 6a6f670 Thanks @​mikearnaldi! - Avoid eager read of the stack when captured by a span

3.2.1

Patch Changes

... (truncated)

Commits
  • a4beb69 Version Packages (#2824)
  • 031c712 attach Stream.toReadableStream fibers to scope (#2834)
  • a44e532 make Array.separate, Array.getRights, Array.getLefts, Array.getSomes ...
  • 39f715e add dtslint tests for separate, getRights, getLefts, getSomes (#2825)
  • 608b01f Array: simplify signatures (`ReadonlyArray<any> | Iterable<any> = Ite… (#2823)
  • 40a6dcb Version Packages (#2809)
  • 1af94df improve worker pool error reporting and finalization (#2819)
  • e313a01 Array: fix flatMapNullable implementation and add descriptions / ex… (#2808)
  • c3fddb3 Version Packages (#2806)
  • 45578e8 fix internal cutpoint name preservation (#2805)
  • Additional commits viewable in compare view

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 in the / directory: [@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.49.3 to 0.55.1
- [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/platform@0.55.1/packages/platform)

Updates `@effect/schema` from 0.66.1 to 0.67.14
- [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/schema@0.67.14/packages/schema)

Updates `effect` from 3.0.1 to 3.2.5
- [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.2.5/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-minor
  dependency-group: effect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 27, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github May 31, 2024

Superseded by #205.

@dependabot dependabot bot closed this May 31, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/effect-0739800161 branch May 31, 2024 14:19
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