On this page

@graphql-mesh/transport-rest

Changelog for @graphql-mesh/transport-rest: every release with its changes and the pull requests behind them.

0.12.2

Patch Changes

0.12.1

Patch Changes

  • Updated dependencies [c7f0f3f, c7f0f3f]:
    • @graphql-mesh/types@0.107.1
    • @graphql-mesh/utils@0.107.1

0.12.0

Patch Changes

  • Updated dependencies [ab73b38, 51b15f4]:
    • @graphql-mesh/types@0.107.0
    • @graphql-mesh/utils@0.107.0

0.11.0

Patch Changes

0.10.1

Patch Changes

0.10.0

Patch Changes

  • Updated dependencies [b7def27]:
    • @graphql-mesh/types@0.105.0
    • @graphql-mesh/utils@0.105.0

0.9.41

Patch Changes

0.9.40

Patch Changes

0.9.39

Patch Changes

0.9.38

Patch Changes

0.9.37

Patch Changes

  • #9365 f6d57a2 Thanks @ardatan! - Respect empty strings for dynamic headers

    When an operation header as "x-custom-header": "{args.myArg}" is defined, if myArg is "", then the header value should also be "" not null.

  • Updated dependencies [95a2d10, 95a2d10]:

    • @graphql-mesh/types@0.104.26
    • @graphql-mesh/utils@0.104.34

0.9.36

Patch Changes

  • Updated dependencies [46d8eed]:
    • @graphql-mesh/utils@0.104.33

0.9.35

Patch Changes

  • Updated dependencies [94fbfbd]:
    • @graphql-mesh/string-interpolation@0.5.16
    • @graphql-mesh/utils@0.104.32

0.9.34

Patch Changes

  • Updated dependencies [339c32c]:
    • @graphql-mesh/string-interpolation@0.5.15
    • @graphql-mesh/utils@0.104.31

0.9.33

Patch Changes

  • Updated dependencies [3ad6a00]:
    • @graphql-mesh/string-interpolation@0.5.14
    • @graphql-mesh/utils@0.104.30

0.9.32

Patch Changes

  • Updated dependencies [13af2ff]:
    • @graphql-mesh/string-interpolation@0.5.13
    • @graphql-mesh/utils@0.104.29

0.9.31

Patch Changes

  • Updated dependencies [300aea0, 300aea0]:
    • @graphql-mesh/types@0.104.25
    • @graphql-mesh/utils@0.104.28

0.9.30

Patch Changes

  • Updated dependencies [2c80833, 2c80833]:
    • @graphql-mesh/types@0.104.24
    • @graphql-mesh/utils@0.104.27

0.9.29

Patch Changes

  • Updated dependencies [5d38d11]:
    • @graphql-mesh/string-interpolation@0.5.12
    • @graphql-mesh/utils@0.104.26

0.9.28

Patch Changes

  • Updated dependencies [4f81520]:
    • @graphql-mesh/types@0.104.23
    • @graphql-mesh/utils@0.104.25

0.9.27

Patch Changes

0.9.26

Patch Changes

  • Updated dependencies [a442cbe, a442cbe, 080aca9]:
    • @graphql-mesh/types@0.104.22
    • @graphql-mesh/utils@0.104.24

0.9.25

Patch Changes

0.9.24

Patch Changes

  • Updated dependencies [6c65df7, 6c65df7, 6e3779c]:
    • @graphql-mesh/types@0.104.20
    • @graphql-mesh/utils@0.104.22

0.9.23

Patch Changes

0.9.22

Patch Changes

0.9.21

Patch Changes

  • Updated dependencies [30e8e32]:
    • @graphql-mesh/string-interpolation@0.5.10
    • @graphql-mesh/utils@0.104.19

0.9.20

Patch Changes

0.9.19

Patch Changes

0.9.18

Patch Changes

  • Updated dependencies [3987b80, 3987b80]:
    • @graphql-mesh/types@0.104.17
    • @graphql-mesh/utils@0.104.17

