graphql-mesh-docs-first-gateway icon indicating copy to clipboard operation
graphql-mesh-docs-first-gateway copied to clipboard

chore(deps): update dependency @graphql-tools/utils to v10.10.3

Open renovate[bot] opened this issue 2 years ago • 0 comments

This PR contains the following updates:

Package Change Age Confidence
@graphql-tools/utils (source) 10.0.5 -> 10.10.3 age confidence

Release Notes

ardatan/graphql-tools (@​graphql-tools/utils)

v10.10.3

Compare Source

Patch Changes
  • #​7683 2fe123a Thanks @​ardatan! - Revert #​7683 which can cause unexpected breaking changes so as before the schema extension node will always be converted to a schema definition node

v10.10.2

Compare Source

Patch Changes
  • #​7679 dddc5f6 Thanks @​ardatan! - Support "federation/subgraph style" schemas in astFromSchema and printSchemaWithDirectives

    If a GraphQLSchema doesn't have any defined operation types, we should print the schema definition as an extension rather than omitting it entirely. They are not a valid schema on their own, but they are valid subgraph schemas in a federation setup, and it is possible to build such schemas with assumeValid options.

    // A schema without defined root types
    buildSchema(
      /* GraphQL */ `
        extend schema @​link(url: "https://specs.apollo.dev/federation/v2.0", import: ["@​key"])
    
        type User @​key(fields: "id") {
          id: ID!
          username: String
        }
      `,
      { assumeValid: true, assumeValidSDL: true }
    )
    

v10.10.1

Compare Source

Patch Changes

v10.10.0

Compare Source

Minor Changes
  • #​5269 fded91e Thanks @​uroslates! - Add default values to the arguments

    When the schema is like following;

    type Query {
        getAllPages(currentPage: Int = 0, pageSize: Int = 10, pageType: getAllPages_pageType = ContentPage, sort: String = "asc"): PagesList
    }
    
    enum getAllPages_pageType {
        ContentPage
        CategoryPage
        CatalogPage
    }
    
    type PagesList {
        ...
    }
    

    The generated operation will be like following;

    query getAllPages_query($currentPage: Int = 0, $pageSize: Int = 10, $pageType: getAllPages_pageType = ContentPage, $sort: String = "asc") {
        getAllPages(currentPage: $currentPage, pageSize: $pageSize, pageType: $pageType, sort: $sort) {
            ...
        }
    }
    
Patch Changes
  • #​7012 fd105f4 Thanks @​ardatan! - Fix the bug in mergeDeep;

    The following inputs and outputs are corrected;

    • mergeDeep([{a:2}, undefined]) - Any nullish values should be ignored so it should return {a:2}
    • mergeDeep([]) - no sources should return undefined
    • mergeDeep([undefined]) - no sources should return undefined
  • #​5294 3b99a9b Thanks @​n1ru4l! - Do not map builtin scalars

v10.9.1

Compare Source

Patch Changes

v10.9.0

Compare Source

Minor Changes
  • #​7281 53db005 Thanks @​EmrysMyrddin! - Add optional subgraphName preoperty to the ExecutionRequest interface for usage in Gateways like Hive Gateway.
Patch Changes

v10.8.6

Compare Source

Patch Changes

v10.8.5

Compare Source

Patch Changes

v10.8.4

Compare Source

Patch Changes

v10.8.3

Compare Source

Patch Changes

v10.8.2

Compare Source

Patch Changes

v10.8.1

Compare Source

Patch Changes

v10.8.0

Compare Source

Minor Changes
Patch Changes
  • 0a3e193 Thanks @​ardatan! - Do not add _v prefix if there is only one argument/variable

v10.7.2

Compare Source

Patch Changes

v10.7.1

Compare Source

Patch Changes

v10.7.0

Compare Source

Minor Changes
  • #​6789 2c70d27 Thanks @​n1ru4l! - - New helper function getAbortPromise to get a promise rejected when AbortSignal is aborted

    • New helper function registerAbortSignalListener to register a listener to abort a promise when AbortSignal is aborted

    Instead of using .addEventListener('abort', () => {/* ... */}), we register a single listener to avoid warnings on Node.js like MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 abort listeners added. Use emitter.setMaxListeners() to increase limit.

