Mirror: The spec-compliant minimum of client-side GraphQL.
1# @0no-co/graphql.web
2
3## 1.2.0
4
5### Minor Changes
6
7- Add support for executable definitions as defined in https://github.com/graphql/graphql-spec/pull/1170
8 Submitted by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#59](https://github.com/0no-co/graphql.web/pull/59))
9
10### Patch Changes
11
12- Handle trailing comment ending in EOF (end of input)
13 Submitted by [@kitten](https://github.com/kitten) (See [#62](https://github.com/0no-co/graphql.web/pull/62))
14
15## 1.1.2
16
17### Patch Changes
18
19- Remove sourcemaps' `sourcesContent` from published package
20 Submitted by [@kitten](https://github.com/kitten) (See [#56](https://github.com/0no-co/graphql.web/pull/56))
21
22## 1.1.1
23
24### Patch Changes
25
26- Remove redundant loc setter/getter in favour of value to improve pre-warmup times
27 Submitted by [@kitten](https://github.com/kitten) (See [#54](https://github.com/0no-co/graphql.web/pull/54))
28
29## 1.1.0
30
31### Minor Changes
32
33- 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
34 Submitted by [@kitten](https://github.com/kitten) (See [#52](https://github.com/0no-co/graphql.web/pull/52))
35
36## 1.0.13
37
38### Patch Changes
39
40- ⚠️ Fix compatibility with typescript 5.5 and higher
41 Submitted by [@andreisergiu98](https://github.com/andreisergiu98) (See [#49](https://github.com/0no-co/graphql.web/pull/49))
42
43## 1.0.12
44
45### Patch Changes
46
47- ⚠️ Fix printing when a manually created AST node with an empty selection set array is passed to the printer
48 Submitted by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#46](https://github.com/0no-co/graphql.web/pull/46))
49
50## 1.0.11
51
52### Patch Changes
53
54- Export Extensions type
55 Submitted by [@jaulz](https://github.com/jaulz) (See [#36](https://github.com/0no-co/graphql.web/pull/36))
56
57## 1.0.10
58
59### Patch Changes
60
61- 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
62 Submitted by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#38](https://github.com/0no-co/graphql.web/pull/38))
63- Add missing exports to make apollo-client functional with this library
64 Submitted by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#39](https://github.com/0no-co/graphql.web/pull/39))
65
66## 1.0.9
67
68### Patch Changes
69
70- Remove `for-of` syntax from `valueFromTypeNode` and `valueFromASTUntyped` helpers for JSC memory reduction
71 Submitted by [@kitten](https://github.com/kitten) (See [#33](https://github.com/0no-co/graphql.web/pull/33))
72
73## 1.0.8
74
75### Patch Changes
76
77- ⚠️ Fix typo causing complex string parsing to fail on subsequent runs
78 Submitted by [@kitten](https://github.com/kitten) (See [#31](https://github.com/0no-co/graphql.web/pull/31))
79
80## 1.0.7
81
82### Patch Changes
83
84- ⚠️ Fix `@ts-ignore` on TypeScript peer dependency import in typings not being applied due to a leading `!` character
85 Submitted by [@IvanUkhov](https://github.com/IvanUkhov) (See [#27](https://github.com/0no-co/graphql.web/pull/27))
86
87## 1.0.6
88
89### Patch Changes
90
91- ⚠️ Fix aliased field name followed by arguments causing parsing error
92 Submitted by [@kitten](https://github.com/kitten) (See [`65c73a0`](https://github.com/0no-co/graphql.web/commit/65c73a0b64a8e5c263683de667942089f143505d))
93
94## 1.0.5
95
96### Patch Changes
97
98- 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
99 Submitted by [@kitten](https://github.com/kitten) (See [#21](https://github.com/0no-co/graphql.web/pull/21))
100- Improve parser performance
101 Submitted by [@kitten](https://github.com/kitten) (See [#25](https://github.com/0no-co/graphql.web/pull/25))
102- Improve printer performance
103 Submitted by [@kitten](https://github.com/kitten) (See [#24](https://github.com/0no-co/graphql.web/pull/24))
104
105## 1.0.4
106
107### Patch Changes
108
109- ⚠️ Fix empty string matches being too eager, e.g. `"", ""`
110 Submitted by [@kitten](https://github.com/kitten) (See [`29cbe5c`](https://github.com/0no-co/graphql.web/commit/29cbe5c8da183747c966aab8f214cfef9a9a5946))
111
112## 1.0.3
113
114### Patch Changes
115
116- ⚠️ 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
117 Submitted by [@kitten](https://github.com/kitten) (See [#17](https://github.com/0no-co/graphql.web/pull/17))
118
119## 1.0.2
120
121### Patch Changes
122
123- ⚠️ Fix browser quirk occurring in Safari 10–13 causing sticky regular expressions in the parser to match when they shouldn't / match too eagerly
124 Submitted by [@kitten](https://github.com/kitten) (See [#15](https://github.com/0no-co/graphql.web/pull/15))
125
126## 1.0.1
127
128### Patch Changes
129
130- Publish with npm provenance
131 Submitted by [@kitten](https://github.com/kitten) (See [#12](https://github.com/0no-co/graphql.web/pull/12))
132
133## 1.0.0
134
135### Major Changes
136
137- Release stable `v1.0.0` Release
138 Submitted by [@kitten](https://github.com/kitten) (See [`ca082c8`](https://github.com/0no-co/graphql.web/commit/ca082c82bcfbedda0b23f4887bffff2d1423e2e2))
139
140### Minor Changes
141
142- 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.
143 Submitted by undefined (See https://github.com/0no-co/graphql.web/pull/10)
144
145## 0.1.6
146
147### Patch Changes
148
149- ⚠️ Fix float pattern and int/float decision in value parsing
150 Submitted by [@kitten](https://github.com/kitten) (See [#8](https://github.com/0no-co/graphql.web/pull/8))
151- Remove redundant code paths from `visit` and parser
152 Submitted by [@kitten](https://github.com/kitten) (See [#8](https://github.com/0no-co/graphql.web/pull/8))
153
154## 0.1.5
155
156### Patch Changes
157
158- Move over unit tests from `graphql-web-lite` and fix minor discrepancies to reference implementation
159 Submitted by [@kitten](https://github.com/kitten) (See [#6](https://github.com/0no-co/graphql.web/pull/6))
160- Optimize performance of `print` and `parse` with minor adjustments
161 Submitted by [@kitten](https://github.com/kitten) (See [#5](https://github.com/0no-co/graphql.web/pull/5))
162
163## 0.1.4
164
165### Patch Changes
166
167- Establish type compatibility with `graphql` package
168 Submitted by [@kitten](https://github.com/kitten) (See [#3](https://github.com/0no-co/graphql.web/pull/3))