0.9.17

Patch Changes

  • Updated dependencies [bb42d37, bb42d37]:
    • @graphql-mesh/types@0.104.16
    • @graphql-mesh/utils@0.104.16

0.9.16

Patch Changes

  • Updated dependencies [b077f20]:
    • @graphql-mesh/types@0.104.15
    • @graphql-mesh/utils@0.104.15

0.9.15

Patch Changes

  • Updated dependencies [1db3c6b]:
    • @graphql-mesh/types@0.104.14
    • @graphql-mesh/utils@0.104.14

0.9.14

Patch Changes

0.9.13

Patch Changes

  • #8747 ffec6e7 Thanks @ardatan! - Export PubSub resolver factory

  • Updated dependencies [ffec6e7]:

    • @graphql-mesh/utils@0.104.12
    • @graphql-mesh/types@0.104.12

0.9.12

Patch Changes

  • Updated dependencies [d61faf0]:
    • @graphql-mesh/utils@0.104.11
    • @graphql-mesh/types@0.104.11

0.9.11

Patch Changes

  • Updated dependencies [7852ccd, 7852ccd]:
    • @graphql-mesh/utils@0.104.10
    • @graphql-mesh/types@0.104.10

0.9.10

Patch Changes

  • Updated dependencies [0c18fe1]:
    • @graphql-mesh/types@0.104.9
    • @graphql-mesh/utils@0.104.9

0.9.9

Patch Changes

  • #8716 fb6e935 Thanks @enisdenjo! - Accept and support the upcoming and improved HivePubSub from @graphql-hive/pubsub

  • Updated dependencies [fb6e935, fb6e935, fb6e935]:

    • @graphql-mesh/types@0.104.8
    • @graphql-mesh/utils@0.104.8

0.9.8

Patch Changes

  • Updated dependencies [c37c23b]:
    • @graphql-mesh/types@0.104.7
    • @graphql-mesh/utils@0.104.7

0.9.7

Patch Changes

  • Updated dependencies [e2666bc]:
    • @graphql-mesh/utils@0.104.6
    • @graphql-mesh/types@0.104.6

0.9.6

Patch Changes

  • Updated dependencies [9d61d75]:
    • @graphql-mesh/utils@0.104.5
    • @graphql-mesh/types@0.104.5

0.9.5

Patch Changes

  • Updated dependencies [6b4c546]:
    • @graphql-mesh/types@0.104.4
    • @graphql-mesh/utils@0.104.4

0.9.4

Patch Changes

0.9.3

Patch Changes

  • Updated dependencies [1b5d072]:
    • @graphql-mesh/utils@0.104.2
    • @graphql-mesh/types@0.104.2

0.9.2

Patch Changes

  • 1577309 Thanks @ardatan! - Align upstream error extensions to show subgraph correctly in the upstream error extensions

0.9.1

Patch Changes

  • Updated dependencies [b6c083c, f416982]:
    • @graphql-mesh/utils@0.104.1
    • @graphql-mesh/types@0.104.1

0.9.0

Patch Changes

  • Updated dependencies [4528794, 4528794]:
    • @graphql-mesh/utils@0.104.0
    • @graphql-mesh/types@0.104.0

0.8.23

Patch Changes

  • Updated dependencies [903124f]:
    • @graphql-mesh/utils@0.103.21
    • @graphql-mesh/types@0.103.21

0.8.22

Patch Changes

  • Updated dependencies [3f5e0a1]:
    • @graphql-mesh/utils@0.103.20
    • @graphql-mesh/types@0.103.20

0.8.21

Patch Changes

  • Updated dependencies [d9cf1d3]:
    • @graphql-mesh/types@0.103.19
    • @graphql-mesh/utils@0.103.19

0.8.20

Patch Changes

0.8.19

Patch Changes

  • Updated dependencies [eee582a]:
    • @graphql-mesh/utils@0.103.17
    • @graphql-mesh/types@0.103.17

