- Also publish
src/
directory to npm, enabling source maps.
@maclockard in #403
- To accommodate older versions of TypeScript, usage of the
import type ...
syntax (introduced by #325) has been removed, fixing issue #345.
@benjamn in #352
- The
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.
@PowerKiKi and @benjamn in #325
package.json
sideEffects
changes to clearly identify thatgraphql-tag
doesn't have side effects.
@hwillson in #313
- Bump dev/peer deps to accommodate
graphql
15.
@adriencohen in #299
- Further adjustments to the TS
index.d.ts
declaration file.
@Guillaumez in #289
- Fix failures in IE11 by avoiding unsupported (by IE11) constructor arguments to
Set
by rocwang in #190
- Add support for
graphql@14
by timsuchanek in #210, #211
- Remove duplicate exports in named exports by wacii in #170
- Add
experimentalFragmentVariables
compatibility by lucasconstantino in #167
- Update
graphql
to ^0.13, support testing all compatible versions jnwng in PR #156 - Export single queries as both default and named stonexer in PR #154
- Merge and then revert PR #141 due to errors being thrown
- Temporarily reverting PR #99 to investigate issues with bundling
- Add flow support michalkvasnicak in PR #98
- Fix #61: split('/n') does not work on Windows dnalborczyk in PR #89
- Bumping
graphql
peer dependency to ^0.10.0 dotansimha in PR #85
- Add support for calling
gql
as a function matthewerwin in PR #66 - Including yarn.lock file PowerKiKi in PR #72
- Ignore duplicate fragments when using the Webpack loader czert in PR #52
- Fixing
graphql-tag/loader
by properly stringifying GraphQL Source jnwng in PR #65
Restore dependence on graphql
module abhiaiyer91 in
PR #46 addressing
#6
- Added
graphql
as a peerDependency
- Add typescript definitions for the bundledPrinter PR #63
- Making sure not to log deprecation warnings for internal use of deprecated module jnwng addressing #54
- Bump bundled
graphql
packages to v0.9.1 jnwng in PR #55. - Deprecate the
graphql/language/parser
andgraphql/language/printer
exports jnwng in PR #55
Restore 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
- Add caching to Webpack loader. PR #16
- Add Webpack loader to
graphql-tag/loader
.
Changes were not tracked before this version.