Skip to content

Latest commit

 

History

History
241 lines (150 loc) · 8.77 KB

CHANGELOG.md

File metadata and controls

241 lines (150 loc) · 8.77 KB

Change log

vNEXT

  • Loader: allow a space between # and import word in gql files.
    @kidroca in #458

v2.12.6

  • Update peer dependencies to allow graphql ^16.0.0.
    @brainkim in #530

v2.12.5

  • Also publish src/ directory to npm, enabling source maps.
    @maclockard in #403

v2.12.4 (2021-04-29)

  • Allow fragments to be imported by name when using the webpack loader.
    @dobesv in #257

v2.12.3

  • Update tslib dependency to version 2.1.0.
    @benjamn in #381

v2.12.2

  • Avoid using Object.assign to attach extra properties to gql.
    @benjamn in #380

v2.12.1

  • To accommodate older versions of TypeScript, usage of the import type ... syntax (introduced by #325) has been removed, fixing issue #345.
    @benjamn in #352

v2.12.0

  • 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

v2.11.0 (2020-07-28)

  • package.json sideEffects changes to clearly identify that graphql-tag doesn't have side effects.
    @hwillson in #313

v2.10.4 (2020-07-08)

v2.10.3 (2020-02-05)

  • Further adjustments to the TS index.d.ts declaration file.
    @Guillaumez in #289

v2.10.2 (2020-02-04)

  • Update/fix the existing TS index.d.ts declaration file.
    @hwillson in #285

v2.10.1

  • Fix failures in IE11 by avoiding unsupported (by IE11) constructor arguments to Set by rocwang in #190

v2.10.0

v2.9.1

  • Fix IE11 support by using a regular for-loop by vitorbal in #176

v2.9.0

v2.8.0

  • 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

v2.7.{0,1,2,3}

  • Merge and then revert PR #141 due to errors being thrown

v2.6.1

  • Accept graphql@^0.12.0 as peerDependency jnwng addressing #134

v2.6.0

  • Support multiple query definitions when using Webpack loader jfaust in PR #122

v2.5.0

  • Update graphql to ^0.11.0, add graphql@^0.11.0 to peerDependencies pleunv in PR #124

v2.4.{1,2}

  • Temporarily reverting PR #99 to investigate issues with bundling

v2.4.0

v2.3.0

v2.2.2

v2.2.1

v2.2.0

v2.1.0

v2.0.0

Restore dependence on graphql module abhiaiyer91 in PR #46 addressing #6

v1.3.2

  • Add typescript definitions for the bundledPrinter PR #63

v1.3.1

  • Making sure not to log deprecation warnings for internal use of deprecated module jnwng addressing #54

v1.3.0

  • Bump bundled graphql packages to v0.9.1 jnwng in PR #55.
  • Deprecate the graphql/language/parser and graphql/language/printer exports jnwng in PR #55

v1.2.4

Restore Node < 6 compatibility. DragosRotaru in PR #41 addressing #39

v1.2.1

Fixed an issue with fragment imports. PR #35.

v1.2.0

Added ability to import other GraphQL documents with fragments using #import comments. PR #33

v1.1.2

Fix issue with interpolating undefined values Issue #19

v1.1.1

Added typescript definitions for the below.

v1.1.0

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();

v1.0.0

Releasing 0.1.17 as 1.0.0 in order to be explicit about Semantic Versioning.

v0.1.17

  • 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

v0.1.16

  • Add caching to Webpack loader. PR #16

v0.1.15

  • Add Webpack loader to graphql-tag/loader.

v0.1.14

Changes were not tracked before this version.