Skip to content
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

refactor: treeshakable kind enum #4269

Closed
wants to merge 39 commits into from

Commits on May 9, 2022

  1. Configuration menu
    Copy the full SHA
    1112b4d View commit details
    Browse the repository at this point in the history
  2. 16.5.0

    IvanGoncharov committed May 9, 2022
    Configuration menu
    Copy the full SHA
    1f8ba95 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2022

  1. createSourceEventStream: introduce named arguments and deprecate posi…

    …tional arguments (graphql#3645)
    
    BACKPORT OF graphql#3634
    
    Deprecates the positional arguments to createSourceEventStream, to be removed in the next major version, in favor of named arguments.
    
    Motivation:
    
    1. aligns createSourceEventStream with the other exported entrypoints graphql, execute, and subscribe
    2. allows simplification of mapSourceToResponse
    
    suggested by @IvanGoncharov
    yaacovCR authored Jun 15, 2022
    Configuration menu
    Copy the full SHA
    59a73d6 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2022

  1. Configuration menu
    Copy the full SHA
    af8221a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6c6508b View commit details
    Browse the repository at this point in the history
  3. parser: limit maximum number of tokens (graphql#3702)

    Co-authored-by: Yaacov Rydzinski  <[email protected]>
    IvanGoncharov and yaacovCR authored Aug 16, 2022
    Configuration menu
    Copy the full SHA
    f0a0a4d View commit details
    Browse the repository at this point in the history
  4. 16.6.0

    IvanGoncharov committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    3a51eca View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2022

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

Commits on Feb 15, 2023

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

Commits on May 2, 2023

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

Commits on Jun 21, 2023

  1. 16.7.0

    IvanGoncharov committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    1519fda View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2023

  1. Configuration menu
    Copy the full SHA
    a08aaee View commit details
    Browse the repository at this point in the history
  2. 16.7.1

    IvanGoncharov committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    bf6a9f0 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

  1. Configuration menu
    Copy the full SHA
    bec1b49 View commit details
    Browse the repository at this point in the history
  2. 16.8.0

    IvanGoncharov committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    e4f759d View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2023

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

Commits on Sep 19, 2023

  1. 16.8.1

    IvanGoncharov committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    8a95335 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2024

  1. fix: remove globalThis check and align with what bundlers can accept (

    graphql#4022)
    
    As surfaced in
    [Discord](https://discord.com/channels/625400653321076807/862957336082645006/1206980831915282532)
    this currently is a breaking change in the 16.x.x release line which is
    preventing folks from upgrading towards a security fix. This PR should
    result in a patch release on the 16 release line.
    
    This change was originally introduced to support CFW and browser
    environments which should still be supported with the `typeof` check CC
    @n1ru4l
    
    This also adds a check whether `.env` is present as in the DOM using
    `id="process"` defines that as a global which we don't want to access on
    accident. as shown in graphql#4017
    
    Bundles also target `process.env.NODE_ENV` specifically which fails when
    it replaces `globalThis.process.env.NODE_ENV` as this becomes
    `globalThis."production"` which is invalid syntax.
    
    Fixes graphql#3978
    Fixes graphql#3918
    Fixes graphql#3928
    Fixes graphql#3758
    Fixes graphql#3934
    
    This purposefully does not account for
    graphql#3925 as we can't address
    this without breaking CF/plain browsers so the small byte-size increase
    will be expected for bundled browser environments. As a middle ground we
    did optimise the performance here. We can revisit this for v17.
    
    Most bundlers will be able to tree-shake this with a little help, in
    graphql#4075 (comment)
    you can find a conclusion with a repo where we discuss a few.
    
    - Next.JS by default replaces
    [`process.env.NODE_ENV`](https://github.com/vercel/next.js/blob/b0ab0fe85fe8c93792051b058e060724ff373cc2/packages/next/webpack.config.js#L182)
    you can add `typeof process` linearly
    - Vite allows you to specify
    [`config.define`](https://vitejs.dev/config/shared-options.html#define)
    - ESBuild by default will replace `process.env.NODE_ENV` but does not
    support replacing `typeof process`
    - Rollup has a plugin for this
    https://www.npmjs.com/package/@rollup/plugin-replace
    
    Supersedes graphql#4021
    Supersedes graphql#4019
    Supersedes graphql#3927
    
    > This now also adds a documentation page on how to remove all of these
    JoviDeCroock authored May 29, 2024
    Configuration menu
    Copy the full SHA
    0d12b06 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. Configuration menu
    Copy the full SHA
    c82609e View commit details
    Browse the repository at this point in the history
  2. 16.8.2

    benjie committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    08779a0 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. backport[v16]: Introduce "recommended" validation rules (graphql#4119)

    Co-authored-by: enisdenjo <[email protected]>
    Co-authored-by: Denis Badurina <[email protected]>
    3 people authored Jun 21, 2024
    Configuration menu
    Copy the full SHA
    c985c27 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    29c1bff View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c35130e View commit details
    Browse the repository at this point in the history
  4. backport[v16]: Implement OneOf Input Objects via @oneOf directive (g…

    …raphql#4124)
    
    Co-authored-by: Erik Kessler <[email protected]>
    Co-authored-by: Benedikt Franke <[email protected]>
    Co-authored-by: Michael Hayes <[email protected]>
    Co-authored-by: Mike Ciesielka <[email protected]>
    5 people authored Jun 21, 2024
    Configuration menu
    Copy the full SHA
    29144f7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6a1614c View commit details
    Browse the repository at this point in the history
  6. 16.9.0

    benjie committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    556a01e View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. Configuration menu
    Copy the full SHA
    04cba88 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e1ceb8f View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Add GraphQLConf 2024 banner (graphql#4157)

    Co-authored-by: Saihajpreet Singh <[email protected]>
    bignimbus and saihaj authored Aug 5, 2024
    Configuration menu
    Copy the full SHA
    9a91e33 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2024

  1. Upgrade deprecated actions (graphql#4193)

    In response to some of our actions starting to fail deprecate all of the
    actions that don't work anymore due to using Node 10/12
    
    - [Looks like upload artefact is safe to
    upgrade](https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md)
    we don't seem to overwrite files
    - [Same for
    download](https://github.com/actions/download-artifact/blob/main/docs/MIGRATION.md)
    JoviDeCroock authored Sep 14, 2024
    Configuration menu
    Copy the full SHA
    0517368 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. backport(v16): Require non-empty directive locations (graphql#4100) (g…

    …raphql#4137)
    
    Co-authored-by: James Bellenger <[email protected]>
    Co-authored-by: Saihajpreet Singh <[email protected]>
    3 people authored Sep 18, 2024
    Configuration menu
    Copy the full SHA
    993d7ce View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. fix(validation): catch OverlappingFieldsCanBeMergedRule violations wi…

    …th nested fragments (graphql#4168)
    
    In trying to prevent infinite loops, graphql#3442 introduced a bug that causes certain violations of the [Field Selection Merging](https://spec.graphql.org/draft/#sec-Field-Selection-Merging) validation to not be caught (released in `16.3.0`, and backported to `15.9.0`). This PR fixes this bug, while continuing to prevent infinite loops.
    sachindshinde authored Sep 23, 2024
    Configuration menu
    Copy the full SHA
    45e28a5 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2024

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

Commits on Oct 20, 2024

  1. Convert from docusaurus to nextra (graphql#4240)

    This converts the existing docusaurus website to nextra just like
    https://github.com/graphql/graphql.github.io. This is a first step in
    moving the documentation here and having a redirect from graphql.org to
    graphql-js.org.
    
    Not sure yet why codecov started failing 😅 when I run `testonly:cover`
    locally it tells me we are 100% covered.
    
    WDYT about isolating the dependencies for the website in that folder? As
    seen in
    graphql@9c7d615
    this prevents the weird CI leaks that we're seeing
    
    Resolves graphql#4200
    
    ---------
    
    Co-authored-by: Yaacov Rydzinski <[email protected]>
    JoviDeCroock and yaacovCR authored Oct 20, 2024
    Configuration menu
    Copy the full SHA
    d1c9c42 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9959504 View commit details
    Browse the repository at this point in the history
  3. Styling fixes (graphql#4249)

    Checked for broken styles and fixed them and also went over the links by
    using linkinator. I did check a lot of tools but looks like there isn't
    a good way at the moment to check for broken links that is maintained.
    
    Resolves graphql#4242
    JoviDeCroock authored Oct 20, 2024
    Configuration menu
    Copy the full SHA
    b76f463 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2024

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

Commits on Oct 28, 2024

  1. Fix going to production

    JoviDeCroock committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    16b3d01 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

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