Skip to content

Releases: foomo/gocontentful

v1.0.4

03 Mar 15:43
Compare
Choose a tag to compare

Changelog

  • d7b07e1 chore: version bump
  • 78e556a feat: space caching fallback from local export file
  • 10feb60 Merge pull request #3 from foomo/feature/env-support
  • 55d3ab9 feat: rename flag and variables env to enviroment
  • d11acea feat: add support for enviroments

v1.0.3

04 Feb 14:19
Compare
Choose a tag to compare

Changelog

  • 9ae8b80 feat: reduce number of changed lines in generated files on content model changes

v1.0.2

07 Jan 10:29
Compare
Choose a tag to compare

Changelog

  • 708efc7 chore: add arm64
  • 712158a feat: BrokenReferences helper method

v1.0.1

18 Nov 10:16
Compare
Choose a tag to compare

New features

  • Offline client: can load a space export JSON file, cache it and use the complete gocontentful API offline (useful for unit tests)
  • Custom HTML in ImageResolver func: converting RichTextToHTML now lets you output a custom snippet for images (e.g. for PICTURE)

Fixes

  • Race condition where a cached entry field read operation done concurrently with a call to a setter on the same field lead to panic

v1.0.0

24 Sep 09:40
Compare
Choose a tag to compare

New features

  • Support for Contentful environments (requires foomo/contentful v0.3.6, update your go.mod)
  • EmbeddedEntryResolver in RichTextToHTML (WARNING: this changes the function signature)
  • Clean up of Unicode non-breaking spaces in RichTextToHTML

Fixes

  • Asset fields extraction for non-default locales returned default locale fields
  • Removing a cached entry from Contentful when single-entry cache updates are enabled may lead to a deadlock
  • Nil check on ContentfuClient in various methods to prevent panic

Improvements

  • Error logging

v0.9.9

06 Aug 12:49
Compare
Choose a tag to compare

Changelog

1ae2f25 feat: skip broken references, added ClientStats()

v0.9.8

03 Aug 08:17
Compare
Choose a tag to compare

Changelog

81fc157 chore: fix version flag

v0.9.7

30 Jul 16:28
Compare
Choose a tag to compare

Changelog

f51175a chore: fix version flag

v0.9.6

30 Jul 16:20
Compare
Choose a tag to compare

Changelog

ca75777 chore: fix main file

Maintenance release

08 Jul 10:14
Compare
Choose a tag to compare

Fixes an issue with a hardcoded slice of locales