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

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 9, 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.68.1

Release notes

Sourced from @​effect/platform's releases.

@​effect/platform@​0.68.1

Patch Changes

  • #3743 b75ac5d Thanks @​sukovanej! - Add support for ConfigProvider based on .env files.

    import { PlatformConfigProvider } from "@effect/platform"
    import { NodeContext } from "@effect/platform-node"
    import { Config } from "effect"
    Effect.gen(function* () {
    const config = yield* Config.all({
    api_url: Config.string("API_URL"),
    api_key: Config.string("API_KEY")
    })
    console.log(Api config: ${config})
    }).pipe(
    Effect.provide(
    PlatformConfigProvider.layerDotEnvAdd(".env").pipe(
    Layer.provide(NodeContext.layer)
    )
    )
    )

@​effect/platform-node@​0.63.0

Minor Changes

  • #3756 90ceeab Thanks @​tim-smart! - remove HttpClient.Service type

  • #3756 90ceeab Thanks @​tim-smart! - constrain HttpClient success type to HttpClientResponse

  • #3756 90ceeab Thanks @​tim-smart! - add HttpClient accessor apis

    These apis allow you to easily send requests without first accessing the HttpClient service.

    Below is an example of using the get accessor api to send a GET request:

    import { FetchHttpClient, HttpClient } from "@effect/platform"
    import { Effect } from "effect"
    const program = HttpClient.get(
    "https://jsonplaceholder.typicode.com/posts/1"
    ).pipe(
    Effect.andThen((response) => response.json),
    Effect.scoped,
    Effect.provide(FetchHttpClient.layer)
    )

... (truncated)

Changelog

Sourced from @​effect/platform's changelog.

0.68.1

Patch Changes

  • #3743 b75ac5d Thanks @​sukovanej! - Add support for ConfigProvider based on .env files.

    import { PlatformConfigProvider } from "@effect/platform"
    import { NodeContext } from "@effect/platform-node"
    import { Config } from "effect"
    Effect.gen(function* () {
    const config = yield* Config.all({
    api_url: Config.string("API_URL"),
    api_key: Config.string("API_KEY")
    })
    console.log(Api config: ${config})
    }).pipe(
    Effect.provide(
    PlatformConfigProvider.layerDotEnvAdd(".env").pipe(
    Layer.provide(NodeContext.layer)
    )
    )
    )

0.68.0

