Skip to content

Releases: ryanhefner/contentful-parsers

v1.2.8

07 Oct 17:04
Compare
Choose a tag to compare
  • Fix application of missing xCollections to parsed REST data
  • Add new tests for graphqlParser to confirm collections are being added
  • Add .vscode/launch.json config for launching new test:debug script
  • Update dependencies

v1.2.7

02 Oct 15:53
Compare
Choose a tag to compare
  • Update fieldParser arguments props and options to be optional, via #54, thanks @andyhqtran 🙌
  • Update dependencies

v1.2.6

09 Sep 22:19
Compare
Choose a tag to compare
  • Check to make sure field exists before checking properties, since typeof null === 'object' = true, in graphqlParser

v1.2.5

09 Sep 20:58
Compare
Choose a tag to compare
  • Update dependencies

v1.2.4

09 Sep 20:58
Compare
Choose a tag to compare
  • Change rootField to rootKey for graphqlParser argument
  • Update TypeScript declarations to reflect argument change
  • Add @babel/plugin-proposal-optional-chaining plugin to support optional chaining

v1.2.3

09 Sep 20:57
Compare
Choose a tag to compare
  • Update graphqlParser TypeScript declarations and make definitionMap and props optional

v1.2.2

02 Sep 23:58
Compare
Choose a tag to compare
  • Update TypeScript definitions for graphqlParser

v1.2.1

02 Sep 23:55
Compare
Choose a tag to compare
  • Change operationName to rootField, add Asset parsing and update logic in applyDefinitions

v1.2.0

02 Sep 23:46
Compare
Choose a tag to compare
  • Add options to fieldsParser to specify if references and/or arrays should be parsed
  • Add cleanClone step in graphqlParser to bring the object parsed by fieldsParser back into a GraphQL valid shape
  • Update tests

v1.1.0

17 Aug 02:53
Compare
Choose a tag to compare
  • Return null/delete entires/references that lack a __typename
  • Add test to confirm no entry returned without __typename