Releases: Automattic/Gravatar-SDK-Android
Releases · Automattic/Gravatar-SDK-Android
Release 2.2.0
What's Changed
gravatar
(Core module)
- Switch serialization library from
moshi-reflection
tomoshi-codegen
gravatar-ui
- Apply tint to verified services remote icons
gravatar-quickeditor
- Notify 3rd party when the selected avatar is deleted.
- Make UiMode configurable via the
GravatarUIMode
param. This allows a third-party app to override UiMode with Dark/Light/System mode. - Removed delay before notifying an avatar change.
- Added the following avatar options:
- Download the avatar image to the device
- Delete the avatar
Full Changelog: 2.1.0...2.2.0
2.2.0-rc1
What's Changed
gravatar
(Core module)
- Switch serialization library from
moshi-reflection
tomoshi-codegen
gravatar-ui
- Apply tint to verified services remote icons
gravatar-quickeditor
- Notify 3rd party when the selected avatar is deleted.
- Make UiMode configurable via the
GravatarUIMode
param. This allows a third-party app to override UiMode with Dark/Light/System mode. - Removed delay before notifying an avatar change.
- Added the following avatar options:
- Download the avatar image to the device
- Delete the avatar
Full Changelog: 2.1.0...2.2.0-rc1
Release 2.1.0
What's Changed
gravatar
(Core module)
gravatar-ui
gravatar-quickeditor
- Implemented
GravatarQuickEditorActivity
to wrap theGravatarQuickEditorBottomSheet
in apps where using asingleTask
activity is impossible in order to receive the OAuth authorization callback.
Full Changelog: 2.0.1...2.1.0
Release 2.0.1
What's Changed
gravatar
(Core module)
gravatar-ui
gravatar-quickeditor
- Fixed a bug that made the SDK crash when the end user denied the OAuth access.
Full Changelog: 2.0.0...2.0.1
Release 2.0.0
What's Changed
gravatar
(Core module)
- Java Desugaring is no longer required. This means we no longer use
java.time
API in our models, and use plain Strings for ISO date time instead. It's up to the third-party developer to pick the preferred library. - We have migrated from Gson to Moshi.
- Proguard rules are now provided with the SDK to make sure the obfuscation won't break it.
Result
was renamed toGravatarResult
to create less confusion with thekotlin.Result
AvatarService
andProfileService
are now updated and support all new endpoints from the Gravatar OpenAPI specification.
gravatar-ui
Avatar
component has an additionalforceRefresh
param. When true, we will try to use the latest version of the Avatar by skipping the server cache.compose_compiler_config.conf
has been added to make components relying on:gravatar
models Stable.- String resources are now translated to 16 other languages.
GravatarImagePickerWrapper
was removed. Thanks to that we could remove theuCrop
dependency from the:ui
module.- We have removed all deprecated components that were using old deprecated models.
gravatar-quickeditor
- Quick Editor allows your app's users to modify their Gravatar profile without leaving the app. The first release only supports Avatar modifications, but more is yet to come. For more detailed instructions on how to use it check our docs here.
Full Changelog: 1.1.0...2.0.0
Release 2.0.0-rc4
What's Changed
gravatar
(Core module)
gravatar-ui
gravatar-quickeditor
onDismiss
is now optional when showing the QuickEditor viaGravatarQuickEditor.show()
UCropActivity
should no longer cause Manifest conflicts with third-party apps
Full Changelog: 2.0.0-rc3...2.0.0-rc4
2.0.0-rc3
What's Changed
gravatar
(Core module)
- Throwing
GravatarException
on noncatching service methods. All exceptions will be wrapped with theGravatarException
, so we provide theErrorType
and also the original exception.
gravatar-ui
gravatar-quickeditor
- Handle
android.permission.CAMERA
when included in the app manifest.
Full Changelog: 2.0.0-rc2...2.0.0-rc3
2.0.0-rc2
What's Changed
gravatar
(Core module)
- Imporved Java <-> Kotlin interop in
AvatarUrl
class.
gravatar-ui
gravatar-quickeditor
- Experimental components were removed. This should decrease the chances of breaking code compilation when using different lib versions.
- Backup rules are no longer provided by default, they have to be added manually. This was causing the Manifest merger to fail.
- Downgraded Compose Bom to 2024.02.00.
Full Changelog: 2.0.0-rc1...2.0.0-rc2
Release 2.0.0-rc1
What's Changed
gravatar
(Core module)
- The Kotlin version was downgraded to 1.9.25 to ensure we are compatible with the majority.
- Java Desugaring is no longer required. This means we can no longer use
java.time
API in our models, and use plain Strings for ISO date time instead. It's up to the third-party developer to pick the preferred library. - We have migrated from Gson to Moshi.
- Proguard rules are now provided with the SDK to make sure the obfuscation won't break it.
Result
was renamed toGravatarResult
to create less confusion with thekotlin.Result
AvatarService
andProfileService
are now updated and support all new endpoints from the Gravatar OpenAPI specification.
gravatar-ui
Avatar
component has an additionalforceRefresh
param. When true, we will try to use the latest version of the Avatar by skipping the server cache.compose_compiler_config.conf
has been added to make components relying on:gravatar
models Stable.- String resources are now translated to 16 other languages.
GravatarImagePickerWrapper
was removed. Thanks to that we could remove theuCrop
dependency from the:ui
module.- We have removed all deprecated components that were using old deprecated models.
gravatar-quickeditor
- Quick Editor allows your app's users to modify their Gravatar profile without leaving the app. The first release only supports Avatar modifications, but more is yet to come. For more detailed instructions on how to use it check our docs here.
Full Changelog: 1.1.0...2.0.0-rc1
Release 1.1.0
What's Changed
gravatar
(Core module)
api
package is deprecated and replaced withrestapi
- New model classes were build with backward compatibility in mind
gravatar-ui
- Profile components are now wrapped in a
Surface
making overriding the theming attributes possible - Multiple visual fixes to the profile components aligning it with iOS version of the SDK
- New UI composables that take the new models as params. You can still use the old deprecated ones.
- Profile components now allow for custom Avatar and Button composables via slot API
demo-app
Full Changelog: 1.0.0...1.1.0