src/
directory to npm, enabling source maps. import type ...
syntax (introduced by #325) has been removed, fixing issue #345. graphql-tag
repository has been converted to TypeScript, adding type safety and enabling both ECMAScript and CommonJS module exports. While these changes are intended to be as backwards-compatible as possible, we decided to bump the minor version to reflect the significant refactoring. package.json
sideEffects
changes to clearly identify that graphql-tag
doesn't have side effects. graphql
15. index.d.ts
declaration file. Set
by rocwang in #190graphql@14
by timsuchanek in #210, #211experimentalFragmentVariables
compatibility by lucasconstantino in #167graphql
to ^0.13, support testing all compatible versions jnwng in
PR #156graphql
peer dependency to ^0.10.0 dotansimha in
PR #85gql
as a function matthewerwin in
PR #66graphql-tag/loader
by properly stringifying GraphQL Source jnwng in
PR #65Restore dependence on graphql
module abhiaiyer91 in
PR #46 addressing
#6
graphql
as a
peerDependencygraphql
packages to v0.9.1 jnwng in
PR #55.graphql/language/parser
and graphql/language/printer
exports jnwng in
PR #55Restore Node < 6 compatibility. DragosRotaru in PR #41 addressing #39
Fixed an issue with fragment imports. PR #35.
Added ability to import other GraphQL documents with fragments using #import
comments.
PR #33
Fix issue with interpolating undefined values Issue #19
Added typescript definitions for the below.
We now emit warnings if you use the same name for two different fragments.
You can disable this with:
import { disableFragmentWarnings } from 'graphql-tag';
disableFragmentWarnings();
Releasing 0.1.17 as 1.0.0 in order to be explicit about Semantic Versioning.
Allow embedding fragments inside document strings, as in
import gql from 'graphql-tag';
const fragment = gql`
fragment Foo on Bar {
field
}
`;
const query = gql`
{
...Foo
}
${Foo}
`;
See also http://dev.apollodata.com/react/fragments.html
graphql-tag/loader
.Changes were not tracked before this version.