Skip to content

Commit

Permalink
Merge pull request #298 from ably/release/1.0.0-beta.2
Browse files Browse the repository at this point in the history
Second Beta Release - 1.0.0-beta.2
  • Loading branch information
QuintinWillison authored Apr 21, 2021
2 parents 534c034 + d8dd160 commit e87d9eb
Show file tree
Hide file tree
Showing 2 changed files with 142 additions and 2 deletions.
140 changes: 140 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,145 @@
# Change log

## [1.0.0-beta.2](https://github.com/ably/ably-asset-tracking-android/tree/v1.0.0-beta.2)

[Full Changelog](https://github.com/ably/ably-asset-tracking-android/compare/v1.0.0-beta.1...v1.0.0-beta.2)

**Implemented enhancements:**

- Handle stopped state of the Subscriber [\#227](https://github.com/ably/ably-asset-tracking-android/issues/227)
- Update Mapbox dependency to Nav 2.0 [\#225](https://github.com/ably/ably-asset-tracking-android/issues/225)
- Token-based Ably Realtime Authentication [\#171](https://github.com/ably/ably-asset-tracking-android/issues/171)
- Unify approach of GPS location updates on iOS and Android [\#223](https://github.com/ably/ably-asset-tracking-android/issues/223)

**Fixed bugs:**

- Fix location history test files [\#258](https://github.com/ably/ably-asset-tracking-android/issues/258)
- Emit the current channel state when attaching a channel state listener [\#257](https://github.com/ably/ably-asset-tracking-android/issues/257)
- Don't modify Publisher state outside of it's events queue thread [\#256](https://github.com/ably/ably-asset-tracking-android/issues/256)
- Change the order of actions when closing a channel in the Ably wrapper [\#246](https://github.com/ably/ably-asset-tracking-android/issues/246)
- Use Ably and channel state when determining the trackable state in the Subscriber SDK [\#238](https://github.com/ably/ably-asset-tracking-android/issues/238)
- Handle errors when starting Subscriber and Publisher [\#237](https://github.com/ably/ably-asset-tracking-android/issues/237)
- Change the order of actions when removing a trackable from the Publisher [\#228](https://github.com/ably/ably-asset-tracking-android/issues/228)
- Unify the way of deciding if a location update should be sent in the Publisher [\#236](https://github.com/ably/ably-asset-tracking-android/issues/236)
- Fix calling suspend functions from Subscriber events queue [\#226](https://github.com/ably/ably-asset-tracking-android/issues/226)
- Handle exception thrown when connection to the channel on subscriber start [\#215](https://github.com/ably/ably-asset-tracking-android/issues/215)
- Android Publisher example app crashes when iOS Subscriber broadcasts resolution request [\#206](https://github.com/ably/ably-asset-tracking-android/issues/206)

**Closed issues:**

- Remove unused metadata field from the Trackable class [\#293](https://github.com/ably/ably-asset-tracking-android/issues/293)
- Allow to specify the default resolution and trackables resolution in the publisher example app [\#277](https://github.com/ably/ably-asset-tracking-android/issues/277)
- Don't expose GeoJsonMessage in the API [\#272](https://github.com/ably/ably-asset-tracking-android/issues/272)
- Add a button that will focus the map on the asset location in the Subscriber example app [\#242](https://github.com/ably/ably-asset-tracking-android/issues/242)
- Show the zoom level controls on the map in the Subscriber example app [\#241](https://github.com/ably/ably-asset-tracking-android/issues/241)
- Start method of Publisher and Subscriber SDKs should be async [\#240](https://github.com/ably/ably-asset-tracking-android/issues/240)
- Subscriber should be able to request no resolution after creation [\#239](https://github.com/ably/ably-asset-tracking-android/issues/239)
- Remove unnecessary isStopped check from handling StopEvent in the Publisher [\#231](https://github.com/ably/ably-asset-tracking-android/issues/231)
- Improve Publisher stop [\#230](https://github.com/ably/ably-asset-tracking-android/issues/230)
- Consider adding @Throws annotation to the API methods [\#229](https://github.com/ably/ably-asset-tracking-android/issues/229)
- Rename AblyException to ConnectionException [\#218](https://github.com/ably/ably-asset-tracking-android/issues/218)
- Fix comments in the README file [\#217](https://github.com/ably/ably-asset-tracking-android/issues/217)
- Decide whether we should use battery level when comparing LocationUpdate objects [\#210](https://github.com/ably/ably-asset-tracking-android/issues/210)
- Improve adding trackable flow in the publisher example app [\#209](https://github.com/ably/ably-asset-tracking-android/issues/209)
- Unify the way of parsing enums sent over Ably channels across all platforms [\#207](https://github.com/ably/ably-asset-tracking-android/issues/207)
- Simplify location history version field [\#198](https://github.com/ably/ably-asset-tracking-android/issues/198)
- Rename AssetStatus [\#197](https://github.com/ably/ably-asset-tracking-android/issues/197)
- Remove superfluous prefix from PublisherState inner class [\#196](https://github.com/ably/ably-asset-tracking-android/issues/196)
- Trackables should be comparable by id, not by all fields [\#187](https://github.com/ably/ably-asset-tracking-android/issues/187)
- Create shared location history file format that can be used in Android and iOS [\#184](https://github.com/ably/ably-asset-tracking-android/issues/184)
- Reflect tracked asset state in publisher example app [\#183](https://github.com/ably/ably-asset-tracking-android/issues/183)
- App crashes when replaying file from background [\#181](https://github.com/ably/ably-asset-tracking-android/issues/181)
- Android: Send elevation and battery level of the device as part of the update [\#176](https://github.com/ably/ably-asset-tracking-android/issues/176)
- Move Ably to common project and share between subscriber and publisher [\#167](https://github.com/ably/ably-asset-tracking-android/issues/167)
- Remove the need to keep a reference to the "native" publisher or subscriber instance for Java users [\#166](https://github.com/ably/ably-asset-tracking-android/issues/166)
- Introduce simpler state model for publisher and subscriber [\#164](https://github.com/ably/ably-asset-tracking-android/issues/164)
- Investigate upgrading to Kotlin 1.4 [\#163](https://github.com/ably/ably-asset-tracking-android/issues/163)
- Refactor our Java interfaces for callbacks to use CompletableFuture [\#162](https://github.com/ably/ably-asset-tracking-android/issues/162)
- Refactor our Kotlin interfaces for event streaming to use Asynchronous Flow [\#161](https://github.com/ably/ably-asset-tracking-android/issues/161)
- Consider renaming the locations method on the publisher builder [\#145](https://github.com/ably/ably-asset-tracking-android/issues/145)
- Only dispatch events to main queue when they're intended as direct callbacks to the SDK user [\#135](https://github.com/ably/ably-asset-tracking-android/issues/135)
- Channel state observability [\#133](https://github.com/ably/ably-asset-tracking-android/issues/133)
- Move DebugConfiguration interfaces out to become part of standard API [\#132](https://github.com/ably/ably-asset-tracking-android/issues/132)
- Create another module for shared utilities that are used only in tests [\#128](https://github.com/ably/ably-asset-tracking-android/issues/128)
- Generate API documentation [\#122](https://github.com/ably/ably-asset-tracking-android/issues/122)
- Consider whether clearer delineation is required between public and internal [\#118](https://github.com/ably/ably-asset-tracking-android/issues/118)
- Decide which builders fields are required to create Publisher and Subscriber objects [\#116](https://github.com/ably/ably-asset-tracking-android/issues/116)
- Implement proper strategy for publisher stop [\#110](https://github.com/ably/ably-asset-tracking-android/issues/110)
- Improve fallback logic in resolution policy's resolve method [\#104](https://github.com/ably/ably-asset-tracking-android/issues/104)
- Reduce amount of fields in DefaultPublisher [\#103](https://github.com/ably/ably-asset-tracking-android/issues/103)
- Consider making the delineation between publisher and resolution policy interfaces clearer [\#87](https://github.com/ably/ably-asset-tracking-android/issues/87)
- Reflect tracked asset state in publisher example app [\#82](https://github.com/ably/ably-asset-tracking-android/issues/82)
- Refine approach for error reporting [\#81](https://github.com/ably/ably-asset-tracking-android/issues/81)
- Decide on "filter out" vs "batched together" for location updates [\#66](https://github.com/ably/ably-asset-tracking-android/issues/66)
- Move code from core module "common" package to a separate gradle module [\#58](https://github.com/ably/ably-asset-tracking-android/issues/58)
- Revisit Ably / Connection Configuration Naming [\#55](https://github.com/ably/ably-asset-tracking-android/issues/55)
- Move shared interfaces and classes from both SDKs to the core module [\#54](https://github.com/ably/ably-asset-tracking-android/issues/54)
- Fill unit testing gaps for the publisher builder [\#46](https://github.com/ably/ably-asset-tracking-android/issues/46)
- Allow event dispatch Looper to be specified explicitly in the SDK API [\#31](https://github.com/ably/ably-asset-tracking-android/issues/31)
- Decide whether we want to keep the debug features in the final SDK version [\#19](https://github.com/ably/ably-asset-tracking-android/issues/19)
- Check if AssetPublisher is started from a main thread [\#18](https://github.com/ably/ably-asset-tracking-android/issues/18)

**Merged pull requests:**

- Remove the metadata field from the Trackable class [\#294](https://github.com/ably/ably-asset-tracking-android/pull/294) ([KacperKluka](https://github.com/KacperKluka))
- Add skipped location updates to the LocationUpdate [\#292](https://github.com/ably/ably-asset-tracking-android/pull/292) ([KacperKluka](https://github.com/KacperKluka))
- Automatically center the camera on the marker position in subscriber example app [\#289](https://github.com/ably/ably-asset-tracking-android/pull/289) ([KacperKluka](https://github.com/KacperKluka))
- Only run deployment fail step on docs workflow if needed [\#284](https://github.com/ably/ably-asset-tracking-android/pull/284) ([QuintinWillison](https://github.com/QuintinWillison))
- Replace hard-coded repository URL components [\#283](https://github.com/ably/ably-asset-tracking-android/pull/283) ([QuintinWillison](https://github.com/QuintinWillison))
- Add optional Firebase Crashlytics integration to the publisher example app [\#281](https://github.com/ably/ably-asset-tracking-android/pull/281) ([KacperKluka](https://github.com/KacperKluka))
- Setting resolution for publisher and trackables in the publisher example app [\#279](https://github.com/ably/ably-asset-tracking-android/pull/279) ([KacperKluka](https://github.com/KacperKluka))
- Allow to add trackable from the trackable id input keyboard [\#278](https://github.com/ably/ably-asset-tracking-android/pull/278) ([KacperKluka](https://github.com/KacperKluka))
- Show zoom buttons in the subscriber example app [\#275](https://github.com/ably/ably-asset-tracking-android/pull/275) ([KacperKluka](https://github.com/KacperKluka))
- Update Mapbox to version 2.0 [\#274](https://github.com/ably/ably-asset-tracking-android/pull/274) ([KacperKluka](https://github.com/KacperKluka))
- Run MapboxNavigation calls in the main thread [\#273](https://github.com/ably/ably-asset-tracking-android/pull/273) ([KacperKluka](https://github.com/KacperKluka))
- Update code present in the README [\#270](https://github.com/ably/ably-asset-tracking-android/pull/270) ([KacperKluka](https://github.com/KacperKluka))
- Use batteryLevel when comparing location updates [\#266](https://github.com/ably/ably-asset-tracking-android/pull/266) ([KacperKluka](https://github.com/KacperKluka))
- Upgrade to Kotlin 1.4 [\#265](https://github.com/ably/ably-asset-tracking-android/pull/265) ([KacperKluka](https://github.com/KacperKluka))
- Throw an exception if the publisher state is accessed after it is disposed [\#264](https://github.com/ably/ably-asset-tracking-android/pull/264) ([KacperKluka](https://github.com/KacperKluka))
- Add docs workflow [\#263](https://github.com/ably/ably-asset-tracking-android/pull/263) ([QuintinWillison](https://github.com/QuintinWillison))
- Change actions order when removing a trackable from the Publisher [\#262](https://github.com/ably/ably-asset-tracking-android/pull/262) ([KacperKluka](https://github.com/KacperKluka))
- Change actions order when disconnecting from Ably channel [\#261](https://github.com/ably/ably-asset-tracking-android/pull/261) ([KacperKluka](https://github.com/KacperKluka))
- Clear the Publisher state after it is stopped [\#255](https://github.com/ably/ably-asset-tracking-android/pull/255) ([KacperKluka](https://github.com/KacperKluka))
- Remove redundant isStopped check in the CorePublisher [\#254](https://github.com/ably/ably-asset-tracking-android/pull/254) ([KacperKluka](https://github.com/KacperKluka))
- Allow the Subscriber to request no resolution from the Publisher [\#253](https://github.com/ably/ably-asset-tracking-android/pull/253) ([KacperKluka](https://github.com/KacperKluka))
- Use Ably and channel state when determining the trackable state in Subscriber SDK [\#252](https://github.com/ably/ably-asset-tracking-android/pull/252) ([KacperKluka](https://github.com/KacperKluka))
- Handle subscriber in the stopped state [\#250](https://github.com/ably/ably-asset-tracking-android/pull/250) ([KacperKluka](https://github.com/KacperKluka))
- Handle errors when starting Publisher and Subscriber [\#249](https://github.com/ably/ably-asset-tracking-android/pull/249) ([KacperKluka](https://github.com/KacperKluka))
- Change start to be an asynchronous function for Subscriber [\#248](https://github.com/ably/ably-asset-tracking-android/pull/248) ([KacperKluka](https://github.com/KacperKluka))
- Unify approach of GPS location updates [\#247](https://github.com/ably/ably-asset-tracking-android/pull/247) ([KacperKluka](https://github.com/KacperKluka))
- Add @Throws annotation to inform Java users about thrown exceptions [\#245](https://github.com/ably/ably-asset-tracking-android/pull/245) ([KacperKluka](https://github.com/KacperKluka))
- Rename AblyException to ConnectionException [\#244](https://github.com/ably/ably-asset-tracking-android/pull/244) ([KacperKluka](https://github.com/KacperKluka))
- Require only one of the two resolution checks to be passed in order to send a location update [\#243](https://github.com/ably/ably-asset-tracking-android/pull/243) ([KacperKluka](https://github.com/KacperKluka))
- Fix modifying Publisher state from the Ably's disconnect callback [\#224](https://github.com/ably/ably-asset-tracking-android/pull/224) ([KacperKluka](https://github.com/KacperKluka))
- Add token based authentication [\#222](https://github.com/ably/ably-asset-tracking-android/pull/222) ([KacperKluka](https://github.com/KacperKluka))
- Fix location history test files [\#221](https://github.com/ably/ably-asset-tracking-android/pull/221) ([KacperKluka](https://github.com/KacperKluka))
- Fix emitting trackable state in the publisher SDK [\#220](https://github.com/ably/ably-asset-tracking-android/pull/220) ([KacperKluka](https://github.com/KacperKluka))
- Fix subscriber not receiving any location updates [\#219](https://github.com/ably/ably-asset-tracking-android/pull/219) ([KacperKluka](https://github.com/KacperKluka))
- Unify the way of parsing enums sent over Ably channels [\#208](https://github.com/ably/ably-asset-tracking-android/pull/208) ([KacperKluka](https://github.com/KacperKluka))
- Simplify location history version field [\#205](https://github.com/ably/ably-asset-tracking-android/pull/205) ([KacperKluka](https://github.com/KacperKluka))
- Move Ably wrapper to the common module [\#204](https://github.com/ably/ably-asset-tracking-android/pull/204) ([KacperKluka](https://github.com/KacperKluka))
- Stopping strategy for the Publisher [\#203](https://github.com/ably/ably-asset-tracking-android/pull/203) ([KacperKluka](https://github.com/KacperKluka))
- Renaming a few classes [\#200](https://github.com/ably/ably-asset-tracking-android/pull/200) ([KacperKluka](https://github.com/KacperKluka))
- Decide which builder fields are required [\#199](https://github.com/ably/ably-asset-tracking-android/pull/199) ([KacperKluka](https://github.com/KacperKluka))
- Observe state of each trackable channel [\#194](https://github.com/ably/ably-asset-tracking-android/pull/194) ([KacperKluka](https://github.com/KacperKluka))
- Add missing error handling for Ably [\#193](https://github.com/ably/ably-asset-tracking-android/pull/193) ([KacperKluka](https://github.com/KacperKluka))
- Fix failing check workflow due to a Jacoco issue [\#192](https://github.com/ably/ably-asset-tracking-android/pull/192) ([KacperKluka](https://github.com/KacperKluka))
- Redesign publisher example app to support adding multiple assets [\#190](https://github.com/ably/ably-asset-tracking-android/pull/190) ([KacperKluka](https://github.com/KacperKluka))
- Use only the Trackable ID when comparing trackables [\#189](https://github.com/ably/ably-asset-tracking-android/pull/189) ([KacperKluka](https://github.com/KacperKluka))
- Expose publisher trackables set to the SDK users [\#188](https://github.com/ably/ably-asset-tracking-android/pull/188) ([KacperKluka](https://github.com/KacperKluka))
- New history file format [\#186](https://github.com/ably/ably-asset-tracking-android/pull/186) ([KacperKluka](https://github.com/KacperKluka))
- Add battery level and altitude \(elevation\) [\#182](https://github.com/ably/ably-asset-tracking-android/pull/182) ([KacperKluka](https://github.com/KacperKluka))
- Move DebugConfiguration interfaces out to become part of standard API [\#180](https://github.com/ably/ably-asset-tracking-android/pull/180) ([KacperKluka](https://github.com/KacperKluka))
- Add missing exception handling for the Ably SDK code [\#179](https://github.com/ably/ably-asset-tracking-android/pull/179) ([KacperKluka](https://github.com/KacperKluka))
- Add native API methods to the facade interfaces [\#178](https://github.com/ably/ably-asset-tracking-android/pull/178) ([KacperKluka](https://github.com/KacperKluka))
- Implement Java facades for Publisher and Subscriber [\#177](https://github.com/ably/ably-asset-tracking-android/pull/177) ([KacperKluka](https://github.com/KacperKluka))
- Introduce simpler state model for publisher and subscriber [\#175](https://github.com/ably/ably-asset-tracking-android/pull/175) ([KacperKluka](https://github.com/KacperKluka))
- Replay last event in the flow when someone starts listening to it [\#172](https://github.com/ably/ably-asset-tracking-android/pull/172) ([KacperKluka](https://github.com/KacperKluka))
- Refactor Asynchronous Interfaces [\#159](https://github.com/ably/ably-asset-tracking-android/pull/159) ([QuintinWillison](https://github.com/QuintinWillison))
- Run publisher in a service in the example app [\#158](https://github.com/ably/ably-asset-tracking-android/pull/158) ([KacperKluka](https://github.com/KacperKluka))
- Improve fallback logic in resolution policy's resolve method [\#156](https://github.com/ably/ably-asset-tracking-android/pull/156) ([KacperKluka](https://github.com/KacperKluka))
- Integration test for Publisher and Subscriber interaction [\#150](https://github.com/ably/ably-asset-tracking-android/pull/150) ([KacperKluka](https://github.com/KacperKluka))

## [1.0.0-beta.1](https://github.com/ably/ably-asset-tracking-android/tree/v1.0.0-beta.1)

[Full Changelog](https://github.com/ably/ably-asset-tracking-android/compare/v1.0.0-preview.2...v1.0.0-beta.1)
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ subprojects {
// example app projects alike.
// - versionCode MUST be incremented by 1 for each release from the main branch
// - versionName MUST conform to the Semantic Versioning Specification (https://semver.org/) version 2.0.0
versionCode 3
versionName "1.0.0-beta.1"
versionCode 4
versionName "1.0.0-beta.2"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

Expand Down

0 comments on commit e87d9eb

Please sign in to comment.