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 4 updates #505

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

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

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

Updates @effect/platform from 0.58.20 to 0.61.2

Release notes

Sourced from @​effect/platform's releases.

@​effect/platform@​0.61.2

Patch Changes

@​effect/platform@​0.61.1

Patch Changes

@​effect/platform@​0.61.0

Patch Changes

@​effect/platform@​0.60.3

Patch Changes

Changelog

Sourced from @​effect/platform's changelog.

0.61.2

Patch Changes

0.61.1

Patch Changes

0.61.0

Patch Changes

0.60.3

Patch Changes

0.60.2

Patch Changes

0.60.1

Patch Changes

  • Updated dependencies [f241154]:
    • @​effect/schema@​0.69.1

... (truncated)

Commits

Updates @effect/platform-node from 0.53.19 to 0.56.2

Release notes

Sourced from @​effect/platform-node's releases.

@​effect/platform-node@​0.56.2

Patch Changes

  • Updated dependencies []:
    • @​effect/platform@​0.61.2
    • @​effect/platform-node-shared@​0.11.2

@​effect/platform-node@​0.56.1

Patch Changes

  • Updated dependencies [11223bf]:
    • @​effect/platform@​0.61.1
    • @​effect/platform-node-shared@​0.11.1

@​effect/platform-node@​0.56.0

Patch Changes

@​effect/platform-node@​0.55.3

Patch Changes

Changelog

Sourced from @​effect/platform-node's changelog.

0.56.2

Patch Changes

  • Updated dependencies []:
    • @​effect/platform@​0.61.2
    • @​effect/platform-node-shared@​0.11.2

0.56.1

Patch Changes

  • Updated dependencies [11223bf]:
    • @​effect/platform@​0.61.1
    • @​effect/platform-node-shared@​0.11.1

0.56.0

Patch Changes

0.55.3

Patch Changes

0.55.2

Patch Changes

0.55.1

Patch Changes

  • Updated dependencies []:
    • @​effect/platform@​0.60.1
    • @​effect/platform-node-shared@​0.10.1

... (truncated)

Commits

Updates @effect/schema from 0.68.17 to 0.70.1

Release notes

Sourced from @​effect/schema's releases.

@​effect/schema@​0.70.1

Patch Changes

  • #3347 3dce357 Thanks @​gcanti! - Enhanced Parsing with TemplateLiteralParser, closes #3307

    In this update we've introduced a sophisticated API for more refined string parsing: TemplateLiteralParser. This enhancement stems from recognizing limitations in the Schema.TemplateLiteral and Schema.pattern functionalities, which effectively validate string formats without extracting structured data.

    Overview of Existing Limitations

    The Schema.TemplateLiteral function, while useful as a simple validator, only verifies that an input conforms to a specific string pattern by converting template literal definitions into regular expressions. Similarly, Schema.pattern employs regular expressions directly for the same purpose. Post-validation, both methods require additional manual parsing to convert the validated string into a usable data format.

    Introducing TemplateLiteralParser

    To address these limitations and eliminate the need for manual post-validation parsing, the new TemplateLiteralParser API has been developed. It not only validates the input format but also automatically parses it into a more structured and type-safe output, specifically into a tuple format.

    This new approach enhances developer productivity by reducing boilerplate code and simplifying the process of working with complex string inputs.

    Example (string based schemas)

    import { Schema } from "@effect/schema";
    // const schema: Schema.Schema<readonly [number, "a", string], ${string}a${string}, never>
    const schema = Schema.TemplateLiteralParser(
    Schema.NumberFromString,
    "a",
    Schema.NonEmptyString,
    );
    console.log(Schema.decodeEither(schema)("100ab"));
    // { _id: 'Either', _tag: 'Right', right: [ 100, 'a', 'b' ] }
    console.log(Schema.encode(schema)([100, "a", "b"]));
    // { _id: 'Either', _tag: 'Right', right: '100ab' }

    Example (number based schemas)

    import { Schema } from "@effect/schema";
    // const schema: Schema.Schema<readonly [number, "a"], ${number}a, never>
    const schema = Schema.TemplateLiteralParser(Schema.Int, "a");
    console.log(Schema.decodeEither(schema)("1a"));
    // { _id: 'Either', _tag: 'Right', right: [ 1, 'a' ] }
    console.log(Schema.encode(schema)([1, "a"]));
    // { _id: 'Either', _tag: 'Right', right: '1a' }

... (truncated)

Changelog

Sourced from @​effect/schema's changelog.

0.70.1