0.8.18

Patch Changes

  • #8375 b44f8b7 Thanks @ardatan! - More clear key-value pairs in the logs

  • Updated dependencies [b44f8b7]:

    • @graphql-mesh/types@0.103.16
    • @graphql-mesh/utils@0.103.16

0.8.17

Patch Changes

  • Updated dependencies [b5c05c4]:
    • @graphql-mesh/types@0.103.15
    • @graphql-mesh/utils@0.103.15

0.8.16

Patch Changes

  • Updated dependencies [fc44a1e]:
    • @graphql-mesh/types@0.103.14
    • @graphql-mesh/utils@0.103.14

0.8.15

Patch Changes

0.8.14

Patch Changes

  • #8351 0b6ee9c Thanks @ardatan! - Use @whatwg-node/fetch when the transport context doesn’t have one

0.8.13

Patch Changes

  • Updated dependencies [5180b06, c54e361, 78c202e]:
    • @graphql-mesh/utils@0.103.12
    • @graphql-mesh/types@0.103.12
    • @graphql-mesh/string-interpolation@0.5.8

0.8.12

Patch Changes

0.8.11

Patch Changes

  • Updated dependencies [3fc1f3e, 4011203]:
    • @graphql-mesh/types@0.103.11
    • @graphql-mesh/utils@0.103.11

0.8.10

Patch Changes

  • Updated dependencies [b750a41]:
    • @graphql-mesh/utils@0.103.10
    • @graphql-mesh/types@0.103.10

0.8.9

Patch Changes

  • Updated dependencies [10ba2c4]:
    • @graphql-mesh/utils@0.103.9
    • @graphql-mesh/types@0.103.9

0.8.8

Patch Changes

  • Updated dependencies [93fb364]:
    • @graphql-mesh/utils@0.103.8
    • @graphql-mesh/types@0.103.8

0.8.7

Patch Changes

  • #7961 1a7adbf Thanks @ardatan! - HATEOAS Support

  • Updated dependencies []:

    • @graphql-mesh/types@0.103.7
    • @graphql-mesh/utils@0.103.7

0.8.6

Patch Changes

0.8.5

Patch Changes

  • Updated dependencies [9f9f6fe]:
    • @graphql-mesh/utils@0.103.5
    • @graphql-mesh/types@0.103.5

0.8.4

Patch Changes

  • Updated dependencies [8fcfe3f]:
    • @graphql-mesh/types@0.103.4
    • @graphql-mesh/utils@0.103.4

0.8.3

Patch Changes

  • Updated dependencies [6360755]:
    • @graphql-mesh/utils@0.103.3
    • @graphql-mesh/types@0.103.3

0.8.2

Patch Changes

  • Updated dependencies [bfd8929]:
    • @graphql-mesh/utils@0.103.2
    • @graphql-mesh/types@0.103.2

0.8.1

Patch Changes

0.8.0

Patch Changes

  • Updated dependencies [0e49907, 9873b33]:
    • @graphql-mesh/utils@0.103.0
    • @graphql-mesh/types@0.103.0

0.7.15

Patch Changes

0.7.14

Patch Changes

  • Updated dependencies []:
    • @graphql-mesh/types@0.102.13
    • @graphql-mesh/utils@0.102.13

0.7.13

Patch Changes

0.7.12

Patch Changes

  • Updated dependencies [de41fc2, de41fc2, de41fc2]:
    • @graphql-mesh/transport-common@0.7.12
    • @graphql-mesh/types@0.102.11
    • @graphql-mesh/utils@0.102.11

0.7.11

Patch Changes

  • Updated dependencies [997b81c, 997b81c, 997b81c]:
    • @graphql-mesh/transport-common@0.7.11
    • @graphql-mesh/types@0.102.10
    • @graphql-mesh/utils@0.102.10

0.7.10

