Skip to content

Releases: contentful/contentful.java

6.0.0

18 Dec 10:53
Compare
Choose a tag to compare
  • New: Support custom retrofit logger
  • Changed: Removed final modifier from public classes

5.0.1

28 Oct 18:07
Compare
Choose a tag to compare
  • Fixed: ConcurrentModificationException when localized link field points to invalid entry.

5.0.0

27 Oct 21:44
Compare
Choose a tag to compare
  • Changed: CDAArray.items() now contains ONLY top level resources (no linked resources). All resources are available via CDAArray.assets() and CDAArray.entries() by ID.

4.0.2

26 Aug 09:58
Compare
Choose a tag to compare
  • Changed: CDAField +Serializable
  • Changed: CDALocale +Serializable
  • Changed: RxJava v1.0.14

4.0.1

22 Jul 14:37
Compare
Choose a tag to compare
  • Fixed: NPE when processing entries with null links.

4.0.0

20 Jul 08:58
Compare
Choose a tag to compare
  • Changed: CDAResource +abstract +Serializable
  • Changed: CDAEntry +final
  • Changed: Removed wildcard return types.

3.0.0

15 Jul 16:26
Compare
Choose a tag to compare
  • New: Major performance improvements especially around array results link resolution.
  • New: getAttribute(name) returns a sys attribute while inferring the return type.
  • New: getField(name) returns a field value while inferring the return type.
  • New: CDAResource.id() returns the resource ID.
  • New: CDAEntry.contentType() returns the CDAContentType for that entry.
  • New: CDAArray has items() which returns a mixture of CDAResource objects. assets() and entries() are mappings by resource IDs.
  • New: CDAAsset.title() returns the title of the asset.
  • New: (sync) Mapping of deleted resources via deletedAssets() and deletedEntries().
  • Changed: Replace client "modules" with a simplified fetch()/observe() syntax.
  • Changed: Cleaner syntax for queries using FetchQuery/ObserveQuery and the where() method.
  • Changed: Fallback to the default locale. Calling setLocale(code) and getField(name) - returns the value from the default locale if there isn't one for the active locale.
  • Changed: Better abstractions for CDAContentType fields via CDAField.
  • Changed: Resource types are represented by CDAType enum and available for each resource via CDAResource.type().
  • Changed: CDASyncedSpace has been renamed to SynchronizedSpace.
  • Changed: CDAClient.Builder created via CDAClient.builder().
  • Changed: CDAClient.Builder now use setSpace(id) and setToken(token).
  • Changed: Package resource classes under com.contentful.java.cda.
  • Changed: Calling setEndpoint() now takes a full URL.
  • Changed: Asset URLs are no longer scheme prefixed, i.e. "//url.com/foo.jpg".
  • Changed: Removed noSSL() from client builder, can be achieved via setEndpoint().
  • Changed: Removed nullifyUnresolvedLinks() and set as the default behavior.
  • Changed: Removed client custom classes mapping.
  • Changed: Removed custom client provider (custom client still supported).

2.0.4

01 Jun 13:01
Compare
Choose a tag to compare
  • Fixed: Default to UTF-8 charset.

2.0.3

19 May 21:52
Compare
Choose a tag to compare
  • Fix: NPE for entry with no fields (#69)

2.0.2

07 May 15:01
Compare
Choose a tag to compare
  • Fix: NPE for assets in draft state with no media (#63)
  • Retrofit v1.9.0
  • RxJava v1.0.5