Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: graphql/graphql-js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v16.10.0
Choose a base ref
...
head repository: graphql/graphql-js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v16.11.0
Choose a head ref
  • 20 commits
  • 42 files changed
  • 10 contributors

Commits on Jan 15, 2025

  1. Add redirect for /api (#4327)

    This is popular on google as an index page
    JoviDeCroock authored Jan 15, 2025
    Configuration menu
    Copy the full SHA
    0c164d3 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2025

  1. fix sidebar for documentation and /api-v16 (#4331)

    Co-authored-by: Jovi De Croock <decroockjovi@gmail.com>
    dimaMachina and JoviDeCroock authored Jan 29, 2025
    Configuration menu
    Copy the full SHA
    8296fbf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    90ebe5a View commit details
    Browse the repository at this point in the history
  3. Increase print/visit performance (#4312)

    This replaces our expensive method that changes the underlying V8 shape
    multiple times with a loop that preserves the identity as much as
    possible.
    
    ```
    ⏱   Print kitchen sink document
      1 tests completed.
      2 tests completed.
    
      HEAD x 9,290 ops/sec ±0.21% x 1.51 KB/op (24 runs sampled)
      BASE x 2,645 ops/sec ±0.18% x 2.18 KB/op (11 runs sampled)
    ```
    
    ---------
    
    Co-authored-by: Benjie <code@benjiegillam.com>
    JoviDeCroock and benjie authored Jan 29, 2025
    Configuration menu
    Copy the full SHA
    31bf28f View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2025

  1. Improve flow of documentation around GraphiQL (#4340)

    See graphql/graphql.github.io#1951
    
    For someone following the tutorial they may well get as far as running
    the server (`node server.js`) and then attempt to visit their new API
    and get confused because they're met with an error such as
    `{"errors":[{"message":"Missing query"}]}`.
    
    This PR adds some joining text to make it clear this is the expected
    outcome, and they must read on to get the GraphiQL IDE set up so that
    they can write queries.
    benjie authored Feb 5, 2025
    Configuration menu
    Copy the full SHA
    6afd9d1 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2025

  1. typofix: removes extra parenthesis from getting started code snippet (#…

    …4343)
    
    * removes extra parenthesis from getting started code snippet
    rabahalishah authored Feb 12, 2025
    Configuration menu
    Copy the full SHA
    05c92f4 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2025

  1. First draft for upgrade guide to v17 (#4310)

    Co-authored-by: Yaacov Rydzinski <yaacovCR@gmail.com>
    JoviDeCroock and yaacovCR authored Feb 19, 2025
    Configuration menu
    Copy the full SHA
    7066b58 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2025

  1. Configuration menu
    Copy the full SHA
    1437cda View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2025

  1. fixed wrong variable name (#4351)

    Issue
    The server throws an error because the root variable is not defined. The
    correct variable name should be rootValue, which was previously declared
    in the code.
    
    Fix
    Updated rootValue in the createHandler function to use the correct
    variable name.
    
    Changes
    Replaced root with rootValue in the GraphQL handler configuration.
    fto-dev authored Mar 8, 2025
    Configuration menu
    Copy the full SHA
    6b253e7 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2025

  1. Ensure we validate for using nullable variables in oneOf input fields (

    …#4363)
    
    In the spec we explicitly disallow `nullable` variables to be passed to
    the fields of a oneOf input object. This is present in v17 but seems
    missing from v16.
    JoviDeCroock authored Mar 27, 2025
    Configuration menu
    Copy the full SHA
    0a848cc View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2025

  1. Configuration menu
    Copy the full SHA
    5adeb7f View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2025

  1. feat(execution): add max coercion errors option to execution context (#…

    …4366)
    
    This PR add `executionOptions` property to the `ExecutionArgs`.
    Currently only one option can be configured, as is the one I need, but I
    have built an object so it can easily be extended in the future.
    
    The property allows the configuration of the maximum number of errors
    (`maxErrors`) for coercion. This allows the current hardcoded limit
    (`50`) to be reduced to a small number to avoid possible DoS attacks.
    
    > Also, it updates the execution docs to reflect this new change. I
    think the documentation was outdated since functions were using
    positional arguments and now they only accept an object.
    
    No longer updates the docs.
    cristunaranjo authored Apr 10, 2025
    Configuration menu
    Copy the full SHA
    50cbe4a View commit details
    Browse the repository at this point in the history
  2. Correct some syntax (#4369)

    Fixes #4346
    JoviDeCroock authored Apr 10, 2025
    Configuration menu
    Copy the full SHA
    8025494 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7dd7812 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2025

  1. Chore: bump setup-node (#4377)

    Attempting to fix all our failing actions
    JoviDeCroock authored Apr 24, 2025
    Configuration menu
    Copy the full SHA
    2df9d6f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2ca1479 View commit details
    Browse the repository at this point in the history
  3. Refactor every code-first example to leverage resolve (#4372)

    This refactors the code-first examples to use inline-resolvers rather
    than the root-value to show a difference between SDL and code-first.
    JoviDeCroock authored Apr 24, 2025
    Configuration menu
    Copy the full SHA
    1bc2867 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2025

  1. Configuration menu
    Copy the full SHA
    b296a42 View commit details
    Browse the repository at this point in the history
  2. Add missing parenthesis (#4379)

    Follow up to #4378
    benjie authored Apr 25, 2025
    Configuration menu
    Copy the full SHA
    556c80f View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2025

  1. 16.11.0

    JoviDeCroock committed Apr 26, 2025
    Configuration menu
    Copy the full SHA
    c18e9f6 View commit details
    Browse the repository at this point in the history
Loading