Patch Changes

  • #3347 3dce357 Thanks @​gcanti! - Enhanced Parsing with TemplateLiteralParser, closes #3307

    In this update we've introduced a sophisticated API for more refined string parsing: TemplateLiteralParser. This enhancement stems from recognizing limitations in the Schema.TemplateLiteral and Schema.pattern functionalities, which effectively validate string formats without extracting structured data.

    Overview of Existing Limitations

    The Schema.TemplateLiteral function, while useful as a simple validator, only verifies that an input conforms to a specific string pattern by converting template literal definitions into regular expressions. Similarly, Schema.pattern employs regular expressions directly for the same purpose. Post-validation, both methods require additional manual parsing to convert the validated string into a usable data format.

    Introducing TemplateLiteralParser

    To address these limitations and eliminate the need for manual post-validation parsing, the new TemplateLiteralParser API has been developed. It not only validates the input format but also automatically parses it into a more structured and type-safe output, specifically into a tuple format.

    This new approach enhances developer productivity by reducing boilerplate code and simplifying the process of working with complex string inputs.

    Example (string based schemas)

    import { Schema } from "@effect/schema";
    // const schema: Schema.Schema<readonly [number, "a", string], ${string}a${string}, never>
    const schema = Schema.TemplateLiteralParser(
    Schema.NumberFromString,
    "a",
    Schema.NonEmptyString,
    );
    console.log(Schema.decodeEither(schema)("100ab"));
    // { _id: 'Either', _tag: 'Right', right: [ 100, 'a', 'b' ] }
    console.log(Schema.encode(schema)([100, "a", "b"]));
    // { _id: 'Either', _tag: 'Right', right: '100ab' }

    Example (number based schemas)

    import { Schema } from "@effect/schema";
    // const schema: Schema.Schema<readonly [number, "a"], ${number}a, never>
    const schema = Schema.TemplateLiteralParser(Schema.Int, "a");
    console.log(Schema.decodeEither(schema)("1a"));
    // { _id: 'Either', _tag: 'Right', right: [ 1, 'a' ] }
    console.log(Schema.encode(schema)([1, "a"]));
    // { _id: 'Either', _tag: 'Right', right: '1a' }

... (truncated)

Commits

Updates effect from 3.4.7 to 3.6.0

Release notes

Sourced from effect's releases.

[email protected]

Minor Changes

  • #3380 1e0fe80 Thanks @​tim-smart! - make List.Cons extend NonEmptyIterable

  • #3380 8135294 Thanks @​tim-smart! - add DateTime module

    The DateTime module provides functionality for working with time, including support for time zones and daylight saving time.

    It has two main data types: DateTime.Utc and DateTime.Zoned.

    A DateTime.Utc represents a time in Coordinated Universal Time (UTC), and a DateTime.Zoned contains both a UTC timestamp and a time zone.

    There is also a CurrentTimeZone service, for setting a time zone contextually.

    import { DateTime, Effect } from "effect";
    Effect.gen(function* () {
    // Get the current time in the current time zone
    const now = yield* DateTime.nowInCurrentZone;
    // Math functions are included
    const tomorrow = DateTime.add(now, 1, "day");
    // Convert to a different time zone
    // The UTC portion of the DateTime is preserved and only the time zone is
    // changed
    const sydneyTime = tomorrow.pipe(
    DateTime.unsafeSetZoneNamed("Australia/Sydney"),
    );
    }).pipe(DateTime.withCurrentZoneNamed("America/New_York"));

  • #3380 cd255a4 Thanks @​tim-smart! - add Stream.asyncPush api

    This api creates a stream from an external push-based resource.

    You can use the emit helper to emit values to the stream. You can also use the emit helper to signal the end of the stream by using apis such as emit.end or emit.fail.

    By default it uses an "unbounded" buffer size. You can customize the buffer size and strategy by passing an object as the second argument with the bufferSize and strategy fields.

    import { Effect, Stream } from "effect";

... (truncated)

Changelog

Sourced from effect's changelog.

3.6.0

Minor Changes

  • #3380 1e0fe80 Thanks @​tim-smart! - make List.Cons extend NonEmptyIterable

  • #3380 8135294 Thanks @​tim-smart! - add DateTime module

    The DateTime module provides functionality for working with time, including support for time zones and daylight saving time.

    It has two main data types: DateTime.Utc and DateTime.Zoned.

    A DateTime.Utc represents a time in Coordinated Universal Time (UTC), and a DateTime.Zoned contains both a UTC timestamp and a time zone.

    There is also a CurrentTimeZone service, for setting a time zone contextually.

    import { DateTime, Effect } from "effect";
    Effect.gen(function* () {
    // Get the current time in the current time zone
    const now = yield* DateTime.nowInCurrentZone;
    // Math functions are included
    const tomorrow = DateTime.add(now, 1, "day");
    // Convert to a different time zone
    // The UTC portion of the DateTime is preserved and only the time zone is
    // changed
    const sydneyTime = tomorrow.pipe(
    DateTime.unsafeSetZoneNamed("Australia/Sydney"),
    );
    }).pipe(DateTime.withCurrentZoneNamed("America/New_York"));

  • #3380 cd255a4 Thanks @​tim-smart! - add Stream.asyncPush api

    This api creates a stream from an external push-based resource.

    You can use the emit helper to emit values to the stream. You can also use the emit helper to signal the end of the stream by using apis such as emit.end or emit.fail.

    By default it uses an "unbounded" buffer size. You can customize the buffer size and strategy by passing an object as the second argument with the bufferSize and strategy fields.

... (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 4 updates in the / directory: [@effect/platform](https://github.com/Effect-TS/effect/tree/HEAD/packages/platform), [@effect/platform-node](https://github.com/Effect-TS/effect/tree/HEAD/packages/platform-node), [@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.58.20 to 0.61.2
- [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/platform-node` from 0.53.19 to 0.56.2
- [Release notes](https://github.com/Effect-TS/effect/releases)
- [Changelog](https://github.com/Effect-TS/effect/blob/main/packages/platform-node/CHANGELOG.md)
- [Commits](https://github.com/Effect-TS/effect/commits/@effect/[email protected]/packages/platform-node)

Updates `@effect/schema` from 0.68.17 to 0.70.1
- [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 3.4.7 to 3.6.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/platform-node"
  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] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 1, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 5, 2024

Superseded by #510.

@dependabot dependabot bot closed this Aug 5, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/effect-36128d1f10 branch August 5, 2024 03:24
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