Skip to content

Latest commit

 

History

History
253 lines (197 loc) · 10.3 KB

CHANGELOG.md

File metadata and controls

253 lines (197 loc) · 10.3 KB

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[Unreleased]

[1.7.0]

Added

  • Merges field's arguments PR #189
  • Prefers NonNullable over Nullable PR #189

Fixed

  • Considers extension when ignoring index files PR #188
  • Signature of fileLoader bdaf070

[1.6.0]

Fixed

  • Migrate codebase to TypeScript #195
  • Merge directives #182
  • Merge AST #180
  • Merge Enums #179
  • Support arrays for glob patterns #177
  • Fix duplication issue for interface and scalars #158
  • Fix schema definition issue #155
  • Fix bundling issues; #151 , #145 , #137
  • Fix comment issues #136 , #84
  • Fix error when newDef is undefined #133

[1.5.8]

Fixed

[1.5.7]

Fixed

[1.5.6]

Fixed

  • Support Node.js prior to v10.10, by removing the Dirent Typescript type PR #168 by @koenpunt.

Changed

  • Upgraded devDependencies to:
    • "rollup": "0.66.2",
    • "rollup-plugin-commonjs": "9.1.8"

[1.5.5]

Added

Changed

Fixed

  • Query merge issue when combining NonNull & ListType modifiers PR #161 by @tdharris

[1.5.4]

Fixed

Changed

  • Package updates PR #162 by @cfnelson
    • Upgraded dependencies to:
      • "deepmerge": "^2.1.1",
      • "glob": "^7.1.3",
    • Upgraded devDependencies - Refer to PR

[1.5.3]

Fixed

[1.5.2]

Fixed

[1.5.1] - 2018-03-16

Changed

  • Updated the astPrinter with the latest print.js code from graphql-js. PR #123
  • Updated the mutation test to include some comments. PR #123
  • Updated tests to check NonNullTypes merge scenario when using mergeTypes(types, { all: true}) Thanks to PR #125 by @lastmjs
  • Upgraded dependencies to:
    • "deepmerge": "^2.1.0"
  • Upgraded devDependencies to:
    • "jest": "^22.4.2"
    • "core-js": "^2.5.3"
    • "rollup": "^0.57.0"
    • "graphql": "^0.13.2"
    • "rollup-plugin-babel": "^3.0.3"
    • "eslint-plugin-import": "^2.9.0"
    • "rollup-plugin-commonjs": "^8.4.1"
    • "rollup-plugin-node-resolve": "^3.2.0"

Fixed

  • Correctly handle NonNullTypes when using mergeTypes(types, { all: true}) Thanks to PR #125 by @lastmjs

[1.5.0] - 2018-02-26

Added

  • Ability to merge a GQL Type defined multiple times in separate files. Will throw an error when fieldDefintitons have conflicting values defined. Usage mergeTypes(types, { all: true }). Many thanks to @squidfunk work in PR #118.

Changed

  • Function signature of mergeTypes(types) has changed to include a 2nd optional param (an options object) -> mergeTypes(types, { all: true }). See Added note & PR #118 for details.
  • GraphQL 0.13.x is now supported. Thanks to @jbblanchet PR #120
  • Added Node.js's utils,events, and assert to Rollup's external modules list.

[1.4.0] - 2017-12-04

Changed

  • Bumped graphql peer dependency to version ^0.11.7. PR #103
  • FileLoader now accepts simple glob patterns. Thanks to @thebergamo PR #106
  • bumped deepMerge to v2.0.1
  • bumped npm devDependencies

[1.3.0] - 2017-10-30

Added

  • Add extensions field to fileLoader options to allow specifying file extension explicitly. Thanks to @Vincent-PangPR #99

Fixed

  • mergeResolvers now accepts single resolver array PR #100

[1.2.0] - 2017-10-17

Added

[1.1.4] - 2017-09-15

Added

  • Rollup.js is now used for our build process. We now publish a cjs & esm bundle PR #72

Changed

  • Updated deepmerge to v1.5.1 which fixes this deepmerge issue.PR #89
  • Babel Polyfill has been removed as a dependency, we now directly bundle object.values & array.includes from core-js PR #72

[1.1.3] - 2017-09-01

Changed

  • FileLoader function also loads gql extension files
  • Supports already parsed documents when merging types

[1.1.2] - 2017-08-18

Added

  • Recursive option to fileLoader function

Fixed

  • Preserving comments of input object type fields

[1.1.1] - 2017-07-28

Changed

  • .babelrc to target node version 4.8.3 (for meteor)
  • .npmignore to ignore folders that should not be included in the published package
  • babel to use env preset
  • renamed prepublish to prepare. For more details see here

#Added

  • babel-polyfill to the dependencies

[1.1.0] - 2017-06-30

Changed

  • mergeTypes accepts type definitions AND schema definitions

[1.0.0] - 2017-06-26

Added

  • Npm labels in README

Fixed

  • Change fileLoader to load commonJS and ES6 modules

Changed

  • Deprecated mergeGraphqlSchemas function
  • Exposed fileLoader function
  • FileLoader ignores index.js files
  • Readme example
  • Using node4 babel preset for Meteor apps

[0.0.22] - 2017-06-18

Fixed

  • Ast printer bug fix (allowing more than 2 lines of comments)

[0.0.21] - 2017-06-18

Fixed

  • Ast printer bug fix

Changed

  • Updated graphql-tools to version 1.0.0

[0.0.20] - 2017-06-18

Changed

  • No longer passing schema to gql for validation

Fixed

  • Fixed multiline comments parsing

[0.0.19] - 2017-06-14

Changed

  • Changed implementation of mergeTypes

Fixed

  • mergeTypes now correctly parses comments

[0.0.18] - 2017-06-14

Changed

  • Changed test runner from mocha to jest
  • Adding support for .graphql and .graphqls files

[0.0.17] - 2017-05-28

Changed

  • Upgrading graphql package peer dependency to version 0.10.1

[0.0.16] - 2017-05-26

Fixed

  • Fixed mergeResolvers by calling correct deepMerge method

[0.0.15] - 2017-05-19

Changed

  • Changed babel preset from es2015 to node6

Fixed

  • Removed unused async calls
  • Changed mocha tests to not use arrow functions

[0.0.14] - 2017-05-04

Changed

  • Move graphql[-tag/tools] as peerDependencies to avoid versions duplicata in projects using this package
  • Reduce bundle size by using merge from deepmerge instead of lodash

[0.0.13] - 2017-05-04

Added

  • mergeTypes parses interface type
  • mergeTypes parses union type

[0.0.12] - 2017-05-04

Fixed

  • Minor bug that was adding Subscription and Mutation types

[0.0.11] - 2017-04-28

Added

  • Added a CHANGELOG.md (Yay!!)

Changed

  • Minor refactoring of mergeTypes

[0.0.10] - 2017-04-27

Fixed

  • mergeTypes adds subscription type to schema
  • mergeTypes does not include empty subscription type

[0.0.9] - 2017-04-23

Fixed

  • mergeTypes parses scalar types
  • mergeTypes parses input types
  • mergeTypes parses enum types
  • mergeTypes does not include empty mutation type

[0.0.8] - 2017-02-10