Minor Changes

  • #3756 90ceeab Thanks @​tim-smart! - remove HttpClient.Service type

  • #3756 90ceeab Thanks @​tim-smart! - constrain HttpClient success type to HttpClientResponse

  • #3756 90ceeab Thanks @​tim-smart! - add HttpClient accessor apis

    These apis allow you to easily send requests without first accessing the HttpClient service.

    Below is an example of using the get accessor api to send a GET request:

    import { FetchHttpClient, HttpClient } from "@effect/platform"
    import { Effect } from "effect"
    const program = HttpClient.get(
    "https://jsonplaceholder.typicode.com/posts/1"
    ).pipe(
    Effect.andThen((response) => response.json),
    Effect.scoped,

... (truncated)

Commits

Updates @effect/platform-node from 0.53.19 to 0.63.1

Release notes

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

@​effect/platform-node@​0.63.1

Patch Changes

  • Updated dependencies [b75ac5d]:
    • @​effect/platform@​0.68.1
    • @​effect/platform-node-shared@​0.18.1

@​effect/platform-node@​0.63.0

Minor Changes

  • #3756 90ceeab Thanks @​tim-smart! - remove HttpClient.Service type

  • #3756 90ceeab Thanks @​tim-smart! - constrain HttpClient success type to HttpClientResponse

  • #3756 90ceeab Thanks @​tim-smart! - add HttpClient accessor apis

    These apis allow you to easily send requests without first accessing the HttpClient service.

    Below is an example of using the get accessor api to send a GET request:

    import { FetchHttpClient, HttpClient } from "@effect/platform"
    import { Effect } from "effect"
    const program = HttpClient.get(
    "https://jsonplaceholder.typicode.com/posts/1"
    ).pipe(
    Effect.andThen((response) => response.json),
    Effect.scoped,
    Effect.provide(FetchHttpClient.layer)
    )
    Effect.runPromise(program)
    /*
    Output:
    {
    userId: 1,
    id: 1,
    title: 'sunt aut facere repellat provident occaecati excepturi optio reprehenderit',
    body: 'quia et suscipit\n' +
    'suscipit recusandae consequuntur expedita et cum\n' +
    'reprehenderit molestiae ut ut quas totam\n' +
    'nostrum rerum est autem sunt rem eveniet architecto'
    }
    */

Patch Changes

... (truncated)

Changelog

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

0.63.1

Patch Changes

  • Updated dependencies [b75ac5d]:
    • @​effect/platform@​0.68.1
    • @​effect/platform-node-shared@​0.18.1

0.63.0

Minor Changes

  • #3756 90ceeab Thanks @​tim-smart! - remove HttpClient.Service type

  • #3756 90ceeab Thanks @​tim-smart! - constrain HttpClient success type to HttpClientResponse

  • #3756 90ceeab Thanks @​tim-smart! - add HttpClient accessor apis

    These apis allow you to easily send requests without first accessing the HttpClient service.

    Below is an example of using the get accessor api to send a GET request:

    import { FetchHttpClient, HttpClient } from "@effect/platform"
    import { Effect } from "effect"
    const program = HttpClient.get(
    "https://jsonplaceholder.typicode.com/posts/1"
    ).pipe(
    Effect.andThen((response) => response.json),
    Effect.scoped,
    Effect.provide(FetchHttpClient.layer)
    )
    Effect.runPromise(program)
    /*
    Output:
    {
    userId: 1,
    id: 1,
    title: 'sunt aut facere repellat provident occaecati excepturi optio reprehenderit',
    body: 'quia et suscipit\n' +
    'suscipit recusandae consequuntur expedita et cum\n' +
    'reprehenderit molestiae ut ut quas totam\n' +
    'nostrum rerum est autem sunt rem eveniet architecto'
    }
    */

Patch Changes

... (truncated)

Commits

Updates @effect/schema from 0.68.17 to 0.75.2

Release notes

Sourced from @​effect/schema's releases.

@​effect/schema@​0.75.2

Patch Changes

  • #3753 f02b354 Thanks @​gcanti! - Enhanced Error Reporting for Discriminated Union Tuple Schemas, closes #3752

    Previously, irrelevant error messages were generated for each member of the union. Now, when a discriminator is present in the input, only the relevant member will trigger an error.

    Before

    import * as Schema from "@effect/schema/Schema"
    const schema = Schema.Union(
    Schema.Tuple(Schema.Literal("a"), Schema.String),
    Schema.Tuple(Schema.Literal("b"), Schema.Number)
    ).annotations({ identifier: "MyUnion" })
    console.log(Schema.decodeUnknownSync(schema)(["a", 0]))
    /*
    throws:
    ParseError: MyUnion
    ├─ readonly ["a", string]
    │  └─ [1]
    │     └─ Expected string, actual 0
    └─ readonly ["b", number]
    └─ [0]
    └─ Expected "b", actual "a"
    */

    After

    import * as Schema from "@effect/schema/Schema"
    const schema = Schema.Union(
    Schema.Tuple(Schema.Literal("a"), Schema.String),
    Schema.Tuple(Schema.Literal("b"), Schema.Number)
    ).annotations({ identifier: "MyUnion" })
    console.log(Schema.decodeUnknownSync(schema)(["a", 0]))
    /*
    throws:
    ParseError: MyUnion
    └─ readonly ["a", string]
    └─ [1]
    └─ Expected string, actual 0
    */

... (truncated)

Changelog

Sourced from @​effect/schema's changelog.

0.75.2

Patch Changes

  • #3753 f02b354 Thanks @​gcanti! - Enhanced Error Reporting for Discriminated Union Tuple Schemas, closes #3752

    Previously, irrelevant error messages were generated for each member of the union. Now, when a discriminator is present in the input, only the relevant member will trigger an error.

    Before

    import * as Schema from "@effect/schema/Schema"
    const schema = Schema.Union(
    Schema.Tuple(Schema.Literal("a"), Schema.String),
    Schema.Tuple(Schema.Literal("b"), Schema.Number)
    ).annotations({ identifier: "MyUnion" })
    console.log(Schema.decodeUnknownSync(schema)(["a", 0]))
    /*
    throws:
    ParseError: MyUnion
    ├─ readonly ["a", string]
    │  └─ [1]
    │     └─ Expected string, actual 0
    └─ readonly ["b", number]
    └─ [0]
    └─ Expected "b", actual "a"
    */

    After

    import * as Schema from "@effect/schema/Schema"
    const schema = Schema.Union(
    Schema.Tuple(Schema.Literal("a"), Schema.String),
    Schema.Tuple(Schema.Literal("b"), Schema.Number)
    ).annotations({ identifier: "MyUnion" })
    console.log(Schema.decodeUnknownSync(schema)(["a", 0]))
    /*
    throws:
    ParseError: MyUnion
    └─ readonly ["a", string]
    └─ [1]
    └─ Expected string, actual 0
    */

... (truncated)

Commits

Updates effect from 3.4.7 to 3.9.1

Release notes

Sourced from effect's releases.

[email protected]

Patch Changes

[email protected]

Minor Changes

... (truncated)

Changelog

Sourced from effect's changelog.

3.9.1

Patch Changes

3.9.0

Minor Changes

... (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.68.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/[email protected]/packages/platform)

Updates `@effect/platform-node` from 0.53.19 to 0.63.1
- [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.75.2
- [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.9.1
- [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 Oct 9, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 11, 2024

Superseded by #640.

@dependabot dependabot bot closed this Oct 11, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/effect-caa32b6005 branch October 11, 2024 03:44
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