Releases: gojek/courier-android
Releases · gojek/courier-android
0.1.1
0.1.0
What's Changed
- Improved TLS handling and add support for ALPN by @anubhav7nov in #43
New Features
- Add support for ALPN protocols. Alpn protocols can be passed inside MqttConnectOptions
- Add support for custom socket factory and ssl socket factory. These can be set inside MqttConnectOptions
Note: Set shouldUseNewSSLFlow to true to enable these features
Breaking Change
- Change how you create MqttConnectOptions
Before
val connectOptions = MqttConnectOptions(
serverUris = listOf(ServerUri(SERVER_URI, SERVER_PORT)),
clientId = clientId,
username = username,
keepAlive = KeepAlive(
timeSeconds = keepAliveSeconds
),
isCleanSession = cleanSessionFlag,
password = password
)
After
val connectOptions = MqttConnectOptions.Builder()
.serverUris(listof(ServerUri(SERVER_URI, SERVER_PORT)))
.clientId(clientId)
.userName(username)
.password(password)
.keepAlive(KeepAlive(timeSeconds = keepAliveSeconds))
.cleanSession(cleanSessionFlag)
.build()
- Removed socket factory from MqttV3Configuration. You should now set socketFactory and sslSocketFactory in MqttConnectOptions.
Full Changelog: 0.0.9...0.1.0
0.0.9
What's Changed
- Update logic for finding optimal keepalive by @deepanshu42 in #41
Full Changelog: 0.0.8...0.0.9
0.0.8
What's Changed
- Update readme with badges by @anubhav7nov in #39
- Handled crash when subscribing to invalid topic by @hiteshchopra11 in #33
- Add handling for subscription not ack by broker by @rubenquadros12 in #38
- Remove keep alive validation when current KA failure limit is exceeded by @deepanshu42 in #40
New Contributors
- @hiteshchopra11 made their first contribution in #33
- @rubenquadros12 made their first contribution in #38
Full Changelog: 0.0.7...0.0.8
0.0.7
What's Changed
- Remove androidx proguard exclusion rule by @anubhav7nov in #36
Full Changelog: 0.0.6...0.0.7
0.0.6
What's Changed
- Add workaround for room-db compilation failure on M1 chips by @deepanshu42 in #28
- Updated publishMavenLocal script and add steps in Contribution.md by @anubhav7nov in #29
- Create new implementation of PersistableSubscriptionStore by @deepanshu42 in #34
Breaking Change
- Replaced
isPersistentSubscriptionStoreEnabled
flag withSubscriptionStore
. If you were passing the flag asfalse
then you can start passing the subscriptionStore asIN_MEMORY
now.
Full Changelog: 0.0.5...0.0.6
0.0.5
What's Changed
- Upgrade dependency version for AndroidX Lifecycle Extensions by @anubhav7nov in #19
- Add release.yml for publishing GH pages documentation by @deepanshu42 in #23
- Update documentation footer by @deepanshu42 in #24
- Update home banner by @deepanshu42 in #26
- Add workmanager-2.6.0-pingsender compatible with compileSdkVersion < 31 by @deepanshu42 in #27
Full Changelog: 0.0.4...0.0.5
0.0.4
What's Changed
- Added spotless and detekt for code quality by @anubhav7nov in #18
Full Changelog: 0.0.3...0.0.4
0.0.3
What's Changed
- Add UserProperties in CONNECT packet for MQTT v3.1.1 by @anubhav7nov in #13
- Integrate Docusauras by @deepanshu42 in #12
- Add courier logos by @deepanshu42 in #14
- Update logos by @deepanshu42 in #15
- Update documentation by @deepanshu42 in #16
- Add support for global message listener by @deepanshu42 in #17
Full Changelog: 0.0.2...0.0.3
0.0.2
- Remove internal connect attempts on app state changes
- Update github urls
- Remove unused scripts
- Add README