Mirror: The spec-compliant minimum of client-side GraphQL.
@0no-co/graphql.web#
1.2.0#
Minor Changes#
- Add support for executable definitions as defined in https://github.com/graphql/graphql-spec/pull/1170 Submitted by @JoviDeCroock (See #59)
Patch Changes#
1.1.2#
Patch Changes#
1.1.1#
Patch Changes#
- Remove redundant loc setter/getter in favour of value to improve pre-warmup times Submitted by @kitten (See #54)
1.1.0#
Minor Changes#
- Improve parser performance (up to ~25% higher ops/s) by rewriting part of the parsing that runs in tight loops. Previously, the purer parser combinators w/o regexs wouldn't have been as significant of an improvement, but they now clearly are Submitted by @kitten (See #52)
1.0.13#
Patch Changes#
- ⚠️ Fix compatibility with typescript 5.5 and higher Submitted by @andreisergiu98 (See #49)
1.0.12#
Patch Changes#
- ⚠️ Fix printing when a manually created AST node with an empty selection set array is passed to the printer Submitted by @JoviDeCroock (See #46)
1.0.11#
Patch Changes#
1.0.10#
Patch Changes#
- Add
locgetter to parsedDocumentNodefragment outputs to ensure that using fragments created bygql.tada'sgraphql()function withgraphql-tagdoesn't crash.graphql-tagdoes not treat theDocumentNode.locproperty as optional on interpolations, which leads to intercompatibility issues Submitted by @JoviDeCroock (See #38) - Add missing exports to make apollo-client functional with this library Submitted by @JoviDeCroock (See #39)
1.0.9#
Patch Changes#
- Remove
for-ofsyntax fromvalueFromTypeNodeandvalueFromASTUntypedhelpers for JSC memory reduction Submitted by @kitten (See #33)
1.0.8#
Patch Changes#
- ⚠️ Fix typo causing complex string parsing to fail on subsequent runs Submitted by @kitten (See #31)
1.0.7#
Patch Changes#
- ⚠️ Fix
@ts-ignoreon TypeScript peer dependency import in typings not being applied due to a leading!character Submitted by @IvanUkhov (See #27)
1.0.6#
Patch Changes#
- ⚠️ Fix aliased field name followed by arguments causing parsing error
Submitted by @kitten (See
65c73a0)
1.0.5#
Patch Changes#
- Update build process to align with other
@0no-copackages. Effectively, this will mean that the JS features range we support will now matchurql, and in practice, this means thatfor-ofis now used in our build output Submitted by @kitten (See #21) - Improve parser performance Submitted by @kitten (See #25)
- Improve printer performance Submitted by @kitten (See #24)
1.0.4#
Patch Changes#
1.0.3#
Patch Changes#
- ⚠️ Fix string and block string matches eagerly matching past the end boundary of strings and ignoring escaped closing characters. In certain cases,
"""and"boundaries would be skipped if any other string boundary follows in the input document Submitted by @kitten (See #17)
1.0.2#
Patch Changes#
- ⚠️ Fix browser quirk occurring in Safari 10–13 causing sticky regular expressions in the parser to match when they shouldn't / match too eagerly Submitted by @kitten (See #15)
1.0.1#
Patch Changes#
1.0.0#
Major Changes#
Minor Changes#
- Alias all GraphQL AST types to the
'graphql'package’s TypeScript AST types, if it’s installed. This will ensure that all AST types are always compatible. Submitted by undefined (See https://github.com/0no-co/graphql.web/pull/10)
0.1.6#
Patch Changes#
- ⚠️ Fix float pattern and int/float decision in value parsing Submitted by @kitten (See #8)
- Remove redundant code paths from
visitand parser Submitted by @kitten (See #8)
0.1.5#
Patch Changes#
- Move over unit tests from
graphql-web-liteand fix minor discrepancies to reference implementation Submitted by @kitten (See #6) - Optimize performance of
printandparsewith minor adjustments Submitted by @kitten (See #5)