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.
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 the 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 a list of transactions.
- Added ability to save a single transaction as a file.
- Added ability to format URL encoded forms with a 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
toapi
, 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 the 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 a crash when the 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