v10.6.4

Compare Source

Patch Changes

v10.6.3

Compare Source

Patch Changes
  • 020b9e4 Thanks @​ardatan! - `AbortSignal` in `GraphQLResolveInfo`, and `AbortSignal` in `ExecutionRequest`

v10.6.2

Compare Source

Patch Changes
  • #​6737 1b24656 Thanks @​ardatan! - Handle array of primitives correctly

    The bug was following;

    mergeDeep([{ options: ['$a', '$b'] }, { options: ['$c'] }, { options: ['$d', '$e'] }])
    
    // results in { options: [{}, {}] }
    

v10.6.1

Compare Source

Patch Changes
  • 1e02935 Thanks @​ardatan! - Handle parse errors correctly when loader gets a string directly

v10.6.0

Compare Source

Minor Changes
  • 414e404 Thanks @​ardatan! - new fakePromise, mapMaybePromise and fakeRejectPromise helper functions

v10.5.6

Compare Source

Patch Changes
  • #​6677 dc5043b Thanks @​enisdenjo! - onError and onEnd callbacks from mapAsyncIterator are invoked only once regardless of how many times throw/return was called on the iterator

v10.5.5

Compare Source

Patch Changes

v10.5.4

Compare Source

Patch Changes

v10.5.3

Compare Source

Patch Changes

v10.5.2

Compare Source

Patch Changes
  • 07b87ed Thanks @​ardatan! - Respect extensionASTNodes in directable GraphQLSchema object

v10.5.1

Compare Source

Patch Changes
  • 6291e14 Thanks @​ardatan! - Add all args from extensions to the AST even if they don't exist in the directive def

v10.5.0

Compare Source

Minor Changes

v10.4.0

Compare Source

Minor Changes
  • b8bf584 Thanks @​ardatan! - Introduce `getDirectiveExtensions` and refactor directive handling in the extensions

v10.3.4

Compare Source

Patch Changes

v10.3.3

Compare Source

Patch Changes

v10.3.2

Compare Source

Patch Changes

v10.3.1

Compare Source

Patch Changes

v10.3.0

Compare Source

Minor Changes

v10.2.3

Compare Source

Patch Changes

v10.2.2

Compare Source

Patch Changes
  • #​6238 0f7059b Thanks @​ardatan! - If the given objects are arrays with the same length, merge the elements.

    const a = [{ a: 1 }, { b: 2 }]
    const b = [{ c: 3 }, { d: 4 }]
    const result = mergeDeep(a, b) // [{ a: 1, c: 3 }, { b: 2, d: 4 }]
    

v10.2.1

Compare Source

Patch Changes
  • #​6194 7368829 Thanks @​ardatan! - Handle interface objects in a different way

  • #​6188 e10c13a Thanks @​ardatan! - Add respectArrayLength flag to mergeDeep so instead of concatenating the arrays, elements of them will be merged if they have the same length

v10.2.0

Compare Source

Minor Changes
Patch Changes

v10.1.3

Compare Source

Patch Changes
  • #​6055 4093f70 Thanks @​enisdenjo! - Disallow new lines in paths when checking with isValidPath

    A string may sometimes look like a path but is not (like an SDL of a simple GraphQL schema). To make sure we don't yield false-positives in such cases, we disallow new lines in paths (even though most Unix systems support new lines in file names).

v10.1.2

Compare Source

Patch Changes

v10.1.1

Compare Source

Patch Changes

v10.1.0

Compare Source

Minor Changes

v10.0.13

Compare Source

Patch Changes

v10.0.12

Compare Source

Patch Changes

v10.0.11

Compare Source

Patch Changes

v10.0.10

Compare Source

Patch Changes

v10.0.9

Compare Source

Patch Changes

v10.0.8

Compare Source

Patch Changes
  • accd58fd Thanks @​ardatan! - Extract inspect into the new cross-inspect package

  • Updated dependencies [accd58fd]:

    • cross-inspect@​1.0.0

v10.0.7

Compare Source

Patch Changes
  • b4c17591 Thanks @​ardatan! - Convert GraphQLError like originalError property to a GraphQLError

v10.0.6

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.

renovate[bot] avatar Nov 23 '23 17:11 renovate[bot]