Skip to content

Commit

Permalink
Release 3.3.0 (#461)
Browse files Browse the repository at this point in the history
* Bump version, update readme
* Update CHANGELOG.md

Co-authored-by: Nicola Corti <[email protected]>
Co-authored-by: Karol Wrótniak <[email protected]>
  • Loading branch information
3 people committed Sep 30, 2020
1 parent 544155c commit 24f873b
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 5 deletions.
70 changes: 69 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,66 @@
# Change Log

## Version 3.3.0 *(2020-09-30)*

This is a new minor release with multiple fixes and improvements.
After this release we are starting to work on a new major release 4.x with minSDK 21.
Bumping minSDK to 21 is required to keep up with [newer versions of OkHttp](https://medium.com/square-corner-blog/okhttp-3-13-requires-android-5-818bb78d07ce).
Versions 3.x will be supported for 6 months (till March 2021) getting bugfixes and minor improvements.

### Summary of changes

* Added a new flag `alwaysReadResponseBody` into Chucker configuration to read the whole response body even if consumer fails to consume it.
* Added port numbers as part of the URL. Numbers appear if they are different from default 80 or 443.
* Chucker now shows partially read application responses properly. Earlier in 3.2.0 such responses didn't appear in the UI.
* Transaction size is defined by actual payload size now, not by `Content-length` header.
* Added empty state UI for payloads, so no more guessing if there is some error or the payload is really empty.
* Added ability to export list of transactions.
* Added ability to save single transaction as file.
* Added ability to format URL encoded forms with button to switch between encoded/decoded URLs.
* Added generation of contrast background for image payload to distinguish Chucker UI from the image itself.
* Switched OkHttp dependency from `implementation` to `api`, since it is available in the public API.
* List items are now focusable on Android TV devices.
* Further improved test coverage.

### Deprecations

* Throwables capturing feature is officially deprecated and will be removed in next releases. More info in [#321].

### Bugfixes

* Fixed [#311] with leaking Closable resource.
* Fixed [#314] with overlapping UI on some device.
* Fixed [#367] with empty shared text when `Don't keep activities` is turned on.
* Fixed [#366] with crash when process dies.
* Fixed [#394] with failing requests when FileNotFound error happens.
* Fixed [#410] with conflicts when other apps already use generic FileProvider.
* Fixed [#422] with IOException.

### Dependency updates

* Added Fragment-ktx 1.2.5
* Added Palette-ktx 1.0.0
* Updated Kotlin to 1.4.10
* Updated Android Gradle plugin to 4.0.1
* Updated Coroutine to 1.3.9
* Updated AppCompat to 1.2.0
* Updated ConstraintLayout to 2.0.1
* Updated MaterialComponents to 1.2.1
* Updated Gradle to 6.6.1

### Credits

This release was possible thanks to the contribution of:

@adb-shell
@cortinico
@djrausch
@gm-vm
@JayNewstrom
@MiSikora
@vbuberen
@psh

## Version 3.2.0 *(2020-04-04)*

This is a new minor release with numerous internal changes.
Expand Down Expand Up @@ -160,7 +221,6 @@ This is a hotfix release for Chucker `3.0.0`.

This release was possible thanks to the contribution of: @redwarp


## Version 3.0.0 *(2019-08-12)*

This is a new major release of Chucker. Please note that this major release contains multiple new features (see below) as well as several breaking changes. Please refer to the [migration guide](/docs/migrating-from-2.0.md) if you need support in migrating from `2.x` -> `3.0.0` or feel free to open an issue.
Expand Down Expand Up @@ -368,3 +428,11 @@ Initial release.
[#254]: https://github.com/ChuckerTeam/chucker/issues/254
[#255]: https://github.com/ChuckerTeam/chucker/issues/255
[#241]: https://github.com/ChuckerTeam/chucker/issues/241
[#311]: https://github.com/ChuckerTeam/chucker/issues/311
[#314]: https://github.com/ChuckerTeam/chucker/issues/314
[#321]: https://github.com/ChuckerTeam/chucker/issues/321
[#367]: https://github.com/ChuckerTeam/chucker/issues/367
[#366]: https://github.com/ChuckerTeam/chucker/issues/366
[#394]: https://github.com/ChuckerTeam/chucker/issues/394
[#410]: https://github.com/ChuckerTeam/chucker/issues/410
[#422]: https://github.com/ChuckerTeam/chucker/issues/422
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ Please note that you should add both the `library` and the the `library-no-op` v

```groovy
dependencies {
debugImplementation "com.github.chuckerteam.chucker:library:3.2.0"
releaseImplementation "com.github.chuckerteam.chucker:library-no-op:3.2.0"
debugImplementation "com.github.chuckerteam.chucker:library:3.3.0"
releaseImplementation "com.github.chuckerteam.chucker:library-no-op:3.3.0"
}
```

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ org.gradle.parallel=true

android.useAndroidX=true

VERSION_NAME=3.3.0-SNAPSHOT
# 3*100*100 + 2*100 + 0 => 30200
VERSION_NAME=3.3.0
# 3*100*100 + 3*100 + 0 => 30300
VERSION_CODE=30300
GROUP=com.github.chuckerteam.chucker

Expand Down

0 comments on commit 24f873b

Please sign in to comment.