Skip to content

Releases: ably/ably-asset-tracking-android

1.7.0

27 Apr 07:33
a89dc8a
Compare
Choose a tag to compare

Full Changelog

Implemented enhancements:

Fixed bugs:

  • Extended disconnection after long period of connectivity #1039

Closed issues:

  • Add Status to Readme #1048
  • Subscriber NetworkConnectivityTests: EnterFailedWithNonFatalNack #1017
  • Subscriber NetworkConnectivityTests: UpdateFailedWithNonFatalNack #1018
  • Subscriber NetworkConnectivityTests: TCPConnectionUnresponsive #1016

Merged pull requests:

1.6.4

08 Mar 16:48
8eda44c
Compare
Choose a tag to compare

Full Changelog

Breaking changes:

  • Subscriber: do not attempt to update presence data when channel is suspended #980

Fixed bugs:

  • ErrorInformation must not enforce non-nullability #1014
  • Memory leak connected to the Mapbox SDK #810

Closed issues:

  • Handling invalid values from mapbox #1004
  • Remove ConnectionException from docstrings of Publisher.add/track #995
  • Handle update presence retries in the WorkerQueue #962
  • Fix memory leaks on publisher example apps #815
  • Modify AddTrackableFailedWorker implementation to provide a result #546

Merged pull requests:

1.6.3

14 Feb 11:48
4d13ae7
Compare
Choose a tag to compare

1.6.3

Full Changelog

Fixed bugs:

  • Re-adding a trackable results in trackable being offline #989
  • Re-added trackable does not enter or subscribe to presenc #988
  • Re-adding trackable immediately after removing it causes NullPointerException #984
  • Exceptions thrown inside a block passed to DefaultAbly’s scope.launch() are suppressed #909

Closed issues:

  • Remove ConnectionException from docstrings of Publisher.add/track #995
  • Improve the version 1.5.1 to 1.6.0 migration guide #974
  • Remove workaround for handling failed connection when adding a trackable #898

Merged pull requests:

1.6.2

03 Feb 16:35
1a1869e
Compare
Choose a tag to compare

What's Changed

  • Downgrade google-play-services-location version to 17.1.0 by @davyskiba in #991

Full Changelog: v1.6.1...v1.6.2

1.6.1

02 Feb 22:09
4c37fce
Compare
Choose a tag to compare

This release adds additional enhancements to operational stability, for publishers in particular, when running on a devices with unreliable network connectivity.

Please see:

Full Changelog

Implemented enhancements:

  • Wait for Ably connection to leave the "suspended" state before performing operations on Ably #973
  • Make publisher.track() and publisher.add() return instantly #966

Fixed bugs:

  • Handle presence.enter() retries in a special way #972
  • Remove connect() and attach() timeouts from DefaultAbly #948
  • Non-fatal errors responses for presence.enter() cause Publisher to throw exceptions #907
  • Publisher can get into a bad state if offline for > 2 minutes #906
  • Publisher apps reporting "Timeout was thrown when waiting for channel to attach" #859

Closed issues:

  • Flakey test: faultBeforeAddingTrackable[DisconnectWithFailedResume] #961
  • Presence operations are invalidly reattempted after a failed resume #951
  • Add Publisher.start() and Publisher.stop() coverage to NetworkConnectivityTest #939
  • Adding trackable just before fallback reconnection results in multiple exceptions #863

Merged pull requests:

1.6.0

31 Jan 11:09
8c4a394
Compare
Choose a tag to compare

This release enhances operational stability, for publishers in particular, when running on a devices with unreliable network connectivity.

Please see:
Upgrade / Migration Guide from v.1.5.1

Full Changelog

Implemented enhancements:

  • Upgrade to Mapbox Nav SDK 2.10.0 #882
  • Consider supporting static token authentication #730

Fixed bugs:

  • Exceptions thrown for new publishing requests when offline #871
  • Retry behaviour improvements for Ably API calls #927
  • Publisher.remove\(\) fails during several connectivity faults #905
  • Adding a trackable stalls forever if presence.enter() is interrupted by a disconnection #896
  • Publisher crashes when location data has NaN value #861
  • Subscriber, upon losing connectivity, continues to show the Publisher as online #835
  • Subscriber, upon losing connectivity, continues to show the Publisher as online #833
  • Unexpected exceptions fail the worker queue and silently break the SDK #830
  • Fix the logic responsible for deciding if an enhanced location update is predicted #828
  • Java users cannot build a publisher due to type issue #826
  • NPE from ably-java SDK #809

