Skip to content

Releases: ryanhefner/react-contentful

v1.0.0

14 Mar 20:18
Compare
Choose a tag to compare
  • Update react-contentful to support SSR requests
  • Add ContentfulCache to ContentfulClient which supports caching both SSR and client requests
  • Add getDataFromTree and RenderPromises to handle the plucking and fetching of SSR requests
  • Release coincides with/in support of release of next-contentful
  • Site updated to use local dependency of project
  • Took a small step backwards in testing/test coverage, but will be addressed in future releases
  • More documentation and support materials to come

v0.1.0

05 Mar 19:03
Compare
Choose a tag to compare
  • Add parsers/fieldsParser.js which is a generic parser that flattens a Contentful response to just the fields values with a few values extracted from the sys object associated with the fields that are commonly referenced.
  • Clean-up things here and there.

v0.0.5

05 Mar 19:05
Compare
Choose a tag to compare
  • Clean-up dependencies to not conflict with site dependency requirements
  • Add title and metadata to example site
  • Clean-up some other stuff

v0.0.4

20 Feb 23:22
Compare
Choose a tag to compare
  • Fix locale param supplied in Contentful client request

v0.0.3

20 Feb 23:22
Compare
Choose a tag to compare
  • Add Babel runtime dependencies to project to resolve regeneratorRuntime error
  • Minor comment edit in README.md

v0.0.2

20 Feb 21:57
Compare
Choose a tag to compare
  • Add example to How to use section in README.md
  • Update Query component to include onRequest, onLoad and onError callback props
  • Clean-up Contentful client request logic in Query
  • Update Query tests to include coverage for callback props, except for onError (running into issues testing that)
  • Update jest configuration to use new option