A sample project managing the dependencies using Gradle version catalog

Overview

playground-gradle-bom-dep-manage

A sample project managing the dependencies using Gradle version catalog.

Pros/Cons

Comparison with dependency management using buildSrc.

Pros

  • Type-safe dependency management.
  • Don't need to use buildSrc for the dependency management.
  • Don't need to re-compile buildSrc sources when the dependencies changed.
  • Renovate works!! See PRs.

Cons

  • Needs to write the dependencies with TOML.
Comments
  • Bump rxjava from 3.0.0 to 3.1.2

    Bump rxjava from 3.0.0 to 3.1.2

    Bumps rxjava from 3.0.0 to 3.1.2.

    Release notes

    Sourced from rxjava's releases.

    3.1.2

    Maven JavaDocs

    Compatibility

    • Add full Java 9 module descriptor. (#7241)

    Bugfixes

    • Fix missing nullability on Single.subscribe(BiConsumer). (#7331)

    Documentation

    • Fix javadoc wording of {Publish|Behavior}Processor::offer(). (#7328)
    • Indicate takeUntil stops on completion of other. (#7341)

    Other

    • Update assert messages format to be compliant with GradleRunner and JUnitRunner. (#7345)

    3.1.1

    Maven JavaDocs

    API promotions

    • The operator fusion-related interfaces and two atomic queue implementations have been promoted to standard, thus officially supported in the io.reactivex.rxjava3.operators package. (#7320)

    Bugfixes

    • Specify proper OSGi unique bundle symbolic name of io.reactivex.rxjava3.rxjava. (#7319)
    • Fix ExecutorScheduler initializing Schedulers prematurely when using RxJavaPlugins.createExecutorScheduler. (#7323)
    • Fix the LamdbaConsumerIntrospection of Completable's lambda-based observer to use the same missing onError indicator as the other types' lambda-based consumers. (#7326)

    3.1.0

    Maven JavaDocs

    :warning: With this release, the minimum required Android API level is API 21 (Android 5.0).

    :warning: Note that the 3.0.x patch line won't be developed further.

    API promotions

    • Flowable.onBackpressureReduce() + 1 (#7296)
    • RxJavaPlugins.getOnParallelSubscribe() and RxJavaPlugins.setOnParallelSubscribe() (#7296)
    • TestScheduler([...] boolean useOnScheduleHook) (#7296)

    API additions

    ... (truncated)

    Commits
    • 1f87a43 Bump mockito-core from 3.12.4 to 4.0.0 (#7350)
    • 49ae9f8 Added required comma to README.md (#7349)
    • 767c532 Bump biz.aQute.bnd.builder from 5.3.0 to 6.0.0 (#7348)
    • 17e71ab Update assert messages format to be compliant with GradleRunner and JUnitRunn...
    • 6cc3a3b Bump guava from 31.0-jre to 31.0.1-jre (#7343)
    • 15ac5ad 3.x: Javadocs: indicate takeUntil stops on completion of other (#7341)
    • 54114b9 Bump guava from 30.1.1-jre to 31.0-jre (#7340)
    • 03e8ced Bump com.vanniktech.maven.publish from 0.17.0 to 0.18.0 (#7337)
    • 31ebec6 Bump codecov/codecov-action from 2.0.3 to 2.1.0 (#7338)
    • 30d4527 3.x: Add missing exports packages, fix param overrides (#7336)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    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 close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor 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)
    opened by dependabot[bot] 2
  • Bump plugin.serialization from 1.4.30 to 1.6.0

    Bump plugin.serialization from 1.4.30 to 1.6.0

    Bumps plugin.serialization from 1.4.30 to 1.6.0.

    Dependabot compatibility score

    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 close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor 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)
    opened by dependabot[bot] 2
  • Bump junit from 4.12 to 4.13.2

    Bump junit from 4.12 to 4.13.2

    Bumps junit from 4.12 to 4.13.2.

    Release notes

    Sourced from junit's releases.

    JUnit 4.13.2

    Please refer to the release notes for details.

    JUnit 4.13.1

    Please refer to the release notes for details.

    JUnit 4.13

    Please refer to the release notes for details.

    JUnit 4.13 RC 2

    Please refer to the release notes for details.

    JUnit 4.13 RC 1

    Please refer to the release notes for details.

    JUnit 4.13 Beta 3

    Please refer to the release notes for details.

    JUnit 4.13 Beta 2

    Please refer to the release notes for details.

    JUnit 4.13 Beta 1

    Please refer to the release notes for details.

    Commits
    • 05fe2a6 [maven-release-plugin] prepare release r4.13.2
    • ff57344 Add build for JDK 17-ea
    • 02aaa01 Improve check that thread is stopped
    • e9a75f4 Merge test for exception type and message
    • d27ad52 Rename DelegateStatement to DelegatingStatement
    • b83dc2e Better name for test that stops statement
    • 527f3a3 Replace InfiniteLoop with RunForASecond
    • 2db6394 Tidy up FailOnTimeoutTest
    • 64634e1 Update 4.13.2 release notes to document pull 1654
    • f8ee412 Fix serialization of AssumptionViolatedException (#1654)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    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 close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor 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)
    opened by dependabot[bot] 2
  • Bump kotlinx-serialization-json from 1.0.1 to 1.3.1

    Bump kotlinx-serialization-json from 1.0.1 to 1.3.1

    Bumps kotlinx-serialization-json from 1.0.1 to 1.3.1.

    Release notes

    Sourced from kotlinx-serialization-json's releases.

    1.3.1

    This release mainly contains bugfixes for 1.3.0 and provides new experimental Json.decodeToSequence function.

    Improvements

    • Provide decodeToSequence to read multiple objects from stream lazily (#1691)

    Bugfixes

    • Correctly handle buffer boundaries while decoding escape sequences from json stream (#1706)
    • Properly skip unknown keys for objects and structures with zero properties (#1720)
    • Fix merging for maplikeSerializer when the map is not empty (by using the actual size * 2). (#1712) (thanks to pdvrieze)
    • Fix lookup of primitive array serializers by Java type token (#1708)

    1.3.0

    This release contains all of the cool new features from 1.3.0-RC as well as minor improvements. It uses Kotlin 1.5.31 by default.

    Bugfixes and improvements

    • Promote JsonConfiguration and its usages to stable (#1690)
    • Remove opt-in annotations from SerialFormat, StringFormat, BinaryFormat (#1688)
    • Correctly throw SerializationException instead of IOOBE for some cases with EOF in streams (#1677)
    • CBOR: ignore tags when reading (#1614) (thanks to David Robertson)

    1.3.0-RC

    This is a release candidate for the next version. It contains a lot of interesting features and improvements, so we ask you to evaluate it and share your feedback. Kotlin 1.5.30 is used by default.

    Java IO stream-based JSON serialization

    Finally, in kotlinx.serialization 1.3.0 we’re presenting the first experimental version of the serialization API for IO streams: Json.encodeToStream and Json.decodeFromStream extension functions. With this API, you can decode objects directly from files, network connections, and other data sources without reading the data to strings beforehand. The opposite operation is also available: you can send encoded objects directly to files and other streams in a single API call. IO stream serialization is available only on the JVM platform and for the JSON format for now.

    Check out more in the PR.

    Property-level control over defaults values encoding

    Previous versions of the library allowed to specify whether to encode or drop default properties values with format configuration flags such as Json { encodeDefaults = false }. In 1.3.0 we’re extending this feature by adding a new way to fine-tune the serialization of default values: you can now control it on the property level using the new @EncodeDefault annotation.

    @EncodeDefault annotation has a higher priority over the encodeDefaults property and takes one of two possible values:

    • ALWAYS (default value) encodes a property value even if it equals to default.
    • NEVER doesn’t encode the default value regardless of the format configuration.

    ... (truncated)

    Changelog

    Sourced from kotlinx-serialization-json's changelog.

    1.3.1 / 2021-11-11

    This release mainly contains bugfixes for 1.3.0 and provides new experimental Json.decodeToSequence function.

    Improvements

    • Provide decodeToSequence to read multiple objects from stream lazily (#1691)

    Bugfixes

    • Correctly handle buffer boundaries while decoding escape sequences from json stream (#1706)
    • Properly skip unknown keys for objects and structures with zero properties (#1720)
    • Fix merging for maplikeSerializer when the map is not empty (by using the actual size * 2). (#1712) (thanks to pdvrieze)
    • Fix lookup of primitive array serializers by Java type token (#1708)

    1.3.0 / 2021-09-23

    This release contains all of the cool new features from 1.3.0-RC (see below) as well as minor improvements. It uses Kotlin 1.5.31 by default.

    Bugfixes and improvements

    • Promote JsonConfiguration and its usages to stable (#1690)
    • Remove opt-in annotations from SerialFormat, StringFormat, BinaryFormat (#1688)
    • Correctly throw SerializationException instead of IOOBE for some cases with EOF in streams (#1677)
    • CBOR: ignore tags when reading (#1614) (thanks to David Robertson)

    1.3.0-RC / 2021-09-06

    This is a release candidate for the next version. It contains a lot of interesting features and improvements, so we ask you to evaluate it and share your feedback. Kotlin 1.5.30 is used by default.

    Java IO stream-based JSON serialization

    Finally, in kotlinx.serialization 1.3.0 we’re presenting the first experimental version of the serialization API for IO streams: Json.encodeToStream and Json.decodeFromStream extension functions. With this API, you can decode objects directly from files, network connections, and other data sources without reading the data to strings beforehand. The opposite operation is also available: you can send encoded objects directly to files and other streams in a single API call. IO stream serialization is available only on the JVM platform and for the JSON format for now.

    Check out more in the PR.

    Property-level control over defaults values encoding

    Previous versions of the library allowed to specify whether to encode or drop default properties values with

    ... (truncated)

    Commits
    • 471f4bb Prepare 1.3.1 release
    • 2a71f31 Merge remote-tracking branch 'origin/master' into dev
    • b211c29 Provide decodeToSequence to read multiple objects from stream lazily (#1691)
    • 3999818 Correctly handle buffer boundaries while decoding escape sequences from json ...
    • e721ebe Add Kover plugin (#1733)
    • f6a3432 Easier to configure ProGuard rules (#1721)
    • b746ba8 docs(polymorphism): fixing a typo (#1731)
    • c06ebb4 Properly skip unknown keys for objects and structures with zero prope… (#1720)
    • 85be8a7 Fix merging for maplikeSerializer when the map is not empty (by using the act...
    • 1814a92 Added android.os.Bundle to community-supported formats (#1722)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    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 close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor 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)
    opened by dependabot[bot] 2
  • Bump ktor-bom from 1.4.0 to 1.6.5

    Bump ktor-bom from 1.4.0 to 1.6.5

    Bumps ktor-bom from 1.4.0 to 1.6.5.

    Release notes

    Sourced from ktor-bom's releases.

    1.6.5 Release

    • Bump kotlin from 1.5.30 to 1.5.31
    • Bump tomcat from 9.0.48 to 9.0.54
    • Bump logback from 1.2.3 to 1.2.6
    • Bump slf4j from 1.7.30 to 1.7.32
    • Bump gson from 2.8.6 to 2.8.9
    • Bump okhttp from 4.6.0 to 4.9.2
    • Bump jackson from 2.12.3 to 2.13.0
    • Bump mockk from 1.10.6 to 1.12.0
    • Add Apple Silicon targets (KTOR-3082)
    • Fix HttpCookies feature overwriting request cookies (KTOR-3105)
    • Change EAP version scheme (KTOR-3319)
    • Update Netty to 4.1.69.Final (KTOR-472)
    • Allow wildcard origins for CORS requests (KTOR-316)
    • Add a host check for illegal symbols (KTOR-384)
    • Add check to prevent anyHost with allowCredentials (KTOR-2872)
    • Bump metrics-core from 4.2.3 to 4.2.4
    • Bump webjars-locator-core from 0.47 to 0.48
    • Bump metrics-jvm from 4.2.3 to 4.2.4
    • Fix ProxyType.SOCKS being mapped to Proxy.Type.DIRECT
    • fix grammar (KTOR-3237)
    • Bump micrometer-core from 1.7.4 to 1.7.5
    • Ignore flaky testTimeoutPriority (KTOR-3243)
    • Fix npe if static file not found (KTOR-2811)
    • Fix flaky timeoutPriorityTest (KTOR-3243)
    • Fill Content-Length for PartialContent (KTOR-308)
    • Change default log-level to INFO (KTOR-806)
    • Use require from the stdlib instead of internal require (KTOR-2626)

    1.6.4 Release

    1.6.4

    Published 30 September 2021

    • [Auth] [Interceptors] Phase Phase('Challenge') was not registered for this pipeline (KTOR-3156)
    • insertPhaseBefore and insertPhaseAfter lead to different order (KTOR-438)
    • Ktor 1.6.3 crashes on restart due to java.lang.ClassNotFoundException: Didn't find class "java.nio.file.WatchService" on Android 24 (KTOR-3166)
    • GraalVM binary using CIO fails on start "Module function cannot be found" (KTOR-2987)
    • Logging in Shutdown thread looks not informative (KTOR-3175)
    • Installed Closeable features not closed when closing HttpClient (KTOR-3116)
    • Explain method(HttpMethod.Options) in docs for CORS (KTOR-2913)
    • ContentType.parse("text/html qqq") must fail with error (KTOR-3080)
    • Update JSON topics using code snippets from the 'codeSnippets' project (KTOR-2955)
    • Could not find artifact org.jetbrains.kotlinx:kotlinx-html-jvm:pom:0.7.2 (KTOR-2481)
    • Update the 'Modules' topic (KTOR-1861)
    • Native engines tests are not run outside of the ktor-client-tests module (KTOR-3069)
    • MultiPartData.readAllParts throws IOException when the epilogue is omitted (KTOR-3173)
    • Update Kotlin and Coroutines Versions (KTOR-3103)

    1.6.3

    • Auth Feature: token refresh works only on main thread in Kotlin/Native (KTOR-3055)
    • FUS report mixes up feature id and feature version (KTOR-3067)

    ... (truncated)

    Changelog

    Sourced from ktor-bom's changelog.

    1.6.5

    Published 2 November 2021

    • Bump kotlin from 1.5.30 to 1.5.31
    • Bump tomcat from 9.0.48 to 9.0.54
    • Bump logback from 1.2.3 to 1.2.6
    • Bump slf4j from 1.7.30 to 1.7.32
    • Bump gson from 2.8.6 to 2.8.9
    • Bump okhttp from 4.6.0 to 4.9.2
    • Bump jackson from 2.12.3 to 2.13.0
    • Bump mockk from 1.10.6 to 1.12.0
    • Add Apple Silicon targets (KTOR-3082)
    • Fix HttpCookies feature overwriting request cookies (KTOR-3105)
    • Change EAP version scheme (KTOR-3319)
    • Update Netty to 4.1.69.Final (KTOR-472)
    • Allow wildcard origins for CORS requests (KTOR-316)
    • Add a host check for illegal symbols (KTOR-384)
    • Add check to prevent anyHost with allowCredentials (KTOR-2872)
    • Bump metrics-core from 4.2.3 to 4.2.4
    • Bump webjars-locator-core from 0.47 to 0.48
    • Bump metrics-jvm from 4.2.3 to 4.2.4
    • Fix ProxyType.SOCKS being mapped to Proxy.Type.DIRECT
    • fix grammar (KTOR-3237)
    • Bump micrometer-core from 1.7.4 to 1.7.5
    • Ignore flaky testTimeoutPriority (KTOR-3243)
    • Fix npe if static file not found (KTOR-2811)
    • Fix flaky timeoutPriorityTest (KTOR-3243)
    • Fill Content-Length for PartialContent (KTOR-308)
    • Change default log-level to INFO (KTOR-806)
    • Use require from the stdlib instead of internal require (KTOR-2626)

    1.6.4

    Published 30 September 2021

    • [Auth] [Interceptors] Phase Phase('Challenge') was not registered for this pipeline (KTOR-3156)
    • insertPhaseBefore and insertPhaseAfter lead to different order (KTOR-438)
    • Ktor 1.6.3 crashes on restart due to java.lang.ClassNotFoundException: Didn't find class "java.nio.file.WatchService" on Android 24 (KTOR-3166)
    • GraalVM binary using CIO fails on start "Module function cannot be found" (KTOR-2987)
    • Logging in Shutdown thread looks not informative (KTOR-3175)
    • Installed Closeable features not closed when closing HttpClient (KTOR-3116)
    • Explain method(HttpMethod.Options) in docs for CORS (KTOR-2913)
    • ContentType.parse("text/html qqq") must fail with error (KTOR-3080)
    • Update JSON topics using code snippets from the 'codeSnippets' project (KTOR-2955)
    • Could not find artifact org.jetbrains.kotlinx:kotlinx-html-jvm:pom:0.7.2 (KTOR-2481)
    • Update the 'Modules' topic (KTOR-1861)
    • Native engines tests are not run outside of the ktor-client-tests module (KTOR-3069)
    • MultiPartData.readAllParts throws IOException when the epilogue is omitted (KTOR-3173)
    • Update Kotlin and Coroutines Versions (KTOR-3103)

    1.6.3

    ... (truncated)

    Commits

    Dependabot compatibility score

    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 close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor 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)
    opened by dependabot[bot] 2
  • Update kotlin to v1.7.10 - autoclosed

    Update kotlin to v1.7.10 - autoclosed

    Mend Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | org.jetbrains.kotlin.plugin.serialization (source) | 1.4.30 -> 1.7.10 | age | adoption | passing | confidence | | org.jetbrains.kotlin.multiplatform (source) | 1.4.30 -> 1.7.10 | age | adoption | passing | confidence | | org.jetbrains.kotlin:kotlin-bom (source) | 1.4.30 -> 1.7.10 | age | adoption | passing | confidence |


    Release Notes

    JetBrains/kotlin

    v1.7.10

    Changelog
    Compiler
    • KT-52702 Invalid locals information when compiling kotlinx.collections.immutable with Kotlin 1.7.0-RC2
    • KT-52892 Disappeared specific builder inference resolution ambiguity errors
    • KT-52782 Appeared receiver type mismatch error due to ProperTypeInferenceConstraintsProcessing compiler feature
    • KT-52718 declaringClass deprecation message mentions the wrong replacement in 1.7
    IDE. Configuration
    • KTIJ-21982 Cannot run/build anything with Kotlin plugin since last update
    Tools. Gradle
    • KT-52777 'org.jetbrains.kotlinx:atomicfu:1.7.0' Gradle 7.0+ plugin variant was published with missing classes
    Tools. Gradle. JS
    • KT-52856 Kotlin/JS: Upgrade NPM dependencies
    Tools. Gradle. Multiplatform
    • KT-52955 SourceSetMetadataStorageForIde: Broken 'cleanupStaleEntries' with enabled configuration caching or isolated ClassLoaders
    • KT-52694 Kotlin 1.7.0 breaks Configuration Caching in Android projects
    Tools. Incremental Compile
    • KT-52669 Full rebuild in IC exception recovery leaves corrupt IC data
    Checksums

    | File | Sha256 | | --- | --- | | kotlin-compiler-1.7.10.zip | 7683f5451ef308eb773a686ee7779a76a95ed8b143c69ac247937619d7ca3a09 | | kotlin-native-linux-x86_64-1.7.10.tar.gz | b874373e87381b94c6a385178ea9594a5b4cfeb2fbae2bd89d3cb84c96bc3b96 | | kotlin-native-macos-x86_64-1.7.10.tar.gz | 4e9470c25e0c6b3b79e86a59c7eca4d79c5a28ca515e80db93504535b2332a00 | | kotlin-native-macos-aarch64-1.7.10.tar.gz | c02be577f541a5c73e1af75534006eea6e09cf67b3a886f323dae6f0406bcb3e | | kotlin-native-windows-x86_64-1.7.10.zip | 52c64c754a23da3d554d89beb9cdc322ffcb19b8d6f1e812e849e597d282b99d |

    v1.7.0

    Analysis API. FIR
    • KT-50864 Analysis API: ISE: "KtCallElement should always resolve to a KtCallInfo" is thrown on call resolution inside plusAssign target
    • KT-50252 Analysis API: Implement FirModuleResolveStates for libraries
    • KT-50862 Analsysis API: do not create use site subsitution override symbols
    Analysis API. FIR Low Level API
    • KT-50729 Type bound is not fully resolved
    • KT-50728 Lazy resolve of extension function from 'kotlin' package breaks over unresolved type
    • KT-50271 Analysis API: get rid of using FirRefWithValidityCheck
    Backend. Native. Debug
    • KT-50558 K/N Debugger. Error is not displayed in variables view for catch block
    Compiler
    New Features
    • KT-26245 Add ability to specify generic type parameters as not-null
    • KT-45165 Remove JVM target version 1.6
    • KT-27435 Allow implementation by delegation to inlined value of inline class
    • KT-47939 Support method references to functional interface constructors
    • KT-50775 Support IR partial linkage in Kotlin/Native (disabled by default)
    • KT-51737 Kotlin/Native: Remove unnecessary safepoints on watchosArm32 and iosArm32 targets
    • KT-44249 NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER with type usage in higher order function
    Performance Improvements
    • KT-48233 Switching to JVM IR backend increases compilation time by more than 15%
    • KT-51699 Kotlin/Native: runtime has no LTO in debug binaries
    • KT-34466 Use optimized switch over enum only when all entries are constant enum entry expressions
    • KT-50861 FIR: Combination of array set convention and plusAssign works exponentially
    • KT-47171 For loop doesn't avoid boxing with value class iterators (JVM)
    • KT-29199 'next' calls for iterators of merged primitive progressive values are not specialized
    • KT-50585 JVM IR: Array constructor loop should use IINC
    • KT-22429 Optimize 'for' loop code generation for reversed arrays
    • KT-50074 Performance regression in String-based 'when' with single equality clause
    • KT-22334 Compiler backend could generate smaller code for loops using range such as integer..array.size -1
    • KT-35272 Unnecessary null check on unsafe cast after not-null assertion operator
    • KT-27427 Optimize nullable check introduced with 'as' cast
    Fixes
    • KT-46762 Finalize support for jspecify
    • KT-51499 @​file:OptIn doesn't cover override methods
    • KT-52037 FIR: add error in 1.7.0 branch if run with non-compatible plugins
    • KT-46756 Release the K2/JVM compiler in Alpha
    • KT-49715 IR: "IllegalStateException: Function has no body: FUN name:toString" during IR lowering with shadowed extension inside interface
    • KT-45508 False negative ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED on a fake override with an abstract super class member
    • KT-28078 Report error "Public property exposes its private type" for primary constructor properties instead of warning
    • KT-49017 Forbid usages of super or super if in fact it accesses an abstract member
    • KT-38078 Prohibit calling methods from Any with "super" qualifier once they are overridden as abstract in superclass
    • KT-52363 Evaluate impact of qualified this behavior change warnings
    • KT-52561 JVM: Coroutine state machine loses value after a check-induced smart cast
    • KT-52311 java.lang.VerifyError: Bad type on operand stack
    • KT-41124 Inconsistency of exceptions at init block for an enum entry with and without a qualifier name
    • KT-46860 Make safe calls always nullable
    • KT-52503 New green code appeared at the callable reference resolution
    • KT-51925 Native: "IllegalStateException: Symbol for kotlinx.cinterop/CStructVar|null[0] is unbound" caused by inline function
    • KT-49317 "IllegalStateException: Parent of this declaration is not a class: FUN LOCAL_FUNCTION_FOR_LAMBDA" with parameter of suspend type with the default parameter
    • KT-51844 New errors in overload resolution involving vararg extension methods
    • KT-52006 "java.lang.Throwable: Unbalanced tree Exception" on indexing kotlin project
    • KT-51223 Report warning about conflicting inherited members from deserialized dependencies
    • KT-51439 FE 1.0: implement type variance conflict deprecation on qualifier type arguments
    • KT-51433 FE 1.0: implement warnings about label resolve changes
    • KT-51317 Regression in resolution of lambdas where expected type has an extension receiver parameter
    • KT-45935 JVM IR: Add not-null assertion for explicit definitely not-null parameters
    • KT-51818 "ClassCastException: class CoroutineSingletons cannot be cast to class" with suspendCoroutineUninterceptedOrReturn and coroutines
    • KT-51718 JVM / IR: "VerifyError: Bad type on operand stack" caused by nullable variable inside suspend function
    • KT-51927 Native: The symbol of unexpected type encountered during IR deserialization error when multiple libraries have non-conflicting declarations with the same name
    • KT-52394 JVM: Missing annotation on method with value class return type when a subclass is present in the same file in Kotlin 1.7.0-Beta
    • KT-51640 FIR: remove warning about "far from being production ready"
    • KT-45553 FIR: support hiding declaration from star import by as import
    • KT-52404 Prolong deprecation cycle for errors at contravariant usages of star projected argument from Java
    • KT-50734 TYPE_MISMATCH: NonNull parameter with a type of Nullable type argument causes compiler warning
    • KT-51235 JVM / IR: "AbstractMethodError: Receiver class does not define or inherit an implementation of the resolved method" when property with inline class type is overridden to return Nothing?
    • KT-48935 NI: Multiple generic parameter type constraints are not applied as expected when the parameter is of function type
    • KT-49661 NI: No TYPE_INFERENCE_UPPER_BOUND_VIOLATED when argument is inferred by return type
    • KT-50877 Inconsistent flexible type
    • KT-51988 "NPE: getContainingDeclaration…lDeclarationType.REGULAR) must not be null" when using @​BuilderInference with multiple type arguments
    • KT-48890 Revert Opt-In restriction "Overriding methods can only have opt-in annotations that are present on their basic declarations."
    • KT-52035 FIR: add error in 1.7.0 branch if run on JS / Native configuration
    • KT-45461 NI: False negative TYPE_INFERENCE_UPPER_BOUND_VIOLATED when passing an argument to a function with generic constraints
    • KT-52146 JVM IR: "AssertionError: Primitive array expected" on vararg of SAM types with self-type and star projection
    • KT-50730 Implement error for a super class constructor call on a function interface in supertypes list
    • KT-52040 JVM: ClassFormatError Illegal method name "expectFailure$__proxy-0"
    • KT-50845 Postpone rxjava errors reporting in the strict mode till 1.8 due to found broken cases
    • KT-51979 "AssertionError: No modifier list, but modifier has been found by the analyzer" exception on incorrect Java interface override
    • KT-51759 FIR DFA: false positive "Variable must be initialized"
    • KT-50378 Unresolved reference for method in Jsoup library in a kts script file
    • KT-34919 "Visibility is unknown yet" when named parameter in a function type used in a typealias implemented by an abstract class
    • KT-51893 Duplicated [OVERRIDE_DEPRECATION] on overridden properties
    • KT-41034 K2: Change evaluation semantics for combination of safe calls and convention operators
    • KT-51843 Functional interface constructor references are incorrectly allowed in 1.6.20 without any compiler flags
    • KT-51914 False positive RETURN_TYPE_MISMATCH in intellij ultimate
    • KT-51711 Compiler warning is displayed in case there is 'if' else branch used with elvis
    • KT-33517 Kotlin ScriptEngine does not respect async code when using bindings
    • KT-51850 FIR cannot resolve ambiguity with different SinceKotlin/DeprecatedSinceKotlin
    • KT-44705 Deprecate using non-exhaustive if's and when's in rhs of elvis
    • KT-44510 FIR DFA: smartcast after elvis with escaping lambda
    • KT-44879 FIR DFA: Track inc and dec operator calls in preliminary loop visitor
    • KT-51758 FIR: explicit API mode errors should not be reported for effectively internal / private entities
    • KT-51203 FIR: Inconsistent RETURN_TYPE_MISMATCH and TYPE_MISMATCH reporting on functions and properties
    • KT-51624 FIR: false-positive INAPPLICABLE_LATEINIT_MODIFIER for lateinit properties with unresolved types
    • KT-51204 FIR IC: Incremental compilation fails on nested crossinline
    • KT-51798 Fix ISE from IR backend when data class inherits equals/hashCode/toString with incompatible signature
    • KT-46187 FIR: OVERLOAD_RESOLUTION_AMBIGUITY on SAM-converted callable reference to List::plus
    • KT-51761 Incorrect NONE_APPLICABLE in expect class
    • KT-51756 FIR: false positive NO_VALUE_FOR_PARAMETER in expect class delegated constructor call
    • KT-49778 Support cast to DefinitelyNotNull type in Native
    • KT-51441 -Xpartial-linkage option specified in Gradle build script is not passed to Native linker
    • KT-34515 NI: "AssertionError: Base expression was not processed: POSTFIX_EXPRESSION" with double not-null assertion to brackets
    • KT-48546 PSI2IR: "org.jetbrains.kotlin.psi2ir.generators.ErrorExpressionException: null: KtCallExpression" with recursive property access in lazy block
    • KT-28109 "AssertionError: No setter call" for incrementing parenthesized result of indexed access convention operator
    • KT-46136 Unsubstituted return type inferred for a function returning anonymous object upcast to supertype
    • KT-51364 FIR: ambiguity due to String constructors clash
    • KT-51621 FIR: visible VS invisible qualifier conflict
    • KT-50468 FIR compilers fails with CCE when meets top-level destruction
    • KT-51557 Inline stack frame is not shown for default inline lambda
    • KT-51358 OptIn: show default warning/error message in case of empty message argument
    • KT-44152 FIR2IR fails on declarations from java stdlib if java classes are loaded from PSI instead of binaries
    • KT-50949 PSI2IR: NSEE from ArgumentsGenerationUtilsKt.createFunctionForSuspendConversion with providing lambda as argument with suspend type
    • KT-39256 ArrayStoreException with list of anonymous objects with inferred types created in reified extension function
    • KT-39883 Deprecate computing constant values of complex boolean expressions in when condition branches and conditions of loops
    • KT-36952 Exception during codegen: cannot pop operand off an empty stack (reference equality, implicit boxing, type check)
    • KT-51233 AssertionError in JavaLikeCounterLoopBuilder with Compose
    • KT-51254 Verify Error on passing null to type parameter extending inline class
    • KT-50996 [FIR] Support Int -> Long conversion for property initializers
    • KT-51000 [FIR] Support Int -> Long? conversion
    • KT-51003 [FIR] Consider Int -> Long conversion if expected type is type variable
    • KT-51018 [FIR] Wrong type inference if one of constraints is integer literal
    • KT-51446 Metadata serialization crashes with IOOBE when deserializing underlying inline class value with type table enabled
    • KT-50973 Redundant line number mapping for finally block with JVM IR
    • KT-51272 Incompatible types: KClass and callable reference Collection::class
    • KT-51274 "Expected some types" exception on when branch for when expression of erroneous type
    • KT-51229 FIR: private constructor of internal data class treated as internal and not private
    • KT-50750 [FIR] Report UNSUPPORTED on array literals not from annotation classes
    • KT-51200 False EXPOSED_PARAMETER_TYPE for internal type parameter of internal type
    • KT-49804 False positive of UPPER_BOUND_VIOLATED and RETURN_TYPE_MISMATCH
    • KT-51121 Inconsistent SAM behavior in multiple cases causing AbstractMethodError (Kotlin 1.6.10)
    • KT-50136 FIR: syntax error on (T & Any)
    • KT-49465 FIR2IR: support definitely not-null types
    • KT-51357 FIR: error in inference while using integer literal in expected Long position
    • KT-49925 [FIR] Incorrect builder inference (different cases)
    • KT-50542 "IllegalStateException: Type parameter descriptor is not initialized: T declared in sort" with definitely non-null type Any & T in generic constraint
    • KT-51171 FIR: class Error resolution problem
    • KT-51156 Multiplatform linkDebugFramework task throws NoSuchElementException when expect class constructors utilize nested enum constant
    • KT-51017 [FIR] Ambiguity on callable reference between two functions on generic receiver with different bounds
    • KT-51007 [FIR] False positive ILLEGAL_SUSPEND_FUNCTION_CALL if fun interface with suspend function declared in another module
    • KT-50998 [FIR] Int.inv() cal does not considered as compile time call
    • KT-51009 [FIR] Incorrect inference of lambda in position of return
    • KT-50997 [FIR] Incorrect type of typealias for suspend functional type
    • KT-49714 Compiler reports "'operator modifier is inapplicable" if expect class with increment operator is provided via type alias
    • KT-48623 Type nullability enhancement improvements
    • KT-44623 "IllegalStateException: IdSignature is allowed only for PublicApi symbols" when suspending receiver is annotated with something
    • KT-46000 JVM / IR: AssertionError on isSubtypeOfClass check in copyValueParametersToStatic with Compose
    • KT-50211 Annotation Instantiation with default arguments in Native
    • KT-49412 Controversial "type argument is not within its bounds" reported by FIR
    • KT-48044 [FIR] Investigate behavior of UPPER_BOUND_VIOLATED on complex cases
    • KT-37975 Don't show deprecation of enum class itself for its own member
    • KT-50737 Inheritance from SuspendFunction leads to compiler crash
    • KT-50723 Implement a fix of reporting of uninitialized parameter in default values of parameters
    • KT-50749 Implement UNSUPPORTED reporting on array literals inside objects in annotation classes
    • KT-50753 Implement reporting errors on cycles in annotation parameter types
    • KT-50758 Fix inconsistency of exceptions at init block for an enum entry with and without a qualifier name
    • KT-50182 CONST_VAL_NOT_TOP_LEVEL_OR_OBJECT: clarify error message for const in object expression
    • KT-50183 Fix missing apostrophe escapes in compiler error messages
    • KT-50788 FIR: false unsafe call on not-null generic
    • KT-50785 FIR: inconsistent smart cast after comparison with true
    • KT-50858 [FIR LL] FIR in low level mode creates multiple symbols for same declaration
    • KT-50822 Analysis API: make declaration transformers machinery to be a thread safe
    • KT-50972 FIR doesn't report VAL_REASSIGNMENT on synthetic properties
    • KT-50969 FIR: diamond inheritance with different parameter types depends on a supertype order
    • KT-50875 FIR: no smart cast after reassignment with elvis
    • KT-50835 Inline functions with suspend lambdas break the tail-call optimization
    • KT-49485 JVM / IR: StackOverflowError with long when-expression conditions
    • KT-35684 NI: "IllegalStateException: Expected some types" from builder-inference about intersecting empty types on trivial code
    • KT-50776 FIR: ambiguity between Sequence.forEach and Iterable.forEach
    • KT-48908 Error for annotation on parameter type could have distinct ID and message referring 1.6
    • KT-48907 SUPERTYPE_IS_SUSPEND_FUNCTION_TYPE error could have message referring version 1.6
    • KT-50774 FIR2IR: NSEE in case of lambda in enum entry constructor call
    • KT-49016 Drop QUALIFIED_SUPERTYPE_EXTENDED_BY_OTHER_SUPERTYPE diagnostic
    • KT-34338 Parameterless main causes duplicate JVM signature error
    • KT-50577 JVM_IR: No NPE when casting uninitialized value of non-null type to non-null type
    • KT-50476 JVM_IR: NSME when calling 'super.removeAt(Int)' implemented in Java interface as a default method
    • KT-50257 JVM_IR: Incorrect bridge delegate signature for renamed remove(I) causes SOE with Kotlin class inherited from fastutils IntArrayList
    • KT-50470 FIR: inapplicable candidate in delegate inference due to nullability
    • KT-32744 Inefficient compilation of null-safe call (extra null checks, unreachable code)
    Docs & Examples
    • KT-52032 Document performance optimizations of the Kotlin/JVM compiler in 1.7.0
    • KT-49424 Update KEEP for OptIn
    IDE
    Fixes
    • KTIJ-21735 Exception when opening a project
    • KTIJ-17414 UAST: Synthetic enum methods have null return values
    • KTIJ-17444 UAST: Synthetic enum methods are missing nullness annotations
    • KTIJ-19043 UElement#comments is empty for a Kotlin property with a getter
    • KTIJ-10031 IDE fails to suggest a project declaration import if the name clashes with internal declaration with implicit import from stdlib (ex. @​Serializable)
    • KTIJ-21515 Load JVM target 1.6 as 1.8 in Maven projects
    • KTIJ-21151 Exception about wrong read access from "Java overriding methods searcher" with Kotlin overrides
    • KTIJ-20736 NoClassDefFoundError: Could not initialize class org.jetbrains.kotlin.idea.roots.KotlinNonJvmOrderEnumerationHandler. Kotlin plugin 1.7 fails to start
    • KT-50111 Resolving into KtUltraLightMethod
    • KTIJ-21063 IDE highlighting: False positive error "Context receivers should be enabled explicitly"
    • KTIJ-20810 NoClassDefFoundError: org/jetbrains/kotlin/idea/util/SafeAnalyzeKt errors in 1.7.0-master-212 kotlin plugin on project open
    • KTIJ-19088 KotlinUFunctionCallExpression.resolve() returns null for calls to @​JvmSynthetic functions
    • KTIJ-17869 KotlinUFunctionCallExpression.resolve() returns null for instantiations of local classes with default constructors
    • KTIJ-21061 UObjectLiteralExpression.getExpressionType() returns the base class type for Kotlin object literals instead of the anonymous class type
    • KTIJ-20200 UAST: @​Deprecated(level=HIDDEN) constructors are not returning UMethod.isConstructor=true
    • KTIJ-19624 NoDescriptorForDeclarationException on iosTest.kt.vm
    IDE. Code Style, Formatting
    • KTIJ-20554 Introduce some code style for definitely non-null types
    IDE. Completion
    • KTIJ-14740 Multiplatform declaration actualised in an intermediate source set is shown twice in a completion popup called in the source set
    IDE. Debugger
    • KTIJ-20815 MPP Debugger: Evaluation of expect function for the project with intermediate source set may fail with java.lang.NoSuchMethodError
    IDE. Decompiler, Indexing, Stubs
    • KTIJ-21472 "java.lang.IllegalStateException: Could not read file" exception on indexing invalid class file
    • KTIJ-20802 Definitely Not-Null types: "UpToDateStubIndexMismatch: PSI and index do not match" plugin error when trying to use library function with T&Any
    • KT-51248 Function and parameter names with special symbols have to backticked
    IDE. FIR
    • KTIJ-20443 FIR IDE: Work in Dumb mode
    • KTIJ-21374 FIR IDE: Incorrect highlighting for operators
    • KTIJ-21013 FIR IDE: Inconsistent smartcasts highlighting
    • KTIJ-21343 FIR IDE: Navigation from explicit invoke call does not work
    • KTIJ-20852 FIR IDE: Exception when checking isInheritor on two classes in different modules
    • KTIJ-21021 FIR IDE: Completion of extension function does not work on nullable receiver
    • KTIJ-20637 FIR IDE: Strange exception while commenting-uncommenting FirReferenceResolveHelper.kt
    • KTIJ-20971 FIR IDE: "Parameter Info" shows parameters of uncallable methods
    IDE. Gradle Integration
    • KTIJ-21807 Gradle to IDEA import: language and API version settings are not imported for Native facet
    • KTIJ-21692 Kotlin Import Test maintenance: 1.7.0-Beta
    • KTIJ-20567 Kotlin/JS: Gradle import into IDEA creates no proper sub-modules, source sets, facets
    IDE. Hints. Inlay
    • KTIJ-20552 Support definitely non-null types in inlay hints
    IDE. Inspections and Intentions
    New Features
    • KTIJ-18979 Quickfix for INTEGER_OPERATOR_RESOLVE_WILL_CHANGE to add explicit conversion call
    • KTIJ-19950 Provide quickfixes for INVALID_IF_AS_EXPRESSION_WARNING and NO_ELSE_IN_WHEN_WARNING
    • KTIJ-19866 Create quick-fix for effective visibility error on private-in-file interface exposing private class
    • KTIJ-19939 Provide quickfix for deprecated confusing expressions in when branches
    Fixes
    • KTIJ-20705 Register quickfix for NO_CONSTRUCTOR_WARNING diagnostic
    • KTIJ-21226 "Remove else branch" quick fix is not suggested
    • KTIJ-20981 Definitely non-null types: quick-fixes suggested incorrectly for LV=1.6 when Xenhance-type-parameter-types-to-def-not-null flag is set
    • KTIJ-20953 Add quickfix for OVERRIDE_DEPRECATION warning to 1.7 - 1.9 migration
    • KTIJ-20734 Replace with [@​JvmInline] value quick fix should be appliable on a whole project
    • KTIJ-21420 Add 'else' branch quick fix suggestion is displayed twice in case 'if' isn't completed
    • KTIJ-21192 "Make protected" intention is redundant for interface properties
    • KTIJ-18120 "Make public" intention does not add explicit "public" modifier when using ExplicitApi Strict mode
    • KTIJ-20493 "Create expect" quick fix doesn't warn about platform-specific annotations
    IDE. Misc
    IDE. Multiplatform
    • KT-49523 Improve environment setup experience for KMM projects
    • KT-50952 MPP: Commonized cinterops doesn't attach/detach to source set on configuration changes
    IDE. Native
    • KT-44329 Improve UX of using Native libraries in Kotlin
    • KTIJ-21602 With Native Debugging Support plugin Gradle run configurations can't be executed from IDEA: LLDB_NATVIS_RENDERERS_ENABLED
    IDE. Wizards
    • KTIJ-20919 Update ktor-html-builder dependency in kotlin wizards
    • KTIJ-20962 Wizard: Invalid Ktor imports
    JavaScript
    New Features
    • KT-51735 KJS / IR: Minimize member names in production mode
    Performance Improvements
    • KT-51127 Kotlin/JS - IR generates plenty of useless Unit_getInstance()
    • KT-50212 KJS IR: Upcast should be a no-op
    • KT-16974 JS: Kotlin.charArrayOf is suboptimal due to Rhino bugs
    Fixes
    • KT-44319 JS IR BE: Add an ability to generate separate JS files for each module
    • KT-52518 Kotlin/JS IR: project with 1.6.21 fails to consume library built with 1.7.0-RC: ISE "Unexpected IrType kind: KIND_NOT_SET" at IrDeclarationDeserializer.deserializeIrTypeData()
    • KT-52010 K/JS IR: both flows execute when using elvis operator
    • KT-41096 KJS IR: @​JsExport should use original js name for external declarations
    • KT-52144 KJS / IR: Missing property definitions for interfaced defined properties
    • KT-52252 KJS / IR: overridden properties are undefined/null
    • KT-51973 KJS / IR overridden properties of inherited interface missing
    • KT-51125 Provide a way to use import keyword in js expressions
    • KT-40888 KJS / IR: Missing methods are no longer generated (polyfills)
    • KT-50504 KJS / IR: Transpiled JS incorrectly uses the unscrambled names of internal fields
    • KT-51853 JS compilation fails with "Uninitialized fast cache info" error
    • KT-51205 K/JS IR: external class is mapped to any
    • KT-50806 Typescript definitions contain invalid nested block comments with generic parent and type argument without @JsExport
    • KT-51841 KJS / IR: No flat hash for FUN FAKE_OVERRIDE with kotlin.incremental.js.ir=true
    • KT-51081 KJS / IR + IC: Passing an inline function with default params as a param to a higher-order function crashes the compiler
    • KT-51084 KJS / IR + IC: Cache invalidation doesn't check generic inline functions reified qualifier
    • KT-51211 K/JS IR: JsExport: Can't export nested enum
    • KT-51438 KJS / IR: Duplicated import names for the same external names
    • KT-51238 Kotlin/JS: IR + IC: build fails after clean on compileTestDevelopmentExecutableKotlinJs task: "Failed to create MD5 hash for file '.../build/classes/kotlin/main' as it does not exist"
    • KT-50674 KJS / IR: JS code cannot modify local variable
    • KT-50953 KJS IR: Incorrect nested commenting in d.ts
    • KT-15223 JS: function that overrides external function with vararg parameter is translated incorrectly
    • KT-50657 KJS / IR 1.6.20-M1-39 - Date in Kotlin JS cannot be created from long.
    Language Design
    New Features
    • KT-45618 Stabilize builder inference
    • KT-30485 Underscore operator for type arguments
    • KT-49006 Support at least three previous versions of language/API
    • KT-16768 Context-sensitive resolution prototype (Resolve unqualified enum constants based on expected type)
    • KT-14663 Support having a "public" and a "private" type for the same property
    • KT-50477 Functional conversion does not work on suspending functions
    • KT-32162 Allow generics for inline classes
    Fixes
    • KT-12380 Support sealed (exhaustive) whens
    • KT-27750 Reverse reservation of 'yield' as keyword
    • KT-22956 Release OptIn annotations
    • KT-44866 Change behavior of private constructors of sealed classes
    • KT-49110 Prohibit access to members of companion of enum class from initializers of entries of this enum
    • KT-29405 Switch default JVM target version to 1.8
    Libraries
    New Features
    • KT-50484 Extensions for java.util.Optional in stdlib
    • KT-50146 Reintroduce min/max(By/With) operations on collections with non-nullable return type
    • KT-46132 Specialized default time source with non-allocating time marks
    • KT-41890 Support named capture groups in Regex on Native
    • KT-48179 Introduce API to retrieve the number of CPUs the runtime has
    Performance Improvements
    • KT-42178 Range and Progression should override last()
    Fixes
    • KT-42436 Support java.nio.Path extension in the standard library
    • KT-51470 Stabilize experimental API for 1.7
    • KT-51775 JS: Support named capture groups in Regex
    • KT-51776 Native: Support back references to groups with multi-digit index
    • KT-51082 Introduce Enum.declaringJavaClass property
    • KT-51848 Promote deepRecursiveFunction to stable API
    • KT-48924 KJS: toString in base 36 produces different results in JS compare to JVM
    • KT-50742 Regular expression is fine on jvm but throws PatternSyntaxException for native macosX64 target
    • KT-50059 Stop publishing kotlin-stdlib and kotlin-test artifacts under modular classifier
    • KT-26678 Rename buildSequence/buildIterator to sequence/iterator
    Native
    • KT-49406 Kotlin/Native: generate standalone executable for androidNative targets by default
    • KT-48595 Enable Native embeddable compiler jar in Gradle plugin by default
    • KT-51377 Native: synthetic forward declarations are preferred over commonized definitions
    • KT-49145 Kotlin/Native static library compilation fails for androidNative*
    • KT-49496 Gradle (or the KMM plugin) is caching the Xcode Command Line Tools location
    • KT-49247 gradle --offline should translate into airplaneMode for kotin-native compiler
    Native. Build Infrastructure
    • KT-52259 kotlin-native releases from GitHub don't contain platform libs
    Native. C and ObjC Import
    • KT-49455 Methods from Swift extensions are not resolved in Kotlin shared module
    • KT-50648 Incorrect KMM cinterop conversion
    Native. ObjC Export
    • KT-50982 RuntimeAssertFailedPanic in iOS when Kotlin framework is initialized before loading
    • KT-49937 Kotlin/Native 1.5.31: 'runtime assert: Unexpected selector clash' when 'override fun toString(): String' is used
    Native. Platforms
    • KT-52232 Kotlin/Native: simplify toolchain dependency override for MinGW
    Native. Runtime
    • KT-52365 Kotlin/Native fails to compile projects for 32-bit targets when new memory manager is enabled
    Native. Runtime. Memory
    • KT-48537 Kotlin/Native: improve GC triggers in the new MM.
    • KT-50713 Kotlin/Native: Enable Concurrent Sweep GC by default
    Native. Stdlib
    • KT-50312 enhancement: kotlin native -- add alloc<TVarOf>(T)
    Native. Testing
    • KT-50316 Kotlin/Native: Produce a list of available tests alongside the final artifact
    • KT-50139 Create tests for Enter/Leave frame optimization
    Reflection
    • KT-27598 "KotlinReflectionInternalError" when using callBy on constructor that has inline class parameters
    • KT-31141 IllegalArgumentException when reflectively accessing nullable property of inline class type
    Tools. CLI
    • KT-52409 Report error when use-k2 with Multiplatform
    • KT-51717 IllegalArgumentException: Unexpected versionNeededToExtract (0) in 1.6.20-RC2 with useFir enabled
    • KT-52217 Rename 'useFir' to 'useK2'
    • KT-29974 Add a compiler option '-Xjdk-release' similar to javac's '--release' to control the target JDK version
    • KT-51673 Make language version description not in capital letters
    • KT-48833 -Xsuppress-version-warnings allows to suppress errors about unsupported versions
    • KT-51627 kotlinc fails with java.lang.RuntimeException if /tmp/build.txt file exists on the disk
    • KT-51306 Support reading language settings from an environment variable and overriding the current settings by them
    • KT-51093 "-Xopt-in=..." command line argument no longer works
    Tools. Commonizer
    • KT-43309 Overwrite return type and parameter types of callable member to succeed commonization
    • KT-52050 [Commonizer] 'platform.posix.DIR' not implementing 'CPointed' when commonized for 'nativeMain' on linux or windows hosts
    • KT-51224 MPP: For optimistically commonized numbers missed kotlinx.cinterop.UnsafeNumber
    • KT-51215 MPP: Update Kdoc description for kotlinx.cinterop.UnsafeNumber
    • KT-51686 Cinterop: Overload resolution ambiguity in 1.6.20-RC2
    • KT-46636 HMPP: missed classes from platform.posix.*
    • KT-51332 Optimistic number commonization is disabled by default in KGP with enabled HMPP
    Tools. Compiler Plugins
    • KT-50992 jvm-abi-gen breaks inline functions in inline classes with private constructors in Kotlin 1.6.20
    Tools. Daemon
    • KT-32885 KT. Kotlin daemon compilation process is broken: java.lang.IllegalStateException Service is dying at entities generation by Kotlin.kts script
    Tools. Gradle
    New Features
    • KT-49227 Support Gradle plugins variants
    • KT-50869 Provide API that allow AGP to set up Kotlin compilation
    • KT-48008 Consider offering a KotlinBasePlugin
    • KT-52030 Provide experimental possibility to view internal information about Kotlin Compiler performance
    Performance Improvements
    • KT-52141 Optimize Java class snapshotting for the kotlin.incremental.useClasspathSnapshot feature
    • KT-51978 Optimize classpath snapshot cache for the kotlin.incremental.useClasspathSnapshot feature
    • KT-51326 Kotlin-gradle-plugin performance issue with mass java SourceRoots
    Fixes
    • KT-52448 Compilation tasks are missing input/output/internal annotations on includes/excludes properties
    • KT-52239 Type based task configuration-blocks for JVM stopped working in Gradle
    • KT-52313 No recompilation in Gradle after adding or removing function parameters, removing functions (and maybe more) in dependent modules
    • KT-51854 Add Ktor to gradle performance benchmark
    • KT-52086 Rename flag 'use-fir' to 'use-k2'
    • KT-52509 Main variant published to Gradle plugin portal uses unshadowed artifact
    • KT-52392 Gradle: 1.7.0 does not support custom gradle build configuration on Windows OS
    • KT-32805 KotlinCompile inherits properties sourceCompatibility and targetCompatibility which breaks Gradle's incremental compilation
    • KT-52189 Provide Gradle Kotlin/DSL friendly deprecated classpath property in KotlinCompiler task
    • KT-51415 Confusing build failure reason is displayed in case kapt is used and different JDKs are used for compileKotlin and compileJava tasks
    • KT-52187 New IC can not be enabled in an Android project using kapt
    • KT-51898 Upgrading Kotlin/Kotlin Gradle plugin to 1.5.3 and above breaks 'com.android.asset-pack' plugin
    • KT-51913 Gradle plugin should not add attributes to the legacy configurations
    • KT-34862 Restoring from build cache breaks Kotlin incremental compilation
    • KT-45777 New IC in Gradle
    • KT-51360 Show performance difference in percent between releases
    • KT-51380 Add open-source project using Kotlin/JS plugin to build regression benchmarks
    • KT-51937 Toolchain usage with configuration cache prevents KotlinCompile task to be UP-TO-DATE
    • KT-48276 Remove kotlin2js and kotlin-dce-plugin
    • KT-52138 KSP could not access internal methods/properties in Kotlin Gradle Plugin
    • KT-51342 Set minimal supported Android Gradle plugin version to 3.6.4
    • KT-50494 Remove kotlin.experimental.coroutines Gradle DSL option
    • KT-49733 Bump minimal supported Gradle version to 6.7.1
    • KT-48831 Remove 'KotlinGradleSubplugin'
    • KT-47924 Remove annoying cast in toolchain extension method for Kotlin DSL
    • KT-46541 Fail Gradle builds when deprecated kotlinOptions.jdkHome is set
    • KT-51830 Gradle: deprecate kotlin.compiler.execution.strategy system property
    • KT-47763 Gradle DSL: Remove deprecated useExperimentalAnnotation and experimentalAnnotationInUse
    • KT-51374 NoSuchFileException in getOrCreateSessionFlagFile()
    • KT-51837 kotlin-gradle-plugin:1.6.20 fails xray scan on shadowed Gson 2.8.6.
    • KT-51454 KotlinJvmTest is not a cacheable task
    • KT-45745 Migrate only Kotlin Gradle Plugin tests to new JUnit5 DSL and run them separately on CI
    • KT-47318 Remove deprecated 'kotlinPluginVersion' property in `KotlinBasePluginWrapper'
    • KT-51378 Gradle 'buildSrc' compilation fails when newer version of Kotlin plugin is added to the build script classpath
    • KT-46038 Gradle: kotlin_module files are corrupted in the KotlinCompile output, and gets cached
    • KT-51064 Kotlin gradle build hangs on MetricsContainer.flush
    • KT-48779 Gradle: Could not connect to kotlin daemon
    Tools. Gradle. Cocoapods
    • KT-50622 Cocoapods Plugin: cocoapods-generate does not work correctly with ruby 3.0.0 and higher
    • KT-51861 Custom binary name in CocoaPods plugin isn't respected by fatFramework task
    Tools. Gradle. JS
    • KT-52221 Kotlin/JS: failed Node tests are not reported in a standard way
    • KT-51895 K/JS: Redundant technical messages during JS tests
    • KT-51414 Allow set up environment variables for JS tests
    • KT-51623 Kotlin/JS: Mocha could not failed when external module not found
    • KT-51503 Update NPM dependency versions
    Tools. Gradle. Multiplatform
    New Features
    • KT-51386 [KPM] IdeaKotlinProjectModelBuilder: Implement dependencies
    Fixes

    Configuration

    📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about these updates again.


    • [ ] If you want to rebase/retry this PR, click this checkbox.

    This PR has been generated by Mend Renovate. View repository job log here.

    dependencies renovate 
    opened by renovate[bot] 0
  • Update dependency io.ktor:ktor-bom to v2 - autoclosed

    Update dependency io.ktor:ktor-bom to v2 - autoclosed

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | io.ktor:ktor-bom | 1.4.0 -> 2.0.0 | age | adoption | passing | confidence |


    Release Notes

    ktorio/ktor

    v2.0.0

    Compare Source

    Published 23 December 2021

    • EAP Naming: main-number conflicts with dependencies (KTOR-2724)
    • ktor.io/learn typo (KTOR-3563)
    • Multiple messages around upgrading to new version (KTOR-3494)
    • Deploy Ktor application to docker topic contains hard coded project name (KTOR-2852)
    • Improvements for Docker sample in documentation (KTOR-3294)
    • "io.ktor.serializaion.gson" - package naming in 2.0 (KTOR-3527)
    • Drop client.get Operator Because of Ambiguity with get(URL) (KTOR-3487)
    • Option "Add imports for Ktor modules automatically" doesn't work (KTOR-3226)
    • Migrations are unavailable (KTOR-3570)
    • AttributeKey instance is identified by its identity instead of its name (KTOR-3538)
    • Fix Log Size for Java 11 Windows Build (KTOR-3535)
    • ByteChannelSequential freezes after closing due to race condition (KTOR-2776)
    • Apple Arm: 'Resolving NPM dependencies using yarn' returns 139 (KTOR-3561)
    • Change log level from INFO to ERROR for tests only (KTOR-3466)
    • Responding without contentLength freezes on CIO native (KTOR-3492)
    • webSocketSession freeze every time (KTOR-3460)
    • Exceptions are Swallowed in HttpClient.wss block (KTOR-3461)
    • Support receiving headers before sending body in CIO client engine (KTOR-3491)
    • [netty] Headers are only flushed after first byte is written (KTOR-3364)
    • Fix testErrorHandling with JS (KTOR-3510)
    • Build and test on Apple Silicon Arm (KTOR-3248)
    • Fix old metadata publication (KTOR-3469)
    • Remove checking body transformation from ContentNegotation (KTOR-3272)
    • Ktor-Utils references a Java API not supported by Android (KTOR-3426)
    • With test application should load environment from the application.conf (KTOR-2794)
    • Inconsistent TestApplicationRequest and Client HttpRequestBuilder API's (KTOR-1246)
    • Server features instead of client in the client install block (KTOR-3412)
    • Using proguard and CallLogging feature causes JVM crashes (KTOR-3345)
    • ContentNegotiation is missing in the plugins completion window (KTOR-3411)
    • Code Snippets use Groovy in build files as opposed to default Kotlin option for Wizard (KTOR-2190)
    • IJ locked after attempt to create new run config in a dialog (KTOR-3385)
    • ContentNegotiation plugins don't accept null-responses from ContentConverts (KTOR-3346)
    • High CPU consumption/Lock after project opening in org.jetbrains.kotlin.storage.getValue ; org.jetbrains.kotlin.idea.caches.resolve.IdeaResolverForProject (KTOR-3337)
    • Update Ktor Plugin Description (KTOR-3388)
    • Project Generated with eap-256 has Errors in Imports (KTOR-3397)
    • Update non-generic samples to 2.0 (KTOR-3285)
    • Simplify plugin descriptions in wizard, remove empty options (KTOR-3386)
    • Bearer Authentication: Queue requests until refresh of tokens is completed (KTOR-3325)
    • Article about storing sensitive data and accessing it in application.conf (KTOR-3340)
    • Android: Failed resolution of: Ljava/nio/file/Paths using API 25 and lower (KTOR-3269)
    • IDE action to migrate to 2.0.0 (KTOR-3225)
    • Passing port 0 to start server on random port doesn't publish correct port to log (KTOR-3288)
    • XForwardedHeaderSupport is installed late in the pipeline (KTOR-731)
    • Error in 2.0 doc/sample for HttpClient retry (KTOR-3303)
    • Cyclic dependency issue in latest 2.0 (main branch) (KTOR-3240)
    • An error occurred when running a sample with the configured XML serializer (KTOR-3286)
    • respondOutputStream behind nginx fails (KTOR-346)
    • ProxyConfig.type checking for DIRECT instead of SOCKS (KTOR-1733)
    • Freeze the screen when I create routes (KTOR-3004)
    • httpMethod is not affected by X-Http-Method-Override (in opposite to docs) (KTOR-404)
    • Client: DefaultRequest apply defaults before request builder (KTOR-2877)
    • KDoc: HttpRequestBuilder.header actually appends header value, does not set it (KTOR-2492)
    • TLS relared tests are failing on CI (KTOR-3224)
    • Jackson: receiveOrNull crashes with an exception when sending empty content (KTOR-727)
    • Content Negotiation: Gson: Should be able to return 400 for badly formatted request. (KTOR-373)
    • Jackson-backed ApplicationCall.receive does not throw ContentTransformationException (KTOR-614)
    • Remove Obsolete Check Cast from SuspendFunctionGun (KTOR-3178)
    • Support 2.0.0 in IDE (KTOR-3196)
    • Client HttpCache feature is not documented (KTOR-1279)
    • Update server dependencies and imports in docs for 2.0.0 (KTOR-3150)
    • Prioritize text found in feature titles over descriptions (KTOR-2488)
    • SerializationException when serializing request body object of generic class type (KTOR-1019)
    • The 'Create test for Ktor module' intention actions changes files from other modules for a multimodule Gradle project (KTOR-3062)
    • Wizard Plugin listing strange link (KTOR-2882)
    • Nothing happens when no test routes is selected when generating Ktor test for module (KTOR-3095)
    • The 'Create test for Ktor module' intention action doesn't create any tests if routes are defined inside the extension function (KTOR-3079)
    • Allow using the client itself inside Auth plugin in the refreshTokens lambda. (KTOR-2977)
    • ADE at io.ktor.ide.plugins.add.KtorMarketplacePluginsUpdater.checkForUpdates (KTOR-3076)
    • Ktor Client JS: request to /example requests http://localhost/example (KTOR-453)
    • URLBuilder: Move Default Values to build() function (KTOR-1345)
    • Impossible to modify response headers (KTOR-2822)
    • Missing Locations params result in 404 instead of 400 (KTOR-447)
    • Should return 405 when route exists but not for given method instead of 404 (KTOR-737)
    • Fix 2.0.0 branch compilation (KTOR-2603)
    • Query of pre-signed URL has been altered after decode and re-encode process (KTOR-778)
    • ApplicationCall.locationOrNull raises error (KTOR-1684)
    • Make body nullable for request builder (KTOR-1400)
    • Provide better support for Ktor clients (KTOR-883)
    • Retry on HttpCode or network error (KTOR-572)
    • HttpRequestRetry in KTOR 2.0 should allow for request altering between retries (KTOR-3544)
    • HttpCookies: parse / in the name of a cookie (KTOR-3497)
    • Support for adding values to the MDC later on in the pipeline. (KTOR-536)
    • Pull Request - fix #​1970 - update MultiPartFormDataContent to allow contentType override using optional builder (KTOR-1833)
    • Pull Request - KTOR-1264 - Add UUID to DefaultConversionService (KTOR-1815)
    • Pull Request - Intercept pipeline at Setup phase for XForwardedHeaderSupport feature… (KTOR-1844)
    • Pull Request - Add locale to ThymeleafContent (KTOR-1838)
    • Pull Request - KTOR-404 Introduce support for X-Http-Method-Override (KTOR-1825)
    • Objections to changing boundary to internal on MultiPartFormDataContent? (KTOR-325)
    • Prototype anchors in new plugins API (KTOR-3392)
    • Rename the 'Ios' client engine to more generic term to cover all Apple operating systems (KTOR-3394)
    • Update Samples to Ktor 2.0 (KTOR-3218)
    • Implement new Locations feature (KTOR-1706)
    • Feature: Use websockets with serialization (KTOR-423)
    • JS Client doesn't support ServiceWorker (KTOR-3448)
    • Move Server Related Code from ktor-http-cio to ktor-server-cio (KTOR-3462)
    • Client request builder: add shortcuts for authentication headers (KTOR-2876)
    • Add Check if Feature is installed for WebSocket builders (KTOR-3459)
    • Implementation for Create ktor-test module with mocks of engine and clients for writing tests (KTOR-3236)
    • TestEngineApplication - implement HttpClient API (KTOR-2416)
    • Add explicit menu action for migration (KTOR-3400)
    • Add possibility to fully configure metricName in ktor-server-metrics-micrometer (KTOR-3302)
    • Support New Native Memory Model (KTOR-3217)
    • Server for Kotlin Native (KTOR-746)
    • call.request.queryParameters decode plus as space (KTOR-3297)
    • Migrate existing plugins to RoutingScoped (KTOR-3201)
    • Support receiving OAuth code response as form post (KTOR-3342)
    • Add parameter for specifying content-length in ApplicationCall#respondBytes (KTOR-3087)
    • Allow application environment configuration when running via commandLineEnvironment (KTOR-3027)
    • Add locale to ThymeleafContent (KTOR-3313)
    • Add support for ports in withTestApplication (KTOR-725)
    • Expose non-reified request methods (KTOR-2590)
    • XML Support in Ktor (KTOR-489)
    • Start ktor server on random port (KTOR-686)
    • parameterOf() should have a variant that takes in a Map<String, List> (KTOR-399)
    • [Ktor Client] CborFeature (KTOR-3174)
    • Can't set a base url that includes path data (KTOR-730)
    • Ktor: Fold internal stack frames for HTTP server (KTOR-2274)
    • Add method to Client and ServerResponseException (KTOR-3128)
    • Add UUID to DefaultConversionService (KTOR-1264)
    • Implementation for Simple API for writing features (KTOR-2480)
    • Add filtering support in Ktor client response interceptor (KTOR-2992)
    • Define completion priorities for Ktor keywords (KTOR-2773)
    • Adding features action in IDE (KTOR-2893)
    • Implement design about moving features from ktor-server-core (KTOR-1239)
    • Move server code to io.ktor.server.* package (KTOR-2865)
    • ApplicationConfig: how to iterate over keys and values of config (KTOR-2318)
    • Implementation for Events Feature For Client Metrics (KTOR-2472)
    • ContentConverter.convertForSend should receive a KType (KTOR-444)
    • Send 100 Continue response only when getting a request to receive IncomingContent (KTOR-855)
    • Update Documentation and Code for HttpsRedirect Feature (KTOR-1879)
    • Improve documentation for native/Apple client engines (KTOR-3375)
    • Update Documentation and Code for CallId Feature (KTOR-1874)
    • Feature to Plugin changes in Documentation (KTOR-2372)

    v1.6.8

    Compare Source

    Published 14 March 2022

    • Update Gradle to 7.4
    • Update Kotlin to 1.6.10
    • Migrate gradle to version catalog
    • Update logback version to 1.2.11 (KTOR-3935)
    • Update atomicfu to 0.17.1
    • Update netty to 4.1.74.Final
    • Update netty-tcnative to 2.0.45.Final
    • Update jetty to 9.4.45.v20220203
    • Update tomcat to 9.0.59
    • Update apache to 4.1.5
    • Update okhttp to 4.9.3
    • Update gson to 2.9.0
    • Update jackson 2.13.1
    • Update slf4j to 1.7.36
    • Update node-fetch to 2.6.7
    • Update js ws package to 8.5.0
    • Revert wrong check to prevent anyHost with allowCredentials (KTOR-2872

    v1.6.7

    Compare Source

    Published 6 December 2021

    • Explicitly specify jdk version for building (KTOR-3358)
    • Make URL constructor public again (KTOR-3514)

    v1.6.6

    Compare Source

    Published 25 November 2021

    • Some Netty EngineMain properties are not set (KTOR-3464)
    • Session cookie with BASE64 encoding fails to set correct cookie (KTOR-524)
    • corsCheckRequestHeaders false (KTOR-445)
    • DropwizardMetrics does not append baseName to the 'per endpoint'-metrics (KTOR-2527)
    • Cookies that added to request got removed if HttpCookies plugin is installed (KTOR-3105)
    • Development mode isn't taken into account for subroutes (KTOR-3316)
    • URL port should be in 0..65535 (KTOR-3314)
    • Basic auth not sending second request (KTOR-3472)
    • Update Kotlin to 1.6.0 (KTOR-3422)

    v1.6.5

    Compare Source

    Published 2 November 2021

    • Bump kotlin from 1.5.30 to 1.5.31
    • Bump tomcat from 9.0.58 to 9.0.54
    • Bump logback from 1.2.3 to 1.2.6
    • Bump slf4j from 1.7.30 to 1.7.32
    • Bump gson from 2.8.6 to 2.8.9
    • Bump okhttp from 4.6.0 to 4.9.2
    • Bump jackson from 2.12.3 to 2.13.0
    • Bump mockk from 1.10.6 to 1.12.0
    • Add Apple Silicon targets (KTOR-3082)
    • Fix HttpCookies feature overwriting request cookies (KTOR-3105)
    • Change EAP version scheme (KTOR-3319)
    • Update Netty to 4.1.69.Final (KTOR-472)
    • Allow wildcard origins for CORS requests (KTOR-316)
    • Add a host check for illegal symbols (KTOR-384)
    • Add check to prevent anyHost with allowCredentials (KTOR-2872)
    • Bump metrics-core from 4.2.3 to 4.2.4
    • Bump webjars-locator-core from 0.47 to 0.48
    • Bump metrics-jvm from 4.2.3 to 4.2.4
    • Fix ProxyType.SOCKS being mapped to Proxy.Type.DIRECT
    • fix grammar (KTOR-3237)
    • Bump micrometer-core from 1.7.4 to 1.7.5
    • Ignore flaky testTimeoutPriority (KTOR-3243)
    • Fix npe if static file not found (KTOR-2811)
    • Fix flaky timeoutPriorityTest (KTOR-3243)
    • Fill Content-Length for PartialContent (KTOR-308)
    • Change default log-level to INFO (KTOR-806)
    • Use require from the stdlib instead of internal require (KTOR-2626)

    v1.6.4

    Compare Source

    Published 30 September 2021

    • [Auth] [Interceptors] Phase Phase('Challenge') was not registered for this pipeline (KTOR-3156)
    • insertPhaseBefore and insertPhaseAfter lead to different order (KTOR-438)
    • Ktor 1.6.3 crashes on restart due to java.lang.ClassNotFoundException: Didn't find class "java.nio.file.WatchService" on Android 24 (KTOR-3166)
    • GraalVM binary using CIO fails on start "Module function cannot be found" (KTOR-2987)
    • Logging in Shutdown thread looks not informative (KTOR-3175)
    • Installed Closeable features not closed when closing HttpClient (KTOR-3116)
    • Explain method(HttpMethod.Options) in docs for CORS (KTOR-2913)
    • ContentType.parse("text/html qqq") must fail with error (KTOR-3080)
    • Update JSON topics using code snippets from the 'codeSnippets' project (KTOR-2955)
    • Could not find artifact org.jetbrains.kotlinx:kotlinx-html-jvm:pom:0.7.2 (KTOR-2481)
    • Update the 'Modules' topic (KTOR-1861)
    • Native engines tests are not run outside of the ktor-client-tests module (KTOR-3069)
    • MultiPartData.readAllParts throws IOException when the epilogue is omitted (KTOR-3173)
    • Update Kotlin and Coroutines Versions (KTOR-3103)

    v1.6.3

    Compare Source

    Published 26 August 2021

    • Auth Feature: token refresh works only on main thread in Kotlin/Native (KTOR-3055)
    • FUS report mixes up feature id and feature version (KTOR-3067)
    • SessionTrackerById - doesn't remove invalid session id (KTOR-2584)
    • Bearer Token is Not Initialized after Clean (KTOR-3008)
    • ktor does not support semicolon query parameter in Netty Engine (KTOR-2991)
    • HOCON config not resolved in ServletApplicationEngine (KTOR-3020)
    • Deploy WAR on Tomcat (KTOR-2867)
    • The wizard missing the Pebble plugin (KTOR-2922)
    • Wizard: Creating a project without sample code creates Application.configureRouting without routing (KTOR-2581)
    • The 'Create Run Configuration automatically' option name is cropped (KTOR-2898)
    • InvalidMutabilityException when using withContext and SavedHttpCall (KTOR-2033)
    • Reuse Package Search to add dependencies for Ktor Features in Plugin (KTOR-2433)
    • Server: TLSConfigBuilder.addKeyStore: store.getCertificateChain could return null(KTOR-3047)

    v1.6.2

    Compare Source

    Published 29 July 2021

    • Fixed Ktor plugin raises StackOverflowError when opening some files (KTOR-2950)
    • Added parseUrlEncodedParameters Documentation (KTOR-2843)
    • Fixed CIO WebSockets client incorrectly sends Sec-WebSocket-Extensions header even if empty regression (KTOR-2388)
    • Updated serialization version to 1.2.2 (KTOR-2968)
    • Made code example complete in OAuth documentation(KTOR-1415)
    • Added quick action on a Application.module(...) to generate tests for a given module with all the endpoints in plugin (KTOR-2411)
    • Fixed kotlin.native.concurrent.InvalidMutabilityException: mutation attempt of frozen @​72c18 (KTOR-2883)
    • Fixed 404 errors in ktor docs (KTOR-2915)
    • Added prometeus version to Ktor docs (KTOR-2015)
    • Fixed incorrect Structured Markup (LD+JSON) on Ktor docs (KTOR-2943)
    • Fixed confusing/incorrect JWT auth documentation (KTOR-979)
    • Fixed embedded Netty Server with watch paths is crashing in API level 22 when calling stopping server (KTOR-1613)
    • Fixed NoSuchMethodError: No virtual method getParameterCount on Android API 25 and lower regression (KTOR-2924)
    • Fixed X-Forwarded-Port Parse Exception when it contains comma separated list of ports regression (KTOR-2918)
    • Made CookieConfiguration default to secure configuration and require user opt-out long-standing (KTOR-628)
    • Updated docs section about testing with cookies (KTOR-273)
    • Fixed "ApplicationEngineEnvironment was not started" when accessing application before server is started (KTOR-1854)
    • Updated HTTP/2 documentation (KTOR-267)
    • Fixed NPE in ApacheRequestProducer when "http://" is requested (KTOR-1405)
    • Updated vulnerable versions from sonatype report (KTOR-2875)
    • Fixed ByteReadChannel.readUTF8Line() indefinitely returns empty lines when \r is not followed by \n (KTOR-2868)
    • v1.6.1

      Compare Source

      Published 1 July 2021

      • Linked back to site from Docs (KTOR-2843)
      • Fixed unbound public symbol for public io.ktor.network.sockets/SocketTimeoutException when iosArm64 framework (KTOR-2276)
      • Fixed configureBootstrap hook overwritten by Ktor settings (KTOR-356)
      • Fixed crypto is undefined in IE11 (KTOR-409)
      • Added support for X-Forwarded-Port header in XForwardedHeaderSupport plugin (KTOR-2788)
      • Fixed StatusPages doesn't catch FreeMarker exceptions (KTOR-343)
      • Fixed java.nio.charset.IllegalCharsetNameException: %s (KTOR-2645)
      • Added application startup and hot-reloading time log (KTOR-2816)
      • Fixed postpone (and don't cache) name resolution in cio client (KTOR-2513)
      • Improved diagnostics for exceptions inherited from IOException (KTOR-2691)
      • Fixed refresh token gets stuck (KTOR-2797)
      • Fixed developmentMode is on by default in tests (KTOR-2727)
      • Fixed unable to run new Ktor project (KTOR-2586)
      • Fixed unhandled get freezes with CIO server (KTOR-333)
      • Fixed double host header (KTOR-379)
      • Fixed use kotlin.reflect.jvm.javaType instead of the type token pattern in io.ktor.util.reflect.typeInfo (KTOR-2709)
      • Fixed "JWK Public Key of type ""EC""" (KTOR-2387)
      • Fixed lots of Run Configurations Created for Ktor Project with the Similar Names (KTOR-2803)
      • Fixed ApplicationEngineEnvironmentBuilder.module { … } is executed twice on Exception (KTOR-2734)
      • Researched shared indexes for Ktor (KTOR-2774)
      • Fixed selecting custom package name in Ktor wizard still results in example.com import in ApplicationTest.kt (KTOR-2707)
      • Fixed generated project with specific security and session features selected fails to compile / run (KTOR-2636)
      • Fixed Wizard: Misleading comment in Static Feature (KTOR-2560)
      • Fixed "Update ktor 1.5.0 docs. Deprecated ""challenge"" function for form auth in docs." (KTOR-1974)
      • Fixed Auth Feature Code Snippet: form authentication the doesn't work (KTOR-821)
      • Fixed the '-ea' flag works differently when running a server using Application.module and embeddedServer (KTOR-1758)
      • Fixed enabled-by-default development mode breaks reflection by overriding classloader (KTOR-2306)
      • Reviewed documentation for the onUpload/onDownload client callbacks (KTOR-2710)
      • Fixed Ktor fails to deliver response with error: failed with exception: kotlinx.coroutines.JobCancellationException: Parent job is Completed; (KTOR-2711)
      • Replaced kotlin-test dependency with junit in ktor-server-test-host (KTOR-2555)

      v1.6.0

      Compare Source

      Published 28 May 2021

      • Ktor fails to deliver response with error: failed with exception: kotlinx.coroutines.JobCancellationException: Parent job is Completed; (KTOR-2711)
      • Wrong Tabs Name in Code Blocks (KTOR-2726)
      • Apache HTTP Client does not send Content-Length header if body is empty content (KTOR-556)
      • Review Auth providers (KTOR-2637)
      • When the main thread executes runBlocking, using the iOS engine will cause a deadlock (KTOR-2683)
      • Deprecate TestApplicationCall.requestHandled (KTOR-2712)
      • Update Dokka: Dokka tasks fails with old dokka version and Gradle 7 (KTOR-2693)
      • Duplicate server Features Section on the Documentation Website (KTOR-2702)
      • Duplicate entry "Features" in Server docs (KTOR-1546)
      • Upgrading from 1.4.3 to 1.5.2 introduced a routing precedence (KTOR-2278)
      • Sporadic OkHttp errors after upgrading to ktor 1.3.1 (KTOR-449)
      • Netty: server freezes after start error (KTOR-803)
      • aSocket().bind() sometimes throws Already bound SocketException (KTOR-638)
      • UDPSocketTest.testBroadcastSuccessful[jvm] is failing (KTOR-2616)
      • Fix flaky CIOHttpsTest.customDomainsTest[jvm] (KTOR-2065)
      • Occasionally empty response using Netty + Jackson (KTOR-1973)
      • '%3D' inside query of redirect target location will be replaced to '=' (KTOR-2057)
      • CIO: TLSConfigBuilder JVM allow null as password (KTOR-940)
      • route("{...}") stopped matching root (KTOR-1965)
      • call.respond() will not check or apply ContentNegotiation for some types (KTOR-2194)
      • Add support for Velocity Tools (KTOR-2345)
      • Base name of micrometer metrics is not configurable (KTOR-2210)
      • Support for Compression Extensions for WebSocket (RFC 7692) (KTOR-688)
      • Document usage of Bearer token in Http Client (KTOR-2439)
      • How to track leaked buffers in ktor-io? (KTOR-2442)
      • Routing: Add PutTyped and PatchTyped Overload (KTOR-1344)
      • Migrate to Dokka 1.4.0 (KTOR-1032)
      • Client upload/download progress observer/handler/interceptor (KTOR-400)
      • HTTP-client auth with Bearer token (KTOR-331)
      • Expose TrailingSlashRouteSelector (KTOR-2511)
      • Add an option to disable URL Encoding (KTOR-553)
      • Upgrade kotlin to 1.5.10 (KTOR-2722)

      v1.5.4

      Compare Source

      Published 30 Apr 2021

      • Fixed extra trailing slashes in Route.toString (KTOR-2427)
      • Fixed ByteReadChannel.read related issues (KTOR-2615, KTOR-2519)
      • Fixed silently ignored exceptions in HTML DSL with StatusPages feature (KTOR-756)
      • Changed IosHttpRequestException supertype to IOException (KTOR-2566)
      • Fixed utility collection implementation for K/N (KTOR-2482)
      • Fixed client Digest auth realm handling (KTOR-1464)

      v1.5.3

      Compare Source

      Published 2 Apr 2021

      • Upgraded to coroutines 1.4.3 (KTOR-2254)
      • Upgraded kotlinx.serialization to 1.1.0 (KTOR-2238)
      • Fixed I/O readRemaining sometimes looses exception (KTOR-2263)
      • Fixed autoreload with 1.5.x when using embeddedServer NOT in debug mode regression (KTOR-2214)
      • Fixed flaky CIOSustainabilityTest.testBlockingConcurrency[jvm] (KTOR-2265)
      • Resolve 'node-fetch' on libs produced by jsBrowserProductionLibraryDistribution regression (KTOR-2230)
      • Updated doc string for FormPart (KTOR-2173)
      • Fixed java.lang.IllegalStateException: No instance for key AttributeKey: ExpectSuccessAttribyteKey regression (KTOR-2389)
      • Supported overriding Kotlin module configuration using jackson dsl function (KTOR-1692)
      • Fixed CORS can't pass on some none standard orgin on jvm (KTOR-469)
      • Fixed unexpected exception when using Session feature: "Using blocking primitives on this dispatcher is not allowed" regression jvm (KTOR-1452)
      • Fixed NettyApplicationEngine providing a configureBootstrap in the configuration throws IllegalStateException: group set already (KTOR-2078)
      • Fixed wrong indentation in Serving Static Content guide (KTOR-2017)
      • Fixed InsufficientSpaceException trying to build ByteReadPacket jvm (KTOR-960)
      • Fixed flaky ProxyTest.testHttpProxy[CIO][jvm] (KTOR-2082)
      • Fixed invalid assertion for existence of the key in the key store (KTOR-2311)
      • Fixed incorrect grammar in exception messages (KTOR-2284)
      • Fixed flaky JavaEngineTests.testThreadLeak[jvm] (KTOR-2098)
      • Fixed flaky JettyStressTest.highLoadStressTest (KTOR-2080)
      • Fixed flaky ExceptionsJvmTest.testConnectionClosedDuringRequest[jvm] (KTOR-2063)
      • Upgrade kotlin to 1.4.32 (KTOR-2403)

      v1.5.2

      Compare Source

      Published 25 Feb 2021

      • Fixed Dokka building for master (KTOR-2206)
      • Fixed native build on linux machine (KTOR-2200)
      • Fixed docker doc is incorrect / does not work (KTOR-2179)
      • Fixed crash with Firebase Performance in iOS (KTOR-642)
      • Fixed Ktor Client CIO engine Jvm ignores Cipher suites with key strength more than 128 bits. (KTOR-1914)
      • Fixed mandatory Path Segment parameter can be empty, if no explicit route with trailing / is defined (KTOR-2054)
      • Fixed flaky ClientSocketTest.testSelfConnect[jvm] (KTOR-2060)
      • Switch JS Fetch API to Standard Library (org.w3c.fetch.*) (KTOR-1460)
      • Fixed CIO server always start on "0.0.0.0" - does not respect "connector" configuration (KTOR-334)
      • Fixed server/netty: IllegalReferenceCountException (KTOR-1801)
      • Fixed digest authentication: cannot successfully pass authentication using curl or web browser (KTOR-1466)
      • Fixed HTTP Client exception is masked by JobCancellationException with Ktor 1.5.0 (KTOR-1967)
      • Fixed changing requestTimeoutMillis in config of HttpTimeout feature doesn't change the CIO's timeout (KTOR-2000)
      • Fixed test a POST with MultiPart using TestApplicationEngine does not success or fail (KTOR-345)
      • Fixed default Headers feature adds duplicated Server header (KTOR-1976)
      • Fixed custom response validation is not running when default is disabled (KTOR-2007)
      • Fixed session cookie with very long max age duration (KTOR-692)
      • Upgrade kotlin to 1.4.30 (KTOR-1639)

      v1.5.1

      Compare Source

      Published 27 Jan 2021

      • Circular reference for SocketException and StackOverflowError when using SLF4J logger (KTOR-1080)
      • start.ktor.io - Incorrect import for websockets for ktor 1.2.4 (KTOR-274)
      • Unable to catch socket exceptions (KTOR-1166)
      • Support explicit WebSocket session close (KTOR-340)
      • ktor-client-apache: thread stuck in ByteBufferChannel.readRemainingSuspend (KTOR-1463)
      • Logging tests fails due to floating log entries (KTOR-1870)
      • Adding existing dropwizard metrics registry to Ktor (KTOR-1798)
      • Exception kotlinx.serialization.SerializationException: Class 'ArrayList' is not registered for polymorphic serialization in the scope of 'Collection' in 1.5.0 (KTOR-1795)
      • Prevent double quotes on header params (KTOR-1797)
      • Post request shows empty body after upgrading v1.3.2 (KTOR-426)
      • CIO native selector doesn't select new descriptors (KTOR-1856)
      • Client logging docs don't mention all required dependencies (KTOR-280)
      • Out of date self-signed-certificate documentation (KTOR-272)
      • ClosedReceiveChannelException when making request with CIO engine using a proxy to https (KTOR-1458)
      • Incorrect encoding function used for URL path by URLBuilder (KTOR-1543)
      • A single slash gets ignored for defining a route, but 1.5 requires them due to KTOR-372 (KTOR-1615)
      • Wrong shadow plugin version in Fat JAR docs (KTOR-1359)
      • ktor server documentation is returning 404 (KTOR-1602)
      • CORS doesn't reject bad headers (KTOR-1662)
      • OkHTTP client engine tries to close the connection twice during the closing handshake (KTOR-1374)
      • Dispatcher is closing earlier than client (KTOR-1661)
      • Server losing channel exceptions at receive (KTOR-1590)
      • Request parameters should have name (KTOR-378)
      • Status-code must be 3-digit (KTOR-370)
      • Connect request sends wrong status line (KTOR-1612)
      • Response channel is always cancelled with Logging feature (KTOR-1598)
      • Java client logging tests are fluky (KTOR-1599)
      • HttpTimeoutTest.testConnect are flaky (KTOR-1583)
      • Jetty: requests to resources, that doesn't respond with HTTP/2, lead to unexpected behaviour (KTOR-874)
      • "Unfinished workers detected" using client on native (KTOR-1220)
      • HttpTimeout.testSocketTimeoutWriteFail is flaky (KTOR-1584)
      • Reserved characters in path is not encoded (KTOR-570)
      • testTimeoutCancelsWhenParentScopeCancels is flaky (KTOR-1585)
      • Java client freeze (KTOR-1567)
      • CallLoggingTest is flaky (KTOR-1582)
      • Missing dependency information the Authentication and Authorization topic (KTOR-1575)
      • "Using a Self-Signed Certificate" docs provide wrong dependency for 1.3.x (KTOR-21)
      • "Testing Http Client" docs page contains artifact name with -native suffix (KTOR-1006)
      • Custom JSON mapping with Jackson (KTOR-603)
      • Serialization for client section does not explain how to use it (KTOR-999)
      • Add information about required artifacts to the WebSockets topic (KTOR-1532)
      • Missing dependency information the Client Auth topic (KTOR-1533)
      • New documentation lacks artifacts information for Gradle and Maven (KTOR-1167)
      • ResponseException is no longer serializable starting from 1.4.0 (breaking change) (KTOR-1552)
      • Upgrade kotlin to 1.4.21 (KTOR-1637)

      v1.5.0

      Compare Source

      Published 22 Dec 2020

      • Fixed crash when sending large responses in 1.4.2 (KTOR-1369)
      • Introduced URLBuilder function to append paths (KTOR-403)
      • Allowed OkHttpConfig to configure WebSocket.Factory (KTOR-951)
      • Get client certificate information from request (KTOR-424)
      • Fixed quoting Content-Disposition additional parameters (KTOR-455)
      • Support Java HTTP Client (KTOR-348)
      • Serializing collections of different element types (KTOR-1163)
      • Introduced Netty tcpKeepAlive option (KTOR-368)
      • Implemented development mode for Ktor (KTOR-1184)
      • Implemented proper unhandled exception handling strategy (KTOR-835)
      • Added OAuth feature config to avoid Dropbox issue (KTOR-715)
      • Breaking change: Fixed trailing slashes handling in routing (KTOR-372) Routes registered without trailing slashes no longer match URLs with trailing slashes, and vice versa. To keep the previous behavior, install the IgnoreTrailingSlash feature.
      • Added CIO client proxy tunneling support (KTOR-1458)
      • Supported Sealed Classes inside Session-Objects (KTOR-826)
      • Fixed code autoreload (KTOR-664)
      • Added response text to the message of ResponseException and derived exceptions (KTOR-844)
      • Added ability to send cookies with HttpRequestBuilder (KTOR-926)
      • Added warning to HTTP/2 push API (KTOR-1329)
      • Fixed parsing Authorization header diagnostics (KTOR-1406)
      • Fixed CORS character encoding issue (KTOR-1370)
      • Added CORS anyHeader in feature configuration (KTOR-977, KTOR-1263)
      • Added curl engine option sslVerify (KTOR-1093)
      • Fixed client response validation in some cases (KTOR-1412)
      • Introduced support for pre-compresed files (KTOR-1447)
      • Fixed Apache client engine sometimes hits an unrecoverable socket timeout when using ChannelWriterContent (KTOR-1149)
      • Fixed typo val socketTimeout in CIOEngineConfig cause it's a property in the config (KTOR-1240)
      • Added excludeSuffix to HttpsRedirect feature (KTOR-1197)
      • Fixed CIO client connectRetryAttempts = 0 handling (KTOR-1125)
      • Added option to use specific alias from keystore in CIO TLSConfigBuilder JVM (KTOR-941)

      v1.4.3

      Compare Source

      Published 1 Dec 2020

      • Client: URL encode / escaping is wrong (KTOR-341)
      • HTTP/2 push fails with netty engine (KTOR-800)
      • Request headers exceeding expected threshold are not handled correctly (KTOR-905)
      • iOS client fails with CoroutinesInternalError when Logging is used (KTOR-924)
      • Experimental API and compatibility guarantees (KTOR-1035)
      • CIO: client engine exceptions are both logged and thrown (KTOR-1127)
      • Timeout feature: android engine throws Java's SocketTimeoutException instead of ConnectTimeoutException (KTOR-1229)
      • Input.readTextExactBytes(n) on empty input different behavior per platform (KTOR-1235)
      • HttpRedirect feature alters Location header value (KTOR-1236)
      • Wrong pool is used to release IOBuffer after ByteChannelSequential.copyTo from static initialized instance. (KTOR-1237)
      • CIO Engine's HttpClient may fail when trying to send large size binary data. (KTOR-1247)
      • ByteBufferChannel.readRemaining doesn't read whole channel (KTOR-1268)
      • Cannot receive content via jackson negotiator since 1.4.2 (KTOR-1286)
      • ktor-io: JVM shared function decrease performance starting from 1.4.0 (KTOR-1290)
      • Sessions + SSL (Netty) (KTOR-1292)
      • Netty HTTP/2 HEAD response hangs (KTOR-1298)
      • Using blocking primitives on this dispatcher is not allowed. Consider using async channel instead or use blocking primitives in withContext(Dispatchers.IO) instead. (KTOR-1305)
      • "Wrong HEX escape": gracefully handle invalid URLs (KTOR-1308)
      • Add build parameter to build ktor with JVM IR compiler (KTOR-1336)
      • Update kotlin to 1.4.20 (KTOR-1346)
      • Fix configuration if project without VPN and cache (KTOR-1347)
      • Client: NPE in FormDataContentKt -> Input.copyTo (KTOR-1349)
      • Upgrade Netty to 4.1.54.Final (KTOR-1363)
      • Handle failure in reading request body (KTOR-1367)
      • Remove copyTo usage from ServerPipeline (KTOR-1381)

      v1.4.2

      Compare Source

      Published 10 Nov 2020

      Please see Change Log on Ktor site

      v1.4.1

      Compare Source

      Published 23 Sep 2020

      • OkHttp: Can't reuse same HttpRequestBuilder for different network clients (KTOR-949)
      • Empty body in response using macosX64 target (KTOR-479)
      • Native: InvalidMutabilityException creating HttpClient (KTOR-915)
      • MultiPartData.readAllParts() throws java.io.IOException when multipart list is empty (KTOR-767)
      • kotlin.native.concurrent.InvalidMutabilityException: mutation attempt of frozen io(.ktor.client.request.HttpRequestPipeline (KTOR-693)
      • "FreezingException: freezing of InvokeOnCompletion has failed" using native-mt coroutines (KTOR-973)
      • kotlin.native.concurrent.InvalidMutabilityException with 1.3.3-native-mt (KTOR-497)
      • Parser Exception in header with character code 1 not allowed (KTOR-860)
      • Calling HttpStatement#toString more than once throws IllegalArgumentException (KTOR-1005)
      • Wrong session id get stuck at clients (KTOR-1007)
      • Exception after WebSocketSession.close() invocation. (KTOR-847)
      • Error Ktor running on background thread on iOS (KTOR-499)
      • HttpClient can only be used on the main thread for native targets (KTOR-491)
      • Ignore content length when transfer encoding is chunked for CIO server (KTOR-1036)
      • ConcurrentList.increaseCapacity() throws ArrayIndexOutOfBoundsException (KTOR-1034)
      • Ktor 1.3.1 Fails File Upload with MalformedInputException (KTOR-391)
      • Update library versions, fix config after release (KTOR-1027)
      • Fix parsing urls with trailing spaces (KTOR-886)
      • 1.4.0: breaking change by making response nullable in Re

      Configuration

      📅 Schedule: At any time (no schedule defined).

      🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

      Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

      🔕 Ignore: Close this PR and you won't be reminded about this update again.


      • [ ] If you want to rebase/retry this PR, click this checkbox.

      This PR has been generated by WhiteSource Renovate. View repository job log here.

      dependencies renovate  opened by renovate[bot] 0
    • Update plugin kotlin-multiplatform to v1.6.21 - autoclosed

      Update plugin kotlin-multiplatform to v1.6.21 - autoclosed

      WhiteSource Renovate

      This PR contains the following updates:

      | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | org.jetbrains.kotlin.multiplatform | 1.4.30 -> 1.6.21 | age | adoption | passing | confidence |


      Configuration

      📅 Schedule: At any time (no schedule defined).

      🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

      Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

      🔕 Ignore: Close this PR and you won't be reminded about this update again.


      • [ ] If you want to rebase/retry this PR, click this checkbox.

      This PR has been generated by WhiteSource Renovate. View repository job log here.

      dependencies renovate 
      opened by renovate[bot] 0
    • Update plugin kotlin-plugin-serialization to v1.6.21 - autoclosed

      Update plugin kotlin-plugin-serialization to v1.6.21 - autoclosed

      WhiteSource Renovate

      This PR contains the following updates:

      | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | org.jetbrains.kotlin.plugin.serialization | 1.4.30 -> 1.6.21 | age | adoption | passing | confidence |


      Configuration

      📅 Schedule: At any time (no schedule defined).

      🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

      Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

      🔕 Ignore: Close this PR and you won't be reminded about this update again.


      • [ ] If you want to rebase/retry this PR, click this checkbox.

      This PR has been generated by WhiteSource Renovate. View repository job log here.

      dependencies renovate 
      opened by renovate[bot] 0
    • Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.3.2 - autoclosed

      Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.3.2 - autoclosed

      WhiteSource Renovate

      This PR contains the following updates:

      | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | org.jetbrains.kotlinx:kotlinx-serialization-json | 1.0.1 -> 1.3.2 | age | adoption | passing | confidence |


      Release Notes

      Kotlin/kotlinx.serialization

      v1.3.2

      ==================

      This release contains several features and bugfixes for core API as well as for HOCON format. It uses Kotlin 1.6.10 by default.

      Serializing objects to HOCON

      It's now possible to encode Kotlin objects to Config values with new Hocon.encodeToConfig function. This feature may help edit existing configs inside Kotlin program or generate new ones.

      Big thanks to Osip Fatkullin for implementing this.

      Polymorphic default serializers

      As of now, polymorphicDefault clause inside SerializersModule { } builder specifies a fallback serializer to be used only during deserialization process. A new function has been introduced to allow setting fallback serializer for serialization: polymorphicDefaultSerializer. This function should ease serializing vast hierarchies of third-party or Java classes.

      Note that there are two new experimental functions, polymorphicDefaultSerializer and polymorphicDefaultDeserializer. To avoid naming confusion, we are going to deprecate polymorphicDefault in favor of polymorphicDefaultDeserializer in the next minor release (1.4.0).

      Credit for the PR goes to our contributor Joseph Burton.

      Other improvements
      Bugfixes
      • Properly handle top-level value classes in encodeToJsonElement (#​1777)
      • Fix incorrect handling of object end when JsonTreeReader (JsonElement) is used with decodeToSequence (#​1782)

      v1.3.1

      ==================

      This release mainly contains bugfixes for 1.3.0 and provides new experimental Json.decodeToSequence function.

      Improvements
      • Provide decodeToSequence to read multiple objects from stream lazily (#​1691)
      Bugfixes
      • Correctly handle buffer boundaries while decoding escape sequences from json stream (#​1706)
      • Properly skip unknown keys for objects and structures with zero properties (#​1720)
      • Fix merging for maplikeSerializer when the map is not empty (by using the actual size * 2). (#​1712) (thanks to pdvrieze)
      • Fix lookup of primitive array serializers by Java type token (#​1708)

      v1.3.0

      ==================

      This release contains all of the cool new features from 1.3.0-RC (see below) as well as minor improvements. It uses Kotlin 1.5.31 by default.

      Bugfixes and improvements
      • Promote JsonConfiguration and its usages to stable (#​1690)
      • Remove opt-in annotations from SerialFormat, StringFormat, BinaryFormat (#​1688)
      • Correctly throw SerializationException instead of IOOBE for some cases with EOF in streams (#​1677)
      • CBOR: ignore tags when reading (#​1614) (thanks to David Robertson)

      v1.2.2

      ==================

      This release contains various bugfixes, some useful features and important performance improvements. It also uses Kotlin 1.5.20 as default.

      Features
      • Support for @JsonNames and coerceInputValues in Json.decodeFromDynamic (#​1479)
      • Add factory function to wrap a serial descriptor with a custom name for custom delegating serializers (#​1547) (thanks to Fadenfire)
      • Allow contextually serialized types to be used as map keys in Json (#​1552) (thanks to pdvrieze)
      Bugfixes and performance improvements
      • Update size in JsonStringBuilder slow-path to avoid excessive array-copies for large strings with escape symbols (#​1491)
      • Optimize integer encoding length in CBOR (#​1570) (thanks to davertay)
      • Throw JsonDecodingException instead of ClassCastException during unexpected null in TreeJsonDecoder (#​1550)
      • Prohibit 'null' strings in lenient mode in order to get rid of 'null' and "null" ambiguity (#​1549)
      • Avoid usage of reflective-like serialDescriptor<KType> in production sources (#​1540)
      • Added correct error message when deserializing missing enum member for Properties format (#​1539)
      • Make DescriptorSchemaCache in Json thread-local on Native (#​1484)

      v1.2.1

      ==================

      This release mainly contains bugfixes for various issues, including important broken thread-safety and improper encoding.

      Features
      • Added support for nullable values, nested and empty collections in protobuf (#​1430)
      Bugfixes
      • Support @​JsonNames for enum values (#​1473)
      • Handle EOF in skipElement correctly (#​1475)
      • Allow using value classes with primitive carriers as map keys (#​1470)
      • Read JsonNull only for non-string literals in JsonTreeReader (#​1466)
      • Properly reuse JsonStringBuilders in CharArrayPool (#​1455)
      • Properly ensure capacity of the string builder on the append slow-path (#​1441)

      v1.2.0

      ==================

      This release has some known critical bugs, so we advise to use 1.2.1 instead.

      This release contains a lot of new features and important improvements listed below; Kotlin 1.5.0 is used as a default compiler and language version.

      JSON performance improvements

      JSON encoder and decoder were revisited and significantly rewritten, which lead us to up to 2-3x times speedup in certain cases. Additional details can be found in the corresponding issues: [1], [2].

      Ability to specify alternative names during JSON decoding

      The one of the most voted issues is fixed now — it is possible to specify multiple names for one property using new @JsonNames annotation. Unlike @SerialName, it only affects JSON decoding, so it is useful when dealing with different versions of the API. We've prepared a documentation for you about it.

      JsonConfiguration in public API

      JsonConfiguration is exposed as a property of Json instance. You can use it to adjust behavior in your custom serializers. Check out more in the corresponding issue and the PR.

      Generator for .proto files based on serializable Kotlin classes

      Our implementation of Protocol Buffers format uses @Serializable Kotlin classes as a source of schema. This is very convenient for Kotlin-to-Kotlin communication, but makes interoperability between languages complicated. To resolve this issue, we now have a schema generator that can produce .proto files out of Kotlin classes. Using it, you can keep Kotlin classes as a source of truth and use traditional protoc compilers for other languages at the same time. To learn more, check out the documentation for the new ProtoBufSchemaGenerator class or visit the corresponding PR.

      Note: this generator is on its experimental stage and any feedback is very welcomed.

      Contextual serialization of generic classes

      Before 1.2.0, it was impossible to register context serializer for generic class, because contextual function accepted a single serializer. Now it is possible to register a provider — lambda that allows to construct a serializer for generic class out of its type arguments serializers. See the details in the documentation.

      Other features
      • Support for watchosX64 target (#​1366).
      • Introduce kotlinx-serialization-bom (#​1356).
      • Support serializer on JS IR when T is an interface (#​1431).
      Bugfixes
      • Fix serializer lookup by KType for third party classes (#​1397) (thanks to mvdbos).
      • Fix inability to encode/decode inline class with string to JsonElement (#​1408).
      • Throw SerializationException instead of AIOB in ProtoBuf (#​1373).
      • Fix numeric overflow in JsonLexer (#​1367) (thanks to EdwarDDay).

      v1.1.0

      ==================

      This release contains all features and bugfixes from 1.1.0-RC plus an additional fix for incorrect exception type (#​1325 — Throw SerializationException instead of IllegalStateException in EnumSerializer) and uses release version of Kotlin 1.4.30.

      In the light of JCenter shutdown, starting from 1.1.0-RC and now on, all new releases of kotlinx.serialization are published directly to Maven Central and therefore are not available in https://kotlin.bintray.com/kotlinx/ repository. We suggest you to remove jcenter() and other kotlin bintray repositories from your buildscripts and to use mavenCentral() repository instead.


      Configuration

      📅 Schedule: At any time (no schedule defined).

      🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

      Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

      🔕 Ignore: Close this PR and you won't be reminded about this update again.


      • [ ] If you want to rebase/retry this PR, click this checkbox.

      This PR has been generated by WhiteSource Renovate. View repository job log here.

      dependencies renovate 
      opened by renovate[bot] 0
    • Update dependency org.jetbrains.kotlin:kotlin-bom to v1.6.21 - autoclosed

      Update dependency org.jetbrains.kotlin:kotlin-bom to v1.6.21 - autoclosed

      WhiteSource Renovate

      This PR contains the following updates:

      | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | org.jetbrains.kotlin:kotlin-bom (source) | 1.4.30 -> 1.6.21 | age | adoption | passing | confidence |


      Release Notes

      JetBrains/kotlin

      v1.6.21

      Changelog

      Compiler
      • KT-51979 "AssertionError: No modifier list, but modifier has been found by the analyzer" exception on incorrect Java interface override
      • KT-51893 Duplicated [OVERRIDE_DEPRECATION] on overridden properties
      • KT-51927 Native: The symbol of unexpected type encountered during IR deserialization error when multiple libraries have non-conflicting declarations with the same name
      • KT-51843 Functional interface constructor references are incorrectly allowed in 1.6.20 without any compiler flags
      • KT-51672 JVM IR: Inline class mangling issue in interface default methods split across multiple modules
      • KT-51711 Compiler warning is displayed in case there is 'if' else branch used with elvis
      • KT-49317 "IllegalStateException: Parent of this declaration is not a class: FUN LOCAL_FUNCTION_FOR_LAMBDA" with parameter of suspend type with the default parameter
      IDE. Native
      • KTIJ-20819 Native debugging support: "Debug is impossible without lldb binaries required by Kotlin/Native" on "Attach to process"
      JavaScript
      • KT-52010 K/JS IR: both flows execute when using elvis operator
      • KT-51973 KJS / IR overridden properties of inherited interface missing
      • KT-50504 KJS / IR: Transpiled JS incorrectly uses the unscrambled names of internal fields
      Tools. Gradle
      • KT-51837 kotlin-gradle-plugin:1.6.20 fails xray scan on shadowed Gson 2.8.6.
      Tools. Gradle. Multiplatform
      • KT-51810 MPP / Gradle: Dependency locking fails with 1.6.20
      • KT-51765 com.android.lint in multiplatform project without android target should not trigger warning

      Checksums

      | File | Sha256 | | --- | --- | | kotlin-compiler-1.6.21.zip | 632166fed89f3f430482f5aa07f2e20b923b72ef688c8f5a7df3aa1502c6d8ba | | kotlin-native-linux-x86_64-1.6.21.tar.gz | af51f6ae244bb19979fbae6dc3afdca7bae42568d6a33f0fa331edd665a611fa | | kotlin-native-macos-x86_64-1.6.21.tar.gz | ce74cc3bc874a42e9b912515626c563dee075503d0c3f55c24cd75724986f020 | | kotlin-native-macos-aarch64-1.6.21.tar.gz | 92426f943b4ad18fb37a1b7ef5f2d7d872f67f228e232a34a9890993edf9b4c5 | | kotlin-native-windows-x86_64-1.6.21.zip | ac520bf2f66197fec1ff6c666432cb908bf49e39b9266dd6979fa6e2c0294206 |

      v1.6.20

      Compiler
      New Features
      • KT-48217 Add an annotation JvmDefaultWithCompatibility to allow generating DefaultImpls classes if -Xjvm-default=all option is used
      • KT-49929 [FIR] Support programmatic creation of annotation class instances
      • KT-49276 Warn about potential overload resolution change if Range/Progression starts implementing Collection
      • KT-47902 Do not propagate method deprecation through overrides
      • KT-49857 Require Xcode 13 for building Kotlin/Native compiler
      • KT-47701 Support instantiation of annotation classes on Native
      • KT-46085 Support experimental parallel compilation of a single module in the JVM backend
      • KT-46603 Generate SAM-conversions to Java interfaces extending 'java.io.Serializable' as serializable using java.lang.invoke.LambdaMetafactory
      Performance Improvements
      • KT-50156 HMPP: Slow frontend/ide performance in OKIO (ExpectActualDeclarationChecker)
      • KT-50073 Performance regression in adapted function references
      • KT-50076 Performance regression in super call to an interface member in $DefaultImpls
      • KT-50080 Performance regression in string template with generic property with primitive upper bound
      • KT-50084 Performance regression in concatenation with 'String?'
      • KT-50078 Performance regression in for-in-array loop
      • KT-50039 Performance regression in inner class constructor call with default parameters
      • KT-48784 An anonymous class has fields for variables that are only used in the constructor
      • KT-42010 Generate IINC instruction for postfix increment in JVM_IR
      • KT-48433 JVM_IR don't generate null check on 'this$0' parameter of inner class constructor
      • KT-48435 JVM_IR ConstForLoopBenchmark performance regression
      • KT-48507 JVM_IR ForLoopBenchmark regressions
      • KT-48640 Performance regression in 'longDownToLoop' benchmarks
      • KT-29822 Generate specialized bytecode for loops withIndex over unsigned arrays
      • KT-48669 Generate optimizable counter loop for loops over indices of unsigned arrays
      • KT-49444 Possible performance degradation with UInt downTo loop
      • KT-48944 Possible performance regression with comparison of local KFunctions
      • KT-17111 Eliminate redundant store/load instructions when the value stored is simple
      • KT-36837 Generate more compact code for for-in-range loop in JVM_IR
      • KT-48947 JVM / IR Possible performance regression with string templates
      • KT-48931 JVM / IR: Performance degradation with string concatenation
      • KT-36654 Generate more compact bytecode for safe call in JVM_IR
      Fixes
      • KT-24643 Prohibit using a type parameter declared for an extension property inside delegate
      • KT-51747 Make KtCallableDeclaration.getContextReceivers default to preserve compatibility
      • KT-49658 NI: False negative TYPE_MISMATCH on nullable type with when
      • KT-43493 NI: @​BuilderInference prevents compilation error of "Operator '==' cannot be applied to 'Long' and 'Int'"
      • KT-51649 Kotlin/Native: reduce binary size of watchosArm32 and iosArm32 targets by limiting inlining of runtime functions
      • KT-48626 JVM IR: incorrect behavior for captured for-loop parameter since 1.6.20-dev-723
      • KT-51036 JVM / IR: "NullPointerException: Parameter specified as non-null is null" with synchronized and companion object
      • KT-51471 Native: incorrect debug information when inheriting suspend fun invoke implementation
      • KT-51352 "ClassCastException: class ScopeCoroutine cannot be cast to class Iterable" caused by coroutines and context receivers
      • KT-51271 "ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3" with inlining of context function
      • KT-47084 JVM IR: "AssertionError: inconsistent parent function for CLASS LAMBDA_IMPL" with tailrec function default parameter nested inline lambda
      • KT-30616 Script: "Don't know how to generate outer expression" for top-level variable reference from static context (companion object, enum)
      • KT-50520 "NPE: containingDeclaration.ac…lDeclarationType.REGULAR) must not be null" with implicit type on self-referencing lambda in a builder
      • KT-51353 IncompatibleClassChangeError: Expected non-static field com.soywiz.korim.color.Colors.BLACK
      • KT-48945 JVM IR: special bridge for get is not generated in a Map subclass
      • KT-48499 Interface call with an inline/value parameter generates AbstractMethodError after rebuilding the module, but NOT the file.
      • KT-49998 JVM: missing default value for annotation parameter of an unsigned type
      • KT-49793 JVM: IncompatibleClassChangeError: Expected non-static field when property delegation uses receiver of another delegated property
      • KT-51302 Kotlin/Native 1.6.20-M1 compiler fails because of assertion in NativeAnnotationImplementationTransformer
      • KT-51148 "AssertionError: At this stage there should be no remaining variables with proper constraints" caused by two type parameters
      • KT-50970 Kotlin/Native: use arm instruction set instead of thumb-2 for iosArm32 and watchosArm32 targets
      • KT-50843 Kotlin/Native: LLVM constant merge pass does not work for Kotlin constants
      • KT-51157 JVM / IR: "IndexOutOfBoundsException: Index: 1, Size: 1" caused by interface hierarchy and UInt method parameter
      • KT-50498 Exception after analysing an erroneous lambda
      • KT-50258 equals() returns false on the same enum instances if we check it for the second time in when
      • KT-51062 Progressions resolve changing warning isn't reported for Java methods
      • KT-48544 JVM / IR: "UnsupportedOperationException: Unknown structure of ADAPTER_FOR_CALLABLE_REFERENCE" with callable reference ::arrayOf
      • KT-50978 [Native] Error while building static cache: NoSuchElementException at IrTypeInlineClassesSupport.getInlinedClassUnderlyingType(InlineClasses.kt:341)
      • KT-50977 [Native] Error while building static cache: IllegalStateException: Class CLASS ENUM_ENTRY is not found at KonanIrlinkerKt.findClass(KonanIrlinker.kt:229)
      • KT-50976 [Native] Error while building static cache: IllegalStateException: No descriptor found at DescriptorByIdSignatureFinder.findDescriptorForPublicSignature(DescriptorByIdSignatureFinder.kt:157)
      • KT-51040 Type inference fails on 1.6: "Cannot use 'CapturedType(*)' as reified type parameter" with EnumSet and elvis operator
      • KT-51080 Line number in mapping for the first instruction is lost
      • KT-49526 JVM IR: Function reference with non-denotable intersection type argument is not inlined and is incorrectly approximated
      • KT-50399 Error: unexpected variance in super type argument: out @​0
      • KT-50649 JVM IR: ClassCastException when returning Result as generic type
      • KT-50617 JVM IR: java.lang.IndexOutOfBoundsException "Empty list doesn't contain element at index 0" when class and interface have the same name and extension function is used
      • KT-50856 SAM conversion generates invalid bytecode for generics
      • KT-45693 False negative INCOMPATIBLE_TYPES with when with generic subject
      • KT-49903 JVM IR: InlineOnly optimization leads to behavior change for println with mutating System.out
      • KT-51022 Fix error messages for resolution ambiguity with stub types
      • KT-51035 PSI2IR: "org.jetbrains.kotlin.psi2ir.generators.ErrorExpressionException: null: KtCallExpression:" caused by recursive call of java function
      • KT-50797 Implement fix for false negative UPPER_BOUND_VIOLATED with generic typealias using not all type parameters as arguments for underlying type
      • KT-50878 Usage of contextual declarations from third-party library is allowed without -Xcontext-receivers
      • KT-49829 Wrong "cast can never succeed" diagnostic with builder inference
      • KT-49828 Improve builder inference diagnostics with overload resolution ambiguity
      • KT-50989 CCE cause by EmptySubstitutor in ResolutionWithStubTypesChecker
      • KT-49729 Implement deprecation warning for private constructors of sealed classes
      • KT-49349 Implement deprecation for invalid if as expression in rhs of elvis
      • KT-46285 [SEALED_SUPERTYPE_IN_LOCAL_CLASS] Error message isn't adopted to local objects and sealed interfaces
      • KT-49002 Allow OptIn marker on override if base class has the same marker
      • KT-48899 Report warnings on overrides with wrong types nullability
      • KT-49461 Implement prohibitation of access to members of companion of enum class from initializers of entries of this enum
      • KT-49754 Kotlin/JS: @​JsExport on enum class reports NON_EXPORTABLE_TYPE warning
      • KT-49598 Misleading error message "Using @​JvmRecord is only allowed with -jvm-target 15 and -Xjvm-enable-preview flag enabled"
      • KT-44133 Inline classes: class literal in annotation arguments uses underlying type
      • KT-47703 ClassCastException: Programmatically created annotation can't hold Array<KClass<*>>
      • KT-47549 JVM / IR: Null argument in ExpressionCodegen for parameter VALUE_PARAMETER CONTINUATION_CLASS caused by suspend function inside "fun interface" in another file
      • KT-50120 HMPP: False positive [NO_VALUE_FOR_PARAMETER] for expect function usages
      • KT-49864 JVM IR: NoSuchMethodError calling default interface method with inline class return type in -Xjvm-default=all mode
      • KT-49812 JVM / IR: "java.lang.VerifyError: Bad return type" when using Result type attribute + extension function with same name
      • KT-49936 Extension property in a data class with the same name as the constructor parameter leads to incorrect component function being resolved and generated
      • KT-48181 "ISE: Null argument in ExpressionCodegen for parameter VALUE_PARAMETER" on creating instance of kotlin.Metadata
      • KT-50215 VerifyError caused by missing cast after is check in when
      • KT-49977 "Parameter specified as non-null is null" when inline class implements interface method with default parameters
      • KT-50385 DUPLICATE_LABEL_IN_WHEN is reported on incorrect branches
      • KT-49092 JVM: ArrayIndexOutOfBoundsException on compiling call with if expression and TODO() arguments
      • KT-48987 JVM / IR: Smartcast, which never succeed, crashes the compiler
      • KT-50277 Invalid bytecode generated for inline lambda in suspend function
      • KT-50219 FIR DFA/CFA: no smart cast after null check and assignment
      • KT-44561 FIR DFA: extract non-null info from comparison against variable with initial constant value
      • KT-44560 FIR DFA: propagate non-null info to original variables in not-null assertion or cast expression
      • KT-50278 FIR: accidental resolve to inaccessible value parameter
      • KT-47483 JVM IR: "NoSuchElementException: Sequence contains no element matching the predicate" on compiling Array instantiation with TODO
      • KT-50304 EXC_BAD_ACCESS at IntrinsicsNative.kt starting coroutine on object with suspend fun as supertype
      • KT-49765 JVM: ClassCastException when trying to add object to EmptyList
      • KT-46879 "AssertionError: Stack should be spilled before suspension call" with Flow and reified type
      • KT-50172 "AssertionError: Not a callable reflection type" on local function reference with the same name as local variable
      • KT-49443 JVM IR, Script: "IllegalStateException: No mapping for symbol: VALUE_PARAMETER INSTANCE_RECEIVER" with constructor call of class that has a top-level extension function call
      • KT-50193 Garbage collection is not working the same way after jvm-ir-backend change
      • KT-19424 Compilation exception for script with property delegate calling operator invoke on an object
      • KT-43995 Script: "IllegalStateException: No mapping for symbol: VALUE_PARAMETER INSTANCE_RECEIVER" if companion object initializer calls method on list
      • KT-47000 Allow graceful migration to -Xjvm-default=all-compatibility by allowing to inherit from interfaces even in the old (-Xjvm-default=disable) mode
      • KT-50180 FIR: not enough information to infer type variable for definitely not null type
      • KT-50163 FIR: ISE unsupported compile-time value BLOCK on complex annotations
      • KT-50171 JVM IR: "UninitializedPropertyAccessException: Parent not initialized: IrVariableImpl" on SAM-converted property setter reference with Double parameter inside lambda
      • KT-50140 Internal error on explicit string concatenation of generic type value with 'String' upper bound
      • KT-49992 Anonymous object should not have access to private members from supertypes
      • KT-49973 Check existing of default error message for all diagnostics
      • KT-50019 Property delegated to callable reference: "ISE: Local class should have its name computed in InventNamesForLocalClasses" with -Xno-optimized-callable-references
      • KT-49645 JVM / IR: "IllegalStateException: Local class should have its name computed" caused by default suspend function in interface and value class
      • KT-50028 Incorrect implicit casts from Unit
      • KT-49615 JVM / IR: "Exception during IR lowering" with list of value classes with non-trivial constructor inside suspend lambda
      • KT-49127 FIR: smart cast is not performed after comparison
      • KT-48708 Incorrect cast from Unit to Int
      • KT-48376 FIR: False positive UNITIALIZED_VARIABLE after try/finally with return from try
      • KT-48113 FIR: (false) positive EQUALITY_NOT_APPLICABLE for intersection with platform type
      • KT-48305 FIR: incorrect raw type cast
      • KT-48378 FIR: synthetic accessor lowering should not attempt to modify other files
      • KT-48634 FIR: false property-setter-function resolve cycle
      • KT-48621 FIR: SyntheticAccessorLowering should not attempt to modify other files for protected JvmField
      • KT-48381 Invalid LLVM module: verification failure of createInlineClassInArgumentPosition.kt
      • KT-48527 Native: top-level properties in files with @​Test functions are initialized eagerly even if lazy initialization is enabled
      • KT-48559 IllegalArgumentException: Unexpected super type argument: * @​ 0 during IR lowering
      • KT-48687 IR dump mismatch after deep copy with symbols in IR text test
      • KT-44811 [FIR] Exception in body resolve of new contracts
      • KT-48363 FIR behaves differently in case of resolution between classifier and top-level property
      • KT-48801 "AssertionError: Stack should be spilled before suspension call" with Flow and crossinline
      • KT-46389 JVM / IR: "ClassCastException: class IrGetValueImpl cannot be cast to class IrConst" with inheritance of supertypes member functions with similar signatures
      • KT-47797 Regression during migration to 1.6 in compiler
      • KT-47987 Can't infer a postponed type variable based on callable reference receiver type
      • KT-48446 "IllegalStateException: IrErrorType (getErasedUpperBound)" caused by suspend function reference
      • KT-48651 Collect intermediate annotations during type expanding
      • KT-48754 JVM IR: in EnclosingMethod leads to IncompatibleClassChangeError on Android 5.0
      • KT-45034 Use the new type inference for top-level callable references
      • KT-49001 OptIn marker should spread from class to its members, taking into account real dispatch receiver type
      • KT-49038 Generics are discriminated during callable references resolution (false negative)
      • KT-48954 JVM IR: IllegalAccessError when using Java method reference in constructor
      • KT-48284 JVM / IR: "IllegalStateException: Function has no body: FUN STATIC_INLINE_CLASS_REPLACEMENT" caused by inline member toString of value class and string interpolation
      • KT-49053 JVM / IR: "AssertionError: Unbound symbols not allowed" on inheriting a protected Java method that returns a package private class from a differently-named file
      • KT-49106 JVM: infinite recursion with overridden default suspend interface method where override calls super
      • KT-45345 FIR DFA: FirDataFlowAnalyzer seems to add wrong type constraints for type parameters
      • KT-44513 FIR DFA: extract non-null info from x?.y!!
      • KT-44559 FIR DFA: propagate non-null info from not-null assertion (!!)
      • KT-49073 FIR: REDUNDANT_MODIFIER and DEPRECATED_MODIFIER_PAIR should be warnings
      • KT-46371 FIR: Investigate FunctionType -> ExtensionFunctionType coercion
      • KT-49078 FIR: false positive TYPE_VARIANCE_CONFLICT
      • KT-47135 FIR: local class references does not compile
      • KT-48600 NON_TAIL_RECURSIVE_CALL missing for calls inside lambda
      • KT-48602 NON_TAIL_RECURSIVE_CALL missing for calls with explicit dispatch receiver to a singleton
      • KT-48982 JVM / IR: KotlinNothingValueException caused by function with local object
      • KT-49087 FIR: false positive REPEATED_ANNOTATION
      • KT-48648 JVM IR: "AssertionError: Should be primitive or nullable primitive type" with @​JvmField generic property with Number upper bound
      • KT-49069 FIR: False positive INAPPLICABLE_JVM_NAME on getter
      • KT-49203 JVM IR: "AssertionError: Unbound symbols not allowed" with lateinit var and plusAssign operator convention call
      • KT-48993 JVM / IR: "IllegalStateException: Validation failed in file <multi-file facade ...>" using @​JvmMultifileClass and one of the symbols in the file exposes a @​JvmInline value class
      • KT-48938 FIR: Investigate how priorities should work in case SAM-conversion + type parameters
      • KT-49129 FIR: false positive of INNER_CLASS_OF_GENERIC_THROWABLE_SUBCLASS
      • KT-49076 FIR: false positive "An annotation argument must be compile-time constant" on array of imports
      • KT-49222 FIR: StackOverflow in MethodSignatureMapper
      • KT-49083 FIR erroneously requires default value parameters for override calls when imported from object
      • KT-49135 FIR: ambiguity between type alias and function
      • KT-49134 FIR makes no difference between lambda with empty parameter list and without explicit parameter list
      • KT-49301 FIR: Unresolved reference: for object inherited from inner class
      • KT-49070 FIR: ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED with type parameter / class conflict
      • KT-49133 FIR: protected java.lang.Throwable constructor is not available
      • KT-49407 JVM / IR: "java.lang.VerifyError: Bad local variable type" with "Int.mod" inside "Long.mod" and non-trivial argument
      • KT-44975 SUBCLASS_CANT_CALL_COMPANION_PROTECTED_NON_STATIC: confusing error message
      • KT-38698 MANY_INTERFACES_MEMBER_NOT_IMPLEMENTED error message: interface is called a "class"
      • KT-45001 Confusing warning message "This class can only be used with the compiler argument" for @​OptIn annotation
      • KT-49411 JVM / IR: NullPointerException during IR lowering with @​JvmField property in loop range
      • KT-49260 FIR: make FirBasedSymbol hierarchy to correspond FirDeclaration hierarchy
      • KT-49289 FIR: false positive "return required" for if/else with inlined return in branch
      • KT-49316 JVM / IR: "AssertionError: SyntheticAccessorLowering should not attempt to modify other files!" caused by unreachable code which try to modify val from the other package
      • KT-45915 NoDescriptorForDeclarationException: Descriptor wasn't found for declaration FUN with circular module dependencies in JPS
      • KT-49288 FIR2IR: consider generating all fake override calls properly
      • KT-42784 FIR2IR: first create fake overrides, then bind overridden to them
      • KT-48816 Kotlin/Native Symbol for public platform.darwin/NSObject|null[100] is unbound
      • KT-49372 JVM / IR: Incorrect work of the loop optimization for mutable variable
      • KT-49356 Native: UnsupportedOperationException: RETURNABLE_BLOCK caused by nested return with boxing and inline
      • KT-49659 JVM IR: Missing value class mangling in SAM wrappers for fun interfaces from different modules
      • KT-47101 Incorrect scope for supertypes in companion objects
      • KT-49360 Invalid LLVM module: "inlinable function call in a function with debug info must have a !dbg location"
      • KT-48430 JVM: ClassCastException with inline class as generic argument for type parameter used in a function type
      • KT-49575 IllegalArgumentException: Unhandled intrinsic in ExpressionCodegen with circular module dependencies in JPS
      • KT-47669 IR inliner doesn't handle inner class functions referring outer this
      • KT-48668 JVM IR: "ISE: Value at CLASS must not be null for CLASS" for modules with a dependency cycle
      • KT-49370 JVM / IR: "java.lang.VerifyError: Bad local variable type" with "fun Long.mod" and non-trivial argument
      • KT-46744 Memory Leaks in Kotlin daemon
      • KT-48806 False-negative USED_AS_EXPRESSION for unreachable catch clauses
      • KT-45972 FIR: type is incorrectly resolved to private
      • KT-46968 Remove FirCompositeScope from type resolve
      • KT-49072 FIR: accidental resolve to private-in-file type
      • KT-34822 FIR scopes: deal with nested / inner classes and type parameter priority
      • KT-49702 Exception from RENDER_WHEN_MISSING_CASES diagnostic on malformed sealed class inheritor
      • KT-49860 [FIR] Add smartcast expression to synthetic subj access
      • KT-49836 Inference fails on lambda and adjacent function expressions with receiver
      • KT-49832 Inference fails on lambda for function types with extension parameter
      • KT-44022 Excessive diagnostics range for DECLARATION_CANT_BE_INLINED
      • KT-48690 VERSION_REQUIREMENT_DEPRECATION_ERROR message: use current compiler version instead of language version
      • KT-49609 Incorrect grammar in DATA_CLASS_NOT_PROPERTY_PARAMETER error message
      • KT-49600 Misspelled error message for non-constructor properties with backing fields in @​JvmRecord class
      • KT-49339 Warn about synchronizing on value classes
      • KT-49950 Compilation failed: An operation is not implemented: IrBasedTypeParameterDescriptor
      • KT-43604 Problem with initialization order
      • KT-23890 Default arguments are not transferred from expect generic member functions
      • KT-48811 Expect/actual class with default constructor argument values can not be instantiated from a shared source set without passing arguments (with HMPP enabled)
      • KT-48106 FIR: incorrect type inference in provideDelegate receiver
      • KT-48325 Safe call operator prevents object from being garbage collected before leaving function
      • KT-50004 Linking kotlinx.serialization crashes on Native and JS IR backends
      • KT-49311 Missing FIR checker for unresolved references in import statement
      • KT-48104 FIR does not see NotNull/Nullable annotations on type arguments
      • KT-46812 [FIR] Make FIR diagnostics not related to Diagnostics from FE 1.0
      • KT-37374 [FIR] Add CheckInfixModifier resolution stage
      • KT-38351 FIR: Support CheckOperatorModifier resolution stage
      • KT-39614 [FIR] Fix building CFG for different candidates of plus assign call
      • KT-40197 [FIR] Strange Behaviour of Type Arguments
      • KT-40362 [FIR] Match type arguments with type parameters of corresponding qualifier
      • KT-40375 FIR: No transformation implicit type -> error type for function value parameters
      • KT-40585 [FIR] Incorrect type for 1/1.0
      • KT-42525 [FIR] Incorrect IR produced for java.lang.Byte.MAX_VALUE
      • KT-43359 FIR: Check applicability type for callable reference with unbound receiver
      • KT-43378 FIR: Support or prohibit via call checker callable references to member extensions
      • KT-43289 FIR: Correctly load irrelevant override for special built-ins
      • KT-44558 Annotation arguments const expr support is missing in FIR
      • KT-45223 [FIR] Ambiguity between explicit and synthetic removeAt
      • KT-42215 FIR: callable reference resolution with type constraints at call-sites
      • KT-45520 FIR: NONE_APPLICABLE for unsafe call to function with overloads instead of UNSAFE_CALL
      • KT-46410 [FIR] Transform of FirAugmentedArraySetCall leaves erroneous nodes in control flow graph
      • KT-46421 FIR: Investigate builder-inference cases
      • KT-43948 FIR: hidden unresolved callable reference
      • KT-46558 FIR DFA: run once contract is not considered when analyzing lambda
      • KT-47125 FIR: Do not avoid trivial constraints if they aren't from upper bounds
      • KT-43691 FIR: false positive VARIABLE_INITIALIZER_IS_REDUNDANT with usage in try...finally
      • KT-37311 [FIR] Support inference of callable references with type variable as expected type
      • KT-31972 Error type encountered: org.jetbrains.kotlin.types.ErrorUtils$UninferredParameterTypeConstructor@1f5b38c (ErrorType).
      • KT-48761 Report NO_TAIL_CALLS_FOUND on 'tailrec' modifier, not on the whole function header
      • KT-47647 NI: Function reference to Java static method can't compile if passed directly as KFunction1 parameter
      • KT-46995 Fix setters implicit types only resolved on full body resolve
      • KT-46359 Kotlin 1.5 lambda is not Java-serializable by default
      • KT-49282 FIR: suspend conversion does not work inside suspend lambda
      • KT-48953 FIR: implement diagnostic DELEGATE_USES_EXTENSION_PROPERTY_TYPE_PARAMETER
      • KT-38813 FIR: Report INSTANCE_ACCESS_BEFORE_SUPER_CALL diagnostic on receiver usages in secondary constructors headers
      • KT-49657 FIR: accidental override with get:JvmName
      • KT-49655 FIR: smart cast is not performed after update of var to not-null value in branch
      Docs & Examples
      • KT-51086 [Docs] [Build Tools] Allow to configure additional jvm arguments for 'KaptWithoutKotlincTask`
      • KT-50563 [Docs] [Build Tools] Deprecate kotlin.experimental.coroutines Gradle DSL option and kotlin.coroutines property
      • KT-50580 [Docs] [Kotlin/Native] Support instantiation of annotation classes on Native
      • KT-50874 [Docs] [Language] Add ability to specify generic type parameters as not-null
      • KT-50564 [Docs] [K/JS] Ensure that @​AfterTest is invoked after the @​Test function completes for asynchronous tests
      IDE
      New Features
      • KTIJ-20169 Link to What's new in a notification about new Kotlin version
      Performance Improvements
      • KTIJ-20568 Optimize SubpackagesIndexService#hasSubpackages
      Fixes
      • KTIJ-13020 New compiler settings are applied only after the project is reloaded
      • KTIJ-21154 StackOverflowError on Companion.extractPotentiallyFixableTypesForExpectedType that causes "Syntax highlighting has been temporarily turned off"
      • KTIJ-20129 Load "@​NotNull T" types from libraries as definitely non-nullable if any module in project loads such types as definitely non-nullable
      • KTIJ-9793 UAST: KotlinAbstractUElement.equals fails for psi-less elements
      • KTIJ-16203 UAST: Annotating assignment expression sometimes leads to UnknownKotlinExpression
      • KTIJ-18720 UAST: @​Deprecated(level=DeprecationLevel.HIDDEN) makes method visibility be dropped
      • KTIJ-18039 @​Deprecated(level=HIDDEN) elements return false for isDeprecated()
      • KTIJ-18716 KotlinUMethodWithFakeLightDelegate.hasAnnotation() doesn't find annotations
      • KTIJ-20220 Kotlin plugin crashes very often
      • KTIJ-20308 Syntax highlighting is temporary suspended for file ... due to internal error
      • KTIJ-6085 Exception Incorrect CachedValue... with KtUltraLightMethodForSourceDeclaration
      • KTIJ-18977 Do not show warning Outdated bundled kotlin compiler if there are no compatible plugin with newer compiler
      • KTIJ-20253 Consider supporting special highlighting for definitely non-null types
      • KT-42194 OOME: Java heap space from incremental compilation
      • KTIJ-13019 "Add '-Xopt-in=kotlin.io.path.ExperimentalPathApi' to module untitled1 compiler arguments" only works until the project is reloaded
      IDE. Completion
      • KTIJ-20095 Optimize FilterOutKotlinSourceFilesScope#contains
      • KTIJ-16250 Completion of override with return type annotated with TYPE_USE-targeted annotation suggests two duplicate entries
      IDE. Debugger
      • KTIJ-20716 JVM Debugger in common code can't get JVM-specific view on common code and fails
      • KTIJ-18562 JVM debugger: coroutineContext.job causes "Failed to generate expression: KtNameReferenceExpression"
      • KTIJ-20019 MPP Debugger: NSFE “Field not found” on accessing property with explicit getter from common code in Evaluate expression/Watcher
      • KTIJ-19990 MPP Debugger: Evaluate expression for some stdlib in common source set fails with Method threw 'java.lang.ClassNotFoundException' exception.
      • KTIJ-20929 MPP Debugger: in a project with single JVM target evaluation of expect function fails with 'NoSuchMethodError' exception in common context
      • KTIJ-20956 Debugger: coroutine debugger fails to load sometimes
      • KTIJ-20775 MPP Debugger: Evaluate expression for actual typealiases in jvm source set fails with Method threw 'java.lang.ClassNotFoundException' exception.
      • KTIJ-20712 MPP Debugger: evaluator fails when evaluating expect function
      • KTIJ-19344 K/N debugger shows all types as ObjHeader in variable view.
      IDE. Gradle Integration
      • KTIJ-20097 HMPP+Android Project that depends on pure Android Lib fails to import in IDEA
      • KTIJ-20756 MPP targeting Android and JVM reports 'The feature "multi platform projects" is experimental and should be enabled explicitly'
      • KTIJ-20745 Gradle: NSEE “Key main is missing in the map.” on project import in AS 212 + Kotlin 1.6.20
      • KT-47570 MPP, IDE: kotlin-test-common leaks into dependencies of platform-specific source sets
      • KTIJ-19541 IDE: Kotlin Facets aren't created for Gradle projects added via includeBuild
      • KT-48882 MPP IDE import: Failing cinterop Gradle tasks shall not fail import
      • KTIJ-18135 MPP, IDE: False positive "No value passed for parameter" in CommonTest when expect declaration has default value and actual does not
      IDE. Inspections and Intentions
      New Features
      • KTIJ-12437 Add inspection to detect redundant (obsolete, unused) @​OptIn annotations
      • KTIJ-15780 Add quickfix for migration of Experimental -> RequiresOptIn
      • KTIJ-18865 Provide quick fixes for OptIn markers on forbidden targets
      • KTIJ-18439 Make suggestions for applying opt-in quickfixes more distinct
      • KTIJ-19985 Provide quickfix for SAFE_CALL_WILL_CHANGE_NULLABILITY diagnostic
      Fixes
      • KTIJ-20550 False positives in "Unnecessary '@​OptIn' annotation" inspection
      • KTIJ-20993 Quick-fix for NULLABILITY_MISMATCH_BASED_ON_JAVA_ANNOTATIONS leads to unreachable code
      • KTIJ-20557 Quick fix to add Any as an upper bound for type parameter to make it non-nullable
      • KTIJ-20827 Process type mismatch compiler warnings to provide a corresponding quick fix
      • KTIJ-12578 "Make abstract" quick fix for missing abstract members implementations could warn of potentially broken inheritance
      • KTIJ-20425 Quick fix to replace @NotNull parameter type T with a definitely non-nullable type T & Any
      • KTIJ-19997 Inspection "Possibly blocking call in non-blocking context could lead to thread starvation" suggests "Wrap call in 'withContext'" resulting in red code
      • KTIJ-18291 Quickfix "Add @​OptIn() annotation" adds the annotation to primary constructor when invoked on primary constructor parameter
      • KTIJ-19512 Implement IDE support for new rules of deprecation inheritance
      • KTIJ-20156 Exception when applying 'Convert to with'
      • KTIJ-20290 Forbid "move to constructor" intention if class contains secondary constructor
      • KTIJ-20288 Forbid "move to constructor" intention for actual classes with actual constructor
      • KT-49736 Introduce import alias fails when qualifier is unresolved
      • KTIJ-18743 "Redundant nullable return type" applied on actual method doesn't change the signature of expect
      • KTIJ-12343 Inspection "Sealed sub-class has no state and no overridden equals" is applied incorrectly to expect/actual declarations of sealed classes with nested subclasses
      • KTIJ-19406 The "Add @​OptIn(...)" quick fix does not shorten the annotation when adding an argument to the existing annotation
      • KTIJ-12351 generate equals & hashCode() by identity intention generates incompilable code for multiplatform project modules
      • KTIJ-13227 Forbid "move property to constructor" for actual classes with actual constructor having at least one parameter already
      • KTIJ-11328 No quick fixes are suggested for annotation from experimental API used with file target
      • KTIJ-14427 Meta-annotation value isn't updated for all the corresponding parts of a multiplatform annotation
      • KTIJ-19735 NSME org.jetbrains.kotlin.idea.quickfix.KotlinSingleIntentionActionFactory org.jetbrains.kotlin.idea.quickfix.RemoveModifierFix on IJ212 + Kotlin master
      IDE. Navigation
      IDE. Refactorings. Extract Function
      • KTIJ-10026 Refactor / Extract function: Adds unnecessary nullability annotations for parameters coming from NotNull or Nullable Java methods
      • KTIJ-15823 Refactor / Extract Function: resulted declaration gets no @​OptIn from original function when necessary
      IDE. Refactorings. Move
      • KTIJ-5661 [Tests] MoveRefactoring: Fix ignored incorrect tests of crossmodule declaration moving
      IDE. Wizards
      • KTIJ-19232 New project wizard: delete MPP Mobile-Library and Application templates
      • KTIJ-20878 Unable to create project with Kotlin Project Wizard when JDK 17 is used.
      • KTIJ-20244 Compose MPP project from wizard requires minCompileSdk=31
      • KTIJ-20781 Update kotlin-wrappers version in wizard
      JS. Tools
      • KT-47387 KJS: Support Apple Silicon for node distrib download
      JavaScript
      New Features
      • KT-44494 KJS / IR: Allow enum classes to be exported
      • KT-43224 KJS: Allow using inline classes in external types
      • KT-35100 Make Char inline class in K/JS
      • KT-42936 KJS IR: Support js-code test directives similar to legacy
      • KT-47525 KJS / IR: Support protected members in d.ts generation
      • KT-50110 KJS / IR: Enable properties lazy initialization by default
      Performance Improvements
      • KT-46443 KJS / IR: Improve CharArray and Char performance
      • KT-45665 KJS / IR: equals on inline value classes is boxed
      • KT-43644 KJS / IR: Avoid creating lambda classes
      Fixes
      • KT-51685 KJS / IR: TypeError: collection.iterator_jk1svi_k$ regression in Kotlin 1.6.20-RC2
      • KT-51523 KJS IR: "Uncaught TypeError: a._get_length__2347802853_w7ahp7_k$ is not a function"
      • KT-51700 KJS / IR: Compiler uses wrong function with List
      • KT-51222 KJS / IR: "RangeError: Maximum call stack size exceeded": Default function overloads marked with @​JsExport are broken
      • KT-45054 KJS: Export secondary constructors as class static methods
      • KT-37916 KJS: .d.ts generation not working for enum classes
      • KT-48199 KJS / IR: Improve error message for linkage problems
      • KT-51030 KJS / IR: internal class that implements public interface is missing getters
      • KT-45434 KJS: "WRONG_EXPORTED_DECLARATION" when using JsExport on interfaces
      • KT-50934 KJS / IR: Re-export all JS-exports from the main module for the multi-module mode
      • KT-45620 KJS / IR: Remainder of division of Int.MIN_VALUE by -1 is negative zero (-0)
      • KT-44981 KJS / IR crashes on kotlin.js.js calls with complex constexpr
      • KT-41964 KJS IR: Reference to local variable and parameter from js fun could be broken unexpectedly
      • KT-50682 Kotlin/JS: IR + IC: TypeError "Cannot read properties of undefined" when properties from different sources refer one another in initializers
      • KT-50175 Kotlin/JS, IR: with incremental compilation top level properties initialization is not lazy
      • KT-40236 KJS: IR. Invalid override for external field with @​JsName
      • KT-46525 KJS / IR: Generate context-dependent names for lambdas and object expressions
      • KT-49779 KJS / IR: Exported abstract class implementing interface not export interfaces member in d.ts
      • KT-49773 KJS / IR: Exported enum implementing interface
      • KT-41912 KJS / IR: generates invalid defineProperty methods for class hierarchies
      • KT-46225 KJS IR: tailrec function with capturing lambda in default parameter value leads to UninitializedPropertyAccessException at compile time
      • KT-50528 Kotlin/JS: IR + IC: TypeError: "combined.get_icpjjy_k$ is not a function" for code calling GlobalScope.launch {}
      • [KT-50512](htt

      Configuration

      📅 Schedule: At any time (no schedule defined).

      🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

      Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

      🔕 Ignore: Close this PR and you won't be reminded about this update again.


      • [ ] If you want to rebase/retry this PR, click this checkbox.

      This PR has been generated by WhiteSource Renovate. View repository job log here.

      dependencies renovate 
      opened by renovate[bot] 0
    • Update kotlin monorepo to v1.7.21

      Update kotlin monorepo to v1.7.21

      Mend Renovate

      This PR contains the following updates:

      | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | org.jetbrains.kotlin.plugin.serialization (source) | 1.4.30 -> 1.7.21 | age | adoption | passing | confidence | | org.jetbrains.kotlin.multiplatform (source) | 1.4.30 -> 1.7.21 | age | adoption | passing | confidence | | org.jetbrains.kotlin:kotlin-bom (source) | 1.4.30 -> 1.7.21 | age | adoption | passing | confidence |


      Release Notes

      JetBrains/kotlin

      v1.7.21

      Compiler
      • KT-54463 Delegating to a field with a platform type causes java.lang.NoSuchFieldError: value$delegate
      • KT-54509 Ir Interpreter: unable to evaluate string concatenation with "this" as argument
      • KT-54004 Builder type inference does not work correctly with variable assignment and breaks run-time
      • KT-54393 Change in behavior from 1.7.10 to 1.7.20 for java field override.
      • KT-54615 JVM: Internal error in file lowering: java.lang.AssertionError: Error occurred while optimizing an expression
      • KT-54581 JVM: "VerifyError: Bad type on operand stack" with generic inline function and when inside try-catch block
      • KT-53146 JVM IR: unnecessary checkcast of null leads to NoClassDefFoundError if the type isn't available at runtime
      • KT-54600 NPE on passing nullable Kotlin lambda as Java's generic SAM interface with super type bound
      • KT-54707 "VerifyError: Bad type on operand stack" in inline call chain on a nullable array value
      • KT-54650 Binary incompatible ABI change in Kotlin 1.7.20
      • KT-54802 "VerifyError: Bad type on operand stack" for inline functions on arrays
      Native. Runtime. Memory
      • KT-54498 Deprecation message of 'FreezingIsDeprecated' is not really helpful
      Tools. Gradle. Multiplatform
      • KT-54387 Remove MPP alpha stability warning
      • KT-48436 False positive "The Kotlin source set androidAndroidTestRelease was configured but not added to any Kotlin compilation"
      Tools. JPS
      • KT-45474 False positive NO_ELSE_IN_WHEN on sealed class with incremental compilation

      v1.7.20

      Analysis API
      • KT-52667 FIR IDE: fun interfaces (SAM interfaces) are not properly resolved
      • KT-52136 FIR: Implicit type declaration from the other module cannot be used for overloading
      Analysis API. FE1.0
      • KT-51962 Analysis API: Finish Analysis API for FE1.0
      Analysis API. FIR
      • KT-52779 FIR IDE: Import Optimizer cannot handle generic type qualifiers
      • KT-50236 Fix OOB modification trackers for non-Kotlin code
      • KT-51240 Analysis API: KtAnalysisSession for a specific module cannot create a symbol for PSI that cannot be seen from that module.
      • KT-50868 Analysis API: decompiled type aliases are not resolved
      Compiler
      • KT-53739 Builder inference, extension hides members
      • KT-53733 Kotlin/Native: update source documentation for the new default memory manager
      • KT-53667 Compiler crashes on attempt to alloc a string on the stack in new MM
      • KT-53480 Internal error in file lowering: java.lang.ClassNotFoundException: com.android.systemui.R$string
      • KT-52843 Compose: NPE at Parameters.getParameterByDeclarationSlot if inline function with default arguments takes a lambda which captures value class represented by Long
      • KT-53475 Kotlin/Native for iOS: "IllegalArgumentException: Sequence has more than one element"
      New Features
      • KT-52495 Support until operator in back-ends
      • KT-52420 Implement resolve of until operator
      • KT-52419 Implement until operator in the parser
      • KT-33755 Kotlin/Native: Provide a way to customize a bundle Identifier of a generated framework
      • KT-51665 FIR: implement label resolve for "typed this" case
      • KT-52361 Report warning on potentially empty intersection types
      Performance Improvements
      • KT-47816 Disable script discovery for non-script environments
      • KT-48635 JVM IR: Double/Float values are boxed when comparing for equality in equals method of data/value classes
      • KT-23397 Optimize out field for property delegate when it's safe (JVM)
      Fixes
      • KT-53272 Backend Internal error: Exception during IR lowering / No such value argument slot: 2
      • KT-53124 Receiver type mismatch when combining extension properties, type projections, Java sources, and F-bounded type-variables
      • KT-51868 JVM / IR: Inconsistent behaviour between lambda expression and SAM interface conversion for the same interface
      • KT-36770 Prohibit unsafe calls with expected @NotNull T and given Kotlin generic parameter with nullable bound
      • KT-52974 "IllegalStateException: Symbol with IrSimpleFunctionSymbolImpl is unbound" compiling native targets of MPP project
      • KT-53007 JVM: "Bad invokespecial instruction: current class isn't assignable to reference class" when call superclass of outer class method from inner class
      • KT-53019 K2: cannot cast callable reference to Function1 in runtime
      • KT-53031 K2 compiler crashes with IllegalStateException: No type in ProtoBuf.ValueParameter
      • KT-29168 Prohibit upper bounds violation with generic typealias using not all type parameters as arguments for underlying type in supertypes
      • KT-52432 Using the IDE compiled with K2 (useFir) throws VerifyError exception
      • KT-52327 False negative: TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM isn't reported
      • KT-49682 Support JVM IR in KAPT stub generation
      • KT-24643 Prohibit using a type parameter declared for an extension property inside delegate
      • KT-51972 FIR, Gradle: "Symbol is invisible" compilation error with enabled Kotlin Lombok compiler plugin
      • KT-52011 [FIR] All-open compiler plugin isn't supported
      • KT-51950 JVM IR: "IndexOutOfBoundsException: Cannot pop operand off an empty stack" with crossinline lambdas and interface delegation
      • KT-52540 Native: kotlin.NotImplementedError with Arrow library
      • KT-48031 "IllegalStateException: Type variable TypeVariable(T) should not be fixed!"
      • KT-47708 RequiresOptIn check does not flag experimental method usage in SAM lambda expressions
      • KT-52913 JVM / IR: "IllegalArgumentException: Inline class types should have the same representation" when trying to down cast cast a value class
      • KT-50771 IR partial linkage: Removed abstract callable members are not supported
      • KT-52994 Enable generic inline classes as experimental feature
      • KT-52742 CYCLE_IN_ANNOTATION_PARAMETER_ERROR false positive on annotations with default values
      • KT-52743 Non-null generic functions throws NPE when assigned to val
      • KT-52745 Frontend / K2: "IncompatibleClassChangeError: class A$B overrides final method A.length()I" caused by delegation in a sealed class
      • KT-52832 Tree-generator's method FirExpression::isFirType returns true and false for different field names; it should always be true
      • KT-52403 IncompatibleClassChangeError when inlining suspend funs
      • KT-50107 Missed USAGE_IS_NOT_INLINABLE diagnostic: Leaking inline lambda parameter through extension receiver
      • KT-47965 Missed USAGE_IS_NOT_INLINABLE diagnostic on inline lambda parameter usage as receiver of .let call
      • KT-25787 No error on crossinline usage of receiver parameter of functional type in an inline function
      • KT-52762 Frontend / K2: Named arguments for Java classes lead to "Cannot find a parameter with this name"
      • KT-52680 K2: overload resolution ambiguity if this is casted in a different method
      • KT-52676 K2: Unsupported compile-time value IrGetFieldImpl instead of IrConst in AnnotationCodegen for constant from Java
      • KT-50293 False positive: USELESS_CAST on stub types
      • KT-52175 WRONG_ANNOTATION_TARGET for annotation that used inside if
      • KT-52338 "IncompatibleClassChangeError: Expected non-static field" with Kotlin class with same-named companion object property as base Java class field
      • KT-49507 JVM: "IllegalAccessError: class X tried to access private field" with same-named Kotlin property and Java base class field
      • KT-44512 FIR DFA: incorrect smartcast after null assignment inside a lambda
      • KT-49200 FIR/FE 1.0: different behavior with multiple matching star imports
      • KT-52718 declaringClass deprecation message mentions the wrong replacement in 1.7
      • KT-52190 FIR2IR: Unexpected IrErrorTypeImpl type for put method inside buildMap
      • KT-52197 Incorrect inference of var type inside lambda that passed to extension function with type parameters that defined inside this lambda
      • KT-52057 Unsupported compile-time value STRING_CONCATENATION and GET_FIELD in annotation arguments
      • KT-47823 JVM IR: "IllegalArgumentException: Inline class types should have the same representation" with break usage in the loop range
      • KT-51883 Kotlin 1.6.20 generates "-" in type names around lambdas and inline extension function with reified type which breaks Apache Beam
      • KT-52684 Syntax error regression on complicated combination of LT and GTEQ
      • KT-52417 Reflection: Can't reflect on type parameters captured by SAM converted lambda
      • KT-46797 JVM IR: suspendImpl has no generic signature, breaking reified types in anonymous object supertypes when using the type token pattern
      • KT-51464 FIR: Unable to infer type in coroutines flow code
      • KT-52163 JVM IR: Double.compareTo(Int) compiled to integer comparison
      • KT-41980 FIR: erroneous scope during annotation resolve
      • KT-47159 KtPsiUtils.areParenthesesUseless() is returning a false positive on expressions for interface delegation
      • KT-51418 Substitute anonymous type's supertypes
      • KT-35544 kotlin.TypeCastException has no message on Native
      • KT-52386 StackOverflowError during Kotlin/Native gradle build
      • KT-52592 NPE from KProperty.getExtensionDelegate on property delegated to another property
      • KT-52551 Delegating to object property reference does not invoke object's initializer
      • KT-51704 Contracts: "AssertionError: Arguments and parameters size mismatch" with companion object
      • KT-25527 False positive UNUSED_VALUE for delegated property/variable
      • KT-51002 [FIR] Hidden declaration hides visible one
      • KT-51008 [FIR] Star import does not work for nested calssifiers of java class
      • KT-52407 FIR: Star import has lower priority than built-in import
      • KT-52431 Reported error instead of warning due to empty intersection type found
      • KT-49394 Bad message and suggestion: The feature "unit conversion" is disabled
      • KT-51168 FIR: Inference error with Java interop and captured types
      • KT-49961 "AssertionError: Left expression was not processed: BINARY_EXPRESSION" when analyzing dangling [bracketed] expression inside elvis
      • KT-50108 Difference in fun interface conversion behavior for uninitialized not-null function values
      • KT-51889 Calls to super-classes constructors with context receivers fail on runtime
      • KT-51228 [FIR] Unresolved reference on callable reference on implicit this with smartcast
      • KT-52364 False positive for INFERRED_TYPE_VARIABLE_INTO_EMPTY_INTERSECTION
      • KT-52237 JVM / IR: "IllegalArgumentException: No argument for parameter VALUE_PARAMETER CONTINUATION_CLASS" when implementing Map interface on class with suspending functions
      • KT-50832 Method references to suspend inline functions are processed incorrectly
      • KT-52194 False positive "Class 'my.packge.MyClass' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler" but builds fine
      • KT-47203 JVM Debugger: Parameter value doesn't change for tailrec function
      • KT-52131 False positive variable unused warning when calling inline function in finally block
      • KT-51738 Debugger: stepping over in inline function with multiple inline lambda invocations is incorrect
      • KT-52198 Losing reference to the value of an outer variable (Ref$ObjectRef) when using suspend inline with suspendCancellableCoroutine
      • KT-50994 FIR: AssertionError during inference of delegated properties with implicit types
      • KT-51757 FIR does not see various JS/Native specific declarations in common modules
      • KT-51201 FIR: ARGUMENT_TYPE_MISMATCH diagnostic contains generic parameter instead of the actual type
      • KT-48444 FIR: type argument rejected for annotation
      • KT-51754 JVM: Local variable table invalid for do-while with continue
      • KT-51936 Breakpoint not hit on last line of suspend function on Android
      • KT-27333 Forbid @Synchronized annotation on suspend functions
      • KT-51530 "StackOverflowError: CoroutineTransformerMethodVisitor.spillVariables" with data class in Flow
      • KT-51460 FIR: Protected property inaccessible from inner class
      • KT-53947 IllegalStateException: No mapping for symbol: VALUE_PARAMETER INSTANCE_RECEIVER
      • KT-51234 Context receivers can be duplicated in function declaration
      • KT-51576 Context receivers: "AssertionError: Callers must check that current token is IDENTIFIER followed with '@​'" with at character
      • KT-49479 JVM / IR: "IllegalStateException: IrErrorType" during IR lowering with non-trivial recursion calls
      • KT-52270 NullPointerException caused by braces on if-else returning a method reference inside lambda
      • KT-47621 False negative INVISIBLE_MEMBER on call to inaccessible protected synthetic property setter
      • KT-37796 NI: "ISE: Error type encountered" when inferring type of a property that delegates to itself
      • KT-45430 PSI2IR: "org.jetbrains.kotlin.psi2ir.generators.ErrorExpressionException: null: KtCallExpression: toString()" with recursive function call in "also" block in nontrivial context
      • KT-52691 K2: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImpl with intertwined functional interfaces
      • KT-52822 Fix contract for KtElement.getReference()
      • KT-50223 IndexOutOfBoundsException from ClassicTypeSystemContext$DefaultImpls.getParameter during call resolution
      • KT-51963 Change Maven version to 1.7.255
      • KT-47664 Incorrect type checking in the case of generic types
      • KT-48765 NI: Inferred type does not respect the bound of type variable
      • KT-51243 False positive error "No required context receiver" inside contextual lambda
      • KT-43541 TYPE_MISMATCH for member function which is not occur for top level function during unsafe cast
      • KT-51016 [FIR] False positive OVERLOAD_RESOLUTION_AMBIGUITY between two extensions on different supertypes
      • KT-50155 FIR: support contextual receivers
      • KT-38637 Catch NoSuchFieldException in optimized when expression over enum
      Docs & Examples
      • KT-49896 Kotlin/JS: improve -Xir-property-lazy-initialization description due to making it true by default
      IDE
      • KTIJ-22286 Kotlin JPS project created via wizard does not contain Kotlin libraries in case of not-released version
      • KTIJ-22065 IDE notification motivating Kotlin users to use EAP
      • KTIJ-22209 Configure Kotlin on 221 idea adds 1.6.10 Kotlin (despite the fact that IDE plugin is 1.7.10)
      • KTIJ-22171 Fix test BuiltInDecompilerConsistencyTest
      • KTIJ-22016 Empty .kt file and build.gradle.kts can trigger an error while searching for a facade light class
      • KT-52571 MPP Tasks on import are not up-to-date after subsequent launches
      • KT-47777 ISE thrown from KtLightClassForFacadeImpl.Companion.createForFacadeNoCache has wrong message.
      IDE. FIR
      • KT-52360 FIR IDE: Make the fix of isInheritor method better
      • KT-51786 FIR IDE: IllegalStateException exception in Inspections' infrastructure
      • KT-52331 Analysis API: ArrayIndexOutOfBoundsException exception in Diagnostics' infrastructure
      IDE. Code Style, Formatting
      • KTIJ-21346 Incorrect formatting for functions with context receivers and visibility modifiers
      IDE. Completion
      • KTIJ-21910 FIR IDE: Fix completion tests started failing after visibility checker refinement
      IDE. Decompiler, Indexing, Stubs
      • KTIJ-21243 ContextReceivers: "UpToDateStubIndexMismatch: PSI and index do not match" plugin exception on library with context receivers usage attempt
      IDE. Gradle Integration
      • KT-47627 IDE import fails with com.intellij.util.lang.PathClassLoader error for runCommonizer Gradle task on 212, 213 IDEAs
      • KTIJ-21638 MPP: IntelliJ can not resolve MPP references in common-code
      • KT-52216 HMPP / KTOR: False positive "TYPE_MISMATCH" with Throwable descendant
      IDE. Inspections and Intentions
      • KTIJ-22540 Invalid "remove unnecessary parentheses" when delegating a functional interface to a SAM in brackets
      IDE. J2K
      • KTIJ-21665 J2K generates non compiling code when lifting return and one branch is broken before binary operator
      IDE. JS
      • KTIJ-22337 Wizard: Kotlin/Js for browser: cssSupport DSL should be updated
      IDE. K2
      • KTIJ-21672 FIR IDE: Method reference on generic class breaks resolve
      • KTIJ-21714 FIR IDE: Inherently imported type from another module is not properly resolved
      IDE. Script
      • KT-52525 Update scripts handling in source roots
      IDE. Misc
      • KTIJ-21699 Refactoring: move out parts of the plugin useful for both FE10 and K2
      JavaScript
      New Features
      • KT-39423 KJS: Optionally generate a method to handle optional parameters for function in typescript
      • KT-42282 KJS IR: add an ability to run separate tests
      Performance Improvements
      • KT-50270 KJS IR: Unnecessary getter and setter calls when accessing class members
      Fixes
      • KT-51133 Kotlin/JS - IR: even simple lambdas generate a lot of useless boilerplate
      • KT-51123 Provide a way to add comments to generated JS
      • KT-48493 KJS / IR: Invalid d.ts for inner classes inside objects
      • KT-52553 KJS / IR: diamond hierarchy with super.toString produces stack overflow in runtime
      • KT-23252 JS: Unit materialization on declaration and assignment
      • KT-51128 Kotlin/JS - IR generate huge count of useless blocks
      • KT-50778 KJS/IR: Inline class has no field when building production distribution
      • KT-50157 KSJ IR: Applying identity equality operator to Chars always returns false
      • KT-38262 Javascript generation (and Typescript) fails on 'then', 'catch' and 'finally' (and others?) claiming they are reserved names
      • KT-51066 KJS / IR: suspend lambda parameter of value class is undefined
      • KT-51102 KJS/IR: Assertion failed at translateCallArguments(jsAstUtils.kt:343)
      • KT-51878 KJS / Legacy: Unit is not materialized in an overridden method, but it should be
      Language Design
      • KT-47986 Implicit inferring a type variable into an upper bound in the builder inference context
      • KT-49264 Deprecate infix function calls of functions named "suspend" with dangling function literal
      • KT-25636 Native: Object is frozen by default problem
      • KT-49303 Implement support for basic compile-time evaluation
      Libraries
      • KT-52932 Open-ended ranges in the standard library
      • KT-52910 Provide visit extension functions for java.nio.file.Path
      • KT-48232 Multiplatform function for computing cubic root
      • KT-52778 The documentation for the Duration does not indicate any differences from the ISO-8601
      • KT-52618 ThreadLocalRandom is not a good source of randomness on Android before SDK 34, so don't use it for Kotlin Random
      Native
      • KT-53346 MPP project with kotlinx-serialization-json:1.4.0-RC is not built
      Native. C Export
      • KT-45468 Kotlin/Native: Bitcode verification error when trying to export a cached klib to a static or dynamic library
      Native. C and ObjC Import
      • KT-53373 Native: @​ExportObjCClass doesn't work with the new memory manager
      • KT-49034 Kotlin/Native: cnames.structs.Foo resolves into wrong declaration
      • KT-26478 Objective-C object's class name is null in ClassCastException's message
      Native. ObjC Export
      • KT-51593 Include more information in Objective-C header documentation
      • KT-33117 Improve customizing Info.plist in produced frameworks
      • KT-52681 Native: @end; for Objective-C is generated with an unnecessary semicolon
      Native. Platforms
      • KT-52226 Kotlin/Native: Add support for cross-compilation of MIPS targets from macOS and Windows hosts
      Native. Runtime
      • KT-52430 KMM 1.6.21 framework built with Xcode13, new MM GC Can't support iOS 9.x
      • KT-53534 Kotlin/Native: -Xruntime-logs=gc=info flag doesn't work with compiler caches in 1.7.20-beta
      Native. Runtime. Memory
      • KT-52692 Kotlin/Native: fix tests with aggressive GC
      • KT-52130 Kotlin/Native: use Xallocator for Kotlin objects only
      • KT-51436 Kotlin/Native: optimize mark queue
      Reflection
      • KT-51804 An error occurs when callBy a KFunction that contains a value class as an argument, has a default argument set, and has more than 32 arguments.
      Tools. CLI
      • KT-52465 CLI: IllegalStateException IrSimpleFunctionPublicSymbolImpl when source root is duplicated
      • KT-52380 Invalid path to compiler plugins should be reported as a compiler error
      • KT-51025 JVM CLI compiler takes class file from classpath instead of input java source file
      • KT-51846 Setting random value to the compiler argument where number is expected should produce an error. "-Xbackend-threads=abcd"
      Tools. Compiler Plugins
      • KT-52486 [K2] Looking for function/constructor whose parameters are annotated or meta annotated
      • KT-52872 Mark supportsK2 in ComponentRegistrar.kt as JvmDefault to avoid compatibility problems
      • KT-52804 A function obtained by Fir IrBuiltins has an incorrect package
      • KT-52468 Rename module and jar for lombok compiler plugin
      Tools. Gradle
      • KT-53670 Gradle: Cyclic dependency between kotlin-gradle-plugin-idea-1.7.20-Beta and kotlin-gradle-plugin-idea-proto-1.7.20-Beta
      • KT-53615 Gradle: Fix deprecation warnings in CleanableStoreImpl
      • KT-53118 Fully up-to-date builds are slower with Kotlin 1.7.0
      • KT-51923 Improve usability of errors and warnings by being able to click on them
      • KT-53244 Report from gradle about compiler plugins
      • KT-52839 Warn in Gradle log why incremental compilation failed
      • KT-46019 Compatibility with Gradle 7.1 release
      • KT-47047 Migrate Kotlin Gradle Plugin from using Gradle conventions
      • KT-52698 Don't add InspectClassesForMultiModuleIC task when new incremental compilation is enabled
      • KT-52867 Provide simplified JVM toolchain configuration method
      • KT-45747 Add basic JUnit 5 Kotlin Gradle Plugin Android tests setup
      • KT-46034 Shadow Kotlin Gradle plugin dependencies
      • KT-28664 Support ExtensionContainer on kotlin targets and source sets.
      • KT-19472 Useful extensions of Gradle Kotlin DSL provided by Gradle Kotlin plugin
      • KT-34393 Kotlin Gradle DSL: Inconsistent srcDir configuration between Java and Kotlin
      • KT-51629 There isn't enough info about incremental compilation state in logs while running build with --info key
      Tools. Gradle. Cocoapods
      • KT-53174 CocoaPods: Synthetic Podfile does not specify platform
      • KT-53127 "MaterialComponents normal armv7" in Cocoapods plugin between Kotlin 1.6.21 and 1.7.0
      • KT-44155 Cocoapods doesn't support pods without module map file inside
      • KT-49032 Cocoapods cinterop: some header files are not found
      • KT-53337 Add warning about future changing default linking type of framework provided via cocoapods plugin
      Tools. Gradle. JS
      • KT-52637 KJS / Gradle: Add SCSS webpack config
      • KT-51527 Kotlin/JS: BrowserXRun causes full-screen Webpack error "Compiled with problems: asset size limit/entrypoint size limit" for fresh Kotlin-React project from wizard
      • KT-51532 Kotlin/JS: passing environment variable via Gradle script causes "Execution optimizations have been disabled" warnings
      • KT-52221 Kotlin/JS: failed Node tests are not reported in a standard way
      Tools. Gradle. Multiplatform
      • KT-52243 CInteropProcess is not cacheable despite the annotation
      • KT-52741 MPP: klib outputs are not reproducible
      • KT-52208 MPP: Gradle plugin 1.7 doesn't support latest api versions (1.8, 1.9)
      • KT-54071 MPP/AGP compatibility: Bump maxSupportedVersion to 7.3.0
      Tools. Gradle. Native
      • KT-52632 Gradle / Native: commonizeNativeDistributionTask can never be up-to-date
      • KT-52328 "ld: framework not found SQLCipher" linkDebugTestIosSimulatorArm64 error
      Tools. Incremental Compile
      • KT-53168 Incremental compilation doesn't perform correctly after a few iterations
      • KT-52925 [IR BE] Non incremental build occurs after build failure for compileKotlinJs task
      • KT-52946 CompileKotlinJs task is executed non-incrementally if there were changes made to the dependant module
      • KT-52329 Reduce memory usage of classpath snapshot cache
      • KT-53266 Increment Compilation: "IllegalStateException: The following LookupSymbols are not yet converted to ProgramSymbols" when changing companion object constant field
      • KT-53231 New IC reports build failures for missing classpath snapshots
      Tools. JPS
      • KT-47824 'when expression must be exhaustive' isn't thrown during incremental compilation
      • KT-51873 JPS build is incorrect after gdw build
      • KTIJ-17072 JPS does not rebuild Kotlin usages of declared in Java when enum entry is added
      • KT-51537 Rebuild module on plugin classpaths change
      Tools. REPL
      • KT-45065 REPL: Incorrect output for unsigned value
      • KT-53043 Scripting: Changes in REPL protocol: mark end of errors
      Tools. Scripts
      • KT-52598 Scripts and REPL snippets are not checked against using 'kotlin' package
      • KT-47187 Kotlin ScriptEngine Failes to Compile a Trivial Statement After Failing to Compile a Broken One
      • KT-47191 [Kotlin Script Engine] Compiling Without Evaluating Leaves Engine in a Bad State
      Tools. Kapt
      • KT-52761 Kotlin 1.7.0 breaks kapt processing for protobuf generated java sources

      v1.7.10

      Compiler
      • KT-52702 Invalid locals information when compiling kotlinx.collections.immutable with Kotlin 1.7.0-RC2
      • KT-52892 Disappeared specific builder inference resolution ambiguity errors
      • KT-52782 Appeared receiver type mismatch error due to ProperTypeInferenceConstraintsProcessing compiler feature
      • KT-52718 declaringClass deprecation message mentions the wrong replacement in 1.7
      IDE
      Fixes
      • KTIJ-19088 KotlinUFunctionCallExpression.resolve() returns null for calls to @​JvmSynthetic functions
      • KTIJ-19624 NoDescriptorForDeclarationException on iosTest.kt.vm
      • KTIJ-21515 Load JVM target 1.6 as 1.8 in Maven projects
      • KTIJ-21735 Exception when opening a project
      • KTIJ-17414 UAST: Synthetic enum methods have null return values
      • KTIJ-17444 UAST: Synthetic enum methods are missing nullness annotations
      • KTIJ-19043 UElement#comments is empty for a Kotlin property with a getter
      • KTIJ-10031 IDE fails to suggest a project declaration import if the name clashes with internal declaration with implicit import from stdlib (ex. @​Serializable)
      • KTIJ-21151 Exception about wrong read access from "Java overriding methods searcher" with Kotlin overrides
      • KTIJ-20736 NoClassDefFoundError: Could not initialize class org.jetbrains.kotlin.idea.roots.KotlinNonJvmOrderEnumerationHandler. Kotlin plugin 1.7 fails to start
      • KTIJ-21063 IDE highlighting: False positive error "Context receivers should be enabled explicitly"
      • KTIJ-20810 NoClassDefFoundError: org/jetbrains/kotlin/idea/util/SafeAnalyzeKt errors in 1.7.0-master-212 kotlin plugin on project open
      • KTIJ-17869 KotlinUFunctionCallExpression.resolve() returns null for instantiations of local classes with default constructors
      • KTIJ-21061 UObjectLiteralExpression.getExpressionType() returns the base class type for Kotlin object literals instead of the anonymous class type
      • KTIJ-20200 UAST: @​Deprecated(level=HIDDEN) constructors are not returning UMethod.isConstructor=true
      IDE. Code Style, Formatting
      • KTIJ-20554 Introduce some code style for definitely non-null types
      IDE. Completion
      • KTIJ-14740 Multiplatform declaration actualised in an intermediate source set is shown twice in a completion popup called in the source set
      IDE. Debugger
      • KTIJ-20815 MPP Debugger: Evaluation of expect function for the project with intermediate source set may fail with java.lang.NoSuchMethodError
      IDE. Decompiler, Indexing, Stubs
      • KTIJ-21472 "java.lang.IllegalStateException: Could not read file" exception on indexing invalid class file
      • KTIJ-20802 Definitely Not-Null types: "UpToDateStubIndexMismatch: PSI and index do not match" plugin error when trying to use library function with T&Any
      IDE. FIR
      • KTIJ-20971 FIR IDE: "Parameter Info" shows parameters of uncallable methods
      • KTIJ-21021 FIR IDE: Completion of extension function does not work on nullable receiver
      • KTIJ-21343 FIR IDE: Navigation from explicit invoke call does not work
      • KTIJ-21013 FIR IDE: Inconsistent smartcasts highlighting
      • KTIJ-21374 FIR IDE: Incorrect highlighting for operators
      • KTIJ-20443 FIR IDE: Work in Dumb mode
      • KTIJ-20852 FIR IDE: Exception when checking isInheritor on two classes in different modules
      • KTIJ-20637 FIR IDE: Strange exception while commenting-uncommenting FirReferenceResolveHelper.kt
      IDE. Gradle Integration
      • KTIJ-21807 Gradle to IDEA import: language and API version settings are not imported for Native facet
      • KTIJ-21692 Kotlin Import Test maintenance: 1.7.0-Beta
      • KTIJ-20567 Kotlin/JS: Gradle import into IDEA creates no proper sub-modules, source sets, facets
      IDE. Hints. Inlay
      • KTIJ-20552 Support definitely non-null types in inlay hints
      IDE. Inspections and Intentions
      New Features
      • KTIJ-18979 Quickfix for INTEGER_OPERATOR_RESOLVE_WILL_CHANGE to add explicit conversion call
      • KTIJ-19950 Provide quickfixes for INVALID_IF_AS_EXPRESSION_WARNING and NO_ELSE_IN_WHEN_WARNING
      • KTIJ-19866 Create quick-fix for effective visibility error on private-in-file interface exposing private class
      • KTIJ-19939 Provide quickfix for deprecated confusing expressions in when branches
      Fixes
      • KTIJ-20705 Register quickfix for NO_CONSTRUCTOR_WARNING diagnostic
      • KTIJ-21226 "Remove else branch" quick fix is not suggested
      • KTIJ-20981 Definitely non-null types: quick-fixes suggested incorrectly for LV=1.6 when Xenhance-type-parameter-types-to-def-not-null flag is set
      • KTIJ-20953 Add quickfix for OVERRIDE_DEPRECATION warning to 1.7 - 1.9 migration
      • KTIJ-20734 Replace with [@​JvmInline] value quick fix should be appliable on a whole project
      • KTIJ-21420 Add 'else' branch quick fix suggestion is displayed twice in case 'if' isn't completed
      • KTIJ-21192 "Make protected" intention is redundant for interface properties
      • KTIJ-18120 "Make public" intention does not add explicit "public" modifier when using ExplicitApi Strict mode
      • KTIJ-20493 "Create expect" quick fix doesn't warn about platform-specific annotations
      IDE. Misc
      IDE. Native
      • KTIJ-21602 With Native Debugging Support plugin Gradle run configurations can't be executed from IDEA: LLDB_NATVIS_RENDERERS_ENABLED
      IDE. Wizards
      • KTIJ-20919 Update ktor-html-builder dependency in kotlin wizards
      • KTIJ-20962 Wizard: Invalid Ktor imports
      Tools. Gradle
      • KT-52777 'org.jetbrains.kotlinx:atomicfu:1.7.0' Gradle 7.0+ plugin variant was published with missing classes
      Tools. Gradle. JS
      • KT-52856 Kotlin/JS: Upgrade NPM dependencies
      Tools. Gradle. Multiplatform
      • KT-52955 SourceSetMetadataStorageForIde: Broken 'cleanupStaleEntries' with enabled configuration caching or isolated ClassLoaders
      • KT-52694 Kotlin 1.7.0 breaks Configuration Caching in Android projects
      Tools. Incremental Compile
      • KT-52669 Full rebuild in IC exception recovery leaves corrupt IC data
      Tools. JPS
      • KTIJ-17280 JPS: don't use java.io.File.createTempFile as it is not working sometimes
      • KTIJ-20954 NPE at at org.jetbrains.kotlin.metadata.jvm.deserialization.JvmProtoBufUtil.readNameResolver on compiling by JPS with LV > 1.7

      v1.7.0

      Analysis API. FIR
      • KT-50864 Analysis API: ISE: "KtCallElement should always resolve to a KtCallInfo" is thrown on call resolution inside plusAssign target
      • KT-50252 Analysis API: Implement FirModuleResolveStates for libraries
      • KT-50862 Analsysis API: do not create use site subsitution override symbols
      Analysis API. FIR Low Level API
      • KT-50729 Type bound is not fully resolved
      • KT-50728 Lazy resolve of extension function from 'kotlin' package breaks over unresolved type
      • KT-50271 Analysis API: get rid of using FirRefWithValidityCheck
      Backend. Native. Debug
      • KT-50558 K/N Debugger. Error is not displayed in variables view for catch block
      Compiler
      New Features
      • KT-26245 Add ability to specify generic type parameters as not-null
      • KT-45165 Remove JVM target version 1.6
      • KT-27435 Allow implementation by delegation to inlined value of inline class
      • KT-47939 Support method references to functional interface constructors
      • KT-50775 Support IR partial linkage in Kotlin/Native (disabled by default)
      • KT-51737 Kotlin/Native: Remove unnecessary safepoints on watchosArm32 and iosArm32 targets
      • KT-44249 NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER with type usage in higher order function
      Performance Improvements
      • KT-48233 Switching to JVM IR backend increases compilation time by more than 15%
      • KT-51699 Kotlin/Native: runtime has no LTO in debug binaries
      • KT-34466 Use optimized switch over enum only when all entries are constant enum entry expressions
      • KT-50861 FIR: Combination of array set convention and plusAssign works exponentially
      • KT-47171 For loop doesn't avoid boxing with value class iterators (JVM)
      • KT-29199 'next' calls for iterators of merged primitive progressive values are not specialized
      • KT-50585 JVM IR: Array constructor loop should use IINC
      • KT-22429 Optimize 'for' loop code generation for reversed arrays
      • KT-50074 Performance regression in String-based 'when' with single equality clause
      • KT-22334 Compiler backend could generate smaller code for loops using range such as integer..array.size -1
      • KT-35272 Unnecessary null check on unsafe cast after not-null assertion operator
      • KT-27427 Optimize nullable check introduced with 'as' cast
      Fixes
      • KT-46762 Finalize support for jspecify
      • KT-51499 @​file:OptIn doesn't cover override methods
      • KT-52037 FIR: add error in 1.7.0 branch if run with non-compatible plugins
      • KT-46756 Release the K2/JVM compiler in Alpha
      • KT-49715 IR: "IllegalStateException: Function has no body: FUN name:toString" during IR lowering with shadowed extension inside interface
      • KT-45508 False negative ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED on a fake override with an abstract super class member
      • KT-28078 Report error "Public property exposes its private type" for primary constructor properties instead of warning
      • KT-49017 Forbid usages of super or super if in fact it accesses an abstract member
      • KT-38078 Prohibit calling methods from Any with "super" qualifier once they are overridden as abstract in superclass
      • KT-52363 Evaluate impact of qualified this behavior change warnings
      • KT-52561 JVM: Coroutine state machine loses value after a check-induced smart cast
      • KT-52311 java.lang.VerifyError: Bad type on operand stack
      • KT-41124 Inconsistency of exceptions at init block for an enum entry with and without a qualifier name
      • KT-46860 Make safe calls always nullable
      • KT-52503 New green code appeared at the callable reference resolution
      • KT-51925 Native: "IllegalStateException: Symbol for kotlinx.cinterop/CStructVar|null[0] is unbound" caused by inline function
      • KT-49317 "IllegalStateException: Parent of this declaration is not a class: FUN LOCAL_FUNCTION_FOR_LAMBDA" with parameter of suspend type with the default parameter
      • KT-51844 New errors in overload resolution involving vararg extension methods
      • KT-52006 "java.lang.Throwable: Unbalanced tree Exception" on indexing kotlin project
      • KT-51223 Report warning about conflicting inherited members from deserialized dependencies
      • KT-51439 FE 1.0: implement type variance conflict deprecation on qualifier type arguments
      • KT-51433 FE 1.0: implement warnings about label resolve changes
      • KT-51317 Regression in resolution of lambdas where expected type has an extension receiver parameter
      • KT-45935 JVM IR: Add not-null assertion for explicit definitely not-null parameters
      • KT-51818 "ClassCastException: class CoroutineSingletons cannot be cast to class" with suspendCoroutineUninterceptedOrReturn and coroutines
      • KT-51718 JVM / IR: "VerifyError: Bad type on operand stack" caused by nullable variable inside suspend function
      • KT-51927 Native: The symbol of unexpected type encountered during IR deserialization error when multiple libraries have non-conflicting declarations with the same name
      • KT-52394 JVM: Missing annotation on method with value class return type when a subclass is present in the same file in Kotlin 1.7.0-Beta
      • KT-51640 FIR: remove warning about "far from being producti

      Configuration

      📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

      🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

      Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

      🔕 Ignore: Close this PR and you won't be reminded about these updates again.


      • [ ] If you want to rebase/retry this PR, check this box

      This PR has been generated by Mend Renovate. View repository job log here.

      dependencies renovate 
      opened by renovate[bot] 0
    • Update dependency io.ktor:ktor-bom to v2

      Update dependency io.ktor:ktor-bom to v2

      Mend Renovate

      This PR contains the following updates:

      | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | io.ktor:ktor-bom | 1.4.0 -> 2.1.3 | age | adoption | passing | confidence |


      Release Notes

      ktorio/ktor

      v2.1.3

      Compare Source

      Published 26 October 2022

      • JS: window.location.origin returns null when executed in iframe via srcdoc attribute (KTOR-4993)
      • SensitivityWatchEventModifier - Move the reflection call of this modifier out from the Ktor Core (KTOR-1647)
      • "java.lang.IllegalArgumentException: Failed requirement." in SelectorManagerSupport (KTOR-2914)
      • HOCON: CLI parameters don't override custom properties since 2.1.0 (KTOR-5000)
      • Websockets timeout doesn't cause a close of a connection (KTOR-3504)
      • DefaultHeaders: a header is duplicated in a StatusPages's handler (KTOR-4990)
      • Websockets: timeout doesn't cause closing of incoming and outgoing channels (KTOR-2430)
      • RFC 3986 recommendation for encoding URI is NOT followed (KTOR-993)
      • Cookies: Invalid encoding of cookies' values since 1.4.0 (KTOR-917)
      • ByteReadChannel is unable to read files with long lines (KTOR-2588)
      • WebSocketDeflateExtension configureProtocols always failed with stackOverflow (KTOR-4916)
      • Update Kotlin to 1.7.20 (KTOR-4963)
      • Netty HTTP/2: response headers contain ":status" header and that leads to IllegalHeaderNameException in the ConditionalHeaders plugin (KTOR-4943)
      • Maven: ktor-server-test-host-jvm causes dependency error starting from Ktor 2.0.3 (KTOR-4900)
      • Autoreloading: "Flow invariant is violated" error since Ktor 2.0.3 (KTOR-4926)
      • Autoreloading: ClassCastException when retrieving plugins in testApplication (KTOR-4729)
      • CIO engine has wrong doc for request timeout (KTOR-4941)
      • CIO: A request through a proxy server results in 403 from Cloudflare (KTOR-4925)

      v2.1.2

      Compare Source

      Published 29 September 2022

      • HttpCacheEntry ignoring Request Cache-Control directives (KTOR-4894)
      • testApplication does not handle port and connectors (KTOR-4875)
      • Native: Wrong status code when requesting with DELETE method and body (KTOR-3566)
      • Default host address 0.0.0.0 isn't reachable on Windows (KTOR-4834)
      • TestApplicationEngine error handling is inconsistent with DefaultEnginePipeline, breaking clients (KTOR-4009)
      • Routing: Wrong content-type results in 400 Bad Request instead of 415 Unsupported Media type (KTOR-4849)

      v2.1.1

      Compare Source

      Published 6 September 2022

      • CIO: responses are received with a huge delay on JVM Windows (due to reverse DNS lookup internally) (KTOR-4827)
      • Netty HTTP/2 not working (KTOR-578)
      • HTTP/2 push fails with Netty engine (KTOR-800)
      • HttpCookies: no space between cookie pairs (KTOR-3854)
      • Netty ALPN provider detection not working (KTOR-4712)
      • CIO: Connection reset by peer on MacOS (KTOR-2036)
      • CallLogging MDC with sessions: Application feature Sessions is not installed (KTOR-550)
      • Deprecate Public API with Atomicfu Declarations (KTOR-4774)
      • Deprecate receiveOrNull because it's confusing (KTOR-4772)
      • Server ContentNegotiation Plugin doesn't check ignoredTypes for Request Body (KTOR-4770)
      • IllegalArgumentException is thrown when UnixSocketAddress.path is accessed on JVM (JDK 16+) (KTOR-4695)
      • WebSocketDeflateExtension not following RFC (KTOR-4696)
      • The parseWebSocketExtensions function behaves incorrectly (KTOR-3189)
      • Receive non-Nullable Type Throws NPE in Case of Failure (KTOR-4771)
      • Darwin: Symbol not found: OBJC_CLASS$_NSURLSessionWebSocketMessage on iOS 12 (KTOR-4159)
      • Fix Merging Date Headers on the Client (KTOR-4782)
      • Replace exception in InputStreamAdapter and OutputStreamAdapter constructors with warning message If parking (KTOR-4736)
      • Clearing Session Cookie in Chrome 80+ with SameSite and Secure (KTOR-437)
      • The OutgoingContent.toByteArray() stalls when used in combination with a OutgoingContent.WriteChannelContent (KTOR-2126)
      • Missing Content-Type header in a request (KTOR-1407)
      • Crash when making requests from browser inside of web worker (KTOR-4715)
      • An error occurs when there is a binary such as protobuf in the response body of error (KTOR-1619)
      • CallLogging configured MDC entries are not passed to StatusPages exception handlers (KTOR-4193)
      • LocalFileContent incorrectly relies on the last modification time of a file to check its existence (KTOR-4707)
      • Sessions: WSS in combination with Secure cookies throws IllegalArgumentException (KTOR-4697)
      • Json request failure with configured form authentication (KTOR-678)

      v2.1.0

      Compare Source

      Published 11 August 2022

      • Add YAML Configuration Format Support (KTOR-3572)
      • Allow overriding HSTS settings per host (KTOR-4578)
      • CORS: Pattern matching for origin (KTOR-316)
      • Darwin: Allow setting custom NSURLSession (KTOR-583)
      • Support setting caching options on call (KTOR-457)
      • Revert default behavior of string encoding for ContentNegotiation and JsonPlugin (KTOR-4739)
      • Make Content-Length header validation optional (KTOR-4655)
      • Client resources plugin miss builders for PATCH method (KTOR-4658)
      • The awaitSuspend method wakes up early in closed ByteChannelSequential (KTOR-4597)
      • HttpCache plugin does not support max-stale directive (KTOR-4610)
      • Incoming request body validation (KTOR-503)
      • Client does not support sending or receiving json null value (KTOR-745)
      • Jetty: Content Length exception when body size is greater than 4096 bytes (KTOR-4622)
      • Darwin: configureRequest doesn't actually configure a NSMutableURLRequest when HTTP request is made (KTOR-4719)
      • OAuth2: Allow sending extra parameters for authorization and access token requests (KTOR-2128)
      • Java engine: Allow configuring HTTP version (KTOR-4609)
      • ContentEncoding: body<ByteArray>() receives truncated array (KTOR-4653)
      • Support configuring Netty codec limits via application config (KTOR-4636)
      • [OkHttp] StreamRequestBody should override isOneShot or allow multiple reads of request body (KTOR-4637)
      • OverridingClassLoader fails to delegate to parent for resources (KTOR-4004)
      • OkHttp and iOS: request with only-if-cache directive in Cache-Control header fails with 504 when match is stale (KTOR-4127)
      • Allow Pebble to use Accepted Language header for built-in i18n support (KTOR-4593)
      • Test engine can't handle concurrent requests (KTOR-4572)
      • Parameters of cloned UrlBuilder affect parameters of an original builder (KTOR-4573)
      • Reified type causes ApplicationCall.receive() throw UnsupportedOperationException (KTOR-3715)
      • ApplicationConfig lacks the ability to export a part of the config to a third-party library (KTOR-4416)
      • Path parameter doesn't get encoded in type safe requests (KTOR-3953)
      • Update Kotlin to 1.7.0 (KTOR-4450)
      • Bump jteVersion from 2.0.3 to 2.1.2 (KTOR-4648)

      v2.0.3

      Compare Source

      Published 28 June 2022

      • Development mode class loader leads to ClassCastException within a CouroutineScope (KTOR-4164)
      • Validate that the body of an incoming request is received completely (KTOR-4379)
      • UrlBuilder escapes fragment parameters (KTOR-4412)
      • CallLogging: JVM crashes when jansi checks whether a file descriptor refers to a terminal (KTOR-3476)
      • WebSocket client closes connection due to an HTTP request timeout (KTOR-4419)
      • [JS client] Cannot change redirect policy by followRedirects=false (KTOR-326)
      • CIO engine doesn't apply a request timeout from the HttpTimeout plugin (KTOR-4473)
      • CIO: Websockets request doesn't include query parameters (KTOR-4390)
      • Ignore SIGPIPE for server sockets (KTOR-4474)
      • Direct byte buffers are increased in size when server slowly processes request (KTOR-4397)
      • UDP responses are received with a huge delay on JVM Windows (due to reverse DNS lookup internally) (KTOR-4423)
      • "No instance for key AttributeKey: ApplicationPluginRegistry" when exception is thrown during the Call phase (KTOR-4448)
      • Non-decipherable exception "No result transformation found" (KTOR-4287)
      • Unable to set the Content-Type header in a request (KTOR-620)
      • Update kotlinx.coroutines to 1.6.2 (KTOR-4451)
      • Support the HttpTimeout capability in the DelegatingTestClientEngine (KTOR-4436)
      • Limit the number of parallel running requests in Netty (KTOR-4575)
      • Resources plugin fails to process parameters of type UShort (KTOR-4424)
      • Resources plugin doesn't respect default values for Enum (KTOR-4411)
      • Invalid request line produced by CIO engine for URL with parameters and without path (KTOR-4347)
      • call.receiveText() tries to parse body as JSON when the ContentNegotiation plugin is installed (KTOR-4426)
      • Ignore ByteReadChannel as receive type in ContentNegotiation (KTOR-4511)
      • Setting body to TextContent leads to NPE when the ContentNegotiation plugin is installed (KTOR-4383)
      • submitFormWithBinaryData call leads to NPE when the ContentNegotiation plugin is installed (KTOR-4269)
      • ResponseConverter NPE when returning ByteArray with the ContentNegotiation plugin (KTOR-4399)

      v2.0.2

      Compare Source

      Published 27 May 2022

      • [iOS] Prevent HttpClient from persisting cookies across requests (KTOR-3748)
      • Web feedback from "Creating HTTP APIs", https://ktor.io/docs/creating-http-apis.html (KTOR-4380)
      • When returning a String, content negotiation is ignored (KTOR-662)
      • HttpResponse.bodyAsChannel should not be converted by ContentNegotiation (KTOR-4341)
      • Strings are not decoded when received as application/json (KTOR-385)
      • Document how to enable/disable HTTP/2 for different client engines (KTOR-4340)
      • Revert Dokka to 1.6.10 due to Publication Freeze (KTOR-4290)
      • Document a new memory model in KMM tutorial (KTOR-4354)
      • Make client docs less JVM-centric (KTOR-4351)
      • Darwin engine: Client connection is closed after each request (KTOR-4145)
      • Ios: NullPointerException when query parameters contain cyrillic symbols in values (KTOR-1858)
      • A native application with the Darwin engine doesn't make a request (KTOR-3900)
      • Darwin and Kotlin/JS: "List has more than one element" error when header like Content-type is duplicated in a response (KTOR-4105)
      • Invalid response without error (KTOR-369)
      • Invalid HTTP version should fail (KTOR-380)
      • The colon after the host parameter requires a port (KTOR-382)
      • Kotlin/Native: testApplication's client sometimes fails to receive ByteArray response from a route (KTOR-4197)
      • "Application started" is never printed (KTOR-4319)
      • Default request without explicit port sets port 80 for all requests (KTOR-4281)
      • Documentation about how to configure libcurl on Windows (KTOR-3988)
      • API Docs reference RFCs. Better to reference our own documentation (KTOR-3764)
      • UninitializedPropertyAccessException in the handleResponseExceptionWithRequest when request or response are accessed through (KTOR-4230)HttpClientCall
      • The original exception is swallowed by "No request transformation found" exception when request body is serializable object (KTOR-4160)
      • IncorrectDereferenceException when trying to create HttpClient from background thread on iOS (KTOR-4263)
      • JacksonWebsocketContentConverter.deserialize just doesn't work (KTOR-4248)
      • Documentation for migration of Authentication server plugin (KTOR-4253)
      • Add sample for the AuthenticationChecked hook (KTOR-4278)
      • Web feedback from "Docker", https://ktor.io/docs/docker.html (KTOR-4282)
      • Route's path parameters are empty when ApplicationCall.authentication is first accessed in a different ApplicationCall context (KTOR-4250)
      • Routes with tailcard should not count for specific http error codes (KTOR-4280)
      • Documentation for appending query parameters for URL in the DefaultRequest (KTOR-4252)
      • Routing returns 405 even for not completely matched paths (KTOR-4267)
      • Resources: builder methods return routes with PathSegmentConstantRouteSelector instead of HttpMethodRouteSelector (KTOR-4239)
      • Update Netty to 4.1.77.Final (KTOR-4339)
      • External services should use config from environment (KTOR-4373)
      • Update Jackson to 2.13.3 (KTOR-4394)

      v2.0.1

      Compare Source

      Published 28 April 2022

      • Fix URL representation (KTOR-4241)

      • embeddedServer for CIO and Netty inconsistency (KTOR-755)

      • Update Coroutines to 1.6.1 (KTOR-4240)

      • Locations: Support trailing / (KTOR-836)

      • Resources: Make Route.handle public (KTOR-4200)

      • Fix CURL flaky initialization (KTOR-4223)

      • Optimize Slow Native Tests (KTOR-4224)

      • Print Native Stacktrace on Timeout (KTOR-4198)

      • """IllegalStateException: Operation is already in progress"" when the readByte is called the second time after a timeout" (KTOR-4218)

      • Update Kotlin to 1.6.21 (KTOR-4221)

      • Update code for editing an article in the 'Interactive website' tutorial (KTOR-4227)

      • DefaultRequest: HTTPS protocol isn't set when using Ktor 2.0.0 (KTOR-4142)

      • DefaultRequest: host and port aren't used for a request (KTOR-4154)

      • A table with test methods should span the entire width of the dialog (KTOR-4064)

      • StatusPages plugin does not handle most specific exception in Ktor 2.0.0 (KTOR-4187)

      • Behaviour of ApplicationEngine start method not documented properly (KTOR-2271)

      • CORS plugin should be route scoped (KTOR-4157)

      • Raw Web Socket Connection Suspending Forever (KTOR-4166)

      • StatusPages: SerializationException isn't handled when CallID plugin is installed after StatusPages plugin (KTOR-4155)

      • HttpClient.wss defaults to port 80 instead of 443 (KTOR-4175)

      • Missing subject parameter in StatusPages status config method (KTOR-4191)

      • ConditionalHeaders cause the Last-Modified header appears twice in a response (2.0.0) (KTOR-4163)

      • DefaultHeaders: The Server header appears twice in a response (2.0.0) (KTOR-4152)

      • Testing: Resolving a substitution to a value in default config fails when custom HOCON config is used (KTOR-4130)

      • Combination of HttpCache and Logging plugins cause receiving incomplete response body for chunked replies (KTOR-3916)

      • 2.0.0

      Published 11 April 2022

      • HttpClient breaks permanently when certain exceptions occur while consuming ByteReadChannel (KTOR-3140)
      • Fix Dokka publication for 2.0.0 (KTOR-4194)
      • [Doc] invalid KDoc link for https://ktor.io/docs/http-client-engines.html#darwin (KTOR-4165)
      • Update the 'Manual Configuration' help link after the 2.0.0 release (KTOR-3678)
      • Where did 1.6.8 docs go? (KTOR-4147)
      • Fail to create response observer in different native thread. (KTOR-3278)
      • "Ktor app with Kotlin/Native fails with ""There is no event loop. Use runBlocking { ... } to start one.""" (KTOR-4149)
      • Update limitations for Kotlin/Native (KTOR-4143)
      • UDP sockets on native (KTOR-1159)
      • Ktor stopped working with latest Tomcat 9.0.39 (KTOR-1172)
      • Update to Kotlin 1.6.20 (KTOR-4107)
      • ContentNegotiation: the plugin removes Content-Type header even when a matching registration is not found (KTOR-4091)
      • JMXReporter not included in ktor-metrics:1.6.8 (KTOR-4102)
      • Performance Issue / Ktor & Netty (KTOR-610)
      • httpMethod is not affected by X-Http-Method-Override (in opposite to docs) (KTOR-404)
      • Android: Failed resolution of: Ljava/nio/file/Paths using API 25 and lower (KTOR-3269)
      • ContentNegotiation plugins don't accept null-responses from ContentConverts (KTOR-3346)
      • Using proguard and CallLogging feature causes JVM crashes (KTOR-3345)
      • Remove checking body transformation from ContentNegotation (KTOR-3272)
      • Feature: Use websockets with serialization (KTOR-423)
      • Fix testErrorHandling with JS (KTOR-3510)
      • [netty] Headers are only flushed after first byte is written (KTOR-3364)
      • AttributeKey instance is identified by its identity instead of its name (KTOR-3538)
      • HttpCookies: parse / in the name of a cookie (KTOR-3497)
      • Returning Thymeleaf fragments from Routes (KTOR-3624)
      • Rewrite Thymeleaf to New Plugins API (KTOR-3687)
      • Rewrite HSTS to new plugins API (KTOR-3752)
      • Rewrite FreeMarker to new Plugins API (KTOR-3751)
      • Rewrite CachingHeaders to New Plugins API (KTOR-3688)
      • Implementation for Single Page Plugin (KTOR-3635)
      • Sockets no longer working on Android since 2.0.0-beta-1 (KTOR-3659)
      • Implementation for Single Page Plugin (KTOR-3577)
      • Content Negotiation: Gson: Should be able to return 400 for badly formatted request. (KTOR-373)
      • Rewrite ConditionalHeaders to New Plugins API (KTOR-3759)
      • Single Page Plugin (KTOR-3531)
      • HttpResponseValidator.handleResponseException should have access to request to provide valuable information in exceptions (KTOR-3652)
      • Build in feature for Single PAge Applications (KTOR-515)
      • "ContentNegotiation: The ""charset=UTF-8"" part is added for the Content-Type header" (KTOR-3799)
      • Rewrite Netty Engine (KTOR-3467)
      • SinglePageApplication plugin returns 404 for non-existent paths (KTOR-3944)
      • Split packages in KTOR Client 2.00-BETA-1 (KTOR-4106)
      • Support WebSockets in Darwin engine (KTOR-4093)
      • Ktor http client with java engine uses incorrect timeout. (KTOR-4058)
      • ktor-client performance (KTOR-506)
      • InvalidPathException in ApplicationEngineEnvironmentReloading (KTOR-3831)
      • "Screenshot with the new project wizard on the ""Create a new project"" topic is outdated" (KTOR-4020)
      • Add possibility to fully configure metricName in ktor-server-metrics-micrometer (KTOR-3302)
      • Adding Native support to ktor-server-html-builder for 2.0.0 release (KTOR-3972)
      • Ktor: Allow overriding coroutine dispatcher in MockEngine (KTOR-3230)
      • HttpClient request hangs when Logging plugin is installed (KTOR-3970)
      • Ktor uses too much memory compared to other Http server libraries (KTOR-3903)
      • [client] MPP WebSockets client (KTOR-751)
      • Native websocket client support (KTOR-599)
      • Don't perform migrations for MPP projects (KTOR-3812)
      • Change visibility from internal to public to HttpResponse and HttpClientCall (KTOR-3984)
      • Rename the 'header' function to 'allowHeader' for consistency with similar functions (KTOR-3980)
      • The CallID plugin missing in a New Project wizard (KTOR-2911)
      • IDEA plugin missing the Session authentication (KTOR-3359)
      • Install plugin completion doesn't work with custom built version of Ktor from main (KTOR-4031)
      • Memory leak when Compression plugin is installed (KTOR-4028)
      • Make most useful hooks public (KTOR-3797)
      • The ShutDownUrl sample doesn't work in the latest EAP (KTOR-4025)
      • OAuth: scopes are separated by + that's encoded to %2B (KTOR-3945)
      • The Caching headers plugin stops working in the latest EAP (KTOR-4022)
      • The 'allowHeadersPrefixed' and 'allowHeaders' CORS functions works incorrectly (KTOR-3979)
      • Migrate Generator to New Testing API (KTOR-3763)
      • Support receiving OAuth code response as form post (KTOR-3342)
      • Ktor test websocket call hangs (KTOR-4000)
      • Implementation for Create ktor-test module with mocks of engine and clients for writing tests (KTOR-3236)
      • Remove mutex from call logging (KTOR-3987)
      • Add jte template support (KTOR-3749)
      • No contextual serializers when KotlinxSerializationConverter is used (KTOR-3782)
      • Add support for list size methods in PlaceholderList (KTOR-3940)
      • Missing headers in OutgoingContent (KTOR-3758)
      • ResponseObserver does not respect MDC context (KTOR-2435)
      • Binary compatibility issue with ktor-2.0.0-beta1 when using JDK 1.8 (KTOR-3645)
      • Enhance api for ConditionalHeaders usage (KTOR-728)
      • localization issue with new project wizard - plugin page (KTOR-3943)
      • IDE action to migrate to 2.0.0 (KTOR-3225)
      • Add colors to CLI client (KTOR-3929)
      • Support macOs M1 in CLI generator (KTOR-3922)
      • Bearer Auth: refreshTokens callback blocks indefinitely when server returns 401 (KTOR-3795)
      • "ContentEncoding: ""Unexpected EOF: expected 10 more bytes"" when trying to decode HEAD response" (KTOR-3781)
      • Memory leak in ktor-client-curl (KTOR-3767)
      • Rename ApplicationPlugin<A, B, C> to BaseApplicationPlugin<A, B, C> (KTOR-3873)
      • Ktor Server and double receive break receiving of big files (KTOR-3832)
      • Setting Content-Length Header manually when using call.respondOutputStream (KTOR-560)
      • Support for adding values to the MDC later on in the pipeline. (KTOR-536)
      • Default request: Query parameters in default URL are overwritten (KTOR-3793)
      • Timeout in receiving streaming body breaks client (KTOR-3704)
      • Setting DefaultRequest.url.protocol on the client side breaks the ability to establish a ws connection (KTOR-3890)
      • Rename the 'io.ktor.resources.serialisation' package to '...serialization' for consistency (KTOR-3842)
      • Generator performance: cache Maven requests (KTOR-3866)
      • JS: Websocket errors are not being handled correctly (KTOR-1726)
      • Logback transient depencency from ktor-server-test-host (KTOR-2038)
      • Ktor plugin is asking to migrate to EAP versions (KTOR-3609)
      • "Module ""io.ktor:ktor-network (io.ktor:ktor-network-iosarm64)"" has a reference to symbol kotlinx.coroutines/SingleThreadDispatcher|null[0]" (KTOR-3562)
      • Retry on HttpCode or network error (KTOR-572)
      • Server hangs indefinitely when responding to requests on android using version 2.0.0 (KTOR-3653)
      • IllegalStateException when writing in coroutine context backed by more than one thread (KTOR-3801)
      • References for kotlinx.serialization plugin sample code in a new Ktor project created with Maven build system are unresolved (KTOR-3754)
      • multipart/form-data requests: No way of streaming data asynchronously (KTOR-3825)
      • Migrate ForwardHeaderSupport to new API (KTOR-3677)
      • Sort endpoints in Endpoint view and when creating tests (KTOR-3725)
      • StackOverflowError when opening Enpoints view with local Routing function (KTOR-3816)
      • Provide an example how to use new MultiPartFormDataContent (#KTOR-325) (KTOR-3549)
      • Client docs for desktop are misleading (KTOR-3813)
      • When working with SessionStorage, write is called every time after read (KTOR-3336)
      • DefaultRequest API doc contains missing members (KTOR-3800)
      • testApplication: Add https EngineConnector (KTOR-3810)
      • Rewrite HttpsRedirect to New Plugins API (KTOR-3668)
      • Rewrite WebJars to New Plugins API (KTOR-3667)
      • Rewrite Metrics to New Plugins API (KTOR-3666)
      • Rewrite PartialContent to New Plugins API (KTOR-3665)
      • Rewrite CallId to New Plugins API (KTOR-3352)
      • Drop Before/After from new plugins API (KTOR-3803)
      • Performance: Don't store PSI elements in Ktor Url Mappings. Use Smart Reference or PSI Anchor, instead (KTOR-3789)
      • Infrastructure: Build with JDK 11 for all modules fails: Can't inline metric micrometer because it uses jvm target 8 (KTOR-3712)
      • The 'refreshTokens' callback isn't invoked when an API returns a 401 response without the 'WWW-Authenticate' header (KTOR-3516)
      • Add DslMarker to testApplication builder (KTOR-3783)
      • Prohibit Nesting of install Blocks for Client and Server Configuration (KTOR-3333)
      • In docs and generated Gradle, Prometheus is misspelled as Promteteus (KTOR-3792)
      • submitFormWithBinaryData: mutation attempt of frozen @​194c6a8 (KTOR-2947)
      • iOS: Failed to find HttpClientEngineContainer with new native memory model (KTOR-3517)
      • Rewrite CallLogging to new plugins API (KTOR-3351)
      • Drop @​ExperimentalTime (KTOR-3595)
      • Using any Suspend or Coroutine function in Bearer Auth functions cause crash on iOS (KTOR-3177)
      • [iOS] InvalidMutabilityException: mutation attempt of frozen (KTOR-1223)
      • InvalidMutabilityException: Configuration issues for ios (KTOR-1251)
      • iOS testing MockEngine issue (KTOR-1541)
      • """InvalidMutabilityException: Frozen during lazy computation"" when using by lazy for HttpClient" (KTOR-1087)
      • kotlin.native.concurrent.InvalidMutabilityException: mutation attempt of frozen kotlin.collections on iOS when deserializing class that contains less properties than the json (KTOR-2740)
      • Native: Cannot mutate objects inside onDownload and onUpload lambdas (KTOR-3068)
      • "HttpClient / native: ""mutation attempt of frozen"" crash when configuring the client" (KTOR-1628)
      • Ktor Kotlin Multiplatform leak (KTOR-3586)
      • Put label to local history before performing migration in Ktor (KTOR-3716)
      • StatusPages plugin continues call after calling handler (KTOR-3707)
      • StatusPages not returning code 500 on catched exception (KTOR-3721)
      • Rewrite Compression to New Plugins API (KTOR-3661)
      • Rewrite Auto Head to New Plugins API (KTOR-3670)
      • Rewrite DoubleReceive to New Plugins API (KTOR-3672)
      • Make default charset UTF-8 when using receiveText for application/json request (KTOR-789)
      • Rewrite CORS to New Plugins API (KTOR-3663)
      • Rewrite Auth to New Plugins API (KTOR-3660)
      • Rewrite Sessions to New Plugins API (KTOR-3664)
      • Rewrite ContentNegotiation to New Plugins API (KTOR-3669)
      • Rewrite MethodOverride to New Plugins API (KTOR-3662)
      • Client logging: no description of default loggers' behavior on different platforms (KTOR-3421)
      • Update logback and slf4j (KTOR-3733)
      • NoClassDefFoundError is thrown on Android because ktor-utils references a not supported Java API (KTOR-3690)
      • Ktor-Utils references a Java API not supported by Android (KTOR-3426)
      • Migrate plugins to multiplatform (KTOR-3539)
      • ByteBufferChannel leaves unflushed data after partial readAvailable causing Apache client request to stall (KTOR-3730)
      • Migrate DefaultHeaders to new API (KTOR-3676)
      • ByteReadPacket.headerSizeHint is unused (KTOR-3632)
      • Hooks don't work with routing scoped plugins (KTOR-3740)
      • Client request builder: add shortcuts for authentication headers (KTOR-2876)
      • Pull Request - KTOR-404 Introduce support for X-Http-Method-Override (KTOR-1825)
      • Can't set a base url that includes path data (KTOR-730)
      • Mention about closing ActorSelector manager (KTOR-269)
      • Migrate to new kotlinx.coroutines and limited dispatcher(revert corePoolSize option) (KTOR-3463)
      • Routing is called for handled requests (KTOR-3732)
      • TomCat Documentation (KTOR-2395)
      • default resource package don't work (KTOR-3722)
      • webSocketSession method suspends indefinitely when there in connection error (Ktor beta) (KTOR-3654)
      • FUS metrics in IDE (KTOR-2775)
      • Update Documentation and Code for DoubleReceive Feature (KTOR-1876)
      • Add Defaults for the server.stop Method (KTOR-3505)
      • HTTP/2 not working with Netty (KTOR-3705)
      • Include changes from hands-on PR: Update 03_customer-routes.md #​120 (KTOR-3713)
      • Nested routing fails to match route (KTOR-1626)
      • URLBuilder from string with trailing slash or from Url with no trailing slash, produces double slash when appending segments (KTOR-3618)
      • Provide the capability to generate WebSocket tests (KTOR-3061)
      • Add modulepath support for Java >= 9 (KTOR-619)
      • HttpRequestRetry plugin expects Retry-After header value to be in milliseconds (KTOR-3634)
      • StringValuesBuilder.appendIfNameAbsent appends only if name is already present (KTOR-3650)
      • Migrations of the client code are not working for queries with non-trivial expression body (KTOR-3703)
      • Curl Cinterop compilation is failed on MacOS (KTOR-3681)
      • Compression slow due to using BEST_COMPRESSION for deflate/gzip (KTOR-3680)
      • Could not resolve: io.ktor:ktor-locations:2.0.0-beta-1 on a new project created with IDEA 2021.3.1 (KTOR-3639)
      • Update URL for the 'Adding Ktor dependencies' topic and add redirects (KTOR-3673)
      • Support package split in Ktor migrations in plugin (java modules support) (KTOR-3679)
      • Rewrite StatusPages with the new plugins API (KTOR-3312)
      • "Save ""Create Run Configuration automatically"" within .idea directory" (KTOR-3282)
      • java.lang.NoSuchMethodError: java.nio.ByteBuffer.limit(I)Ljava/nio/ByteBuffer when Ktor is built with JDK 9+ (KTOR-1398)
      • TestHttpClientEngine doesn't support HTTPS requests (KTOR-3614)
      • Endpoints view: Endpoints not populated if routes require authentication (KTOR-3182)
      • Insecure user session samples in documentation (KTOR-3582)
      • HttpRequestTimeoutException should not inherit CancellationException in ktor http client (KTOR-3192)
      • Update Documentation and Code for HSTS Feature (KTOR-1878)
      • Reduce the number of versions displayed in a plugin (KTOR-3250)
      • Update Documentation and Code for Webjars Feature (KTOR-1885)
      • XForwardedHeaderSupport should let you specify which index (from end) to choose (KTOR-565)
      • Make migrations more configurable (KTOR-3617)
      • EAP Naming: main-number conflicts with dependencies (KTOR-2724)
      • ktor.io/learn typo (KTOR-3563)
      • Update Documentation and Code for HttpsRedirect Feature (KTOR-1879)
      • Provide better support for Ktor clients (KTOR-883)
      • Multiple messages around upgrading to new version (KTOR-3494)
      • HttpRequestRetry in KTOR 2.0 should allow for request altering between retries (KTOR-3544)
      • Deploy Ktor application to docker topic contains hard coded project name (KTOR-2852)
      • Improvements for Docker sample in documentation (KTOR-3294)
      • """io.ktor.serializaion.gson"" - package naming in 2.0" (KTOR-3527)
      • Drop client.get Operator Because of Ambiguity with get(URL) (KTOR-3487)
      • "Option ""Add imports for Ktor modules automatically"" doesn't work" (KTOR-3226)
      • Migrations are unavailable (KTOR-3570)
      • Pull Request - fix #​1970 - update MultiPartFormDataContent to allow contentType override using optional builder (KTOR-1833)
      • Pull Request - KTOR-1264 - Add UUID to DefaultConversionService (KTOR-1815)
      • Pull Request - Intercept pipeline at Setup phase for XForwardedHeaderSupport feature… (KTOR-1844)
      • Pull Request - Add locale to ThymeleafContent (KTOR-1838)
      • Objections to changing boundary to internal on MultiPartFormDataContent? (KTOR-325)
      • Fix Log Size for Java 11 Windows Build (KTOR-3535)
      • ByteChannelSequential freezes after closing due to race condition (KTOR-2776)
      • Apple Arm: 'Resolving NPM dependencies using yarn' returns 139 (KTOR-3561)
      • Change log level from INFO to ERROR for tests only (KTOR-3466)
      • Responding without contentLength freezes on CIO native (KTOR-3492)
      • webSocketSession freeze every time (KTOR-3460)
      • Exceptions are Swallowed in HttpClient.wss block (KTOR-3461)
      • Support receiving headers before sending body in CIO client engine (KTOR-3491)
      • Build and test on Apple Silicon Arm (KTOR-3248)
      • Prototype anchors in new plugins API (KTOR-3392)
      • Rename the 'Ios' client engine to more generic term to cover all Apple operating systems (KTOR-3394)
      • Update Samples to Ktor 2.0 (KTOR-3218)
      • Implement new Locations feature (KTOR-1706)
      • Fix old metadata publication (KTOR-3469)
      • JS Client doesn't support ServiceWorker (KTOR-3448)
      • Move Server Related Code from ktor-http-cio to ktor-server-cio (KTOR-3462)
      • Add Check if Feature is installed for WebSocket builders (KTOR-3459)
      • With test application should load environment from the application.conf (KTOR-2794)
      • TestEngineApplication - implement HttpClient API (KTOR-2416)
      • Inconsistent TestApplicationRequest and Client HttpRequestBuilder API's (KTOR-1246)
      • Server features instead of client in the client install block (KTOR-3412)
      • ContentNegotiation is missing in the plugins completion window (KTOR-3411)
      • Code Snippets use Groovy in build files as opposed to default Kotlin option for Wizard (KTOR-2190)
      • Improve documentation for native/Apple client engines (KTOR-3375)
      • IJ locked after attempt to create new run config in a dialog (KTOR-3385)
      • "High CPU consumption/Lock after project opening in org.jetbrains.kotlin.storage.getValue ; org.jetbrains.kotlin.idea.caches.resolve.IdeaResolverForProject" (KTOR-3337)
      • Update Ktor Plugin Description (KTOR-3388)
      • Add explicit menu action for migration (KTOR-3400)
      • Project Generated with eap-256 has Errors in Imports (KTOR-3397)
      • Update non-generic samples to 2.0 (KTOR-3285)
      • Support New Native Memory Model (KTOR-3217)
      • Simplify plugin descriptions in wizard, remove empty options (KTOR-3386)
      • Server for Kotlin Native (KTOR-746)
      • call.request.queryParameters decode plus as space (KTOR-3297)
      • Migrate existing plugins to RoutingScoped (KTOR-3201)
      • Bearer Authentication: Queue requests until refresh of tokens is completed (KTOR-3325)
      • Article about storing sensitive data and accessing it in application.conf (KTOR-3340)
      • Add parameter for specifying content-length in ApplicationCall#respondBytes (KTOR-3087)
      • Update Documentation and Code for CallId Feature (KTOR-1874)
      • Passing port 0 to start server on random port doesn't publish correct port to log (KTOR-3288)
      • Allow application environment configuration when running via commandLineEnvironment (KTOR-3027)
      • XForwardedHeaderSupport is installed late in the pipeline (KTOR-731)
      • Add locale to ThymeleafContent (KTOR-3313)
      • Add support for ports in withTestApplication (KTOR-725)
      • Error in 2.0 doc/sample for HttpClient retry (KTOR-3303)
      • Cyclic dependency issue in latest 2.0 (main branch) (KTOR-3240)
      • An error occurred when running a sample with the configured XML serializer (KTOR-3286)
      • respondOutputStream behind nginx fails (KTOR-346)
      • XML Support in Ktor (KTOR-489)
      • Start ktor server on random port (KTOR-686)
      • ProxyConfig.type checking for DIRECT instead of SOCKS (KTOR-1733)
      • Freeze the screen when I create routes (KTOR-3004)
      • Client: DefaultRequest apply defaults before request builder (KTOR-2877)
      • KDoc: HttpRequestBuilder.header actually appends header value, does not set it (KTOR-2492)
      • parameterOf() should have a variant that takes in a Map<String, List> (KTOR-399)
      • TLS relared tests are failing on CI (KTOR-3224)
      • [Ktor Client] CborFeature (KTOR-3174)
      • Jackson: receiveOrNull crashes with an exception when sending empty content (KTOR-727)
      • Jackson-backed ApplicationCall.receive does not throw ContentTransformationException (KTOR-614)
      • Remove Obsolete Check Cast from SuspendFunctionGun (KTOR-3178)
      • Ktor: Fold internal stack frames for HTTP server (KTOR-2274)
      • Support 2.0.0 in IDE (KTOR-3196)
      • Client HttpCache feature is not documented (KTOR-1279)
      • Feature to Plugin changes in Documentation (KTOR-2372)
      • Update server dependencies and imports in docs for 2.0.0 (KTOR-3150)
      • Add method to Client and ServerResponseException (KTOR-3128)
      • Add UUID to DefaultConversionService (KTOR-1264)
      • Prioritize text found in feature titles over descriptions (KTOR-2488)
      • SerializationException when serializing request body object of generic class type (KTOR-1019)
      • The 'Create test for Ktor module' intention actions changes files from other modules for a multimodule Gradle project (KTOR-3062)
      • Implementation for Simple API for writing features (KTOR-2480)
      • Wizard Plugin listing strange link ([KTOR-2882](https://youtrack.jetbrains.com/issue/K

      • Configuration

        📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

        🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

        Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

        🔕 Ignore: Close this PR and you won't be reminded about this update again.


        • [ ] If you want to rebase/retry this PR, check this box

        This PR has been generated by Mend Renovate. View repository job log here.

        dependencies renovate  opened by renovate[bot] 0
      • Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.4.1

        Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.4.1

        Mend Renovate

        This PR contains the following updates:

        | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | org.jetbrains.kotlinx:kotlinx-serialization-json | 1.0.1 -> 1.4.1 | age | adoption | passing | confidence |


        Release Notes

        Kotlin/kotlinx.serialization

        v1.4.1

        Compare Source

        ==================

        This is patch release contains several bugfixes and improvements. Kotlin 1.7.20 is used by default.

        Improvements
        • Add @​MustBeDocumented to certain annotations (#​2059)
        • Deprecate .isNullable in SerialDescriptor builder (#​2040)
        • Unsigned primitives and unsigned arrays serializers can be retrieved as built-ins (#​1992)
        • Serializers are now cached inside reflective lookup, leading to faster serializer retrieval (#​2015)
        • Compiler plugin can create enum serializers using static factories for better speed (#​1851) (Kotlin 1.7.20 required)
        • Provide foundation for compiler plugin intrinsics available in Kotlin 1.8.0 (#​2031)
        Bugfixes

        v1.4.0

        ==================

        This release contains all features and bugfixes from 1.4.0-RC plus some bugfixes on its own (see below). Kotlin 1.7.10 is used as a default.

        Bugfixes
        • Fixed decoding of huge JSON data for okio streams (#​2006)

        v1.3.3

        ==================

        This release contains support for Protocol Buffers packed fields, as well as several bugfixes. It uses Kotlin 1.6.21 by default.

        Protobuf packed fields

        It is now possible to encode and decode Kotlin classes to/from Protobuf messages with packed repeated fields. To mark the field as packed, use @ProtoPacked annotation on it. Note it affects only List and primitive collection such as IntArray types. With this feature, it is now possible to decode Proto3 messages, where all repeated fields are packed by default. Protobuf schema generator also supports new @ProtoPacked annotation.

        Many thanks to Paul de Vrieze for his valuable contribution!

        Other improvements & small features
        • Incorporate JsonPath into exception messages (#​1841)
        • Mark block in corresponding encodeStructure/decodeStructure extensions as crossinline to reduce amount of bytecode (#​1917)
        • Support serialization of compile-time Collection<E> properties that are not lists at the runtime (#​1821)
        • Best-effort kotlin reflect avoidance in serializer(Type) (#​1819)
        Bugfixes
        • Iterate over element indices in ObjectSerializer in order to let the format skip unknown keys (#​1916)
        • Correctly support registering both default polymorphic serializer & deserializer (#​1849)
        • Make error message for captured generic type parameters much more straightforward (#​1863)

        v1.3.2

        ==================

        This release contains several features and bugfixes for core API as well as for HOCON format. It uses Kotlin 1.6.10 by default.

        Serializing objects to HOCON

        It's now possible to encode Kotlin objects to Config values with new Hocon.encodeToConfig function. This feature may help edit existing configs inside Kotlin program or generate new ones.

        Big thanks to Osip Fatkullin for implementing this.

        Polymorphic default serializers

        As of now, polymorphicDefault clause inside SerializersModule { } builder specifies a fallback serializer to be used only during deserialization process. A new function has been introduced to allow setting fallback serializer for serialization: polymorphicDefaultSerializer. This function should ease serializing vast hierarchies of third-party or Java classes.

        Note that there are two new experimental functions, polymorphicDefaultSerializer and polymorphicDefaultDeserializer. To avoid naming confusion, we are going to deprecate polymorphicDefault in favor of polymorphicDefaultDeserializer in the next minor release (1.4.0).

        Credit for the PR goes to our contributor Joseph Burton.

        Other improvements
        Bugfixes
        • Properly handle top-level value classes in encodeToJsonElement (#​1777)
        • Fix incorrect handling of object end when JsonTreeReader (JsonElement) is used with decodeToSequence (#​1782)

        v1.3.1

        ==================

        This release mainly contains bugfixes for 1.3.0 and provides new experimental Json.decodeToSequence function.

        Improvements
        • Provide decodeToSequence to read multiple objects from stream lazily (#​1691)
        Bugfixes
        • Correctly handle buffer boundaries while decoding escape sequences from json stream (#​1706)
        • Properly skip unknown keys for objects and structures with zero properties (#​1720)
        • Fix merging for maplikeSerializer when the map is not empty (by using the actual size * 2). (#​1712) (thanks to pdvrieze)
        • Fix lookup of primitive array serializers by Java type token (#​1708)

        v1.3.0

        ==================

        This release contains all of the cool new features from 1.3.0-RC (see below) as well as minor improvements. It uses Kotlin 1.5.31 by default.

        Bugfixes and improvements
        • Promote JsonConfiguration and its usages to stable (#​1690)
        • Remove opt-in annotations from SerialFormat, StringFormat, BinaryFormat (#​1688)
        • Correctly throw SerializationException instead of IOOBE for some cases with EOF in streams (#​1677)
        • CBOR: ignore tags when reading (#​1614) (thanks to David Robertson)

        v1.2.2

        ==================

        This release contains various bugfixes, some useful features and important performance improvements. It also uses Kotlin 1.5.20 as default.

        Features
        • Support for @JsonNames and coerceInputValues in Json.decodeFromDynamic (#​1479)
        • Add factory function to wrap a serial descriptor with a custom name for custom delegating serializers (#​1547) (thanks to Fadenfire)
        • Allow contextually serialized types to be used as map keys in Json (#​1552) (thanks to pdvrieze)
        Bugfixes and performance improvements
        • Update size in JsonStringBuilder slow-path to avoid excessive array-copies for large strings with escape symbols (#​1491)
        • Optimize integer encoding length in CBOR (#​1570) (thanks to davertay)
        • Throw JsonDecodingException instead of ClassCastException during unexpected null in TreeJsonDecoder (#​1550)
        • Prohibit 'null' strings in lenient mode in order to get rid of 'null' and "null" ambiguity (#​1549)
        • Avoid usage of reflective-like serialDescriptor<KType> in production sources (#​1540)
        • Added correct error message when deserializing missing enum member for Properties format (#​1539)
        • Make DescriptorSchemaCache in Json thread-local on Native (#​1484)

        v1.2.1

        ==================

        This release mainly contains bugfixes for various issues, including important broken thread-safety and improper encoding.

        Features
        • Added support for nullable values, nested and empty collections in protobuf (#​1430)
        Bugfixes
        • Support @​JsonNames for enum values (#​1473)
        • Handle EOF in skipElement correctly (#​1475)
        • Allow using value classes with primitive carriers as map keys (#​1470)
        • Read JsonNull only for non-string literals in JsonTreeReader (#​1466)
        • Properly reuse JsonStringBuilders in CharArrayPool (#​1455)
        • Properly ensure capacity of the string builder on the append slow-path (#​1441)

        v1.2.0

        ==================

        This release has some known critical bugs, so we advise to use 1.2.1 instead.

        This release contains a lot of new features and important improvements listed below; Kotlin 1.5.0 is used as a default compiler and language version.

        JSON performance improvements

        JSON encoder and decoder were revisited and significantly rewritten, which lead us to up to 2-3x times speedup in certain cases. Additional details can be found in the corresponding issues: [1], [2].

        Ability to specify alternative names during JSON decoding

        The one of the most voted issues is fixed now — it is possible to specify multiple names for one property using new @JsonNames annotation. Unlike @SerialName, it only affects JSON decoding, so it is useful when dealing with different versions of the API. We've prepared a documentation for you about it.

        JsonConfiguration in public API

        JsonConfiguration is exposed as a property of Json instance. You can use it to adjust behavior in your custom serializers. Check out more in the corresponding issue and the PR.

        Generator for .proto files based on serializable Kotlin classes

        Our implementation of Protocol Buffers format uses @Serializable Kotlin classes as a source of schema. This is very convenient for Kotlin-to-Kotlin communication, but makes interoperability between languages complicated. To resolve this issue, we now have a schema generator that can produce .proto files out of Kotlin classes. Using it, you can keep Kotlin classes as a source of truth and use traditional protoc compilers for other languages at the same time. To learn more, check out the documentation for the new ProtoBufSchemaGenerator class or visit the corresponding PR.

        Note: this generator is on its experimental stage and any feedback is very welcomed.

        Contextual serialization of generic classes

        Before 1.2.0, it was impossible to register context serializer for generic class, because contextual function accepted a single serializer. Now it is possible to register a provider — lambda that allows to construct a serializer for generic class out of its type arguments serializers. See the details in the documentation.

        Other features
        • Support for watchosX64 target (#​1366).
        • Introduce kotlinx-serialization-bom (#​1356).
        • Support serializer on JS IR when T is an interface (#​1431).
        Bugfixes
        • Fix serializer lookup by KType for third party classes (#​1397) (thanks to mvdbos).
        • Fix inability to encode/decode inline class with string to JsonElement (#​1408).
        • Throw SerializationException instead of AIOB in ProtoBuf (#​1373).
        • Fix numeric overflow in JsonLexer (#​1367) (thanks to EdwarDDay).

        v1.1.0

        ==================

        This release contains all features and bugfixes from 1.1.0-RC plus an additional fix for incorrect exception type (#​1325 — Throw SerializationException instead of IllegalStateException in EnumSerializer) and uses release version of Kotlin 1.4.30.

        In the light of JCenter shutdown, starting from 1.1.0-RC and now on, all new releases of kotlinx.serialization are published directly to Maven Central and therefore are not available in https://kotlin.bintray.com/kotlinx/ repository. We suggest you to remove jcenter() and other kotlin bintray repositories from your buildscripts and to use mavenCentral() repository instead.


        Configuration

        📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

        🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

        Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

        🔕 Ignore: Close this PR and you won't be reminded about this update again.


        • [ ] If you want to rebase/retry this PR, check this box

        This PR has been generated by Mend Renovate. View repository job log here.

        dependencies renovate 
        opened by renovate[bot] 0
      • Update dependency io.reactivex.rxjava3:rxjava to v3.1.5

        Update dependency io.reactivex.rxjava3:rxjava to v3.1.5

        Mend Renovate

        This PR contains the following updates:

        | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | io.reactivex.rxjava3:rxjava | 3.0.0 -> 3.1.5 | age | adoption | passing | confidence |


        Release Notes

        ReactiveX/RxJava

        v3.1.5

        Maven JavaDocs

        Dependencies
        • Upgrade to Reactive Streams 1.0.4 (#​7424)
        Other
        • Remove @NonNull return anotations from void methods (#​7425)

        v3.1.4: 3.1.4

        Version 3.1.4 - March 21nd, 2022

        Maven JavaDocs

        Documentation
        • Apply the Javadoc format cleanup to Disposable.html (#​7393)
        • Fix marbles of first(T) (#​7400)
        Other
        • Move nullness annotation to use sites of Supplier (#​7385)

        v3.1.3: 3.1.3

        Maven JavaDocs

        Other
        • Fix assert message format in TestSubscriber/TestObserver. (#​7351)
        • Use Zulu JDKs to test and build RxJava. (#​7345)

        v3.1.2: 3.1.2

        Maven JavaDocs

        Compatibility
        • Add full Java 9 module descriptor. (#​7241)
        Bugfixes
        • Fix missing nullability on Single.subscribe(BiConsumer). (#​7331)
        Documentation
        • Fix javadoc wording of {Publish|Behavior}Processor::offer(). (#​7328)
        • Indicate takeUntil stops on completion of other. (#​7341)
        Other
        • Update assert messages format to be compliant with GradleRunner and JUnitRunner. (#​7345)

        v3.1.1: 3.1.1

        Maven JavaDocs

        API promotions
        • The operator fusion-related interfaces and two atomic queue implementations have been promoted to standard, thus officially supported in the io.reactivex.rxjava3.operators package. (#​7320)
        Bugfixes
        • Specify proper OSGi unique bundle symbolic name of io.reactivex.rxjava3.rxjava. (#​7319)
        • Fix ExecutorScheduler initializing Schedulers prematurely when using RxJavaPlugins.createExecutorScheduler. (#​7323)
        • Fix the LamdbaConsumerIntrospection of Completable's lambda-based observer to use the same missing onError indicator as the other types' lambda-based consumers. (#​7326)

        v3.1.0: 3.1.0

        Maven JavaDocs

        :warning: With this release, the minimum required Android API level is API 21 (Android 5.0).

        :warning: Note that the 3.0.x patch line won't be developed further.

        API promotions
        • Flowable.onBackpressureReduce() + 1 (#​7296)
        • RxJavaPlugins.getOnParallelSubscribe() and RxJavaPlugins.setOnParallelSubscribe() (#​7296)
        • TestScheduler([...] boolean useOnScheduleHook) (#​7296)
        API additions
        • subscribe([...], DisposableContainer) for better Disposable management and reference cleanup. (#​7298)
        • RxJavaPlugins.createExecutorScheduler() for creating an Executor-based Scheduler before the Schedulers class (and thus the standard schedulers) gets initialized. (#​7306)
        Behavior changes
        • The scheduler purge thread has been removed. Removing cancelled timed operations is now managed by the setRemoveOnCancelPolicy of the underlying ScheduledExecutorService. (#​7293)
        Documentation
        • Fixed wording of the fair parameter of Schedulers.from. (#​7301)
        • Update withLatestFrom javadoc about upstream early complete (#​7289)
        Other
        • @NonNull annotations on generic type arguments were made consistent across. (#​7302, #​7303)

        v3.0.13: 3.0.13

        Maven JavaDocs

        :warning: RxJava is now signed with a new private key. The new public key fingerprint is 1D9AA7F9E1E2824728B8CD1794B291AEF984A085.

        Documentation
        • Fix wording of *OnSubscribe interfaces (#​7274)
        Other

        v3.0.12: 3.0.12

        Maven JavaDocs

        Bugfix
        • CompositeException.printStackTrace to write directly into PrintStream/PrintWriter. (#​7212)
        Documentation
        • Fix wrong reference in Single.flattenStreamAsObservable javadoc. (#​7206)
        • Fix style violating Javadoc. (#​7210)
        Other
        • Fix POM_URL (#​7214)
        • Upgrade Gradle to 6.8.3 (#​7208)
        • Bump gradle to 6.8.3 & optimize gradle config (#​7207)
        • Added Javadoc checks to Checkstyle. Fix violating Javadoc. (#​7210)
        • Modernize gradle plugin block, change maven to maven-publish (#​7219)

        v3.0.11: 3.0.11

        Maven JavaDocs

        ℹ️ RxJava 2 is now end-of-life (EOL) and no further development or support will be provided by the project.

        Enhancement
        • Add onSubscribe hook to ParallelFlowable operators (#​7191)
        Bugfix
        • Allow Single.zip and Maybe.zip result to be garbage collected (#​7196)
        • Direct scheduling via Schedulers.from to honor the interruptibleWorker setting (#​7203)
        Documentation
        • Fix typos in Schedulers.java (#​7178)
        Other

        v3.0.10: 3.0.10

        Maven JavaDocs

        Enhancement
        • Add a system parameter to allow scheduled worker release in the Io Scheduler. (#​7160)
        • Add TestScheduler option to use onSchedule hook. (#​7163)
        • Add a system parameter to allow Schedulers to use System.nanoTime() for now(). (#​7169)
        • Add fusion support to concatMap{Maybe|Single|Completable}. (#​7165)
        Documentation
        • Update marbles of amb(), ambArray() and ambWith() (#​7144)
        • Fix take() mentioning the old limit() operator (#​7145)
        • Document Schedulers.from vs. RejectedExecutionException behavior. (#​7150)
        • Update documentation for NewThreadWorker.scheduleActual method. (#​7164)
        • Improve Javadocs style of Schedulers. (#​7168)
        Other
        • onReduceBackpressure internals cleanup (#​7151)
        • Workaround for FutureTask.toString recursion on JDK 10+. (#​7173)

        v3.0.9: 3.0.9

        Maven JavaDocs

        API
        Documentation
        • Improve Javadocs of Connectable sources (#​7127)
        Other
        • Improve error messages in the test consumers (#​7126)

        v3.0.8: 3.0.8

        Maven JavaDocs

        Bugfixes
        • Remove unnecessary cancel/dispose calls from terminating using (#​7121)
        Documentation
        • Flowable scan/scanWith backpressure documentation update (#​7110)

        v3.0.7: 3.0.7

        Maven JavaDocs

        Bugfixes
        • Fix Observable.toFlowable(ERROR) not cancelling on MissingBackpressureException. (#​7083)
        • Fix Flowable.concatMap backpressure with scalars. (#​7089)
        Documentation
        • fromRunnable/fromAction javadoc improvements. (#​7071)
        • Patch out duplicate @NonNull annotation in generated javadocs. (#​7073)
        • Clarify the documentation for scan operators. (#​7093)

        v3.0.6: 3.0.6

        Version 3.0.6 - August 20, 2020 (Maven)

        JavaDocs

        Bugfixes
        • Fix Observable.window (size, skip, overlap) dispose behavior (#​7049)
        Documentation
        • Update marbles of onErrorResume(Next|With) + cleanup (#​7051)

        v3.0.5: 3.0.5

        Version 3.0.5 - July 31, 2020 (Maven)

        JavaDocs

        Enhancements
        • Make the Collector type of the collectoperator contravariant in T (#​7033)
        Bugfixes
        • Fix map() conditional chain causing NPE (#​7040)

        v3.0.4: 3.0.4

        Maven JavaDocs

        Bugfixes
        • Fix Flowable.groupBy eviction logic double decrement and hang. (#​6975)
        • Fix Flowable.groupBy cancellation/cleanup/eviction race hangs. (#​6979)
        • Disable fusion on the groups of Flowable.groupBy. (#​6983)
        • Fix Flowable.groupBy eviction-completion-replenishment problems. (#​6988)
        • Removed unnecessary upstream.cancel() call for casually finished upstream sequences. (#​6992)

        v3.0.3: 3.0.3

        Maven JavaDocs

        Enhancements
        • Allow setting the drift tolerance timeunit via system property rx3.scheduler.drift-tolerance-unit. (#​6969)
        Bugfixes
        • Fix scheduled tasks' fatal exception behavior. (#​6956)
        Documentation

        v3.0.2: 3.0.2

        Maven JavaDocs

        Bugfixes
        • Fix Observable.flatMap with maxConcurrency hangs. (#​6946)
        Documentation
        • Add see annotation for range operators. (#​6934)
        • Update images and their JavaDocs URLs to non-transparent version. (#​6944)

        v3.0.1: 3.0.1

        Maven JavaDocs

        Bugfixes
        • Fix switchMap not canceling properly during onNext-cancel races. (#​6917)
        • Fix replay() not resetting when the connection is disposed. (#​6921)

        Configuration

        📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

        🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

        Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

        🔕 Ignore: Close this PR and you won't be reminded about this update again.


        • [ ] If you want to rebase/retry this PR, check this box

        This PR has been generated by Mend Renovate. View repository job log here.

        dependencies renovate 
        opened by renovate[bot] 0
      • Update dependency io.ktor:ktor-bom to v1.6.8

        Update dependency io.ktor:ktor-bom to v1.6.8

        Mend Renovate

        This PR contains the following updates:

        | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | io.ktor:ktor-bom | 1.4.0 -> 1.6.8 | age | adoption | passing | confidence |


        Release Notes

        ktorio/ktor

        v1.6.8

        Compare Source

        Published 14 March 2022

        • Update Gradle to 7.4
        • Update Kotlin to 1.6.10
        • Migrate gradle to version catalog
        • Update logback version to 1.2.11 (KTOR-3935)
        • Update atomicfu to 0.17.1
        • Update netty to 4.1.74.Final
        • Update netty-tcnative to 2.0.45.Final
        • Update jetty to 9.4.45.v20220203
        • Update tomcat to 9.0.59
        • Update apache to 4.1.5
        • Update okhttp to 4.9.3
        • Update gson to 2.9.0
        • Update jackson 2.13.1
        • Update slf4j to 1.7.36
        • Update node-fetch to 2.6.7
        • Update js ws package to 8.5.0
        • Revert wrong check to prevent anyHost with allowCredentials (KTOR-2872

        v1.6.7

        Compare Source

        Published 6 December 2021

        • Explicitly specify jdk version for building (KTOR-3358)
        • Make URL constructor public again (KTOR-3514)

        v1.6.6

        Compare Source

        Published 25 November 2021

        • Some Netty EngineMain properties are not set (KTOR-3464)
        • Session cookie with BASE64 encoding fails to set correct cookie (KTOR-524)
        • corsCheckRequestHeaders false (KTOR-445)
        • DropwizardMetrics does not append baseName to the 'per endpoint'-metrics (KTOR-2527)
        • Cookies that added to request got removed if HttpCookies plugin is installed (KTOR-3105)
        • Development mode isn't taken into account for subroutes (KTOR-3316)
        • URL port should be in 0..65535 (KTOR-3314)
        • Basic auth not sending second request (KTOR-3472)
        • Update Kotlin to 1.6.0 (KTOR-3422)

        v1.6.5

        Compare Source

        Published 2 November 2021

        • Bump kotlin from 1.5.30 to 1.5.31
        • Bump tomcat from 9.0.58 to 9.0.54
        • Bump logback from 1.2.3 to 1.2.6
        • Bump slf4j from 1.7.30 to 1.7.32
        • Bump gson from 2.8.6 to 2.8.9
        • Bump okhttp from 4.6.0 to 4.9.2
        • Bump jackson from 2.12.3 to 2.13.0
        • Bump mockk from 1.10.6 to 1.12.0
        • Add Apple Silicon targets (KTOR-3082)
        • Fix HttpCookies feature overwriting request cookies (KTOR-3105)
        • Change EAP version scheme (KTOR-3319)
        • Update Netty to 4.1.69.Final (KTOR-472)
        • Allow wildcard origins for CORS requests (KTOR-316)
        • Add a host check for illegal symbols (KTOR-384)
        • Add check to prevent anyHost with allowCredentials (KTOR-2872)
        • Bump metrics-core from 4.2.3 to 4.2.4
        • Bump webjars-locator-core from 0.47 to 0.48
        • Bump metrics-jvm from 4.2.3 to 4.2.4
        • Fix ProxyType.SOCKS being mapped to Proxy.Type.DIRECT
        • fix grammar (KTOR-3237)
        • Bump micrometer-core from 1.7.4 to 1.7.5
        • Ignore flaky testTimeoutPriority (KTOR-3243)
        • Fix npe if static file not found (KTOR-2811)
        • Fix flaky timeoutPriorityTest (KTOR-3243)
        • Fill Content-Length for PartialContent (KTOR-308)
        • Change default log-level to INFO (KTOR-806)
        • Use require from the stdlib instead of internal require (KTOR-2626)

        v1.6.4

        Compare Source

        Published 30 September 2021

        • [Auth] [Interceptors] Phase Phase('Challenge') was not registered for this pipeline (KTOR-3156)
        • insertPhaseBefore and insertPhaseAfter lead to different order (KTOR-438)
        • Ktor 1.6.3 crashes on restart due to java.lang.ClassNotFoundException: Didn't find class "java.nio.file.WatchService" on Android 24 (KTOR-3166)
        • GraalVM binary using CIO fails on start "Module function cannot be found" (KTOR-2987)
        • Logging in Shutdown thread looks not informative (KTOR-3175)
        • Installed Closeable features not closed when closing HttpClient (KTOR-3116)
        • Explain method(HttpMethod.Options) in docs for CORS (KTOR-2913)
        • ContentType.parse("text/html qqq") must fail with error (KTOR-3080)
        • Update JSON topics using code snippets from the 'codeSnippets' project (KTOR-2955)
        • Could not find artifact org.jetbrains.kotlinx:kotlinx-html-jvm:pom:0.7.2 (KTOR-2481)
        • Update the 'Modules' topic (KTOR-1861)
        • Native engines tests are not run outside of the ktor-client-tests module (KTOR-3069)
        • MultiPartData.readAllParts throws IOException when the epilogue is omitted (KTOR-3173)
        • Update Kotlin and Coroutines Versions (KTOR-3103)

        v1.6.3

        Compare Source

        Published 26 August 2021

        • Auth Feature: token refresh works only on main thread in Kotlin/Native (KTOR-3055)
        • FUS report mixes up feature id and feature version (KTOR-3067)
        • SessionTrackerById - doesn't remove invalid session id (KTOR-2584)
        • Bearer Token is Not Initialized after Clean (KTOR-3008)
        • ktor does not support semicolon query parameter in Netty Engine (KTOR-2991)
        • HOCON config not resolved in ServletApplicationEngine (KTOR-3020)
        • Deploy WAR on Tomcat (KTOR-2867)
        • The wizard missing the Pebble plugin (KTOR-2922)
        • Wizard: Creating a project without sample code creates Application.configureRouting without routing (KTOR-2581)
        • The 'Create Run Configuration automatically' option name is cropped (KTOR-2898)
        • InvalidMutabilityException when using withContext and SavedHttpCall (KTOR-2033)
        • Reuse Package Search to add dependencies for Ktor Features in Plugin (KTOR-2433)
        • Server: TLSConfigBuilder.addKeyStore: store.getCertificateChain could return null(KTOR-3047)

        v1.6.2

        Compare Source

        Published 29 July 2021

        • Fixed Ktor plugin raises StackOverflowError when opening some files (KTOR-2950)
        • Added parseUrlEncodedParameters Documentation (KTOR-2843)
        • Fixed CIO WebSockets client incorrectly sends Sec-WebSocket-Extensions header even if empty regression (KTOR-2388)
        • Updated serialization version to 1.2.2 (KTOR-2968)
        • Made code example complete in OAuth documentation(KTOR-1415)
        • Added quick action on a Application.module(...) to generate tests for a given module with all the endpoints in plugin (KTOR-2411)
        • Fixed kotlin.native.concurrent.InvalidMutabilityException: mutation attempt of frozen @​72c18 (KTOR-2883)
        • Fixed 404 errors in ktor docs (KTOR-2915)
        • Added prometeus version to Ktor docs (KTOR-2015)
        • Fixed incorrect Structured Markup (LD+JSON) on Ktor docs (KTOR-2943)
        • Fixed confusing/incorrect JWT auth documentation (KTOR-979)
        • Fixed embedded Netty Server with watch paths is crashing in API level 22 when calling stopping server (KTOR-1613)
        • Fixed NoSuchMethodError: No virtual method getParameterCount on Android API 25 and lower regression (KTOR-2924)
        • Fixed X-Forwarded-Port Parse Exception when it contains comma separated list of ports regression (KTOR-2918)
        • Made CookieConfiguration default to secure configuration and require user opt-out long-standing (KTOR-628)
        • Updated docs section about testing with cookies (KTOR-273)
        • Fixed "ApplicationEngineEnvironment was not started" when accessing application before server is started (KTOR-1854)
        • Updated HTTP/2 documentation (KTOR-267)
        • Fixed NPE in ApacheRequestProducer when "http://" is requested (KTOR-1405)
        • Updated vulnerable versions from sonatype report (KTOR-2875)
        • Fixed ByteReadChannel.readUTF8Line() indefinitely returns empty lines when \r is not followed by \n (KTOR-2868)
        • v1.6.1

          Compare Source

          Published 1 July 2021

          • Linked back to site from Docs (KTOR-2843)
          • Fixed unbound public symbol for public io.ktor.network.sockets/SocketTimeoutException when iosArm64 framework (KTOR-2276)
          • Fixed configureBootstrap hook overwritten by Ktor settings (KTOR-356)
          • Fixed crypto is undefined in IE11 (KTOR-409)
          • Added support for X-Forwarded-Port header in XForwardedHeaderSupport plugin (KTOR-2788)
          • Fixed StatusPages doesn't catch FreeMarker exceptions (KTOR-343)
          • Fixed java.nio.charset.IllegalCharsetNameException: %s (KTOR-2645)
          • Added application startup and hot-reloading time log (KTOR-2816)
          • Fixed postpone (and don't cache) name resolution in cio client (KTOR-2513)
          • Improved diagnostics for exceptions inherited from IOException (KTOR-2691)
          • Fixed refresh token gets stuck (KTOR-2797)
          • Fixed developmentMode is on by default in tests (KTOR-2727)
          • Fixed unable to run new Ktor project (KTOR-2586)
          • Fixed unhandled get freezes with CIO server (KTOR-333)
          • Fixed double host header (KTOR-379)
          • Fixed use kotlin.reflect.jvm.javaType instead of the type token pattern in io.ktor.util.reflect.typeInfo (KTOR-2709)
          • Fixed "JWK Public Key of type ""EC""" (KTOR-2387)
          • Fixed lots of Run Configurations Created for Ktor Project with the Similar Names (KTOR-2803)
          • Fixed ApplicationEngineEnvironmentBuilder.module { … } is executed twice on Exception (KTOR-2734)
          • Researched shared indexes for Ktor (KTOR-2774)
          • Fixed selecting custom package name in Ktor wizard still results in example.com import in ApplicationTest.kt (KTOR-2707)
          • Fixed generated project with specific security and session features selected fails to compile / run (KTOR-2636)
          • Fixed Wizard: Misleading comment in Static Feature (KTOR-2560)
          • Fixed "Update ktor 1.5.0 docs. Deprecated ""challenge"" function for form auth in docs." (KTOR-1974)
          • Fixed Auth Feature Code Snippet: form authentication the doesn't work (KTOR-821)
          • Fixed the '-ea' flag works differently when running a server using Application.module and embeddedServer (KTOR-1758)
          • Fixed enabled-by-default development mode breaks reflection by overriding classloader (KTOR-2306)
          • Reviewed documentation for the onUpload/onDownload client callbacks (KTOR-2710)
          • Fixed Ktor fails to deliver response with error: failed with exception: kotlinx.coroutines.JobCancellationException: Parent job is Completed; (KTOR-2711)
          • Replaced kotlin-test dependency with junit in ktor-server-test-host (KTOR-2555)

          v1.6.0

          Compare Source

          Published 28 May 2021

          • Ktor fails to deliver response with error: failed with exception: kotlinx.coroutines.JobCancellationException: Parent job is Completed; (KTOR-2711)
          • Wrong Tabs Name in Code Blocks (KTOR-2726)
          • Apache HTTP Client does not send Content-Length header if body is empty content (KTOR-556)
          • Review Auth providers (KTOR-2637)
          • When the main thread executes runBlocking, using the iOS engine will cause a deadlock (KTOR-2683)
          • Deprecate TestApplicationCall.requestHandled (KTOR-2712)
          • Update Dokka: Dokka tasks fails with old dokka version and Gradle 7 (KTOR-2693)
          • Duplicate server Features Section on the Documentation Website (KTOR-2702)
          • Duplicate entry "Features" in Server docs (KTOR-1546)
          • Upgrading from 1.4.3 to 1.5.2 introduced a routing precedence (KTOR-2278)
          • Sporadic OkHttp errors after upgrading to ktor 1.3.1 (KTOR-449)
          • Netty: server freezes after start error (KTOR-803)
          • aSocket().bind() sometimes throws Already bound SocketException (KTOR-638)
          • UDPSocketTest.testBroadcastSuccessful[jvm] is failing (KTOR-2616)
          • Fix flaky CIOHttpsTest.customDomainsTest[jvm] (KTOR-2065)
          • Occasionally empty response using Netty + Jackson (KTOR-1973)
          • '%3D' inside query of redirect target location will be replaced to '=' (KTOR-2057)
          • CIO: TLSConfigBuilder JVM allow null as password (KTOR-940)
          • route("{...}") stopped matching root (KTOR-1965)
          • call.respond() will not check or apply ContentNegotiation for some types (KTOR-2194)
          • Add support for Velocity Tools (KTOR-2345)
          • Base name of micrometer metrics is not configurable (KTOR-2210)
          • Support for Compression Extensions for WebSocket (RFC 7692) (KTOR-688)
          • Document usage of Bearer token in Http Client (KTOR-2439)
          • How to track leaked buffers in ktor-io? (KTOR-2442)
          • Routing: Add PutTyped and PatchTyped Overload (KTOR-1344)
          • Migrate to Dokka 1.4.0 (KTOR-1032)
          • Client upload/download progress observer/handler/interceptor (KTOR-400)
          • HTTP-client auth with Bearer token (KTOR-331)
          • Expose TrailingSlashRouteSelector (KTOR-2511)
          • Add an option to disable URL Encoding (KTOR-553)
          • Upgrade kotlin to 1.5.10 (KTOR-2722)

          v1.5.4

          Compare Source

          Published 30 Apr 2021

          • Fixed extra trailing slashes in Route.toString (KTOR-2427)
          • Fixed ByteReadChannel.read related issues (KTOR-2615, KTOR-2519)
          • Fixed silently ignored exceptions in HTML DSL with StatusPages feature (KTOR-756)
          • Changed IosHttpRequestException supertype to IOException (KTOR-2566)
          • Fixed utility collection implementation for K/N (KTOR-2482)
          • Fixed client Digest auth realm handling (KTOR-1464)

          v1.5.3

          Compare Source

          Published 2 Apr 2021

          • Upgraded to coroutines 1.4.3 (KTOR-2254)
          • Upgraded kotlinx.serialization to 1.1.0 (KTOR-2238)
          • Fixed I/O readRemaining sometimes looses exception (KTOR-2263)
          • Fixed autoreload with 1.5.x when using embeddedServer NOT in debug mode regression (KTOR-2214)
          • Fixed flaky CIOSustainabilityTest.testBlockingConcurrency[jvm] (KTOR-2265)
          • Resolve 'node-fetch' on libs produced by jsBrowserProductionLibraryDistribution regression (KTOR-2230)
          • Updated doc string for FormPart (KTOR-2173)
          • Fixed java.lang.IllegalStateException: No instance for key AttributeKey: ExpectSuccessAttribyteKey regression (KTOR-2389)
          • Supported overriding Kotlin module configuration using jackson dsl function (KTOR-1692)
          • Fixed CORS can't pass on some none standard orgin on jvm (KTOR-469)
          • Fixed unexpected exception when using Session feature: "Using blocking primitives on this dispatcher is not allowed" regression jvm (KTOR-1452)
          • Fixed NettyApplicationEngine providing a configureBootstrap in the configuration throws IllegalStateException: group set already (KTOR-2078)
          • Fixed wrong indentation in Serving Static Content guide (KTOR-2017)
          • Fixed InsufficientSpaceException trying to build ByteReadPacket jvm (KTOR-960)
          • Fixed flaky ProxyTest.testHttpProxy[CIO][jvm] (KTOR-2082)
          • Fixed invalid assertion for existence of the key in the key store (KTOR-2311)
          • Fixed incorrect grammar in exception messages (KTOR-2284)
          • Fixed flaky JavaEngineTests.testThreadLeak[jvm] (KTOR-2098)
          • Fixed flaky JettyStressTest.highLoadStressTest (KTOR-2080)
          • Fixed flaky ExceptionsJvmTest.testConnectionClosedDuringRequest[jvm] (KTOR-2063)
          • Upgrade kotlin to 1.4.32 (KTOR-2403)

          v1.5.2

          Compare Source

          Published 25 Feb 2021

          • Fixed Dokka building for master (KTOR-2206)
          • Fixed native build on linux machine (KTOR-2200)
          • Fixed docker doc is incorrect / does not work (KTOR-2179)
          • Fixed crash with Firebase Performance in iOS (KTOR-642)
          • Fixed Ktor Client CIO engine Jvm ignores Cipher suites with key strength more than 128 bits. (KTOR-1914)
          • Fixed mandatory Path Segment parameter can be empty, if no explicit route with trailing / is defined (KTOR-2054)
          • Fixed flaky ClientSocketTest.testSelfConnect[jvm] (KTOR-2060)
          • Switch JS Fetch API to Standard Library (org.w3c.fetch.*) (KTOR-1460)
          • Fixed CIO server always start on "0.0.0.0" - does not respect "connector" configuration (KTOR-334)
          • Fixed server/netty: IllegalReferenceCountException (KTOR-1801)
          • Fixed digest authentication: cannot successfully pass authentication using curl or web browser (KTOR-1466)
          • Fixed HTTP Client exception is masked by JobCancellationException with Ktor 1.5.0 (KTOR-1967)
          • Fixed changing requestTimeoutMillis in config of HttpTimeout feature doesn't change the CIO's timeout (KTOR-2000)
          • Fixed test a POST with MultiPart using TestApplicationEngine does not success or fail (KTOR-345)
          • Fixed default Headers feature adds duplicated Server header (KTOR-1976)
          • Fixed custom response validation is not running when default is disabled (KTOR-2007)
          • Fixed session cookie with very long max age duration (KTOR-692)
          • Upgrade kotlin to 1.4.30 (KTOR-1639)

          v1.5.1

          Compare Source

          Published 27 Jan 2021

          • Circular reference for SocketException and StackOverflowError when using SLF4J logger (KTOR-1080)
          • start.ktor.io - Incorrect import for websockets for ktor 1.2.4 (KTOR-274)
          • Unable to catch socket exceptions (KTOR-1166)
          • Support explicit WebSocket session close (KTOR-340)
          • ktor-client-apache: thread stuck in ByteBufferChannel.readRemainingSuspend (KTOR-1463)
          • Logging tests fails due to floating log entries (KTOR-1870)
          • Adding existing dropwizard metrics registry to Ktor (KTOR-1798)
          • Exception kotlinx.serialization.SerializationException: Class 'ArrayList' is not registered for polymorphic serialization in the scope of 'Collection' in 1.5.0 (KTOR-1795)
          • Prevent double quotes on header params (KTOR-1797)
          • Post request shows empty body after upgrading v1.3.2 (KTOR-426)
          • CIO native selector doesn't select new descriptors (KTOR-1856)
          • Client logging docs don't mention all required dependencies (KTOR-280)
          • Out of date self-signed-certificate documentation (KTOR-272)
          • ClosedReceiveChannelException when making request with CIO engine using a proxy to https (KTOR-1458)
          • Incorrect encoding function used for URL path by URLBuilder (KTOR-1543)
          • A single slash gets ignored for defining a route, but 1.5 requires them due to KTOR-372 (KTOR-1615)
          • Wrong shadow plugin version in Fat JAR docs (KTOR-1359)
          • ktor server documentation is returning 404 (KTOR-1602)
          • CORS doesn't reject bad headers (KTOR-1662)
          • OkHTTP client engine tries to close the connection twice during the closing handshake (KTOR-1374)
          • Dispatcher is closing earlier than client (KTOR-1661)
          • Server losing channel exceptions at receive (KTOR-1590)
          • Request parameters should have name (KTOR-378)
          • Status-code must be 3-digit (KTOR-370)
          • Connect request sends wrong status line (KTOR-1612)
          • Response channel is always cancelled with Logging feature (KTOR-1598)
          • Java client logging tests are fluky (KTOR-1599)
          • HttpTimeoutTest.testConnect are flaky (KTOR-1583)
          • Jetty: requests to resources, that doesn't respond with HTTP/2, lead to unexpected behaviour (KTOR-874)
          • "Unfinished workers detected" using client on native (KTOR-1220)
          • HttpTimeout.testSocketTimeoutWriteFail is flaky (KTOR-1584)
          • Reserved characters in path is not encoded (KTOR-570)
          • testTimeoutCancelsWhenParentScopeCancels is flaky (KTOR-1585)
          • Java client freeze (KTOR-1567)
          • CallLoggingTest is flaky (KTOR-1582)
          • Missing dependency information the Authentication and Authorization topic (KTOR-1575)
          • "Using a Self-Signed Certificate" docs provide wrong dependency for 1.3.x (KTOR-21)
          • "Testing Http Client" docs page contains artifact name with -native suffix (KTOR-1006)
          • Custom JSON mapping with Jackson (KTOR-603)
          • Serialization for client section does not explain how to use it (KTOR-999)
          • Add information about required artifacts to the WebSockets topic (KTOR-1532)
          • Missing dependency information the Client Auth topic (KTOR-1533)
          • New documentation lacks artifacts information for Gradle and Maven (KTOR-1167)
          • ResponseException is no longer serializable starting from 1.4.0 (breaking change) (KTOR-1552)
          • Upgrade kotlin to 1.4.21 (KTOR-1637)

          v1.5.0

          Compare Source

          Published 22 Dec 2020

          • Fixed crash when sending large responses in 1.4.2 (KTOR-1369)
          • Introduced URLBuilder function to append paths (KTOR-403)
          • Allowed OkHttpConfig to configure WebSocket.Factory (KTOR-951)
          • Get client certificate information from request (KTOR-424)
          • Fixed quoting Content-Disposition additional parameters (KTOR-455)
          • Support Java HTTP Client (KTOR-348)
          • Serializing collections of different element types (KTOR-1163)
          • Introduced Netty tcpKeepAlive option (KTOR-368)
          • Implemented development mode for Ktor (KTOR-1184)
          • Implemented proper unhandled exception handling strategy (KTOR-835)
          • Added OAuth feature config to avoid Dropbox issue (KTOR-715)
          • Breaking change: Fixed trailing slashes handling in routing (KTOR-372) Routes registered without trailing slashes no longer match URLs with trailing slashes, and vice versa. To keep the previous behavior, install the IgnoreTrailingSlash feature.
          • Added CIO client proxy tunneling support (KTOR-1458)
          • Supported Sealed Classes inside Session-Objects (KTOR-826)
          • Fixed code autoreload (KTOR-664)
          • Added response text to the message of ResponseException and derived exceptions (KTOR-844)
          • Added ability to send cookies with HttpRequestBuilder (KTOR-926)
          • Added warning to HTTP/2 push API (KTOR-1329)
          • Fixed parsing Authorization header diagnostics (KTOR-1406)
          • Fixed CORS character encoding issue (KTOR-1370)
          • Added CORS anyHeader in feature configuration (KTOR-977, KTOR-1263)
          • Added curl engine option sslVerify (KTOR-1093)
          • Fixed client response validation in some cases (KTOR-1412)
          • Introduced support for pre-compresed files (KTOR-1447)
          • Fixed Apache client engine sometimes hits an unrecoverable socket timeout when using ChannelWriterContent (KTOR-1149)
          • Fixed typo val socketTimeout in CIOEngineConfig cause it's a property in the config (KTOR-1240)
          • Added excludeSuffix to HttpsRedirect feature (KTOR-1197)
          • Fixed CIO client connectRetryAttempts = 0 handling (KTOR-1125)
          • Added option to use specific alias from keystore in CIO TLSConfigBuilder JVM (KTOR-941)

          v1.4.3

          Compare Source

          Published 1 Dec 2020

          • Client: URL encode / escaping is wrong (KTOR-341)
          • HTTP/2 push fails with netty engine (KTOR-800)
          • Request headers exceeding expected threshold are not handled correctly (KTOR-905)
          • iOS client fails with CoroutinesInternalError when Logging is used (KTOR-924)
          • Experimental API and compatibility guarantees (KTOR-1035)
          • CIO: client engine exceptions are both logged and thrown (KTOR-1127)
          • Timeout feature: android engine throws Java's SocketTimeoutException instead of ConnectTimeoutException (KTOR-1229)
          • Input.readTextExactBytes(n) on empty input different behavior per platform (KTOR-1235)
          • HttpRedirect feature alters Location header value (KTOR-1236)
          • Wrong pool is used to release IOBuffer after ByteChannelSequential.copyTo from static initialized instance. (KTOR-1237)
          • CIO Engine's HttpClient may fail when trying to send large size binary data. (KTOR-1247)
          • ByteBufferChannel.readRemaining doesn't read whole channel (KTOR-1268)
          • Cannot receive content via jackson negotiator since 1.4.2 (KTOR-1286)
          • ktor-io: JVM shared function decrease performance starting from 1.4.0 (KTOR-1290)
          • Sessions + SSL (Netty) (KTOR-1292)
          • Netty HTTP/2 HEAD response hangs (KTOR-1298)
          • Using blocking primitives on this dispatcher is not allowed. Consider using async channel instead or use blocking primitives in withContext(Dispatchers.IO) instead. (KTOR-1305)
          • "Wrong HEX escape": gracefully handle invalid URLs (KTOR-1308)
          • Add build parameter to build ktor with JVM IR compiler (KTOR-1336)
          • Update kotlin to 1.4.20 (KTOR-1346)
          • Fix configuration if project without VPN and cache (KTOR-1347)
          • Client: NPE in FormDataContentKt -> Input.copyTo (KTOR-1349)
          • Upgrade Netty to 4.1.54.Final (KTOR-1363)
          • Handle failure in reading request body (KTOR-1367)
          • Remove copyTo usage from ServerPipeline (KTOR-1381)

          v1.4.2

          Compare Source

          Published 10 Nov 2020

          Please see Change Log on Ktor site

          v1.4.1

          Compare Source

          Published 23 Sep 2020

          • OkHttp: Can't reuse same HttpRequestBuilder for different network clients (KTOR-949)
          • Empty body in response using macosX64 target (KTOR-479)
          • Native: InvalidMutabilityException creating HttpClient (KTOR-915)
          • MultiPartData.readAllParts() throws java.io.IOException when multipart list is empty (KTOR-767)
          • kotlin.native.concurrent.InvalidMutabilityException: mutation attempt of frozen io(.ktor.client.request.HttpRequestPipeline (KTOR-693)
          • "FreezingException: freezing of InvokeOnCompletion has failed" using native-mt coroutines (KTOR-973)
          • kotlin.native.concurrent.InvalidMutabilityException with 1.3.3-native-mt (KTOR-497)
          • Parser Exception in header with character code 1 not allowed (KTOR-860)
          • Calling HttpStatement#toString more than once throws IllegalArgumentException (KTOR-1005)
          • Wrong session id get stuck at clients (KTOR-1007)
          • Exception after WebSocketSession.close() invocation. (KTOR-847)
          • Error Ktor running on background thread on iOS (KTOR-499)
          • HttpClient can only be used on the main thread for native targets (KTOR-491)
          • Ignore content length when transfer encoding is chunked for CIO server (KTOR-1036)
          • ConcurrentList.increaseCapacity() throws ArrayIndexOutOfBoundsException (KTOR-1034)
          • Ktor 1.3.1 Fails File Upload with MalformedInputException (KTOR-391)
          • Update library versions, fix config after release (KTOR-1027)
          • Fix parsing urls with trailing spaces (KTOR-886)
          • 1.4.0: breaking change by making response nullable in ResponseException (KTOR-916)
          • Netty: Not started servers leak resources (KTOR-939)
          • Ktor websocket client passes configured max frame as timeout millis (KTOR-923)
          • Routing: get matcher has higher priority than param matcher on the same level (KTOR-792)
          • Confusing log message about failed session lookup (KTOR-776)
          • Implement runtime check of using native-mt coroutines (KTOR-956)
          • Http parse security issue (KTOR-841)
          • Bumped versions:
            • kotlinx.coroutines 1.3.9-native-mt-2
            • kotlinx.serialization 1.0.0-RC2
            • kotlin 1.4.10

          Configuration

          📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

          🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

          Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

          🔕 Ignore: Close this PR and you won't be reminded about this update again.


          • [ ] If you want to rebase/retry this PR, check this box

          This PR has been generated by Mend Renovate. View repository job log here.

          dependencies renovate  opened by renovate[bot] 0
        • Update dependency gradle to v7.4.2

          Update dependency gradle to v7.4.2

          Mend Renovate

          This PR contains the following updates:

          | Package | Update | Change | |---|---|---| | gradle (source) | minor | 7.3 -> 7.4.2 |


          Release Notes

          gradle/gradle

          v7.4.2

          This is a patch release for Gradle 7.4.

          See the list of fixed issues: https://docs.gradle.org/7.4.2/release-notes.html

          We recommend users upgrade to 7.4.2 instead of 7.4 or another patch release.

          Upgrade Instructions

          Switch your build to use Gradle 7.4.2 by updating your wrapper:

          ./gradlew wrapper --gradle-version=7.4.2
          

          See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.4.2.

          Reporting Problems

          If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

          v7.4.1

          This is a patch release for Gradle 7.4.

          See the list of fixed issues: https://docs.gradle.org/7.4.1/release-notes.html

          We recommend users upgrade to 7.4.1 instead of 7.4.

          Upgrade Instructions

          Switch your build to use Gradle 7.4.1 by updating your wrapper:

          ./gradlew wrapper --gradle-version=7.4.1
          

          See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.4.1.

          Reporting Problems

          If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

          v7.3.3

          This is a patch release for Gradle 7.3.

          It fixes the following issues:

          We recommend users upgrade to 7.3.3 instead of 7.3.

          Given the context of the Log4Shell vulnerability, make sure you take a look at our blog post on this topic.

          Upgrade Instructions

          Switch your build to use Gradle 7.3.3 by updating your wrapper:

          ./gradlew wrapper --gradle-version=7.3.3
          

          See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.3.3.

          Reporting Problems

          If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

          v7.3.2

          This is a patch release for Gradle 7.3.

          It fixes the following issues:

          • #​19300 Mitigations for log4j vulnerability in Gradle builds
          • #​19257 Incremental java compilation fails when renaming classname with $ character

          We recommend users upgrade to 7.3.2 instead of 7.3.

          Given the context of the Log4Shell vulnerability, make sure you take a look at our blog post on this topic.

          Upgrade Instructions

          Switch your build to use Gradle 7.3.2 by updating your wrapper:

          ./gradlew wrapper --gradle-version=7.3.2
          

          See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.3.2.

          Reporting Problems

          If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.

          v7.3.1

          This is a patch release for Gradle 7.3.

          It fixes the following issues:

          • #​19058 Consider reverting breaking change about test configuration
          • #​19067 Fix multiple annotation processing issues discovered by Micronaut

          We recommend users upgrade to 7.3.1 instead of 7.3.

          Upgrade Instructions

          Switch your build to use Gradle 7.3.1 by updating your wrapper:

          ./gradlew wrapper --gradle-version=7.3.1
          

          See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.3.1.

          Reporting Problems

          If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.


          Configuration

          📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

          🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

          Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

          🔕 Ignore: Close this PR and you won't be reminded about this update again.


          • [ ] If you want to rebase/retry this PR, click this checkbox.

          This PR has been generated by Mend Renovate. View repository job log here.

          dependencies renovate 
          opened by renovate[bot] 0
        • Owner
          Masatoshi Kubode
          Android / Kotlin
          Masatoshi Kubode
          This project is focused on the sample using the API's new preview version of Android-L, use of transitions, shadows etc...

          Android L preview example Description This project is focused on the sample using the API's new preview version of Android-L, use of transitions, shad

          Saul Molinero 165 Nov 10, 2022
          Demo Android application using Gradle. Project is written entirely in Kotlin with MVVM architecture

          Demo Android application using Gradle. Project is written entirely in Kotlin with MVVM architecture, Dagger / Hilt Dependency Injection, Room Database and Retrofit API Calls

          Dejan Radmanovic 1 Apr 6, 2022
          Quality-Tools-for-Android 7.5 0.0 L5 Java This is an Android sample app + tests that will be used to work on various project to increase the quality of the Android platform.

          Quality Tools for Android This is an Android sample app + tests that will be used to work on various project to increase the quality of the Android pl

          Stéphane Nicolas 1.3k Dec 27, 2022
          Sample Project for Android Support Library 23.2

          SnapShot: Contains features Vector Drawable Animated Vector Drawable AppCompat DayNight theme Bottom Sheets Using BottomSheetDialog in day-night mode.

          Huqiu Liao 779 Nov 24, 2022
          Eutamin-C Sample Project

          here-is-my-card About Eutamin-C Sample Project This is an android application using Euphony library "here-is-my-card" makes it easy to share business

          Euphony 5 Sep 1, 2021
          📚 Sample Android Components Architecture on a modular word focused on the scalability, testability and maintainability written in Kotlin, following best practices using Jetpack.

          Android Components Architecture in a Modular Word Android Components Architecture in a Modular Word is a sample project that presents modern, 2020 app

          Madalin Valceleanu 2.3k Dec 30, 2022
          A sample app showing how to build an app using the MVI architecture pattern.

          MVI Example This application was streamed live on Twitch to demonstrate how to build an application using MVI. You can find the VOD here for now: http

          Adam McNeilly 46 Jan 2, 2023
          A sample Grocery Store app built using the Room, MVVM, Live Data, Rx Java, Dependency Injection (Kotlin Injection) and support Dark Mode

          Apps Intro A sample Grocery Store app built using the Room, MVVM, Live Data, Rx Java, Dependency Injection (Kotlin Injection) and support Dark Mode In

          Irsyad Abdillah 25 Dec 9, 2022
          Deletes other specs before the compileGroovy gradle task

          run-groovy-spec-faster Template ToDo list Create a new IntelliJ Platform Plugin Template project. Get familiar with the template documentation. Verify

          null 0 Nov 27, 2021
          Minimal example of how to safely share a file produced by a task in one project, with a task in another project.

          How to share files across Gradle subprojects: A minimal example This is the Gradle project: . ├── producer │ └── build.gradle.kts ├── consumer │ └

          Rob Moore 2 Dec 17, 2021
          👨‍💻 A demonstration modern Android development project with Jetpack(Compose, Room, ViewModel, Navigation), Hilt and based on MVVM by using Open Sky API. ✈️ 🌍

          A demonstration modern Android development project with Jetpack(Compose, Room, ViewModel, Navigation), Hilt and based on MVVM by using Open Sky API.

          Ismail Oguzhan Ay 13 Dec 4, 2022
          A demonstration modern Android development project with Jetpack(Compose, Room, Flow, ViewModel, Navigation), Hilt and based on MVVM by using Github API.

          A demonstration modern Android development project with Jetpack(Compose, Room, ViewModel, Navigation), Hilt and based on MVVM by using Github API.

          Murat 2 Apr 11, 2022
          A sample Android app which showcases advanced usage of Dagger among other open source libraries.

          U+2020 A sample Android app which showcases advanced usage of Dagger among other open source libraries. Watch the corresponding talk or view the slide

          Jake Wharton 5.7k Dec 22, 2022
          Sample to show how to implement blur graphical tricks

          BlurEffectForAndroidDesign Sample to show how to implement blur graphical tricks All the explanations could be found here: http://nicolaspomepuy.fr/?p

          Nicolas POMEPUY 2k Dec 28, 2022
          Sample material transition animations for Android

          See ListOfThings for a newer implementation. Android Material Transitions This Android project samples some Material Design-ish transitions for list i

          Todd Way 1.2k Dec 7, 2022
          Sample application demonstrating Android design and animation

          android-movies-demo This is a sample application showing off some interesting design/development interactions for a talk given at Droidcon 2013. As it

          Daniel Lew 359 Jan 1, 2023
          [] Port of Jake Wharton's U2020 sample app with use of MVP and Dagger 2

          U+2020-mvp [DEPRECATED] We recomend to try Moxy framework instead of our solution. Port of Jake Wharton's U2020 sample app with use of MVP pattern and

          Live Typing 315 Nov 14, 2022
          A simple sample showing the different types of notifications on Andoid

          Notification example Simple notification. Expandable notification Progress notification Action button notification Notifications: MainActivity: Refs h

          Saul Molinero 191 Nov 29, 2022