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 6 updates #157

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps the effect group with 6 updates in the / directory:

Package From To
@effect/cli 0.40.1 0.40.2
@effect/experimental 0.21.1 0.21.2
@effect/platform 0.61.1 0.61.2
@effect/platform-browser 0.40.1 0.40.2
@effect/platform-node 0.56.1 0.56.2
@effect/schema 0.70.0 0.70.1

Updates @effect/cli from 0.40.1 to 0.40.2

Release notes

Sourced from @​effect/cli's releases.

@​effect/cli@​0.40.2

Patch Changes

Changelog

Sourced from @​effect/cli's changelog.

0.40.2

Patch Changes

Commits

Updates @effect/experimental from 0.21.1 to 0.21.2

Release notes

Sourced from @​effect/experimental's releases.

@​effect/experimental@​0.21.2

Patch Changes

Changelog

Sourced from @​effect/experimental's changelog.

0.21.2

Patch Changes

Commits

Updates @effect/platform from 0.61.1 to 0.61.2

Release notes

Sourced from @​effect/platform's releases.

@​effect/platform@​0.61.2

Patch Changes

Changelog

Sourced from @​effect/platform's changelog.

0.61.2

Patch Changes

Commits

Updates @effect/platform-browser from 0.40.1 to 0.40.2

Release notes

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

@​effect/platform-browser@​0.40.2

Patch Changes

  • Updated dependencies []:
    • @​effect/platform@​0.61.2
Changelog

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

0.40.2

Patch Changes

  • Updated dependencies []:
    • @​effect/platform@​0.61.2
Commits

Updates @effect/platform-node from 0.56.1 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
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
Commits

Updates @effect/schema from 0.70.0 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

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 6 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@effect/cli](https://github.com/Effect-TS/effect/tree/HEAD/packages/cli) | `0.40.1` | `0.40.2` |
| [@effect/experimental](https://github.com/Effect-TS/effect/tree/HEAD/packages/experimental) | `0.21.1` | `0.21.2` |
| [@effect/platform](https://github.com/Effect-TS/effect/tree/HEAD/packages/platform) | `0.61.1` | `0.61.2` |
| [@effect/platform-browser](https://github.com/Effect-TS/effect/tree/HEAD/packages/platform-browser) | `0.40.1` | `0.40.2` |
| [@effect/platform-node](https://github.com/Effect-TS/effect/tree/HEAD/packages/platform-node) | `0.56.1` | `0.56.2` |
| [@effect/schema](https://github.com/Effect-TS/effect/tree/HEAD/packages/schema) | `0.70.0` | `0.70.1` |



Updates `@effect/cli` from 0.40.1 to 0.40.2
- [Release notes](https://github.com/Effect-TS/effect/releases)
- [Changelog](https://github.com/Effect-TS/effect/blob/main/packages/cli/CHANGELOG.md)
- [Commits](https://github.com/Effect-TS/effect/commits/@effect/cli@0.40.2/packages/cli)

Updates `@effect/experimental` from 0.21.1 to 0.21.2
- [Release notes](https://github.com/Effect-TS/effect/releases)
- [Changelog](https://github.com/Effect-TS/effect/blob/main/packages/experimental/CHANGELOG.md)
- [Commits](https://github.com/Effect-TS/effect/commits/@effect/experimental@0.21.2/packages/experimental)

Updates `@effect/platform` from 0.61.1 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/platform@0.61.2/packages/platform)

Updates `@effect/platform-browser` from 0.40.1 to 0.40.2
- [Release notes](https://github.com/Effect-TS/effect/releases)
- [Changelog](https://github.com/Effect-TS/effect/blob/main/packages/platform-browser/CHANGELOG.md)
- [Commits](https://github.com/Effect-TS/effect/commits/@effect/platform-browser@0.40.2/packages/platform-browser)

Updates `@effect/platform-node` from 0.56.1 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/platform-node@0.56.2/packages/platform-node)

Updates `@effect/schema` from 0.70.0 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/schema@0.70.1/packages/schema)

---
updated-dependencies:
- dependency-name: "@effect/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: effect
- dependency-name: "@effect/experimental"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: effect
- dependency-name: "@effect/platform"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: effect
- dependency-name: "@effect/platform-browser"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: effect
- dependency-name: "@effect/platform-node"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: effect
- dependency-name: "@effect/schema"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: effect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 1, 2024
@leonitousconforti leonitousconforti merged commit f5077cd into main Aug 1, 2024
8 of 10 checks passed
@leonitousconforti leonitousconforti deleted the dependabot/npm_and_yarn/effect-ac1e901c23 branch August 1, 2024 15:40
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.

1 participant