Release notes
*Sourced from [ktor-server-cio's releases](https://github.com/ktorio/ktor/releases).*
> ## 1.3.0
> > 14 Jan 2020
>
> * ktor client proxy support
> * Introduced `HttpStatement` and deprecated potentially dangerous resource-leaking client API
> * Eliminated kotlinx.io dependency
> * Fixed server identity compression handling: keep original content length
> * Fixed handling GET requests with body ([#1302](https://github-redirect.dependabot.com/ktorio/ktor/issues/1302))
> * Fixed curl request with empty body
> * Added iOS url session configuration
> * Fixed CIO engine no longer sends port in "Host" header ([#1295](https://github-redirect.dependabot.com/ktorio/ktor/issues/1295))
> * Add INTRINSIC value to TLS signature algorithms
> * Introduced ability to send string in request body
> * Improved client and server typeOf support with kotlinx.serialization
> * Gradle 5.4.1+ with newer metadata (metadata 1.0)
> * Improved exceptions handling in client and server on Android
> * Added missing TLS parameters and relaxed TLS parsing to ignore unsupported features
> * Improved session diagnostics ([#1368](https://github-redirect.dependabot.com/ktorio/ktor/issues/1368))
> * Fixed `hookRequests` in test engine ([#1300](https://github-redirect.dependabot.com/ktorio/ktor/issues/1300))
> * Deprecate java.time related API and related cleanup (for future kotlin.time support)
> * Restricted CIO HTTP headers parser
> * Introduced header name and value validation
> * Fixed must-revalidate on the request side in ktor client ([#1406](https://github-redirect.dependabot.com/ktorio/ktor/issues/1406))
> * Fixed OkHttp client resource cleanup on close
> * Added watchos/tvos native targets
> * Fixed content truncation at native and JS targets
> * Fixed server's `If-Range` header parsing to avoid crash at date parsing ([#1377](https://github-redirect.dependabot.com/ktorio/ktor/issues/1377))
> * Fixed server's conditional headers processing
> * Reduced required JDK version for `DefaultHeaders` server feature
> * Fixed client hanging due to exception in response pipeline
> * Replaced HttpClientJvmEngine to HttpClientEngineBase that is now common for all platforms (affects only custom client engines)
> * Fixed hierarchy of execution and call contexts in clients that allows to properly handle request lifetime using execution context.
> * Optimize JS module import time ([#1464](https://github-redirect.dependabot.com/ktorio/ktor/issues/1464))
> * Upgraded versions of Netty, Jetty and Tomcat implementations
> * Added Pebble template engine ([#1374](https://github-redirect.dependabot.com/ktorio/ktor/issues/1374))
> * Introduced localPort route that is always tied to actual socket port ([#1392](https://github-redirect.dependabot.com/ktorio/ktor/issues/1392))
> * Fixed cookie expiration date parsing ([#1390](https://github-redirect.dependabot.com/ktorio/ktor/issues/1390))
> * Server authentication feature's phases are now public ([#1160](https://github-redirect.dependabot.com/ktorio/ktor/issues/1160))
> * Fixed auth header resending after redirect ([#1467](https://github-redirect.dependabot.com/ktorio/ktor/issues/1467))
> * TCP half-close made optional for CIO client engine and disabled by default.
> * Apache client random timeouts fixed
> * Fixed locale-dependant code ([#1491](https://github-redirect.dependabot.com/ktorio/ktor/issues/1491))
> * Fixed unclosed websocket channels if cancelled too early
> * TCP half-close made optional for CIO client engine and disabled by default. ([#1456](https://github-redirect.dependabot.com/ktorio/ktor/issues/1456))
> * Improved ktor-client-mock engine to be thread safe ([#1505](https://github-redirect.dependabot.com/ktorio/ktor/issues/1505))
> * Fixed client cookies logging ([#1506](https://github-redirect.dependabot.com/ktorio/ktor/issues/1506))
> * Fixed multiple application stop events in test engine ([#1498](https://github-redirect.dependabot.com/ktorio/ktor/issues/1498))
> * Fixed CIO ActorSelectorManager to not spin due to cancelled keys (affects both CIO client and server)
> * Made default auth validate functions fail to force users to implement them
> * Introduced test client instance in the test server
> ... (truncated)
Changelog
*Sourced from [ktor-server-cio's changelog](https://github.com/ktorio/ktor/blob/master/CHANGELOG.md).*
> # 1.3.0
> > 14 Jan 2020
>
> * ktor client proxy support
> * Introduced `HttpStatement` and deprecated potentially dangerous resource-leaking client API
> * Eliminated kotlinx.io dependency
> * Fixed server identity compression handling: keep original content length
> * Fixed handling GET requests with body ([#1302](https://github-redirect.dependabot.com/ktorio/ktor/issues/1302))
> * Fixed curl request with empty body
> * Added iOS url session configuration
> * Fixed CIO engine no longer sends port in "Host" header ([#1295](https://github-redirect.dependabot.com/ktorio/ktor/issues/1295))
> * Add INTRINSIC value to TLS signature algorithms
> * Introduced ability to send string in request body
> * Improved client and server typeOf support with kotlinx.serialization
> * Gradle 5.4.1+ with newer metadata (metadata 1.0)
> * Improved exceptions handling in client and server on Android
> * Added missing TLS parameters and relaxed TLS parsing to ignore unsupported features
> * Improved session diagnostics ([#1368](https://github-redirect.dependabot.com/ktorio/ktor/issues/1368))
> * Fixed `hookRequests` in test engine ([#1300](https://github-redirect.dependabot.com/ktorio/ktor/issues/1300))
> * Deprecate java.time related API and related cleanup (for future kotlin.time support)
> * Restricted CIO HTTP headers parser
> * Introduced header name and value validation
> * Fixed must-revalidate on the request side in ktor client ([#1406](https://github-redirect.dependabot.com/ktorio/ktor/issues/1406))
> * Fixed OkHttp client resource cleanup on close
> * Added watchos/tvos native targets
> * Fixed content truncation at native and JS targets
> * Fixed server's `If-Range` header parsing to avoid crash at date parsing ([#1377](https://github-redirect.dependabot.com/ktorio/ktor/issues/1377))
> * Fixed server's conditional headers processing
> * Reduced required JDK version for `DefaultHeaders` server feature
> * Fixed client hanging due to exception in response pipeline
> * Replaced HttpClientJvmEngine to HttpClientEngineBase that is now common for all platforms (affects only custom client engines)
> * Fixed hierarchy of execution and call contexts in clients that allows to properly handle request lifetime using execution context.
> * Optimize JS module import time ([#1464](https://github-redirect.dependabot.com/ktorio/ktor/issues/1464))
> * Upgraded versions of Netty, Jetty and Tomcat implementations
> * Added Pebble template engine ([#1374](https://github-redirect.dependabot.com/ktorio/ktor/issues/1374))
> * Introduced localPort route that is always tied to actual socket port ([#1392](https://github-redirect.dependabot.com/ktorio/ktor/issues/1392))
> * Fixed cookie expiration date parsing ([#1390](https://github-redirect.dependabot.com/ktorio/ktor/issues/1390))
> * Server authentication feature's phases are now public ([#1160](https://github-redirect.dependabot.com/ktorio/ktor/issues/1160))
> * Fixed auth header resending after redirect ([#1467](https://github-redirect.dependabot.com/ktorio/ktor/issues/1467))
> * TCP half-close made optional for CIO client engine and disabled by default.
> * Apache client random timeouts fixed
> * Fixed locale-dependant code ([#1491](https://github-redirect.dependabot.com/ktorio/ktor/issues/1491))
> * Fixed unclosed websocket channels if cancelled too early
> * TCP half-close made optional for CIO client engine and disabled by default. ([#1456](https://github-redirect.dependabot.com/ktorio/ktor/issues/1456))
> * Improved ktor-client-mock engine to be thread safe ([#1505](https://github-redirect.dependabot.com/ktorio/ktor/issues/1505))
> * Fixed client cookies logging ([#1506](https://github-redirect.dependabot.com/ktorio/ktor/issues/1506))
> * Fixed multiple application stop events in test engine ([#1498](https://github-redirect.dependabot.com/ktorio/ktor/issues/1498))
> * Fixed CIO ActorSelectorManager to not spin due to cancelled keys (affects both CIO client and server)
> * Made default auth validate functions fail to force users to implement them
> * Introduced test client instance in the test server
> ... (truncated)
Commits
- [`2dfa179`](https://github.com/ktorio/ktor/commit/2dfa1798f0b026d781efd5e0bc4e6d9a5cfcec3e) Version 1.3.0
- [`b50206c`](https://github.com/ktorio/ktor/commit/b50206cf0b5674e5e2f4b02351c49238da6f8cf2) Prevent propagating exception to top-level
- [`6365524`](https://github.com/ktorio/ktor/commit/6365524d6e1ac94f25eae2db67c79ae6424d599e) Fix Netty HTTP/2 handler job completion to avoid false cancellation ([#1261](https://github-redirect.dependabot.com/ktorio/ktor/issues/1261))
- [`cdd5c94`](https://github.com/ktorio/ktor/commit/cdd5c946e0373af87bf60386bd1078c5d9d6db3b) Fix Netty HTTP/2 to not send push promise if not allowed ([#1261](https://github-redirect.dependabot.com/ktorio/ktor/issues/1261))
- [`b9fab08`](https://github.com/ktorio/ktor/commit/b9fab086ba720599addb75bb3d277f23b02b2904) Fix Netty HTTP/2 headers retrievement ([#1261](https://github-redirect.dependabot.com/ktorio/ktor/issues/1261))
- [`772a32f`](https://github.com/ktorio/ktor/commit/772a32ffb658b23218886953594fc7c24654d226) Update public API
- [`a0ac489`](https://github.com/ktorio/ktor/commit/a0ac489993b847f1b8a9f1081f4f14e4bb4d43a9) Use url with explicit port for proxy
- [`7a83a9a`](https://github.com/ktorio/ktor/commit/7a83a9aa87b78b6964cee112ec126d07572ff1a2) Improve logging in transformation failure
- [`4620e9b`](https://github.com/ktorio/ktor/commit/4620e9bce5127aa94240e3d1a5f29abcbb16f7b4) Enable native tests; Add proxy test with json
- [`b7a12cf`](https://github.com/ktorio/ktor/commit/b7a12cf89e3bf50249f5bbd50a9138b5f3a5222d) Fix hot reload on latest JDKs to work without any special options.
- Additional commits viewable in [compare view](https://github.com/ktorio/ktor/compare/1.1.3...1.3.0)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/HewlettPackard/kraal/network/alerts).
Bumps ktor-server-cio from 1.1.3 to 1.3.0.
Release notes
*Sourced from [ktor-server-cio's releases](https://github.com/ktorio/ktor/releases).* > ## 1.3.0 > > 14 Jan 2020 > > * ktor client proxy support > * Introduced `HttpStatement` and deprecated potentially dangerous resource-leaking client API > * Eliminated kotlinx.io dependency > * Fixed server identity compression handling: keep original content length > * Fixed handling GET requests with body ([#1302](https://github-redirect.dependabot.com/ktorio/ktor/issues/1302)) > * Fixed curl request with empty body > * Added iOS url session configuration > * Fixed CIO engine no longer sends port in "Host" header ([#1295](https://github-redirect.dependabot.com/ktorio/ktor/issues/1295)) > * Add INTRINSIC value to TLS signature algorithms > * Introduced ability to send string in request body > * Improved client and server typeOf support with kotlinx.serialization > * Gradle 5.4.1+ with newer metadata (metadata 1.0) > * Improved exceptions handling in client and server on Android > * Added missing TLS parameters and relaxed TLS parsing to ignore unsupported features > * Improved session diagnostics ([#1368](https://github-redirect.dependabot.com/ktorio/ktor/issues/1368)) > * Fixed `hookRequests` in test engine ([#1300](https://github-redirect.dependabot.com/ktorio/ktor/issues/1300)) > * Deprecate java.time related API and related cleanup (for future kotlin.time support) > * Restricted CIO HTTP headers parser > * Introduced header name and value validation > * Fixed must-revalidate on the request side in ktor client ([#1406](https://github-redirect.dependabot.com/ktorio/ktor/issues/1406)) > * Fixed OkHttp client resource cleanup on close > * Added watchos/tvos native targets > * Fixed content truncation at native and JS targets > * Fixed server's `If-Range` header parsing to avoid crash at date parsing ([#1377](https://github-redirect.dependabot.com/ktorio/ktor/issues/1377)) > * Fixed server's conditional headers processing > * Reduced required JDK version for `DefaultHeaders` server feature > * Fixed client hanging due to exception in response pipeline > * Replaced HttpClientJvmEngine to HttpClientEngineBase that is now common for all platforms (affects only custom client engines) > * Fixed hierarchy of execution and call contexts in clients that allows to properly handle request lifetime using execution context. > * Optimize JS module import time ([#1464](https://github-redirect.dependabot.com/ktorio/ktor/issues/1464)) > * Upgraded versions of Netty, Jetty and Tomcat implementations > * Added Pebble template engine ([#1374](https://github-redirect.dependabot.com/ktorio/ktor/issues/1374)) > * Introduced localPort route that is always tied to actual socket port ([#1392](https://github-redirect.dependabot.com/ktorio/ktor/issues/1392)) > * Fixed cookie expiration date parsing ([#1390](https://github-redirect.dependabot.com/ktorio/ktor/issues/1390)) > * Server authentication feature's phases are now public ([#1160](https://github-redirect.dependabot.com/ktorio/ktor/issues/1160)) > * Fixed auth header resending after redirect ([#1467](https://github-redirect.dependabot.com/ktorio/ktor/issues/1467)) > * TCP half-close made optional for CIO client engine and disabled by default. > * Apache client random timeouts fixed > * Fixed locale-dependant code ([#1491](https://github-redirect.dependabot.com/ktorio/ktor/issues/1491)) > * Fixed unclosed websocket channels if cancelled too early > * TCP half-close made optional for CIO client engine and disabled by default. ([#1456](https://github-redirect.dependabot.com/ktorio/ktor/issues/1456)) > * Improved ktor-client-mock engine to be thread safe ([#1505](https://github-redirect.dependabot.com/ktorio/ktor/issues/1505)) > * Fixed client cookies logging ([#1506](https://github-redirect.dependabot.com/ktorio/ktor/issues/1506)) > * Fixed multiple application stop events in test engine ([#1498](https://github-redirect.dependabot.com/ktorio/ktor/issues/1498)) > * Fixed CIO ActorSelectorManager to not spin due to cancelled keys (affects both CIO client and server) > * Made default auth validate functions fail to force users to implement them > * Introduced test client instance in the test server > ... (truncated)Changelog
*Sourced from [ktor-server-cio's changelog](https://github.com/ktorio/ktor/blob/master/CHANGELOG.md).* > # 1.3.0 > > 14 Jan 2020 > > * ktor client proxy support > * Introduced `HttpStatement` and deprecated potentially dangerous resource-leaking client API > * Eliminated kotlinx.io dependency > * Fixed server identity compression handling: keep original content length > * Fixed handling GET requests with body ([#1302](https://github-redirect.dependabot.com/ktorio/ktor/issues/1302)) > * Fixed curl request with empty body > * Added iOS url session configuration > * Fixed CIO engine no longer sends port in "Host" header ([#1295](https://github-redirect.dependabot.com/ktorio/ktor/issues/1295)) > * Add INTRINSIC value to TLS signature algorithms > * Introduced ability to send string in request body > * Improved client and server typeOf support with kotlinx.serialization > * Gradle 5.4.1+ with newer metadata (metadata 1.0) > * Improved exceptions handling in client and server on Android > * Added missing TLS parameters and relaxed TLS parsing to ignore unsupported features > * Improved session diagnostics ([#1368](https://github-redirect.dependabot.com/ktorio/ktor/issues/1368)) > * Fixed `hookRequests` in test engine ([#1300](https://github-redirect.dependabot.com/ktorio/ktor/issues/1300)) > * Deprecate java.time related API and related cleanup (for future kotlin.time support) > * Restricted CIO HTTP headers parser > * Introduced header name and value validation > * Fixed must-revalidate on the request side in ktor client ([#1406](https://github-redirect.dependabot.com/ktorio/ktor/issues/1406)) > * Fixed OkHttp client resource cleanup on close > * Added watchos/tvos native targets > * Fixed content truncation at native and JS targets > * Fixed server's `If-Range` header parsing to avoid crash at date parsing ([#1377](https://github-redirect.dependabot.com/ktorio/ktor/issues/1377)) > * Fixed server's conditional headers processing > * Reduced required JDK version for `DefaultHeaders` server feature > * Fixed client hanging due to exception in response pipeline > * Replaced HttpClientJvmEngine to HttpClientEngineBase that is now common for all platforms (affects only custom client engines) > * Fixed hierarchy of execution and call contexts in clients that allows to properly handle request lifetime using execution context. > * Optimize JS module import time ([#1464](https://github-redirect.dependabot.com/ktorio/ktor/issues/1464)) > * Upgraded versions of Netty, Jetty and Tomcat implementations > * Added Pebble template engine ([#1374](https://github-redirect.dependabot.com/ktorio/ktor/issues/1374)) > * Introduced localPort route that is always tied to actual socket port ([#1392](https://github-redirect.dependabot.com/ktorio/ktor/issues/1392)) > * Fixed cookie expiration date parsing ([#1390](https://github-redirect.dependabot.com/ktorio/ktor/issues/1390)) > * Server authentication feature's phases are now public ([#1160](https://github-redirect.dependabot.com/ktorio/ktor/issues/1160)) > * Fixed auth header resending after redirect ([#1467](https://github-redirect.dependabot.com/ktorio/ktor/issues/1467)) > * TCP half-close made optional for CIO client engine and disabled by default. > * Apache client random timeouts fixed > * Fixed locale-dependant code ([#1491](https://github-redirect.dependabot.com/ktorio/ktor/issues/1491)) > * Fixed unclosed websocket channels if cancelled too early > * TCP half-close made optional for CIO client engine and disabled by default. ([#1456](https://github-redirect.dependabot.com/ktorio/ktor/issues/1456)) > * Improved ktor-client-mock engine to be thread safe ([#1505](https://github-redirect.dependabot.com/ktorio/ktor/issues/1505)) > * Fixed client cookies logging ([#1506](https://github-redirect.dependabot.com/ktorio/ktor/issues/1506)) > * Fixed multiple application stop events in test engine ([#1498](https://github-redirect.dependabot.com/ktorio/ktor/issues/1498)) > * Fixed CIO ActorSelectorManager to not spin due to cancelled keys (affects both CIO client and server) > * Made default auth validate functions fail to force users to implement them > * Introduced test client instance in the test server > ... (truncated)Commits
- [`2dfa179`](https://github.com/ktorio/ktor/commit/2dfa1798f0b026d781efd5e0bc4e6d9a5cfcec3e) Version 1.3.0 - [`b50206c`](https://github.com/ktorio/ktor/commit/b50206cf0b5674e5e2f4b02351c49238da6f8cf2) Prevent propagating exception to top-level - [`6365524`](https://github.com/ktorio/ktor/commit/6365524d6e1ac94f25eae2db67c79ae6424d599e) Fix Netty HTTP/2 handler job completion to avoid false cancellation ([#1261](https://github-redirect.dependabot.com/ktorio/ktor/issues/1261)) - [`cdd5c94`](https://github.com/ktorio/ktor/commit/cdd5c946e0373af87bf60386bd1078c5d9d6db3b) Fix Netty HTTP/2 to not send push promise if not allowed ([#1261](https://github-redirect.dependabot.com/ktorio/ktor/issues/1261)) - [`b9fab08`](https://github.com/ktorio/ktor/commit/b9fab086ba720599addb75bb3d277f23b02b2904) Fix Netty HTTP/2 headers retrievement ([#1261](https://github-redirect.dependabot.com/ktorio/ktor/issues/1261)) - [`772a32f`](https://github.com/ktorio/ktor/commit/772a32ffb658b23218886953594fc7c24654d226) Update public API - [`a0ac489`](https://github.com/ktorio/ktor/commit/a0ac489993b847f1b8a9f1081f4f14e4bb4d43a9) Use url with explicit port for proxy - [`7a83a9a`](https://github.com/ktorio/ktor/commit/7a83a9aa87b78b6964cee112ec126d07572ff1a2) Improve logging in transformation failure - [`4620e9b`](https://github.com/ktorio/ktor/commit/4620e9bce5127aa94240e3d1a5f29abcbb16f7b4) Enable native tests; Add proxy test with json - [`b7a12cf`](https://github.com/ktorio/ktor/commit/b7a12cf89e3bf50249f5bbd50a9138b5f3a5222d) Fix hot reload on latest JDKs to work without any special options. - Additional commits viewable in [compare view](https://github.com/ktorio/ktor/compare/1.1.3...1.3.0)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/HewlettPackard/kraal/network/alerts).