Releases: contentful/contentful.java
Releases · contentful/contentful.java
6.0.0
- New: Support custom retrofit logger
- Changed: Removed final modifier from public classes
5.0.1
- Fixed: ConcurrentModificationException when localized link field points to invalid entry.
5.0.0
- Changed:
CDAArray.items()
now contains ONLY top level resources (no linked resources). All resources are available viaCDAArray.assets()
andCDAArray.entries()
by ID.
4.0.2
- Changed:
CDAField
+Serializable
- Changed:
CDALocale
+Serializable
- Changed: RxJava v1.0.14
4.0.1
- Fixed: NPE when processing entries with null links.
4.0.0
- Changed:
CDAResource
+abstract +Serializable - Changed:
CDAEntry
+final - Changed: Removed wildcard return types.
3.0.0
- New: Major performance improvements especially around array results link resolution.
- New:
getAttribute(name)
returns asys
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 theCDAContentType
for that entry. - New:
CDAArray
hasitems()
which returns a mixture ofCDAResource
objects.assets()
andentries()
are mappings by resource IDs. - New:
CDAAsset.title()
returns the title of the asset. - New: (sync) Mapping of deleted resources via
deletedAssets()
anddeletedEntries()
. - Changed: Replace client "modules" with a simplified
fetch()
/observe()
syntax. - Changed: Cleaner syntax for queries using
FetchQuery
/ObserveQuery
and thewhere()
method. - Changed: Fallback to the default locale. Calling
setLocale(code)
andgetField(name)
- returns the value from the default locale if there isn't one for the active locale. - Changed: Better abstractions for
CDAContentType
fields viaCDAField
. - Changed: Resource types are represented by
CDAType
enum and available for each resource viaCDAResource.type()
. - Changed:
CDASyncedSpace
has been renamed toSynchronizedSpace
. - Changed:
CDAClient.Builder
created viaCDAClient.builder()
. - Changed:
CDAClient.Builder
now usesetSpace(id)
andsetToken(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 viasetEndpoint()
. - Changed: Removed
nullifyUnresolvedLinks()
and set as the default behavior. - Changed: Removed client custom classes mapping.
- Changed: Removed custom client provider (custom client still supported).