Patch Changes

  • Updated dependencies [fad4d27]:
    • @graphql-mesh/utils@0.102.9
    • @graphql-mesh/types@0.102.9
    • @graphql-mesh/transport-common@0.7.10

0.7.9

Patch Changes

  • Updated dependencies [518c42c, 518c42c, 518c42c]:
    • @graphql-mesh/transport-common@0.7.9
    • @graphql-mesh/types@0.102.8
    • @graphql-mesh/utils@0.102.8

0.7.8

Patch Changes

0.7.7

Patch Changes

  • Updated dependencies [bf588d3]:
    • @graphql-mesh/utils@0.102.6
    • @graphql-mesh/types@0.102.6
    • @graphql-mesh/transport-common@0.7.7

0.7.6

Patch Changes

  • Updated dependencies [3bf14b3, b7f6ebf, 0a3e52c]:
    • @graphql-mesh/utils@0.102.5
    • @graphql-mesh/types@0.102.5
    • @graphql-mesh/transport-common@0.7.6

0.7.5

Patch Changes

  • Updated dependencies [5146df0]:
    • @graphql-mesh/transport-common@0.7.5

0.7.4

Patch Changes

  • Updated dependencies [edbc074, edbc074, edbc074]:
    • @graphql-mesh/transport-common@0.7.4
    • @graphql-mesh/types@0.102.4
    • @graphql-mesh/utils@0.102.4

0.7.3

Patch Changes

  • Updated dependencies [14ec31f, 14ec31f, 14ec31f]:
    • @graphql-mesh/transport-common@0.7.3
    • @graphql-mesh/types@0.102.3
    • @graphql-mesh/utils@0.102.3

0.7.2

Patch Changes

  • Updated dependencies [5d95aad]:
    • @graphql-mesh/utils@0.102.2
    • @graphql-mesh/types@0.102.2
    • @graphql-mesh/transport-common@0.7.2

0.7.1

Patch Changes

  • #7013 60bfc22 Thanks @ardatan! - Introduce a standard Upstream Error Format for HTTP-based sources;

    So all sources throw an error will have the extensions in the following format;

    {
      "extensions": {
        "request": {
          // The details of the request made to the upstream service
          "endpoint": "https://api.example.com",
          "method": "GET"
        },
        "response": {
          // The details of the HTTP response from the upstream service
          "status": 401,
          "statusText": "Unauthorized",
          "headers": {
            "content-type": "application/json"
          },
          "body": {
            // The raw body returned by the upstream service
            "error-message": "Unauthorized access"
          }
        }
      }
    }
  • Updated dependencies [e49a7e6, 60bfc22]:

    • @graphql-mesh/utils@0.102.1
    • @graphql-mesh/transport-common@0.7.1
    • @graphql-mesh/types@0.102.1

0.7.0

Patch Changes

  • Updated dependencies [13fa835, db41f96]:
    • @graphql-mesh/string-interpolation@0.5.6
    • @graphql-mesh/types@0.102.0
    • @graphql-mesh/utils@0.102.0
    • @graphql-mesh/transport-common@0.7.0

0.6.2

Patch Changes

0.6.1

Patch Changes

  • #7516 67e1062 Thanks @enisdenjo! - Transport’s kind doesn’t need to be typed

  • Updated dependencies [67e1062]:

    • @graphql-mesh/transport-common@0.6.1

0.6.0

Patch Changes

0.5.0

Patch Changes

0.4.9

Patch Changes

  • Updated dependencies [a1bfc49]:
    • @graphql-mesh/types@0.99.7
    • @graphql-mesh/utils@0.99.7
    • @graphql-mesh/transport-common@0.4.7

0.4.8

Patch Changes

0.4.7

