Skip to content

Latest commit

 

History

History
121 lines (74 loc) · 4.95 KB

CHANGELOG.md

File metadata and controls

121 lines (74 loc) · 4.95 KB

@0no-co/graphql.web

1.0.11

Patch Changes

  • Export Extensions type Submitted by @jaulz (See #36)

1.0.10

Patch Changes

  • Add loc getter to parsed DocumentNode fragment outputs to ensure that using fragments created by gql.tada's graphql() function with graphql-tag doesn't crash. graphql-tag does not treat the DocumentNode.loc property 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-of syntax from valueFromTypeNode and valueFromASTUntyped helpers 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-ignore on 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-co packages. Effectively, this will mean that the JS features range we support will now match urql, and in practice, this means that for-of is 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

  • ⚠️ Fix empty string matches being too eager, e.g. "", "" Submitted by @kitten (See 29cbe5c)

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

  • Publish with npm provenance Submitted by @kitten (See #12)

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 #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 visit and parser Submitted by @kitten (See #8)

0.1.5

Patch Changes

  • Move over unit tests from graphql-web-lite and fix minor discrepancies to reference implementation Submitted by @kitten (See #6)
  • Optimize performance of print and parse with minor adjustments Submitted by @kitten (See #5)

0.1.4

Patch Changes

  • Establish type compatibility with graphql package Submitted by @kitten (See #3)