Releases: foomo/gocontentful
Releases · foomo/gocontentful
v1.0.4
v1.0.3
v1.0.2
v1.0.1
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
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
v0.9.8
v0.9.7
v0.9.6
Maintenance release
Fixes an issue with a hardcoded slice of locales