Patch Changes

  • #7444 a4e53d9 Thanks @renovate! - dependencies updates:

  • #7443 8bccd9a Thanks @ardatan! - POSSIBLE BREAKING CHANGE WARNING: This change is breaking for OpenAPI schemas that have discriminator mapping. It fixes a bug when you have keys in the discriminator mapping that are invalid per GraphQL spec. Now in the artifacts @discriminator directive’s mapping argument is [String!]! instead of ObjMap. You should make sure both the consumer and the producer of the artifacts are updated to this version.

    discriminator:
      propertyName: petType
      mapping:
        'pet-cat': '#/components/schemas/Cat'
        'pet-dog': '#/components/schemas/Dog'

    This OpenAPI used to be translated into;

    @directive(mapping: { "pet-cat": "#/components/schemas/Cat", "pet-dog": "#/components/schemas/Dog" })

    But this is invalid in GraphQL spec, so now it’s translated into;

    @directive(mapping: [["pet-cat", "#/components/schemas/Cat"], ["pet-dog", "#/components/schemas/Dog"]])

0.4.6

Patch Changes

  • Updated dependencies [33c23e8]:
    • @graphql-mesh/utils@0.99.5
    • @graphql-mesh/types@0.99.5
    • @graphql-mesh/transport-common@0.4.5

0.4.5

Patch Changes

  • #7388 c4190a9 Thanks @ardatan! - Fix the issue when a discriminator is used with a response that has multiple status codes

0.4.4

Patch Changes

  • Updated dependencies [597e790, 597e790]:
    • @graphql-mesh/utils@0.99.4
    • @graphql-mesh/types@0.99.4
    • @graphql-mesh/transport-common@0.4.4

0.4.3

Patch Changes

  • Updated dependencies [5e5dec5, 5e5dec5]:
    • @graphql-mesh/utils@0.99.3
    • @graphql-mesh/types@0.99.3
    • @graphql-mesh/transport-common@0.4.3

0.4.2

Patch Changes

  • Updated dependencies [b01f3ea, 0bdc18d, 4bc495c, 4bc495c, 4bc495c, 345a814]:
    • @graphql-mesh/string-interpolation@0.5.5
    • @graphql-mesh/transport-common@0.4.2
    • @graphql-mesh/types@0.99.2
    • @graphql-mesh/utils@0.99.2

0.4.1

Patch Changes

  • Updated dependencies [7800514, 7800514, 7800514]:
    • @graphql-mesh/transport-common@0.4.1
    • @graphql-mesh/types@0.99.1
    • @graphql-mesh/utils@0.99.1

0.4.0

Patch Changes

0.3.2

Patch Changes

0.3.1

Patch Changes

0.3.0

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.

Patch Changes

  • #7046 ac77ce9 Thanks @ardatan! - New option for query string parameters jsonStringify;

    Now either under the operation or globally, you can set jsonStringify to true to stringify nested query string parameters as JSON.

    operations:
      - type: Query
        field: books
        method: GET
        path: /books
        queryStringOptions:
          jsonStringify: true
        queryParamArgMap:
          page: page
        argTypeMap:
          page:
            type: object
            additionalProperties: false
            properties:
              limit:
                type: integer
              offset:
                type: integer
        responseSample:
          books:
            - title: 'Book 1'
            - title: 'Book 2'

    Then the URL will be /books?page={"limit":10,"offset":0}, as you can see page is stringified as JSON.

  • Updated dependencies [f985978, 7544594, 7544594]:

    • @graphql-mesh/utils@0.98.9
    • @graphql-mesh/transport-common@0.3.0
    • @graphql-mesh/types@0.98.9

0.2.9

Patch Changes

0.2.8

Patch Changes

  • #7054 88d6232 Thanks @ardatan! - Do not consume the uploaded file inside the fetch call, and pass it to the upstream directly as a stream
  • Updated dependencies [88d6232, b5bf97c, 4c75671, 88d6232, 88d6232]:
    • @graphql-mesh/utils@0.98.8
    • @graphql-mesh/types@0.98.8
    • @graphql-mesh/transport-common@0.2.8

0.2.7

