Skip to content

Releases: foomo/gocontentful

Final space caching release

16 Jun 12:27
Compare
Choose a tag to compare

What's new in this release

This release completes the set of in-memory caching features mainly adding support for caching data from the Preview API. This includes a new ContentfulClient method named UpdateCacheForEntity that downloads a changed entry from the CPA and safely updates the cache. This allows for almost-instant preview features on client application. Several other performance and security improvements were added to the caching layer.

Please note that entry maps in the cache are now private. This is a potentially backward incompatible if your application used to access them directly (which it shouldn't do anyway, always use the GetXXXByID methods)

Other features

  • RichText support and conversion to HTML is enhanced by supporting EntryLinkResolver functions to return custom attributes to the tag. All resolvers now return attributes for the matching HTML tag
  • The new FieldToObject helper can convert the interface{} coming from a JSON field to an object with a matching annotated struct type

Improved caching

30 Mar 09:36
Compare
Choose a tag to compare

This release includes an improved caching mechanism (safe access to cache maps, context support, proper clean-up) along with several fixes and enchancements.

First gocontentful release

18 Mar 17:44
Compare
Choose a tag to compare

This release includes all the features described in the readme file and is the first complete and cleaned-up version.

Preliminary release of built-in caching version

17 Mar 16:02
Compare
Choose a tag to compare

This is the first release with built-in caching, still rounding some rough edges...