- chore(migrate): Migrated from tslint(deprecated) to eslint configuration
- ci: Added lint:fix command to fix eslint errors
- chore: Added complimenting prettier configuration
- fix: Handle deep nested falsy values in result #68
- ci: Bump braces library to fix security vulnerability
- Updated README to include simple mutation example
- Bumped minimatch library version as a security vulnerability remedy
- Include src files in published package (thanks @esetnik)
- fix: empty object serialization (thanks @blaky)
- Handled empty variables and empty directives (thanks @MorganDbs)
- Fixing args / directives order according to gql specs (thanks @MorganDbs)
- Updated dev dependencies.
- Added support for multiple directives per node (thanks @MorganDbs).
- Added support for named queries/mutations (thanks @peng-huang-cc).
- Update package dependencies to handle security vulnerabilties
- Transfer ownership to @vkolgi - thanks for taking the reins!
- Update to TypeScript 3.7
- Support for full inline fragments (thanks @ConnorWhite)
- Remove deprecated
__alias
(use__aliasFor
instead)
- Added support for array values. We now use the first object found in an array for the node names. If the array does not contain an object, we just return the corresponding key.
- Added
includeFalsyKeys
option, to disable the default behaviour of excluding keys with falsy values. Thanks @bret-hubbard for both of these additions :)
- Added support for Inline Fragments. Thanks again @jeniffer9 :)
- Added
__aliasFor
option. The old__alias
syntax did not support more than one alias. Thanks @jeniffer9 - IMPORTANT:
__alias
is now deprecated and will be removed in version 2.0.0
- Added support for
@client
directives (and other directives that don't need arguments). Thanks @joeflack4! - Added nicer JSON.stringify support for VariableType. Thanks @terion-name
- Added
ignoreFields
option. Thanks @plmercereau
- Added Variables support. Thanks @terion-name
- Added Alias support and made it possible to disable fields. Thanks @wellguimaraes
- Added Enum support, thanks @douglaseggleton