Skip to content

fix(deps): update dependency @effect/platform to 0.80.x || 0.81.x #184

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

Merged
merged 1 commit into from
May 9, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 9, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@effect/platform (source) 0.80.x -> 0.80.x || 0.81.x age adoption passing confidence

Release Notes

Effect-TS/effect (@​effect/platform)

v0.81.0

Compare Source

Minor Changes
  • #​4842 672920f Thanks @​tim-smart! - allow overriding http span names

    import { FetchHttpClient, HttpClient } from "@​effect/platform"
    import { NodeRuntime } from "@​effect/platform-node"
    import { Effect } from "effect"
    
    Effect.gen(function* () {
      const client = (yield* HttpClient.HttpClient).pipe(
        // Customize the span names for this HttpClient
        HttpClient.withSpanNameGenerator(
          (request) => `http.client ${request.method} ${request.url}`
        )
      )
    
      yield* client.get("https://jsonplaceholder.typicode.com/posts/1")
    }).pipe(Effect.provide(FetchHttpClient.layer), NodeRuntime.runMain)

    And for a server:

    import {
      HttpMiddleware,
      HttpRouter,
      HttpServer,
      HttpServerResponse
    } from "@​effect/platform"
    import { NodeHttpServer, NodeRuntime } from "@​effect/platform-node"
    import { Layer } from "effect"
    import { createServer } from "http"
    
    HttpRouter.empty.pipe(
      HttpRouter.get("/", HttpServerResponse.empty()),
      HttpServer.serve(),
      // Customize the span names for this HttpApp
      HttpMiddleware.withSpanNameGenerator((request) => `GET ${request.url}`),
      Layer.provide(NodeHttpServer.layer(createServer, { port: 3000 })),
      Layer.launch,
      NodeRuntime.runMain
    )

Configuration

📅 Schedule: Branch creation - "before 4am" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

sonarqubecloud bot commented May 9, 2025

@jpb06 jpb06 changed the title chore(deps): update dependency @effect/platform to 0.80.x || 0.81.x fix(deps): update dependency @effect/platform to 0.80.x || 0.81.x May 9, 2025
@jpb06 jpb06 merged commit d2de2db into main May 9, 2025
5 checks passed
@jpb06 jpb06 deleted the renovate/effect-platform-0.x branch May 9, 2025 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant