Enhancements:
- Support Android 8.1 (API 27)
- Support Google Play 15.x
Deprecations:
-
Campaign#getIdAsInt
has been deprecated and will be removed in the next
major release.While the ids happen to be integers today that may change in the future. Plan
now to assume ids may be any form of string value.
Breaking Changes:
-
Campaign#getAttributes
now returns an unmodifiable mapWhile this is technically a breaking change, as now modifications will throw
anjava.lang.UnsupportedOperationException
, it better reflects the intended
owner of the attributes. After a sync, the campaign is updated to match the
server. This includes resetting the attributes to only those from the server. -
Campaign#getEndAt
andCampaign#getStartAt
now return copies of the datesWhile this is technically a breaking change, as you can no longer mutate the
start and end times, these getters should always have returned defensive
copies. -
Campaign#equals
changes the behavior for campaigns with missing idsWhen a
Campaign
instance lacks an id it will no longer be equal to other
instances that are also missing an id. Instead they will now only be equal to
themselves (i.e. the same object instance).Campaign
equality is based on
theid
and without this value comparison behavior is undefined.