Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
thellmund committed Nov 19, 2020
1 parent 35cc0ea commit 88638dc
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 5 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
Changelog
=========

## Version 5.2.0
*(2020-11-19)*

- New: WeekView can now display blocked times. To enable this, `WeekViewEvent<T>` was replaced by the sealed class `WeekViewEntity`, which can be of type `Event<T>` or `BlockedTime`. Refer to the [wiki](https://github.com/thellmund/Android-Week-View/wiki) to get started.
- Changed: `WeekViewDisplayable<T>` is now deprecated. Now, submit elements of type `T` directly to WeekView’s adapter by calling `adapter.submitList(List<T>)`. Then, implement `onCreateEntity()` in your adapter to create a `WeekViewEntity` from your object.
- Changed: The methods for scrolling to specific dates and times have been streamlined. You should now use `scrollToDate(date: Calendar)`, `scrollToTime(hour: Int, minute: Int)`, and `scrollToDateTime(dateTime: Calendar)`.
- Changed: WeekView no longer supports emojis by default. To add emoji support, you must add a dependency to `com.github.thellmund.Android-Week-View:emoji:x.y.z` and call `weekView.enableEmojiProcessing()` before submitting events.
- Fixed: WeekView no longer forgets to call `onEmptyViewLongClick()` if an empty area in the calendar was long-clicked.

## Version 5.0.3
*(2020-11-10)*

Expand Down
2 changes: 1 addition & 1 deletion core/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group = 'com.github.thellmund.Android-Week-View'
version = '5.0.0'
version = '5.2.0'

apply plugin: 'com.github.dcendents.android-maven'
apply plugin: 'com.android.library'
Expand Down
2 changes: 1 addition & 1 deletion emoji/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.github.dcendents.android-maven'

group='com.github.thellmund.Android-Week-View'
version = '5.0.0'
version = '5.2.0'

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
Expand Down
2 changes: 1 addition & 1 deletion jodatime/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.github.dcendents.android-maven'

group='com.github.thellmund.Android-Week-View'
version = '5.0.0'
version = '5.2.0'

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
Expand Down
2 changes: 1 addition & 1 deletion jsr310/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.github.dcendents.android-maven'

group='com.github.thellmund.Android-Week-View'
version = '5.0.0'
version = '5.2.0'

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
Expand Down
2 changes: 1 addition & 1 deletion threetenabp/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.github.dcendents.android-maven'

group='com.github.thellmund.Android-Week-View'
version = '5.0.0'
version = '5.2.0'

apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
Expand Down

0 comments on commit 88638dc

Please sign in to comment.