- Update lock files to patch vulnerabilites in production dependencies
- Support
import * from "..."
syntax (Thanks @dfrankland) - Add
emitDeclarations
option to emit*.d.ts
files next to source graphql files (Thanks @langpavel)
- Maintain support with node v12.3.0+ (Thanks @orkaplan)
- Remove dependence on
require.resolve
to fix issues with node v12 (Thanks @VojtaSim)
- Stop linting the
build
folder in editors
- Add
extensions
option to allow parsing custom file types like.prisma
(:clap: @DaBs)
- Continue fixing bug with multiple imports in a schema file (Thanks @gregorycuellar)
- Fix duplicate code when using multiple imports in one schema file (Thanks @gregorycuellar)
- Add support for #import syntax in schema files
- Improve Options table in README
- Refactor existing tests and add new tests
- Continue fixing compatibility with Babel 6
- Fix compatibility issue with Babel 6
- Reduce output size of AST ({ runtime: false }) by 30%+ 🔥 (👏 @loganfsmyth and @supukarmin)
- Add new 'runtime' option for even smaller output 🔍 (if enabled, 'graphql-tag' is a peerDependency)
- Update all devDependencies 🔄
- Improve the README 🎉
- Update copyright in LICENSE
- Update deprecation/migration info in README.md
- Update package name, author, and repository in package.json
- Temporarily created a new repo on GitHub and published from that, but have now removed that repo and renamed the original repo instead.
- Deprecate this package in favor of
babel-plugin-import-graphql
(see README)
- Add support for fragment-only files with multiple fragments
- Add support for importing fragments from mixed files (containing fragments and operations)
- Refactor plugin to not have direct dependency on @babel/core (hopefully fixing #30)
- Update package-lock.json that was not updated for version 2.3.7
- Automate updating of package-lock.json and yarn.lock
- Remove undocumented
requireGql
export - Update all dependencies
- Update dependencies
- Fix operation files with top level indentation being mistaken for schema files
- Add regression tests for above fix
- Adjust code to conform to relevant breaking change in @babel/core@7.0.0-beta.41 (more forward-compatible solution to "bug" from #24)
- Upgrade @babel/core dependency to 7.0.0-beta.42
- Improve tests code
- Pin versions of babel packages which were causing issue #24
- Begin including package-lock.json file for users of NPM
- Fix fragments inlining as raw text
- Add regression test for above fix
- Fix operations with fragments inlining as raw text
- Add initial test for fragments
- Update all dependencies/devDependencies
- Initial support for schema-like files
- Fix typos in README
-
Multiple operations in a single GraphQL file
-
Named and namespace imports (can be mixed with default imports)
-
Update README.md
-
Upgrade all dependencies (including upgrading to Babel 7)
-
Add Jest and write initial tests covering import types
-
Improve, expand, and reconfigure toolchain (babel, eslint, prettier, lint-staged)
- Add "Known Issues" section to README.md
- Revert changes to babel settings and babel dependencies
- Add
nodePath
option
- Respect
NODE_PATH
environment variable
- Remove leftover files and dependencies from
babel-plugin-inline-import
- Improve .gql file parsing to address issues with Windows and/or IDE settings (@OisinOKeeffe @Tzelon)
- Utilize regex for more robust statement splitting (@Tzelon)
- Change graphql to a peer dependency and allow newer versions
-
Added support for nested fragments
-
Added support for Babel's resolveModuleSource option (@real34)
- Deduplicate fragments
-
Potentially removed Meteor support. Not sure it worked anyway and there's an alternative solution for .graphql files in Meteor.
-
Removed support for customizable extensions. This was undocumented and left over from the project I forked.
<query>.loc.source
is now available on the inlined query
-
Major rewrite. Code is now much smaller and more readable. (1 file, ~60 LOC)
-
Removed dependence on
resolve
package.
First official release with Windows support
Updated README and CHANGELOG
Test version(debugging Windows problems), published as @winfix tag
First version that works on Windows/Mac/Linux
Test version(debugging Windows problems), published as @winfix tag
First working version on Windows, non-functional on Mac/Linux
Test version(debugging Windows problems), published as @winfix tag
Initial attempt, non-functional
Update name of Github repo
Add required graphql dependency
Update npm keywords
Add support for GraphQL Fragments
Remove support for .raw and .text extensions(left over from forked project)
Update forked README to reflect the new package
Add support for .gql file extension
First functional version
Add ability to import .graphql files as AST(only on Mac/Linux)
Fix package.json info
Initial version. Bad publish, non-functional