diff --git a/CHANGELOG b/CHANGELOG index e0cc0c5..9aed70f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +Version 1.4.7 +- Fixed issue where a cancelled queue would throw exceptions + Version 1.4.6 - Added new zip method that takes in a list of dispatchQueues. - Added new async and post methods on DispatchQueue interface for direct executions. diff --git a/README.md b/README.md index cb210e7..a526a72 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[ ![Download](https://api.bintray.com/packages/tonyofrancis/maven/dispatch/images/download.svg?version=1.4.6) ](https://bintray.com/tonyofrancis/maven/dispatch/1.4.6/link) +[ ![Download](https://api.bintray.com/packages/tonyofrancis/maven/dispatch/images/download.svg?version=1.4.7) ](https://bintray.com/tonyofrancis/maven/dispatch/1.4.7/link) # DispatchQueue: A simple work scheduler for Java, Kotlin and Android DispatchQueue is a simple and flexible work scheduler that schedulers work on a background or main thread in the form of a dispatch queue. @@ -378,15 +378,15 @@ The above is a simple diagram on how a dispatch queue works. When you create a q To use the DispatchQueue library in your project, add the following code to your project’s build.gradle file. ```java -implementation "com.tonyodev.dispatch:dispatch:1.4.6" +implementation "com.tonyodev.dispatch:dispatch:1.4.7" ``` For Android also add: ```java -implementation "com.tonyodev.dispatch:dispatch-android:1.4.6" +implementation "com.tonyodev.dispatch:dispatch-android:1.4.7" ``` To use Dispatch with Retrofit, add: ```java -implementation "com.tonyodev.dispatch:dispatch-retrofit2-adapter:1.4.6" +implementation "com.tonyodev.dispatch:dispatch-retrofit2-adapter:1.4.7" ``` Android users also have to initialize the AndroidDispatchQueues on application launch. diff --git a/build.gradle b/build.gradle index b1c45d7..eb3d942 100644 --- a/build.gradle +++ b/build.gradle @@ -2,8 +2,8 @@ buildscript { ext.kotlin_version = '1.3.31' - ext.library_version = '1.4.6' - ext.library_version_code = 22 + ext.library_version = '1.4.7' + ext.library_version_code = 23 ext.retrofit_version = '2.5.0' ext.gson_version = '2.8.5' ext.novoda_bintray_version = '0.9'