Closed issues:

  • Investigate TODO comment in DropAction fault regarding "limit" #934
  • Reduce publisher location check polling interval #946
  • Flakey test: com.ably.tracking.publisher.NetworkConnectivityTests > faultDuringTracking[NullTransportFault] #943
  • Make NetworkConnectivityTests verify expected side-effects of operations publisher SDK claims was successful #925
  • Reduce complexity of state transition assertions in NetworkConnectivityTests #901
  • connect - when channel fetched is in DETACHED state and attach fails causes emulator to hang #900
  • createAndStartPublisherAndSubscriberAndWaitUntilDataEnds IndexOutOfBoundsException #899
  • Flakey test: when an unexpected exception is thrown by worker's async work, the queue should call worker's unexpected async exception method #888
  • Investigate documented ConnectionException thrown by Publisher.Builder.start and how users are meant to handle it #876
  • Investigate ConnectionException thrown by Publisher.stop and whether we can remove it #873
  • Try simulating networking problems during core use cases #865
  • Sending presence leave event times out whilst still connected #862
  • shouldNotEmitPublisherPresenceFalseIfPublisherIsPresentFromTheStart (PublisherAndSubscriberTests) failing with "first publisherPresence value should be true" #845
  • staticTokenAuthenticationShouldCreateWorkingConnectionBetweenPublisherAndSubscriber (AuthenticationTests) failing with "Expectation 'subscriber received a location update' unfulfilled." #844
  • Replace deprecated package attribute in manifest file #837
  • Test issue for sync #834
  • Enable logging in the example apps by default #818
  • Update workflows to stop using the set-output command #817
  • Update workflows to stop using Node.js 12 actions #816
  • Refactor Publisher EventQueue to match Subscriber #781
  • Consider if we should allow to create multiple publisher instances #464
  • Flakey Test: createAndStartPublisherAndSubscriberAndWaitUntilDataEnds (PublisherAndSubscriberTests) #259

Merged pull requests:

Read more

1.6.0, Beta 1

27 Jan 14:47
65844ca
Compare
Choose a tag to compare
1.6.0, Beta 1 Pre-release
Pre-release

NOT FOR PRODUCTION USE

This is a BETA release, to be used for testing only.

Full Changelog

Implemented enhancements:

  • Upgrade to Mapbox Nav SDK 2.10.0 #882
  • Consider supporting static token authentication #730

Fixed bugs:

  • Retry behaviour improvements for Ably API calls #927
  • Publisher.remove() fails during several connectivity faults #905
  • Adding a trackable stalls forever if presence.enter() is interrupted by a disconnection #896
  • Publisher crashes when location data has NaN value #861
  • Subscriber, upon losing connectivity, continues to show the Publisher as online #833
  • Unexpected exceptions fail the worker queue and silently break the SDK #830
  • Fix the logic responsible for deciding if an enhanced location update is predicted #828
  • Java users cannot build a publisher due to type issue #826
  • NPE from ably-java SDK #809

Closed issues:

  • Reduce publisher location check polling interval #946
  • Flakey test: com.ably.tracking.publisher.NetworkConnectivityTests > faultDuringTracking[NullTransportFault] #943
  • Make NetworkConnectivityTests verify expected side-effects of operations publisher SDK claims was successful #925
  • Reduce complexity of state transition assertions in NetworkConnectivityTests #901
  • connect - when channel fetched is in DETACHED state and attach fails causes emulator to hang #900
  • createAndStartPublisherAndSubscriberAndWaitUntilDataEnds IndexOutOfBoundsException #899
  • Flakey test: when an unexpected exception is thrown by worker's async work, the queue should call worker's unexpected async exception method #888
  • Investigate documented ConnectionException thrown by Publisher.Builder.start and how users are meant to handle it #876
  • Investigate ConnectionException thrown by Publisher.stop and whether we can remove it #873
  • Try simulating networking problems during core use cases #865
  • Sending presence leave event times out whilst still connected #862
  • shouldNotEmitPublisherPresenceFalseIfPublisherIsPresentFromTheStart (PublisherAndSubscriberTests) failing with "first publisherPresence value should be true" #845
  • staticTokenAuthenticationShouldCreateWorkingConnectionBetweenPublisherAndSubscriber (AuthenticationTests) failing with "Expectation 'subscriber received a location update' unfulfilled." #844
  • Replace deprecated package attribute in manifest file #837
  • Test issue for sync #834
  • Enable logging in the example apps by default #818
  • Update workflows to stop using the set-output command #817
  • Update workflows to stop using Node.js 12 actions #816
  • Refactor Publisher EventQueue to match Subscriber #781
  • Consider if we should allow to create multiple publisher instances #464
  • Flakey Test: createAndStartPublisherAndSubscriberAndWaitUntilDataEnds (PublisherAndSubscriberTests) #259

Merged pull requests:

Read more

1.5.1

24 Nov 17:11
a103f60
Compare
Choose a tag to compare

Full Changelog

Implemented enhancements:

  • Provide a fix/option for intermittent connection issue on publisher #803

Fixed bugs:

  • Fix crash when publisher tries to modify its internal state after being stopped #808
  • Fix not re-entering presence after connection is recovered via "Upgrade ably-java to 1.2.20" #822 (KacperKluka)

Merged pull requests:

  • Check publisher state before emitting state on flow #820 (ikbalkaya)
  • Allow to specify the remainPresentFor Ably transport parameter #806 (KacperKluka)

1.5.0

18 Nov 10:57
15ac887
Compare
Choose a tag to compare

Full Changelog

Implemented enhancements:

Fixed bugs:

  • Fix NPE related to ably-java usage #805, in #807 (KacperKluka)
  • Publisher failing with IllegalStateException: Already resumed, but proposed with update kotlin.Unit #799, in #800 (KacperKluka)
  • Refactor the Ably wrapper to be more secure and error-proof #440, in #782 (davyskiba)

1.4.1

08 Nov 11:09
d61ca7f
Compare
Choose a tag to compare

Full Changelog

Improved Subscriber behaviour:

  • Wait for the presence data sync before returning a subscriber instance #792, implemented in #794 (KacperKluka)