Patch Changes

  • Updated dependencies []:
    • @graphql-mesh/types@0.98.7
    • @graphql-mesh/utils@0.98.7
    • @graphql-mesh/transport-common@0.2.7

0.2.6

Patch Changes

0.2.5

Patch Changes

  • Updated dependencies [c4d2249]:
    • @graphql-mesh/utils@0.98.5
    • @graphql-mesh/types@0.98.5
    • @graphql-mesh/transport-common@0.2.5

0.2.4

Patch Changes

  • Updated dependencies [fb59244]:
    • @graphql-mesh/transport-common@0.2.4
    • @graphql-mesh/types@0.98.4
    • @graphql-mesh/utils@0.98.4

0.2.3

Patch Changes

  • Updated dependencies [c47b2aa]:
    • @graphql-mesh/transport-common@0.2.3
    • @graphql-mesh/types@0.98.3
    • @graphql-mesh/utils@0.98.3

0.2.2

Patch Changes

  • 96dd11d Thanks @ardatan! - Bump GraphQL Tools versions

  • Updated dependencies [96dd11d]:

    • @graphql-mesh/transport-common@0.2.2
    • @graphql-mesh/cross-helpers@0.4.2
    • @graphql-mesh/types@0.98.2
    • @graphql-mesh/utils@0.98.2

0.2.1

Patch Changes

  • Updated dependencies [3d88cb8, 6044b7f]:
    • @graphql-mesh/string-interpolation@0.5.4
    • @graphql-mesh/types@0.98.1
    • @graphql-mesh/utils@0.98.1
    • @graphql-mesh/transport-common@0.2.1

0.2.0

Patch Changes

0.1.6

Patch Changes

  • Updated dependencies [52f74e7]:
    • @graphql-mesh/types@0.97.5
    • @graphql-mesh/utils@0.97.5
    • @graphql-mesh/transport-common@0.1.5

0.1.5

Patch Changes

  • Updated dependencies [e2fb7ed, e2fb7ed, ff33394]:
    • @graphql-mesh/utils@0.97.4
    • @graphql-mesh/types@0.97.4
    • @graphql-mesh/transport-common@0.1.4

0.1.4

Patch Changes

  • Updated dependencies [57f4a60]:
    • @graphql-mesh/types@0.97.3
    • @graphql-mesh/utils@0.97.3
    • @graphql-mesh/transport-common@0.1.3

0.1.3

Patch Changes

  • Updated dependencies [7a712ab]:
    • @graphql-mesh/types@0.97.2
    • @graphql-mesh/utils@0.97.2
    • @graphql-mesh/transport-common@0.1.2

0.1.2

Patch Changes

0.1.1

Patch Changes

  • Updated dependencies [dbaf72c]:
    • @graphql-mesh/types@0.97.1
    • @graphql-mesh/utils@0.97.1
    • @graphql-mesh/transport-common@0.1.1

0.1.0

Patch Changes

  • Updated dependencies [92dce67, 70b05a2]:
    • @graphql-mesh/types@0.97.0
    • @graphql-mesh/utils@0.97.0
    • @graphql-mesh/transport-common@0.1.0

0.0.3

Patch Changes

  • Updated dependencies [0f274ef]:
    • @graphql-mesh/utils@0.96.6
    • @graphql-mesh/types@0.96.6
    • @graphql-mesh/transport-common@0.0.3

0.0.2

Patch Changes

  • #6563 2138dea Thanks @ardatan! - Handle nullable required fields as nullable in GraphQL

  • Updated dependencies [4b3ea1d]:

    • @graphql-mesh/types@0.96.5
    • @graphql-mesh/transport-common@0.0.2
    • @graphql-mesh/utils@0.96.5

0.0.1

Patch Changes

  • #6541 a7984e5 Thanks @ardatan! - New Fusion packages

  • Updated dependencies [ae7b085, a7984e5]:

    • @graphql-mesh/types@0.96.4
    • @graphql-mesh/transport-common@0.0.1
    • @graphql-mesh/utils@0.96.4