Packages

@graphql-mesh/transport-http

1.2.7 · 17 Nov 2026MIT102k / weekRepositorynpmAtom feed

Your version

0.2.0

26 Jun 2024Where it was published

0.7.3 is the newest release of 0.2.x.

In short

1 breaking1 internal

  • Breaking

    POTENTIAL BREAKING CHANGE:

Release note

The section about @graphql-mesh/transport-http of a note shared by several packages.

Minor Changes

  • #7145
    7544594
    Thanks @ardatan! - POTENTIAL BREAKING CHANGE:

    Now @httpOperation and @transport directive serializes headers as [string, string] instead
    of stringified JSON.

    @httpOperation(
    -  operationSpecificHeaders: [["Authorization", "Bearer 123"], ["X-Api-Key", "123"]]
    +  operationSpecificHeaders: "{\"Authorization\": \"Bearer 123\", \"X-Api-Key\": \"123\"}"
    )
    @transport(
    -  headers: [["Authorization, "Bearer 123"], ["X-Api-Key", "123"]]
    +  headers: "{\"Authorization, \"Bearer 123\", \"X-Api-Key\": \"123\"}"
    )

    Also incorrect placement of @transport has been fixed to SCHEMA

    directive @transport on
    -  FIELD_DEFINITION
    +  SCHEMA

    There is still backwards compatibility but this might look like a breaking change for some users
    during schema validation.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.