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

Merged
merged 2 commits into from
Apr 16, 2024

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.21 to 0.48.29

Release notes

Sourced from @​effect/platform's releases.

@​effect/platform@​0.48.29

Patch Changes

@​effect/platform@​0.48.28

Patch Changes

@​effect/platform@​0.48.27

Patch Changes

@​effect/platform@​0.48.26

Patch Changes

  • #2477 365a486 Thanks @​tim-smart! - add PlatformConfigProvider module

    It contains a file tree provider, that can be used to read config values from a file tree.

    For example, if you have a file tree like this:

    config/
      secret
      nested/
        value
    

    You could do the following:

    import { PlatformConfigProvider } from "@effect/platform";
    import { NodeContext } from "@effect/platform-node";
    import { Config, Effect, Layer } from "effect";
    const ConfigProviderLive = PlatformConfigProvider.layerFileTree({
    rootDirectory: /config,
    }).pipe(Layer.provide(NodeContext.layer));

... (truncated)

Changelog

Sourced from @​effect/platform's changelog.

0.48.29

Patch Changes

0.48.28

Patch Changes

0.48.27

Patch Changes

0.48.26

Patch Changes

  • #2477 365a486 Thanks @​tim-smart! - add PlatformConfigProvider module

    It contains a file tree provider, that can be used to read config values from a file tree.

    For example, if you have a file tree like this:

    config/
      secret
      nested/
        value
    

    You could do the following:

    import { PlatformConfigProvider } from "@effect/platform";

... (truncated)

Commits

Updates @effect/schema from 0.64.15 to 0.65.0

Release notes

Sourced from @​effect/schema's releases.

@​effect/schema@​0.65.0

Minor Changes

  • #2505 0aee906 Thanks @​mikearnaldi! - Re-export FastCheck to simplify usage and to resolve long term issues with ESM/CJS

  • #2440 b3acf47 Thanks @​gcanti! - ## AST module

    • rename isTransform to isTransformation

    ParseResult module

    • rename Tuple to TupleType

    TreeFormatter module

    • rename formatIssue to formatIssueSync (This change was made to maintain consistency in API naming across all decoding and encoding APIs.)
    • rename formatIssueEffect to formatIssue
    • rename formatError to formatErrorSync
    • rename formatErrorEffect to formatError

    ArrayFormatter module

    • rename formatIssue to formatIssueSync
    • rename formatIssueEffect to formatIssue
    • rename formatError to formatErrorSync
    • rename formatErrorEffect to formatError

    Schema module

    • consolidate transform and transformOrFail parameters into an options object, #2434
    • consolidate Class.transformOrFail and Class.transformOrFailFrom parameters into an options object
    • consolidate declare parameters into an options object
    • consolidate optionalToRequired parameters into an options object
    • consolidate optionalToOptional parameters into an options object
    • Removed negateBigDecimal function (This cleanup was prompted by the realization that numerous functions can be derived from transformations such as negation, Math.abs, increment, etc. However, including all of them in the library is not feasible. Therefore, negateBigDecimal was removed)

    Renaming

    • rename uniqueSymbolFromSelf to UniqueSymbolFromSelf
    • rename undefined to Undefined
    • rename void to Void
    • rename null to Null
    • rename never to Never
    • rename unknown to Unknown
    • rename any to Any
    • rename string to String
    • rename number to Number
    • rename boolean to Boolean
    • rename /bigint/ig to BigInt
    • rename symbolFromSelf to SymbolFromSelf

... (truncated)

Changelog

Sourced from @​effect/schema's changelog.

0.65.0

Minor Changes

For the updates mentioned below, we've released a codemod to simplify the migration process.

To run it, use the following command:

npx @effect/codemod schema-0.65 src/**/*

The codemod is designed to automate many of the changes needed. However, it might not catch everything, so please let us know if you run into any issues (https://github.com/Effect-TS/codemod/issues). Remember to commit your code changes before running the codemod, just in case you need to undo anything.

  • #2505 0aee906 Thanks @​mikearnaldi! - Re-export FastCheck to simplify usage and to resolve long term issues with ESM/CJS

  • #2440 b3acf47 Thanks @​gcanti! - ## AST module

    • rename isTransform to isTransformation

    ParseResult module

    • rename Tuple to TupleType

    TreeFormatter module

    • rename formatIssue to formatIssueSync (This change was made to maintain consistency in API naming across all decoding and encoding APIs.)
    • rename formatIssueEffect to formatIssue
    • rename formatError to formatErrorSync
    • rename formatErrorEffect to formatError

    ArrayFormatter module

    • rename formatIssue to formatIssueSync
    • rename formatIssueEffect to formatIssue
    • rename formatError to formatErrorSync
    • rename formatErrorEffect to formatError

    Schema module

    • consolidate transform and transformOrFail parameters into an options object, #2434
    • consolidate Class.transformOrFail and Class.transformOrFailFrom parameters into an options object
    • consolidate declare parameters into an options object
    • consolidate optionalToRequired parameters into an options object
    • consolidate optionalToOptional parameters into an options object
    • Removed negateBigDecimal function (This cleanup was prompted by the realization that numerous functions can be derived from transformations such as negation, Math.abs, increment, etc. However, including all of them in the library is not feasible. Therefore, negateBigDecimal was removed)

    Renaming

    • rename uniqueSymbolFromSelf to UniqueSymbolFromSelf

... (truncated)

Commits

Updates effect from 2.4.15 to 2.4.19

Release notes

Sourced from effect's releases.

[email protected]

Patch Changes

  • #2503 41c8102 Thanks @​gcanti! - Centralize error messages for bugs

  • #2493 776ef2b Thanks @​gcanti! - add a RegExp module to packages/effect, closes #2488

  • #2499 217147e Thanks @​tim-smart! - ensure FIFO ordering when a Deferred is resolved

  • #2502 90776ec Thanks @​tim-smart! - make tracing spans cheaper to construct

  • #2472 8709856 Thanks @​tim-smart! - add Subscribable trait / module

    Subscribable represents a resource that has a current value and can be subscribed to for updates.

    The following data types are subscribable:

    • A SubscriptionRef
    • An Actor from the experimental Machine module
  • #2500 232c353 Thanks @​tim-smart! - simplify scope internals

  • #2507 0ca835c Thanks @​gcanti! - ensure correct value is passed to mapping function in mapAccum loop, closes #2506

  • #2472 8709856 Thanks @​tim-smart! - add Readable module / trait

    Readable is a common interface for objects that can be read from using a get Effect.

    For example, Ref's implement Readable:

    import { Effect, Readable, Ref } from "effect";
    import assert from "assert";
    Effect.gen(function* (_) {
    const ref = yield* _(Ref.make(123));
    assert(Readable.isReadable(ref));
    const result = yield* _(ref.get);
    assert(result === 123);
    });

  • #2498 e983740 Thanks @​jessekelly881! - added {Readable, Subscribable}.unwrap

  • #2494 e3e0924 Thanks @​thewilkybarkid! - Add Duration.divide and Duration.unsafeDivide.

    import { Duration, Option } from "effect";

... (truncated)

Changelog

Sourced from effect's changelog.

2.4.19

Patch Changes

  • #2503 41c8102 Thanks @​gcanti! - Centralize error messages for bugs

  • #2493 776ef2b Thanks @​gcanti! - add a RegExp module to packages/effect, closes #2488

  • #2499 217147e Thanks @​tim-smart! - ensure FIFO ordering when a Deferred is resolved

  • #2502 90776ec Thanks @​tim-smart! - make tracing spans cheaper to construct

  • #2472 8709856 Thanks @​tim-smart! - add Subscribable trait / module

    Subscribable represents a resource that has a current value and can be subscribed to for updates.

    The following data types are subscribable:

    • A SubscriptionRef
    • An Actor from the experimental Machine module
  • #2500 232c353 Thanks @​tim-smart! - simplify scope internals

  • #2507 0ca835c Thanks @​gcanti! - ensure correct value is passed to mapping function in mapAccum loop, closes #2506

  • #2472 8709856 Thanks @​tim-smart! - add Readable module / trait

    Readable is a common interface for objects that can be read from using a get Effect.

    For example, Ref's implement Readable:

    import { Effect, Readable, Ref } from "effect";
    import assert from "assert";
    Effect.gen(function* (_) {
    const ref = yield* _(Ref.make(123));
    assert(Readable.isReadable(ref));
    const result = yield* _(ref.get);
    assert(result === 123);
    });

  • #2498 e983740 Thanks @​jessekelly881! - added {Readable, Subscribable}.unwrap

  • #2494 e3e0924 Thanks @​thewilkybarkid! - Add Duration.divide and Duration.unsafeDivide.

... (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.29
- [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.65.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.15 to 2.4.19
- [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-minor
  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 16, 2024
@thewilkybarkid thewilkybarkid enabled auto-merge (squash) April 16, 2024 09:49
@thewilkybarkid thewilkybarkid merged commit 91f86ed into main Apr 16, 2024
4 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/effect-fead6d7bbf branch April 16, 2024 09:49
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.

1 participant