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

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 24, 2024

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

Updates @effect/platform from 0.57.4 to 0.58.9

Release notes

Sourced from @​effect/platform's releases.

@​effect/platform@​0.58.9

Patch Changes

  • Updated dependencies [0b47fdf]:
    • @​effect/schema@​0.68.9

@​effect/platform@​0.58.8

Patch Changes

@​effect/platform@​0.58.7

Patch Changes

@​effect/platform@​0.58.6

Patch Changes

  • #3059 2e8e252 Thanks @​tim-smart! - add Layer based api for creating HttpRouter's

    import {
      HttpMiddleware,
      HttpRouter,
      HttpServer,
      HttpServerResponse,
    } from "@effect/platform";
    import { BunHttpServer, BunRuntime } from "@effect/platform-bun";
    import { Effect, Layer } from "effect";
    // create your router Context.Tag
    class UserRouter extends HttpRouter.Tag("UserRouter")<UserRouter>() {}
    // create routes with the .use api.
    // There is also .useScoped
    const GetUsers = UserRouter.use((router) =>
    Effect.gen(function* () {
    yield* router.get("/", HttpServerResponse.text("got users"));
    }),
    );
    const CreateUser = UserRouter.use((router) =>
    Effect.gen(function* () {
    yield* router.post("/", HttpServerResponse.text("created user"));
    }),
    );

... (truncated)

Changelog

Sourced from @​effect/platform's changelog.

0.58.9

Patch Changes

  • Updated dependencies [0b47fdf]:
    • @​effect/schema@​0.68.9

0.58.8

Patch Changes

0.58.7

Patch Changes

0.58.6

Patch Changes

  • #3059 2e8e252 Thanks @​tim-smart! - add Layer based api for creating HttpRouter's

    import {
      HttpMiddleware,
      HttpRouter,
      HttpServer,
      HttpServerResponse,
    } from "@effect/platform";
    import { BunHttpServer, BunRuntime } from "@effect/platform-bun";
    import { Effect, Layer } from "effect";
    // create your router Context.Tag
    class UserRouter extends HttpRouter.Tag("UserRouter")<UserRouter>() {}
    // create routes with the .use api.
    // There is also .useScoped
    const GetUsers = UserRouter.use((router) =>
    Effect.gen(function* () {
    yield* router.get("/", HttpServerResponse.text("got users"));
    }),
    );
    const CreateUser = UserRouter.use((router) =>
    Effect.gen(function* () {

... (truncated)

Commits

Updates @effect/platform-node from 0.51.13 to 0.53.8

Release notes

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

@​effect/platform-node@​0.53.8

Patch Changes

  • Updated dependencies []:
    • @​effect/platform@​0.58.9
    • @​effect/platform-node-shared@​0.8.8

@​effect/platform-node@​0.53.7

Patch Changes

@​effect/platform-node@​0.53.6

Patch Changes

  • Updated dependencies [027004a]:
    • @​effect/platform@​0.58.7
    • @​effect/platform-node-shared@​0.8.6

@​effect/platform-node@​0.53.5

Patch Changes

Changelog

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

0.53.8

Patch Changes

  • Updated dependencies []:
    • @​effect/platform@​0.58.9
    • @​effect/platform-node-shared@​0.8.8

0.53.7

Patch Changes

0.53.6

Patch Changes

  • Updated dependencies [027004a]:
    • @​effect/platform@​0.58.7
    • @​effect/platform-node-shared@​0.8.6

0.53.5

Patch Changes

0.53.4

Patch Changes

  • Updated dependencies [37a07a2]:
    • @​effect/platform@​0.58.5
    • @​effect/platform-node-shared@​0.8.4

0.53.3

Patch Changes

  • Updated dependencies [b77fb0a]:
    • @​effect/platform@​0.58.4
    • @​effect/platform-node-shared@​0.8.3

... (truncated)

Commits

Updates @effect/schema from 0.68.1 to 0.68.9

Release notes

Sourced from @​effect/schema's releases.

@​effect/schema@​0.68.9

Patch Changes

@​effect/schema@​0.68.8

Patch Changes

@​effect/schema@​0.68.7

Patch Changes

Changelog

Sourced from @​effect/schema's changelog.

0.68.9

Patch Changes

0.68.8

Patch Changes

0.68.7

Patch Changes

0.68.6

Patch Changes

  • #3046 530fa9e Thanks @​gcanti! - Fix error message display for composite errors when overwrite = false

    This commit resolves an issue where the custom message for a struct (or tuple or union) was displayed regardless of whether the validation error was related to the entire struct or just a specific part of it. Previously, users would see the custom error message even when the error only concerned a particular field within the struct and the flag overwrite was not set to true.

    import { Schema, TreeFormatter } from "@effect/schema";
    import { Either } from "effect";
    const schema = Schema.Struct({
    a: Schema.String,
    }).annotations({ message: () => "custom message" });
    const res = Schema.decodeUnknownEither(schema)({ a: null });
    if (Either.isLeft(res)) {
    console.log(TreeFormatter.formatErrorSync(res.left));
    // before: custom message
    // now: { readonly a: string }
    //      └─ ["a"]
    //         └─ Expected string, actual null
    }

0.68.5

... (truncated)

Commits

Updates effect from 3.3.5 to 3.4.2

Release notes

Sourced from effect's releases.

[email protected]

Patch Changes

[email protected]

Patch Changes

Changelog

Sourced from effect's changelog.

3.4.2

Patch Changes

3.4.1

Patch Changes

3.4.0

Minor Changes

  • #2938 c0ce180 Thanks @​LaureRC! - Make Option.liftPredicate dual

  • #2938 61707b6 Thanks @​LaureRC! - Add Effect.liftPredicate

    Effect.liftPredicate transforms a Predicate function into an Effect returning the input value if the predicate returns true or failing with specified error if the predicate fails.

    import { Effect } from "effect";
    const isPositive = (n: number): boolean => n > 0;
    // succeeds with 1
    Effect.liftPredicate(1, isPositive, (n) => ${n} is not positive);
    // fails with &quot;0 is not positive&quot;
    Effect.liftPredicate(0, isPositive, (n) => ${n} is not positive);

  • #2938 9c1b5b3 Thanks @​tim-smart! - add EventListener type to Stream to avoid use of dom lib

  • #2938 a35faf8 Thanks @​gcanti! - Add lastNonEmpty function to Chunk module, closes #2946

  • #2938 ff73c0c Thanks @​dilame! - feat(Stream): implement Success, Error, Context type accessors

  • #2938 984d516 Thanks @​tim-smart! - add Micro module

    A lightweight alternative to Effect, for when bundle size really matters.

    At a minimum, Micro adds 5kb gzipped to your bundle, and scales with the amount of features you use.

  • #2938 8c3b8a2 Thanks @​gcanti! - add ManagedRuntime type utils (Context, and Error)

  • #2938 017e2f9 Thanks @​LaureRC! - Add Either.liftPredicate

... (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 2 updates in the / directory: [@effect/platform](https://github.com/Effect-TS/effect/tree/HEAD/packages/platform) and [@effect/platform-node](https://github.com/Effect-TS/effect/tree/HEAD/packages/platform-node).


Updates `@effect/platform` from 0.57.4 to 0.58.9
- [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.51.13 to 0.53.8
- [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.1 to 0.68.9
- [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.3.5 to 3.4.2
- [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-patch
  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 Jun 24, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 26, 2024

Superseded by #16.

@dependabot dependabot bot closed this Jun 26, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/effect-aa75f4dc75 branch June 26, 2024 13:34
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