Releases: ryanhefner/contentful-parsers
Releases · ryanhefner/contentful-parsers
v1.2.8
- Fix application of missing
xCollection
s to parsed REST data - Add new tests for
graphqlParser
to confirm collections are being added - Add
.vscode/launch.json
config for launching newtest:debug
script - Update dependencies
v1.2.7
- Update
fieldParser
argumentsprops
andoptions
to be optional, via #54, thanks @andyhqtran 🙌 - Update dependencies
v1.2.6
- Check to make sure
field
exists before checking properties, sincetypeof null === 'object' = true
, ingraphqlParser
v1.2.5
- Update dependencies
v1.2.4
- Change
rootField
torootKey
forgraphqlParser
argument - Update TypeScript declarations to reflect argument change
- Add
@babel/plugin-proposal-optional-chaining
plugin to support optional chaining
v1.2.3
- Update
graphqlParser
TypeScript declarations and makedefinitionMap
andprops
optional
v1.2.2
- Update TypeScript definitions for
graphqlParser
v1.2.1
- Change
operationName
torootField
, addAsset
parsing and update logic inapplyDefinitions
v1.2.0
- Add
options
tofieldsParser
to specify if references and/or arrays should be parsed - Add
cleanClone
step ingraphqlParser
to bring the object parsed byfieldsParser
back into a GraphQL valid shape - Update tests
v1.1.0
- Return
null
/delete entires/references that lack a__typename
- Add test to confirm no entry returned without
__typename