Skip to content

Commit 334b61b

Browse files
authored
Merge pull request #20 from cpaleop/release/2.0.0
Update version to 2.0.0 and README.md with breaking changes
2 parents fe072aa + f65e346 commit 334b61b

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,20 @@ A nice Android bottom sheet dialog populated with AndroidX EmojiCompat supported
3939
}
4040
```
4141

42+
## Breaking changes of version `2.0.0`
43+
In version `2.0.0` we migrated to [Emoji2](https://developer.android.com/jetpack/androidx/releases/emoji2).
44+
This results in the removal of:
45+
* `EmojiCompatUtils`
46+
* `EmojInitListener`
47+
* `EmojiValues` which was mostly used internally.
48+
49+
Initialization now happens internally via the [Emoji2](https://developer.android.com/jetpack/androidx/releases/emoji2).
50+
If you still need an initialization listener you should use the official API as described [here](https://developer.android.com/develop/ui/views/text-and-emoji/emoji2#add-initialization-listeners).
51+
The whole document [Support modern emoji - Android Developers](https://developer.android.com/develop/ui/views/text-and-emoji/emoji2) provides further details.
52+
53+
The same document will help you if you rely on AppCompat version lower than `1.4.0-alpha01` or on the [Emoji](https://developer.android.com/jetpack/androidx/releases/emoji)
54+
library itself which provides [these custom views](https://developer.android.com/reference/kotlin/androidx/emoji/widget/package-summary) for compatibility.
55+
4256
## Contributing
4357
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
4458

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ kotlin.code.style=official
2323
# Used by https://github.com/vanniktech/gradle-maven-publish-plugin
2424
GROUP=com.withplum
2525
POM_ARTIFACT_ID=emojiBottomSheetDialog
26-
VERSION_NAME=1.1.0
26+
VERSION_NAME=2.0.0
2727
POM_NAME=Emoji Bottom Sheet Dialog
2828
POM_DESCRIPTION=A nice Android bottom sheet dialog populated with AndroidX EmojiCompat supported emojis.
2929
POM_INCEPTION_YEAR=2021

0 commit comments

Comments
 (0)