From 050312393817bb927b86179b622a7229e914bd14 Mon Sep 17 00:00:00 2001 From: Sunny Chung Date: Mon, 22 Jul 2024 20:41:23 +0800 Subject: [PATCH] update version to 1.6.0 --- CHANGELOG.md | 40 ++++++++++++++++++++++++++++++++++++++++ README.md | 5 +---- build.gradle.kts | 2 +- 3 files changed, 42 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c5fb7c9..21d16647 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,8 +6,46 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ## [Unreleased] +Nothing yet. + +## [1.6.0] - 2024-07-22 + +_Changes since 1.5.2_ + +This version introduces the ability of user scripting. It is limited to pre-flight currently, and may be expanded to other areas according to user voices and demands. + +Automatic tests are also implemented and added to the development pipeline. Although it is not visible to end users, it helps to discover some bugs or unexpected behaviors under different connection settings. The coverage of tests will be expanded, and Hello HTTP is stepping away from bugs. Lots of stuffs are reimplemented and optimized. New regressions might be introduced due to reimplementation. Please let me know and I will try to fix it within a short period of time. + +### Added +- Pre-flight user scripting +- Subproject configuration +- Duplicating an Environment -- there is a new Duplicate button in the top-right corner after selecting an environment in the Environment Editor +- Duplicating a Request Example +- Request Examples dropdown list -- useful if you have lots of examples or long example names + +### Changed +- A connection now terminates immediately, even if request is not completely sent, as soon as a response with an error HTTP status (e.g. 4XX, 5XX) is received. +- For request response copying, it now truncates a request body if it is over 2 MB. +- In transport logs, individual payload is truncated if it is over 512 KB. It is configurable per direction in Subproject Configuration. +- In transport logs, the remaining HTTP/2 data payloads are truncated if total HTTP/2 data size is over 2 MB per direction. It is configurable per direction in Subproject Configuration. +- Hello HTTP now only receives HTTP responses up to 22 MB. +- The display formats of events in transport log are slightly updated. Some variables are enclosed with a square bracket. +- Now all artifacts are generated by GitHub-hosted runners. + ### Fixed - Pressing Ctrl-Enter/Cmd-Enter inside a request body textarea did not fire the current request +- In "Body"/"Query"/"Header", when there are lots of inherited values, key-value editors for "This Example" should still appear but it did not. +- There was an unexpected extra line break after a request body in the content of request response copying. +- Out of memory error when a large request body is used. +- An unfrequented error, ConcurrentModificationException, when receiving and persisting multiple payloads. +- Memory leak when more requests are sent. +- Memory leak when a connection is not completed gracefully. +- Documentation bug -- if "Default" is selected for HTTP protocol version, HTTP/1.1 instead of HTTP/2 is used for the "http" protocol. + +### Optimized +- Memory usage -- now the memory usage of request body and response body is linear. +- Disk usage -- now large requests and responses are truncated before storing, so it is less likely for a subproject to grow over several hundreds of megabytes. + ## [1.6.0-beta.4] - 2024-07-16 @@ -17,6 +55,7 @@ _Changes since 1.6.0-beta.3_ - Wrong color was used to highlight empty string literals in JSON - "Copy All" button was missing for plain HTTP and GraphQL requests + ## [1.6.0-beta.3] - 2024-07-12 _Changes since 1.6.0-beta.2_ @@ -26,6 +65,7 @@ _Changes since 1.6.0-beta.2_ ### Fixed - Could not send HTTP request on some systems, primary Windows + ## [1.6.0-beta.2] - 2024-07-10 _Changes since 1.6.0-beta.1_ diff --git a/README.md b/README.md index cdb5458f..fa109740 100644 --- a/README.md +++ b/README.md @@ -24,10 +24,7 @@ moment. - **Windows** - Stable since v1.4.1 - **Linux** - Stable since v1.4.3 -As major bugs are often created, automatic tests are targeted to be introduced in v1.6, to cover all supported types of -HTTP calls. - -Meanwhile, filing bug reports are much appreciated. It would help addressing issues quickly. Normally, critical bugs are +Filing bug reports are much appreciated. It would help addressing issues quickly. Normally, critical bugs are fixed and released within 3 days. ## Features diff --git a/build.gradle.kts b/build.gradle.kts index cca56993..be5aaf2b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -11,7 +11,7 @@ plugins { } group = "com.sunnychung.application" -version = "1.6.0-beta.4" // must be in 'x.y.z' for native distributions +version = "1.6.0" // must be in 'x.y.z' for native distributions repositories { google()