Skip to content

Releases: contentful/contentful.java

4.0.2

26 Aug 09:58

Choose a tag to compare

  • Changed: CDAField +Serializable
  • Changed: CDALocale +Serializable
  • Changed: RxJava v1.0.14

4.0.1

22 Jul 14:37

Choose a tag to compare

  • Fixed: NPE when processing entries with null links.

4.0.0

20 Jul 08:58

Choose a tag to compare

  • Changed: CDAResource +abstract +Serializable
  • Changed: CDAEntry +final
  • Changed: Removed wildcard return types.

3.0.0

15 Jul 16:26

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

Choose a tag to compare

  • Fixed: Default to UTF-8 charset.

2.0.3

19 May 21:52

Choose a tag to compare

  • Fix: NPE for entry with no fields (#69)

2.0.2

07 May 15:01

Choose a tag to compare

  • Fix: NPE for assets in draft state with no media (#63)
  • Retrofit v1.9.0
  • RxJava v1.0.5

2.0.1

05 Jan 10:27

Choose a tag to compare

New: #57 Nullify unresolved links (optional)

2.0.0

09 Dec 11:05

Choose a tag to compare

Fix: #53 Pass CDAClient.Builder to a private constructor
Fix: #51 Remove HTTP Response Object From CDACallback.onSuccess()
Fix: #49 Sync Generates New Executor For Every Callback Invoked
Fix: #47 Asynchronous Methods Should Defer Synchronous Methods
Fix: #44 Unify the API with the CMA SDK
New: #48 Support RxJava For Client Methods
New: #46 Support Custom API EndPoint
New: #45 Support Custom Callback Executor
New: #50 Kotlin Test Suite

1.0.10

28 Nov 09:35

Choose a tag to compare

Fix: RxJava now defers to IO thread.