Kafka Connect connector for CØSMOS based blockchains.

Overview

CØSMOS Kafka Connector

Kafka Connect connector for CØSMOS based blockchains.

version build lint test ktlint conventional commits License

Purpose

The Kafka Connect CØSMOS Source connector is a Kafka connector used to move blocks from a Cosmos blockchain (in priority the økp4 chain) into an Apache Kafka® topic.

The connector can be used when there is a need for connecting CØSMOS blockchains with Kafka in order to build a real-time data pipelines based on blocks.

Build

Prerequsites

To build the project, you will need the following dependencies:

Building

This project relies on the Gradle build system.

If you are on windows then open a command line, go into the root directory and run:

.\gradlew build

If you are on linux/mac then open a terminal, go into the root directory and run:

./gradlew build
Comments
  • build(deps): bump kotlinx-coroutines-core from 1.6.0 to 1.6.1

    build(deps): bump kotlinx-coroutines-core from 1.6.0 to 1.6.1

    Bumps kotlinx-coroutines-core from 1.6.0 to 1.6.1.

    Release notes

    Sourced from kotlinx-coroutines-core's releases.

    1.6.1

    • Rollback of time-related functions dispatching on Dispatchers.Main. This behavior was introduced in 1.6.0 and then found inconvenient and erroneous (#3106, #3113).
    • Reworked the newly-introduced CopyableThreadContextElement to solve issues uncovered after the initial release (#3227).
    • Fixed a bug with ThreadLocalElement not being properly updated in racy scenarios (#2930).
    • Reverted eager loading of default CoroutineExceptionHandler that triggered ANR on some devices (#3180).
    • New API to convert a CoroutineDispatcher to a Rx scheduler (#968, #548). Thanks @​recheej!
    • Fixed a memory leak with the very last element emitted from flow builder being retained in memory (#3197).
    • Fixed a bug with limitedParallelism on K/N with new memory model throwing ClassCastException (#3223).
    • CoroutineContext is added to the exception printed to the default CoroutineExceptionHandler to improve debuggability (#3153).
    • Static memory consumption of Dispatchers.Default was significantly reduced (#3137).
    • Updated slf4j version in kotlinx-coroutines-slf4j from 1.7.25 to 1.7.32.
    Changelog

    Sourced from kotlinx-coroutines-core's changelog.

    Version 1.6.1

    • Rollback of time-related functions dispatching on Dispatchers.Main. This behavior was introduced in 1.6.0 and then found inconvenient and erroneous (#3106, #3113).
    • Reworked the newly-introduced CopyableThreadContextElement to solve issues uncovered after the initial release (#3227).
    • Fixed a bug with ThreadLocalElement not being properly updated in racy scenarios (#2930).
    • Reverted eager loading of default CoroutineExceptionHandler that triggered ANR on some devices (#3180).
    • New API to convert a CoroutineDispatcher to a Rx scheduler (#968, #548). Thanks @​recheej!
    • Fixed a memory leak with the very last element emitted from flow builder being retained in memory (#3197).
    • Fixed a bug with limitedParallelism on K/N with new memory model throwing ClassCastException (#3223).
    • CoroutineContext is added to the exception printed to the default CoroutineExceptionHandler to improve debuggability (#3153).
    • Static memory consumption of Dispatchers.Default was significantly reduced (#3137).
    • Updated slf4j version in kotlinx-coroutines-slf4j from 1.7.25 to 1.7.32.
    Commits
    • 2c3435c Merge pull request #3232 from Kotlin/version-1.6.1
    • 429b5d1 Version 1.6.1
    • 262876b Merge branch 'master' into develop
    • a5dd74b CopyableThreadContextElement implementation (#3227)
    • 8133c97 Fix limitedParallelism implementation on K/N (#3226)
    • 6c326e4 Do not mention service loading for CoroutineExceptionHandler as it is not mea...
    • f991742 docs: clarify section on coroutine memory consumption (#3225)
    • 0d26d6c Add references to available implementations in TestDispatcher docs (#3200)
    • 584b3c4 Fix typo: onDeliveredElement (#3217)
    • bc120a1 Fix a typo (#3213)
    • 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)
    dependencies java 
    opened by dependabot[bot] 5
  • build(deps): bump kotlinx-coroutines-core from 1.6.0 to 1.6.3

    build(deps): bump kotlinx-coroutines-core from 1.6.0 to 1.6.3

    Bumps kotlinx-coroutines-core from 1.6.0 to 1.6.3.

    Release notes

    Sourced from kotlinx-coroutines-core's releases.

    1.6.3

    • Updated atomicfu version to 0.17.3 (#3321), fixing the projects using this library with JS IR failing to build (#3305).

    1.6.2

    • Fixed a bug with ThreadLocalElement not being correctly updated when the most outer suspend function was called directly without kotlinx.coroutines (#2930).
    • Fixed multiple data races: one that might have been affecting runBlocking event loop, and a benign data race in Mutex (#3250, #3251).
    • Obsolete TestCoroutineContext is removed, which fixes the kotlinx-coroutines-test JPMS package being split between kotlinx-coroutines-core and kotlinx-coroutines-test (#3218).
    • Updated the ProGuard rules to further shrink the size of the resulting DEX file with coroutines (#3111, #3263). Thanks, @​agrieve!
    • Atomicfu is updated to 0.17.2, which includes a more efficient and robust JS IR transformer (#3255).
    • Kotlin is updated to 1.6.21, Gradle version is updated to 7.4.2 (#3281). Thanks, @​wojtek-kalicinski!
    • Various documentation improvements.

    1.6.1

    • Rollback of time-related functions dispatching on Dispatchers.Main. This behavior was introduced in 1.6.0 and then found inconvenient and erroneous (#3106, #3113).
    • Reworked the newly-introduced CopyableThreadContextElement to solve issues uncovered after the initial release (#3227).
    • Fixed a bug with ThreadLocalElement not being properly updated in racy scenarios (#2930).
    • Reverted eager loading of default CoroutineExceptionHandler that triggered ANR on some devices (#3180).
    • New API to convert a CoroutineDispatcher to a Rx scheduler (#968, #548). Thanks @​recheej!
    • Fixed a memory leak with the very last element emitted from flow builder being retained in memory (#3197).
    • Fixed a bug with limitedParallelism on K/N with new memory model throwing ClassCastException (#3223).
    • CoroutineContext is added to the exception printed to the default CoroutineExceptionHandler to improve debuggability (#3153).
    • Static memory consumption of Dispatchers.Default was significantly reduced (#3137).
    • Updated slf4j version in kotlinx-coroutines-slf4j from 1.7.25 to 1.7.32.
    Changelog

    Sourced from kotlinx-coroutines-core's changelog.

    Version 1.6.3

    • Updated atomicfu version to 0.17.3 (#3321), fixing the projects using this library with JS IR failing to build (#3305).

    Version 1.6.2

    • Fixed a bug with ThreadLocalElement not being correctly updated when the most outer suspend function was called directly without kotlinx.coroutines (#2930).
    • Fixed multiple data races: one that might have been affecting runBlocking event loop, and a benign data race in Mutex (#3250, #3251).
    • Obsolete TestCoroutineContext is removed, which fixes the kotlinx-coroutines-test JPMS package being split between kotlinx-coroutines-core and kotlinx-coroutines-test (#3218).
    • Updated the ProGuard rules to further shrink the size of the resulting DEX file with coroutines (#3111, #3263). Thanks, @​agrieve!
    • Atomicfu is updated to 0.17.2, which includes a more efficient and robust JS IR transformer (#3255).
    • Kotlin is updated to 1.6.21, Gradle version is updated to 7.4.2 (#3281). Thanks, @​wojtek-kalicinski!
    • Various documentation improvements.

    Version 1.6.1

    • Rollback of time-related functions dispatching on Dispatchers.Main. This behavior was introduced in 1.6.0 and then found inconvenient and erroneous (#3106, #3113).
    • Reworked the newly-introduced CopyableThreadContextElement to solve issues uncovered after the initial release (#3227).
    • Fixed a bug with ThreadLocalElement not being properly updated in racy scenarios (#2930).
    • Reverted eager loading of default CoroutineExceptionHandler that triggered ANR on some devices (#3180).
    • New API to convert a CoroutineDispatcher to a Rx scheduler (#968, #548). Thanks @​recheej!
    • Fixed a memory leak with the very last element emitted from flow builder being retained in memory (#3197).
    • Fixed a bug with limitedParallelism on K/N with new memory model throwing ClassCastException (#3223).
    • CoroutineContext is added to the exception printed to the default CoroutineExceptionHandler to improve debuggability (#3153).
    • Static memory consumption of Dispatchers.Default was significantly reduced (#3137).
    • Updated slf4j version in kotlinx-coroutines-slf4j from 1.7.25 to 1.7.32.
    Commits
    • 2ee99e2 Mention Kotlin 1.6.21 in the README
    • 16c613d Version 1.6.3
    • e9e14c9 Merge remote-tracking branch 'origin/master' into develop
    • 923a037 Update atomicfu version to 0.17.3 (#3321)
    • f101f93 Integration test project (#3307)
    • 59994e2 Fix typos in Cancellation and Timeouts docs (#3317)
    • c4cd1fd Update withContext KDoc (#3309)
    • aedbcc7 Clarify implementation contract of ThreadContextElement and CopyableThreadCon...
    • cc5b86a Remove NPM validation (#3312)
    • 110ca3d Update docs about creating custom CoroutineScopes (#3306)
    • 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 will merge this PR once CI passes on it, as requested by @bot-anik.


    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)
    dependencies java 
    opened by dependabot[bot] 3
  • build(deps): bump kotlinx-coroutines-core from 1.6.0 to 1.6.2

    build(deps): bump kotlinx-coroutines-core from 1.6.0 to 1.6.2

    Bumps kotlinx-coroutines-core from 1.6.0 to 1.6.2.

    Release notes

    Sourced from kotlinx-coroutines-core's releases.

    1.6.2

    • Fixed a bug with ThreadLocalElement not being correctly updated when the most outer suspend function was called directly without kotlinx.coroutines (#2930).
    • Fixed multiple data races: one that might have been affecting runBlocking event loop, and a benign data race in Mutex (#3250, #3251).
    • Obsolete TestCoroutineContext is removed, which fixes the kotlinx-coroutines-test JPMS package being split between kotlinx-coroutines-core and kotlinx-coroutines-test (#3218).
    • Updated the ProGuard rules to further shrink the size of the resulting DEX file with coroutines (#3111, #3263). Thanks, @​agrieve!
    • Atomicfu is updated to 0.17.2, which includes a more efficient and robust JS IR transformer (#3255).
    • Kotlin is updated to 1.6.21, Gradle version is updated to 7.4.2 (#3281). Thanks, @​wojtek-kalicinski!
    • Various documentation improvements.

    1.6.1

    • Rollback of time-related functions dispatching on Dispatchers.Main. This behavior was introduced in 1.6.0 and then found inconvenient and erroneous (#3106, #3113).
    • Reworked the newly-introduced CopyableThreadContextElement to solve issues uncovered after the initial release (#3227).
    • Fixed a bug with ThreadLocalElement not being properly updated in racy scenarios (#2930).
    • Reverted eager loading of default CoroutineExceptionHandler that triggered ANR on some devices (#3180).
    • New API to convert a CoroutineDispatcher to a Rx scheduler (#968, #548). Thanks @​recheej!
    • Fixed a memory leak with the very last element emitted from flow builder being retained in memory (#3197).
    • Fixed a bug with limitedParallelism on K/N with new memory model throwing ClassCastException (#3223).
    • CoroutineContext is added to the exception printed to the default CoroutineExceptionHandler to improve debuggability (#3153).
    • Static memory consumption of Dispatchers.Default was significantly reduced (#3137).
    • Updated slf4j version in kotlinx-coroutines-slf4j from 1.7.25 to 1.7.32.
    Changelog

    Sourced from kotlinx-coroutines-core's changelog.

    Version 1.6.2

    • Fixed a bug with ThreadLocalElement not being correctly updated when the most outer suspend function was called directly without kotlinx.coroutines (#2930).
    • Fixed multiple data races: one that might have been affecting runBlocking event loop, and a benign data race in Mutex (#3250, #3251).
    • Obsolete TestCoroutineContext is removed, which fixes the kotlinx-coroutines-test JPMS package being split between kotlinx-coroutines-core and kotlinx-coroutines-test (#3218).
    • Updated the ProGuard rules to further shrink the size of the resulting DEX file with coroutines (#3111, #3263). Thanks, @​agrieve!
    • Atomicfu is updated to 0.17.2, which includes a more efficient and robust JS IR transformer (#3255).
    • Kotlin is updated to 1.6.21, Gradle version is updated to 7.4.2 (#3281). Thanks, @​wojtek-kalicinski!
    • Various documentation improvements.

    Version 1.6.1

    • Rollback of time-related functions dispatching on Dispatchers.Main. This behavior was introduced in 1.6.0 and then found inconvenient and erroneous (#3106, #3113).
    • Reworked the newly-introduced CopyableThreadContextElement to solve issues uncovered after the initial release (#3227).
    • Fixed a bug with ThreadLocalElement not being properly updated in racy scenarios (#2930).
    • Reverted eager loading of default CoroutineExceptionHandler that triggered ANR on some devices (#3180).
    • New API to convert a CoroutineDispatcher to a Rx scheduler (#968, #548). Thanks @​recheej!
    • Fixed a memory leak with the very last element emitted from flow builder being retained in memory (#3197).
    • Fixed a bug with limitedParallelism on K/N with new memory model throwing ClassCastException (#3223).
    • CoroutineContext is added to the exception printed to the default CoroutineExceptionHandler to improve debuggability (#3153).
    • Static memory consumption of Dispatchers.Default was significantly reduced (#3137).
    • Updated slf4j version in kotlinx-coroutines-slf4j from 1.7.25 to 1.7.32.
    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 will merge this PR once CI passes on it, as requested by @bot-anik.


    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)
    dependencies java 
    opened by dependabot[bot] 3
  • build(deps): bump io.gitlab.arturbosch.detekt from 1.20.0-RC2 to 1.22.0-RC3

    build(deps): bump io.gitlab.arturbosch.detekt from 1.20.0-RC2 to 1.22.0-RC3

    Bumps io.gitlab.arturbosch.detekt from 1.20.0-RC2 to 1.22.0-RC3.

    Release notes

    Sourced from io.gitlab.arturbosch.detekt's releases.

    v1.22.0-RC3

    1.22.0-RC3 - 2022-11-06

    Notable Changes
    • We're introducing the Detekt Marketplace, a place where you can add your own 3rd party extension such as rule, plugins, custom reporter, etc. - #5191
    • Our website is now versioned. You can find the changes for each version using the dropdown menu on the top bar. Documentation for the upcoming version (next) can be found here.
    • We added 16 new Rules to Detekt
      • AlsoCouldBeApply - #5333
      • MultilineRawStringIndentation - #5058
      • TrimMultilineRawString - #5051
      • UnnecessaryNotNullCheck - #5218
      • UnnecessaryPartOfBinaryExpression - #5203
      • UseSumOfInsteadOfFlatMapSize - #5405
      • FunctionReturnTypeSpacing from KtLint - #5256
      • FunctionSignature from KtLint - #5256
      • FunctionStartOfBodySpacing from KtLint - #5256
      • NullableTypeSpacing from KtLint - #5256
      • ParameterListSpacing from KtLint - #5256
      • SpacingBetweenFunctionNameAndOpeningParenthesis from KtLint - #5256
      • TrailingCommaOnCallSite from KtLint - #5312
      • TrailingCommaOnDeclarationSite from KtLint - #5312
      • TypeParameterListSpacing from KtLint - #5256
    • We added a new ruleset called detekt-rules-ruleauthors containing rules for Rule Authors to enforce best practices on Detekt rules such as the new ViolatesTypeResolutionRequirements - #5129 #5182
    • We added a new ruleset called detekt-rules-libraries containing rules mostly useful for Library Authors - We moved the following rules inside ForbiddenPublicDataClass, LibraryCodeMustSpecifyReturnType, LibraryEntitiesShouldNotBePublic this new ruleset - See Migration below on how to migrate #5360
    • We added support for JVM toolchain. This means that Detekt will now respect the JDK toolchain you specify on your Gradle configuration. You will also be able to specify a custom JDK home with the --jdk-home CLI parameter - #5269
    • Improvement for Type Resolution
      • We will now skip rules annotated with @RequiresTypeResolution when without Type Resolution - #5176
      • We will warn users if they run rules requiring Type Resolution when Type Resolution is disabled, so they're not silently skipped - #5226
    • Improvement for Config Management
      • We added exhaustiveness check during config validation. You can enable it checkExhaustiveness: true in your config file. This is disabled by default. - #5089
      • We added support for generating custom configuration for rule authors - #5080
    • Deprecations & Removals
      • We deprecated the MultiRule class as it was overly complicated. The suggested approach is to just provide separated rules. - #5161
      • The --fail-fast CLI flag (and failFast Gradle property) has been removed. It was deprecated since 1.16.x - #5290
      • We deprecated the following rules DuplicateCaseInWhenExpression, MissingWhenCase, RedundantElseInWhen as the Kotlin Compiler is already reporting errors for those scenarios - #5309
      • We removed the --print-ast CLI flag as PsiViewer provides the same features - #5418
    • Notable changes to existing rules
      • ArrayPrimitive is now working only with Type Resolution - #5175
      • WildcardImport is now running also on tests by default - #5121
      • ForbiddenImport allows now to specify a reason for every forbidden import - #4909
      • IgnoredReturnValue: option restrictToAnnotatedMethods is now deprecated in favor of restrictToConfig - #4922
    • This version of Detekt is built with Gradle v7.5.1, AGP 7.3.1, Kotlin 1.7.20 and KtLint 0.47.1 (see #5363 #5189 #5411 #5312
    • The minimum supported Gradle version is now v6.7.1 - #4964
    Migration

    We deprecated a number of rules in this release.

    You should update your config file as follows:

    ... (truncated)

    Commits
    • e2f21b0 Prepare Detekt 1.22.0-RC3 (#5509)
    • 9306a27 MultilineLambdaItParameter: fix false positive for one-line statements with a...
    • 9b38f67 Fix issues introduced by #5152 (#5508)
    • 2c3b2ce Update github/codeql-action digest to c3b6fce (#5507)
    • 621bcc9 Document and test edge cases for ForbiddenMethodCall function signatures (#5495)
    • f0b9b44 Update github/codeql-action digest to 18fe527 (#5498)
    • a7b10e4 Stop including root build unnecessarily (#5490)
    • 83331fa Update tests to be compatible with Gradle 7.6 output (#5488)
    • e5a9768 Ensure verifyGeneratorOutput task checks necessary files (#5489)
    • e0b3d99 Update plugin com.gradle.enterprise to v3.11.3 (#5491)
    • 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)
    dependencies java 
    opened by dependabot[bot] 2
  • build(deps): bump io.gitlab.arturbosch.detekt from 1.20.0-RC2 to 1.22.0-RC2

    build(deps): bump io.gitlab.arturbosch.detekt from 1.20.0-RC2 to 1.22.0-RC2

    Bumps io.gitlab.arturbosch.detekt from 1.20.0-RC2 to 1.22.0-RC2.

    Release notes

    Sourced from io.gitlab.arturbosch.detekt's releases.

    v1.22.0-RC2

    1.22.0-RC2 - 2022-10-16

    Notable Changes
    • We're introducing the Detekt Marketplace, a place where you can add your own 3rd party extension such as rule, plugins, custom reporter, etc. - #5191
    • Our website is now versioned. You can find the changes for each version using the dropdown menu on the top bar. Documentation for the upcoming version (next) can be found here.
    • We added 16 new Rules to Detekt
      • AlsoCouldBeApply - #5333
      • MultilineRawStringIndentation - #5058
      • TrimMultilineRawString - #5051
      • UnnecessaryNotNullCheck - #5218
      • UnnecessaryPartOfBinaryExpression - #5203
      • UseSumOfInsteadOfFlatMapSize - #5405
      • FunctionReturnTypeSpacing from KtLint - #5256
      • FunctionSignature from KtLint - #5256
      • FunctionStartOfBodySpacing from KtLint - #5256
      • NullableTypeSpacing from KtLint - #5256
      • ParameterListSpacing from KtLint - #5256
      • SpacingBetweenFunctionNameAndOpeningParenthesis from KtLint - #5256
      • TrailingCommaOnCallSite from KtLint - #5312
      • TrailingCommaOnDeclarationSite from KtLint - #5312
      • TypeParameterListSpacing from KtLint - #5256
    • We added a new ruleset called detekt-rules-ruleauthors containing rules for Rule Authors to enforce best practices on Detekt rules such as the new ViolatesTypeResolutionRequirements - #5129 #5182
    • We added a new ruleset called detekt-rules-libraries containing rules mostly useful for Library Authors - We moved the following rules inside ForbiddenPublicDataClass, LibraryCodeMustSpecifyReturnType, LibraryEntitiesShouldNotBePublic this new ruleset - See Migration below on how to migrate #5360
    • We added support for JVM toolchain. This means that Detekt will now respect the JDK toolchain you specify on your Gradle configuration. You will also be able to specify a custom JDK home with the --jdk-home CLI parameter - #5269
    • Improvement for Type Resolution
      • We will now skip rules annotated with @RequiresTypeResolution when without Type Resolution - #5176
      • We will warn users if they run rules requiring Type Resolution when Type Resolution is disabled, so they're not silently skipped - #5226
    • Improvement for Config Management
      • We added exhaustiveness check during config validation. You can enable it checkExhaustiveness: true in your config file. This is disabled by default. - #5089
      • We added support for generating custom configuration for rule authors - #5080
    • Deprecations & Removals
      • We deprecated the MultiRule class as it was overly complicated. The suggested approach is to just provide separated rules. - #5161
      • The --fail-fast CLI flag (and failFast Gradle property) has been removed. It was deprecated since 1.16.x - #5290
      • We deprecated the following rules DuplicateCaseInWhenExpression, MissingWhenCase, RedundantElseInWhen as the Kotlin Compiler is already reporting errors for those scenarios - #5309
    • Notable changes to existing rules
      • ArrayPrimitive is now working only with Type Resolution - #5175
      • WildcardImport is now running also on tests by default - #5121
      • ForbiddenImport allows now to specify a reason for every forbidden import - #4909
      • IgnoredReturnValue: option restrictToAnnotatedMethods is now deprecated in favor of restrictToConfig - #4922
    • This version of Detekt is built with Gradle v7.5.1, AGP 7.3.1, Kotlin 1.7.20 and KtLint 0.47.1 (see #5363 #5189 #5411 #5312
    • The minimum supported Gradle version is now v6.7.1 - #4964
    Migration

    We deprecated a number of rules in this release.

    You should update your config file as follows:

    ... (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)
    dependencies java 
    opened by dependabot[bot] 2
  • build(deps): bump io.gitlab.arturbosch.detekt from 1.20.0-RC2 to 1.22.0-RC1

    build(deps): bump io.gitlab.arturbosch.detekt from 1.20.0-RC2 to 1.22.0-RC1

    Bumps io.gitlab.arturbosch.detekt from 1.20.0-RC2 to 1.22.0-RC1.

    Release notes

    Sourced from io.gitlab.arturbosch.detekt's releases.

    v1.21.0

    We're delighted to announce the next upcoming stable release of Detekt: 1.21.0 🎉 This release is coming with 6 new rules, new API and functionalities and several stability improvements.

    We want to thank you very much our Sponsors for the support in those last months. The work behind Detekt is all happening on a voluntary basis, and we're more than grateful for all the support we get from the Open Source Ecosystem.

    We're also excited to announce that we're now having an Open Source Gradle Enterprise instance. When building the Detekt projects, you'll benefit from the Gradle Remote Cache that this instance is providing!

    Finally, we want to take the opportunity to thank our contributors for testing, bug reporting and helping us release this new version of Detekt. You're more than welcome to join our community on the #detekt channel on KotlinLang's Slack (you can get an invite here).

    Notable Changes

    • We enabled ~30 new rules by default which we believe are now stable enough. - #4875
    • We added 7 new Rules to Detekt
      • NullableBooleanCheck - #4872
      • CouldBeSequence - #4855
      • UnnecessaryBackticks - #4764
      • ForbiddenSuppress - #4899
      • MaxChainedCallsOnSameLine - #4985
      • CascadingCallWrapping - #4979
      • NestedScopeFunctions - #4788
    • We added support for Markdown reports - #4858
    • We now allow users and rule authors to specify a reason for every value in the config file - #4611 - Please note that this feature requires a rule to be extended to support it. If you're a rule author you can start using it right away in your rule. We're looking into using this feature in some first party rule starting from Detekt 1.22.0.
    • We now report as warnings the Strings in the config file that can be converted to be an array - #4793
    • We added a dependency on ConTester to help us verify concurrency scenarios for Detekt - #4672
    • For contributors: we restructured our build setup to be use Gradle composite build - #4751

    Migration

    We fixed a bug related to function with KDocs and how their location in the source code was calculated (see #4961 and #4887).

    Because of this, some users might have to recreate their baseline as the location of such functions are not matched anymore against the baseline. You can do so by deleting your old baseline and invoking the detektBaseline task (or the corresponding task, based on your configuration).

    Changelog

    • ReturnCount: Make configuration parameter more explicit - #5062
    • Remove redundant null check - #5061
    • Drop redundant Gradle workaround - #5057
    • Update ktlint links from website to readme - #5056
    • Improve extensions.doc format with admonitions - #5055
    • Update docusaurus monorepo to v2.0.0-beta.22 - #5050
    • Enable strict Kotlin DSL precompiled script plugins accessors generation - #5048
    • MaxChainedCallsOnSameLine: don't count package references as chained calls - #5036
    • Xml Report Merger now merges duplicate smells across input report files - #5033
    • Add ending line and column to Location.kt - #5032
    • Fix type resolution link in Contributing.md - #5027
    • #5014 Fix MaxChainedCallsOnSameLine false positives - #5020
    • Add endColumn/endLine to SARIF region - #5011
    • Removed UnnecessaryAbstractClass if it inherits from a abstract class - #5009

    ... (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)
    dependencies java 
    opened by dependabot[bot] 2
  • build(deps): bump io.gitlab.arturbosch.detekt from 1.20.0-RC2 to 1.21.0

    build(deps): bump io.gitlab.arturbosch.detekt from 1.20.0-RC2 to 1.21.0

    Bumps io.gitlab.arturbosch.detekt from 1.20.0-RC2 to 1.21.0.

    Release notes

    Sourced from io.gitlab.arturbosch.detekt's releases.

    v1.21.0

    We're delighted to announce the next upcoming stable release of Detekt: 1.21.0 🎉 This release is coming with 6 new rules, new API and functionalities and several stability improvements.

    We want to thank you very much our Sponsors for the support in those last months. The work behind Detekt is all happening on a voluntary basis, and we're more than grateful for all the support we get from the Open Source Ecosystem.

    We're also excited to announce that we're now having an Open Source Gradle Enterprise instance. When building the Detekt projects, you'll benefit from the Gradle Remote Cache that this instance is providing!

    Finally, we want to take the opportunity to thank our contributors for testing, bug reporting and helping us release this new version of Detekt. You're more than welcome to join our community on the #detekt channel on KotlinLang's Slack (you can get an invite here).

    Notable Changes

    • We enabled ~30 new rules by default which we believe are now stable enough. - #4875
    • We added 6 new Rules to Detekt
      • NullableBooleanCheck - #4872
      • CouldBeSequence - #4855
      • UnnecessaryBackticks - #4764
      • ForbiddenSuppress - #4899
      • MaxChainedCallsOnSameLine - #4985
      • CascadingCallWrapping - #4979
    • We added support for Markdown reports - #4858
    • We now allow users and rule authors to specify a reason for every value in the config file - #4611
    • We now report as warnings the Strings in the config file that can be converted to be an array - #4793
    • We added a dependency on ConTester to help us verify concurrency scenarios for Detekt - #4672
    • For contributors: we restructured our build setup to be use Gradle composite build - #4751

    Migration

    We fixed a bug related to function with KDocs and how their location in the source code was calculated (see #4961 and #4887).

    Because of this, some users might have to recreate their baseline as the location of such functions are not matched anymore against the baseline. You can do so by deleting your old baseline and invoking the detektBaseline task (or the corresponding task, based on your configuration).

    Changelog

    • ReturnCount: Make configuration parameter more explicit - #5062
    • Remove redundant null check - #5061
    • Drop redundant Gradle workaround - #5057
    • Update ktlint links from website to readme - #5056
    • Improve extensions.doc format with admonitions - #5055
    • Update docusaurus monorepo to v2.0.0-beta.22 - #5050
    • Enable strict Kotlin DSL precompiled script plugins accessors generation - #5048
    • MaxChainedCallsOnSameLine: don't count package references as chained calls - #5036
    • Xml Report Merger now merges duplicate smells across input report files - #5033
    • Add ending line and column to Location.kt - #5032
    • Fix type resolution link in Contributing.md - #5027
    • #5014 Fix MaxChainedCallsOnSameLine false positives - #5020
    • Add endColumn/endLine to SARIF region - #5011
    • Removed UnnecessaryAbstractClass if it inherits from a abstract class - #5009
    • Only recommend using index accessors for Java classes that are known collections - #4994

    ... (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)
    dependencies java 
    opened by dependabot[bot] 2
  • build(deps): bump io.gitlab.arturbosch.detekt from 1.20.0-RC2 to 1.21.0-RC2

    build(deps): bump io.gitlab.arturbosch.detekt from 1.20.0-RC2 to 1.21.0-RC2

    Bumps io.gitlab.arturbosch.detekt from 1.20.0-RC2 to 1.21.0-RC2.

    Release notes

    Sourced from io.gitlab.arturbosch.detekt's releases.

    v1.21.0-RC2

    1.21.0-RC2 - 2022-06-29

    Notable Changes
    • We enabled ~30 new rules by default which we believe are now stable enough. - #4875
    • We added 6 new Rules to Detekt
      • NullableBooleanCheck - #4872
      • CouldBeSequence - #4855
      • UnnecessaryBackticks - #4764
      • ForbiddenSuppress - #4899
      • MaxChainedCallsOnSameLine - #4985
      • CascadingCallWrapping - #4979
    • We added support for Markdown reports - #4858
    • We now allow users and rule authors to specify a reason for every value in the config file - #4611
    • We now report as warnings the in the config file that can be converted to be an array - #4793
    • We added a dependency on ConTester to help us verify concurrency scenarios for Detekt - #4672
    • For contributors: we restructured our build setup to be use Gradle composite build - #4751
    Changelog
    • Fix Signatures.kt:buildFunctionSignature - #4961
    • Loading a specific resource from a module must use class from module - #5008
    • Update github/codeql-action digest to 3f62b75 - #5007
    • Show finding at declaration name instead of the whole declaration - #5003
    • NamedArguments: don't count trailing lambda argument - #5002
    • Address TextLocation for Wrapping - #4998
    • Support markdown report in Gradle plugin - #4995
    • Fix false-negative for CanBeNonNullable - #4993
    • Give a better error message for --jvm-target - #4978
    • Fix rule code samples to be valid Kotlin code - #4969
    • Use plain ASCII output in standard reports - #4968
    • UnnecessaryApply: fix false negative for assignment - #4948
    • Support disabling config validation via tooling spec - #4937
    • UnusedPrivateMember: highlight declaration name - #4928
    • Provide a priority field for DetektProvider - #4923
    • CastToNullableType: allow casting null keyword - #4907
    • Update plugin com.gradle.common-custom-user-data-gradle-plugin to v1.7.2 - #4897
    • Set strict dependency on tested Kotlin compiler version - #4822
    • Simplify regular expressions - #4893
    • Remove redundant character escape in RegExp - #4892
    • Reformat Markdown files to comply with the spec - #4891
    • UnnecessaryInnerClass: fix false negative with this references - #4884
    • UselessCallOnNotNull: fix false positive for unresolved types - #4880
    • Update MagicNumber rule to exclude .kts files - #4877
    • CanBeNonNullable: fix false positives for parameterized types - #4870
    • UnnecessaryInnerClass: fix false positives labeled expression to outer class - #4865
    • UnnecessaryInnerClass: add test for safe qualified expressions - #4864
    • Fix a confusing Regex in the Compose webpage - #4852
    • Fix edit URLs for the website - #4850

    ... (truncated)

    Commits
    • 58d4b8e Prepare Detekt 1.21.0-RC2 (#5013)
    • 49c6d88 Allow constants to be skipped for BooleanPropertyNaming rule (#5006)
    • bea15be Update plugin pluginPublishing to v1.0.0 (#5010)
    • 0a00c2a Update github/codeql-action digest to 3f62b75 (#5007)
    • 5c39d7d Loading a specific resource from a module must use class from module (#5008)
    • 1e696fd Add MaxChainedCallsOnSameLine style rule (#4985)
    • 29158af Show finding at declaration name instead of the whole declaration (#5003)
    • 5d6ee2f NamedArguments: don't count trailing lambda argument (#5002)
    • 5ff82e1 Setup a Remark plugin to replace [detekt_version] with the current version on...
    • c8eb24c UnnecessaryApply: fix false negative for assignment (#4948)
    • 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)
    dependencies java 
    opened by dependabot[bot] 2
  • build(deps): bump io.gitlab.arturbosch.detekt from 1.20.0-RC2 to 1.21.0-RC1

    build(deps): bump io.gitlab.arturbosch.detekt from 1.20.0-RC2 to 1.21.0-RC1

    Bumps io.gitlab.arturbosch.detekt from 1.20.0-RC2 to 1.21.0-RC1.

    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)
    dependencies java 
    opened by dependabot[bot] 2
  • build(deps): bump org.jlleitschuh.gradle.ktlint from 10.2.1 to 10.3.0

    build(deps): bump org.jlleitschuh.gradle.ktlint from 10.2.1 to 10.3.0

    Bumps org.jlleitschuh.gradle.ktlint from 10.2.1 to 10.3.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)
    dependencies java 
    opened by dependabot[bot] 2
  • build(deps): bump actions/setup-java from 2 to 3.3.0

    build(deps): bump actions/setup-java from 2 to 3.3.0

    Bumps actions/setup-java from 2 to 3.3.0.

    Release notes

    Sourced from actions/setup-java's releases.

    v3.3.0

    In scope of this pull request we add support for Amazon Corretto Build of OpenJDK (actions/setup-java#312).

    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Setup-java
        uses: actions/setup-java@v3
        with:
          distribution: corretto
          java-version: 11
    

    Supported distributions

    Currently, the following distributions are supported:

    Keyword Distribution Official site License
    temurin Eclipse Temurin Link Link
    zulu Zulu OpenJDK Link Link
    adopt or adopt-hotspot Adopt OpenJDK Hotspot Link Link
    adopt-openj9 Adopt OpenJDK OpenJ9 Link Link
    liberica Liberica JDK Link Link
    microsoft Microsoft Build of OpenJDK Link Link
    corretto Amazon Corretto Build of OpenJDK Link Link

    v3.2.0

    This release introduces dependency caching support for sbt (actions/setup-java#302).

    Caching sbt dependencies

    steps:
    - uses: actions/checkout@v3
    - uses: actions/setup-java@v3
      with:
        distribution: 'temurin'
        java-version: '11'
        cache: 'sbt'
    - name: Build with SBT
      run: sbt package
    

    v3.1.1

    This release introduces new output cache-hit (actions/setup-java#275) and update of actions/cache dependency to 2.0.2 (actions/setup-java#317)

    Add "cache-hit" output

    The cache-hit output contains boolean value indicating that an exact match was found for the key. It shows that the action uses already existing cache or not. The output is available only if cache is enabled.

    Update actions/cache to 2.0.2

    We updated actions/cache package as the new version contains fixes related to GHES 3.5 (actions/setup-java#317)

    ... (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)
    dependencies github_actions 
    opened by dependabot[bot] 2
  • build(deps): bump io.gitlab.arturbosch.detekt from 1.20.0-RC2 to 1.22.0

    build(deps): bump io.gitlab.arturbosch.detekt from 1.20.0-RC2 to 1.22.0

    Bumps io.gitlab.arturbosch.detekt from 1.20.0-RC2 to 1.22.0.

    Release notes

    Sourced from io.gitlab.arturbosch.detekt's releases.

    v1.22.0

    We're extremely excited to announce the next upcoming stable release of Detekt: 1.22.0 🚀 This release is coming with 16 new rules, 2 new rulesets and several new functionalities & APIs.

    We've also introduced the Detekt Marketplace, a place for users to share their 3rd party rules and extensions.

    We want to take the opportunity to thank our Sponsors and our Contributors for testing, bug reporting and helping us release this new version of Detekt. You're more than welcome to join our community on the #detekt channel on KotlinLang's Slack (you can get an invite here).

    Notable Changes
    • We're introducing the Detekt Marketplace, a place where you can add your own 3rd party extension such as rule, plugins, custom reporter, etc. - #5191
    • Our website is now versioned. You can find the changes for each version using the dropdown menu on the top bar. Documentation for the upcoming version (next) can be found here.
    • We added 16 new Rules to Detekt
      • AlsoCouldBeApply - #5333
      • MultilineRawStringIndentation - #5058
      • TrimMultilineRawString - #5051
      • UnnecessaryNotNullCheck - #5218
      • UnnecessaryPartOfBinaryExpression - #5203
      • UseSumOfInsteadOfFlatMapSize - #5405
      • FunctionReturnTypeSpacing from KtLint - #5256
      • FunctionSignature from KtLint - #5256
      • FunctionStartOfBodySpacing from KtLint - #5256
      • NullableTypeSpacing from KtLint - #5256
      • ParameterListSpacing from KtLint - #5256
      • SpacingBetweenFunctionNameAndOpeningParenthesis from KtLint - #5256
      • TrailingCommaOnCallSite from KtLint - #5312
      • TrailingCommaOnDeclarationSite from KtLint - #5312
      • TypeParameterListSpacing from KtLint - #5256
    • We added a new ruleset called detekt-rules-ruleauthors containing rules for Rule Authors to enforce best practices on Detekt rules such as the new ViolatesTypeResolutionRequirements - #5129 #5182
    • We added a new ruleset called detekt-rules-libraries containing rules mostly useful for Library Authors - We moved the following rules inside ForbiddenPublicDataClass, LibraryCodeMustSpecifyReturnType, LibraryEntitiesShouldNotBePublic this new ruleset - See Migration below on how to migrate #5360
    • We added support for JVM toolchain. This means that Detekt will now respect the JDK toolchain you specify on your Gradle configuration. You will also be able to specify a custom JDK home with the --jdk-home CLI parameter - #5269
    • Improvement for Type Resolution
      • We will now skip rules annotated with @RequiresTypeResolution when without Type Resolution - #5176
      • We will warn users if they run rules requiring Type Resolution when Type Resolution is disabled, so they're not silently skipped - #5226
    • Improvement for Config Management
      • We added exhaustiveness check during config validation. You can enable it checkExhaustiveness: true in your config file. This is disabled by default. - #5089
      • We added support for generating custom configuration for rule authors - #5080
    • Deprecations & Removals
      • We deprecated the MultiRule class as it was overly complicated. The suggested approach is to just provide separated rules. - #5161
      • The --fail-fast CLI flag (and failFast Gradle property) has been removed. It was deprecated since 1.16.x - #5290
      • We deprecated the following rules DuplicateCaseInWhenExpression, MissingWhenCase, RedundantElseInWhen as the Kotlin Compiler is already reporting errors for those scenarios - #5309
      • We removed the --print-ast CLI flag as PsiViewer provides the same features - #5418
    • Notable changes to existing rules
      • ArrayPrimitive is now working only with Type Resolution - #5175
      • WildcardImport is now running also on tests by default - #5121
      • ForbiddenImport allows now to specify a reason for every forbidden import - #4909
      • IgnoredReturnValue: option restrictToAnnotatedMethods is now deprecated in favor of restrictToConfig - #4922
    • This version of Detekt is built with Gradle v7.5.1, AGP 7.3.1, Kotlin 1.7.21 and KtLint 0.47.1 (see #5363 #5189 #5411 #5312 #5519)
    • The minimum supported Gradle version is now v6.7.1 - #4964

    ... (truncated)

    Commits
    • 4b1da0d Prepare Detekt 1.22.0 (#5544)
    • c97b8ef Update dependency io.gitlab.arturbosch.detekt:detekt-formatting to v1.22.0 (#...
    • a80cf88 Update plugin io.gitlab.arturbosch.detekt to v1.22.0 (#5546)
    • e04e111 Stale waiting for feedback issues after 30 days (#5543)
    • ab1c3c0 Update documentation for TrailingComma rules (#5513)
    • 7e31f88 Update kotlin monorepo to v1.7.21 (#5519)
    • 7fd9987 ReturnCount: correctly count assignment expressions with elvis return as guar...
    • 411ef80 Update dependency danger to v11.2.0 (#5530)
    • ae52de0 Update github/codeql-action digest to 678fc3a (#5538)
    • 35ba768 Update github/codeql-action digest to 4238421 (#5532)
    • 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)
    dependencies java 
    opened by dependabot[bot] 1
  • build(deps): bump actions/setup-java from 2 to 3.6.0

    build(deps): bump actions/setup-java from 2 to 3.6.0

    Bumps actions/setup-java from 2 to 3.6.0.

    Release notes

    Sourced from actions/setup-java's releases.

    v3.6.0

    In scope of this release we added Maven Toolchains Support and Maven Toolchains Declaration. Moreover, from this release we use os.arch to determine default architecture for runners: actions/setup-java#376. Besides, we made such changes as:

    v3.5.1

    In scope of this release we change logic for Microsoft Build of OpenJDK. Previously it had hard coded versions. In this release versions were moved to the separate json file. When a new version of Java is released, it can be added to this file and be used without releasing new version of the action.

    v3.5.0

    Add support for multiple jdks

    In scope of this release we add support for multiple jdks. Customers can specify multiple versions of java through java-version input.

        steps:
          - uses: actions/setup-java@v3
            with:
              distribution: '<distribution>'
              java-version: |
                8
                11
                15
    

    Besides, we added such changes as:

    v3.4.1

    In scope of this release we updated actions/cache package as the new version contains fixes for caching error handling.

    v3.4.0

    In scope of this release we introduce such changes as:

    v3.3.0

    In scope of this pull request we add support for Amazon Corretto Build of OpenJDK (actions/setup-java#312).

    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Setup-java
        uses: actions/setup-java@v3
    </tr></table> 
    

    ... (truncated)

    Commits
    • de1bb2b feat: support Gradle version catalog (#394)
    • 2c53c1a Update actions/cache to 3.0.4 version (#392)
    • 3617c43 Default to runner architecture (#376)
    • a82e6d0 Update README.md (#391)
    • fbb2692 Merge pull request #390 from rentziass/rentziass/update-actions-core
    • dfcd06a Update @​actions/core to 1.10.0
    • e150063 Merge pull request #282 from Okeanos/maven-toolchains-support
    • eb1418a Add Maven Toolchains Declaration (#276)
    • 499ae9c Merge pull request #387 from akv-platform/v-sdolin/issue-382-docs2
    • a18c333 Add versions-manifest.json for Microsoft Build of OpenJDK (#383)
    • 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)
    dependencies github_actions 
    opened by dependabot[bot] 1
  • build(deps): bump org.jlleitschuh.gradle.ktlint from 10.2.1 to 11.0.0

    build(deps): bump org.jlleitschuh.gradle.ktlint from 10.2.1 to 11.0.0

    Bumps org.jlleitschuh.gradle.ktlint from 10.2.1 to 11.0.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)
    dependencies java 
    opened by dependabot[bot] 1
  • build(deps): bump kotlinx-coroutines-core from 1.6.0 to 1.6.4

    build(deps): bump kotlinx-coroutines-core from 1.6.0 to 1.6.4

    Bumps kotlinx-coroutines-core from 1.6.0 to 1.6.4.

    Release notes

    Sourced from kotlinx-coroutines-core's releases.

    1.6.4

    • Added TestScope.backgroundScope for launching coroutines that perform work in the background and need to be cancelled at the end of the test (#3287).
    • Fixed the POM of kotlinx-coroutines-debug having an incorrect reference to kotlinx-coroutines-bom, which cause the builds of Maven projects using the debug module to break (#3334).
    • Fixed the Publisher.await functions in kotlinx-coroutines-reactive not ensuring that the Subscriber methods are invoked serially (#3360). Thank you, @​EgorKulbachka!
    • Fixed a memory leak in withTimeout on K/N with the new memory model (#3351).
    • Added the guarantee that all Throwable implementations in the core library are serializable (#3328).
    • Moved the documentation to https://kotlinlang.org/api/kotlinx.coroutines/ (#3342).
    • Various documentation improvements.

    1.6.3

    • Updated atomicfu version to 0.17.3 (#3321), fixing the projects using this library with JS IR failing to build (#3305).

    1.6.2

    • Fixed a bug with ThreadLocalElement not being correctly updated when the most outer suspend function was called directly without kotlinx.coroutines (#2930).
    • Fixed multiple data races: one that might have been affecting runBlocking event loop, and a benign data race in Mutex (#3250, #3251).
    • Obsolete TestCoroutineContext is removed, which fixes the kotlinx-coroutines-test JPMS package being split between kotlinx-coroutines-core and kotlinx-coroutines-test (#3218).
    • Updated the ProGuard rules to further shrink the size of the resulting DEX file with coroutines (#3111, #3263). Thanks, @​agrieve!
    • Atomicfu is updated to 0.17.2, which includes a more efficient and robust JS IR transformer (#3255).
    • Kotlin is updated to 1.6.21, Gradle version is updated to 7.4.2 (#3281). Thanks, @​wojtek-kalicinski!
    • Various documentation improvements.

    1.6.1

    • Rollback of time-related functions dispatching on Dispatchers.Main. This behavior was introduced in 1.6.0 and then found inconvenient and erroneous (#3106, #3113).
    • Reworked the newly-introduced CopyableThreadContextElement to solve issues uncovered after the initial release (#3227).
    • Fixed a bug with ThreadLocalElement not being properly updated in racy scenarios (#2930).
    • Reverted eager loading of default CoroutineExceptionHandler that triggered ANR on some devices (#3180).
    • New API to convert a CoroutineDispatcher to a Rx scheduler (#968, #548). Thanks @​recheej!
    • Fixed a memory leak with the very last element emitted from flow builder being retained in memory (#3197).
    • Fixed a bug with limitedParallelism on K/N with new memory model throwing ClassCastException (#3223).
    • CoroutineContext is added to the exception printed to the default CoroutineExceptionHandler to improve debuggability (#3153).
    • Static memory consumption of Dispatchers.Default was significantly reduced (#3137).
    • Updated slf4j version in kotlinx-coroutines-slf4j from 1.7.25 to 1.7.32.
    Changelog

    Sourced from kotlinx-coroutines-core's changelog.

    Version 1.6.4

    • Added TestScope.backgroundScope for launching coroutines that perform work in the background and need to be cancelled at the end of the test (#3287).
    • Fixed the POM of kotlinx-coroutines-debug having an incorrect reference to kotlinx-coroutines-bom, which cause the builds of Maven projects using the debug module to break (#3334).
    • Fixed the Publisher.await functions in kotlinx-coroutines-reactive not ensuring that the Subscriber methods are invoked serially (#3360). Thank you, @​EgorKulbachka!
    • Fixed a memory leak in withTimeout on K/N with the new memory model (#3351).
    • Added the guarantee that all Throwable implementations in the core library are serializable (#3328).
    • Moved the documentation to https://kotlinlang.org/api/kotlinx.coroutines/ (#3342).
    • Various documentation improvements.

    Version 1.6.3

    • Updated atomicfu version to 0.17.3 (#3321), fixing the projects using this library with JS IR failing to build (#3305).

    Version 1.6.2

    • Fixed a bug with ThreadLocalElement not being correctly updated when the most outer suspend function was called directly without kotlinx.coroutines (#2930).
    • Fixed multiple data races: one that might have been affecting runBlocking event loop, and a benign data race in Mutex (#3250, #3251).
    • Obsolete TestCoroutineContext is removed, which fixes the kotlinx-coroutines-test JPMS package being split between kotlinx-coroutines-core and kotlinx-coroutines-test (#3218).
    • Updated the ProGuard rules to further shrink the size of the resulting DEX file with coroutines (#3111, #3263). Thanks, @​agrieve!
    • Atomicfu is updated to 0.17.2, which includes a more efficient and robust JS IR transformer (#3255).
    • Kotlin is updated to 1.6.21, Gradle version is updated to 7.4.2 (#3281). Thanks, @​wojtek-kalicinski!
    • Various documentation improvements.

    Version 1.6.1

    • Rollback of time-related functions dispatching on Dispatchers.Main. This behavior was introduced in 1.6.0 and then found inconvenient and erroneous (#3106, #3113).
    • Reworked the newly-introduced CopyableThreadContextElement to solve issues uncovered after the initial release (#3227).
    • Fixed a bug with ThreadLocalElement not being properly updated in racy scenarios (#2930).
    • Reverted eager loading of default CoroutineExceptionHandler that triggered ANR on some devices (#3180).
    • New API to convert a CoroutineDispatcher to a Rx scheduler (#968, #548). Thanks @​recheej!
    • Fixed a memory leak with the very last element emitted from flow builder being retained in memory (#3197).
    • Fixed a bug with limitedParallelism on K/N with new memory model throwing ClassCastException (#3223).
    • CoroutineContext is added to the exception printed to the default CoroutineExceptionHandler to improve debuggability (#3153).
    • Static memory consumption of Dispatchers.Default was significantly reduced (#3137).
    • Updated slf4j version in kotlinx-coroutines-slf4j from 1.7.25 to 1.7.32.
    Commits
    • 81e17dd Version 1.6.4
    • f31b037 Merge remote-tracking branch 'origin/master' into develop
    • c8271ad Improve CoroutineDispatcher documentation (#3359)
    • ac4f57e Update binary compatibility validator to 0.11.0 (#3362)
    • 143bdfa Add a scope for launching background work in tests (#3348)
    • 562902b Fix debug module publication with shadow plugin (#3357)
    • 8b6473d Comply with Subscriber rule 2.7 in the await* impl (#3360)
    • 10261a7 Update readme (#3343)
    • 7934032 Reduce reachable references of disposed invokeOnTimeout handle (#3353)
    • f0874d1 Merge pull request #3342 from Kotlin/kotlinlang-api
    • 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 will merge this PR once CI passes on it, as requested by @bot-anik.


    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)
    dependencies java 
    opened by dependabot[bot] 2
  • build(deps): bump wagoid/commitlint-github-action from 4 to 5

    build(deps): bump wagoid/commitlint-github-action from 4 to 5

    Bumps wagoid/commitlint-github-action from 4 to 5.

    Changelog

    Sourced from wagoid/commitlint-github-action's changelog.

    4.1.15 (2022-06-16)

    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)
    dependencies github_actions 
    opened by dependabot[bot] 1
  • build(deps): bump docker/build-push-action from 2 to 3

    build(deps): bump docker/build-push-action from 2 to 3

    Bumps docker/build-push-action from 2 to 3.

    Release notes

    Sourced from docker/build-push-action's releases.

    v3.0.0

    • Node 16 as default runtime by @​crazy-max (#564)
      • This requires a minimum Actions Runner version of v2.285.0, which is by default available in GHES 3.4 or later.
    • Standalone mode support by @​crazy-max (#601 #609)
    • chore: update dev dependencies and workflow by @​crazy-max (#571)
    • Bump @​actions/exec from 1.1.0 to 1.1.1 (#573)
    • Bump @​actions/github from 5.0.0 to 5.0.1 (#582)
    • Bump minimist from 1.2.5 to 1.2.6 (#584)
    • Bump semver from 7.3.5 to 7.3.7 (#595)
    • Bump csv-parse from 4.16.3 to 5.0.4 (#533)

    Full Changelog: https://github.com/docker/build-push-action/compare/v2.10.0...v3.0.0

    v2.10.0

    • Add imageid output and use metadata to set digest output (#569)
    • Add build-contexts input (#563)
    • Enhance outputs display (#559)

    v2.9.0

    • add-hosts input (#553 #555)
    • Fix git context subdir example and improve README (#552)
    • Add e2e tests for ACR (#548)
    • Add description on github-token option to README (#544)
    • Bump node-fetch from 2.6.1 to 2.6.7 (#549)

    v2.8.0

    • Allow specifying subdirectory with default git context (#531)
    • Add cgroup-parent, shm-size, ulimit inputs (#501)
    • Don't set outputs if empty or nil (#470)
    • docs: example to sanitize tags with metadata-action (#476)
    • docs: wrong syntax to sanitize repo slug (#475)
    • docs: test before pushing your image (#455)
    • readme: remove v1 section (#500)
    • ci: virtual env file system info (#510)
    • dev: update workflow (#499)
    • Bump @​actions/core from 1.5.0 to 1.6.0 (#160)
    • Bump ansi-regex from 5.0.0 to 5.0.1 (#469)
    • Bump tmpl from 1.0.4 to 1.0.5 (#465)
    • Bump csv-parse from 4.16.0 to 4.16.3 (#451 #459)

    v2.7.0

    • Add metadata output (#412)
    • Bump @​actions/core from 1.4.0 to 1.5.0 (#439)
    • Add note to sanitize tags (#426)
    • Cache backend API docs (#406)
    • Git context now supports subdir (#407)
    • Bump codecov/codecov-action from 1 to 2 (#415)

    v2.6.1

    • Small typo and ensure trimmed output (#400)

    ... (truncated)

    Commits
    • e551b19 Merge pull request #564 from crazy-max/node-16
    • 3554377 Merge pull request #609 from crazy-max/ci-fix-test
    • a62bc1b ci: fix standalone test
    • c208583 Merge pull request #601 from crazy-max/standalone-mode
    • fcd9124 Merge pull request #607 from docker/dependabot/github_actions/docker/metadata...
    • 0ebe720 Bump docker/metadata-action from 3 to 4
    • 38b4580 Standalone mode support
    • ba31738 Merge pull request #533 from docker/dependabot/npm_and_yarn/csv-parse-5.0.4
    • 43721d2 Update generated content
    • 5ea21bf Fix csv-parse implementation since major update
    • 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)
    dependencies github_actions 
    opened by dependabot[bot] 1
Releases(v1.0.0)
  • v1.0.0(Apr 11, 2022)

    1.0.0 (2022-04-11)

    Bug Fixes

    • check invalid status by its code (284aa9a)
    • consider client closed when channel shutdowned (d1c2237)
    • grpc: add version var to cosmosSdk dependency (2d96af1)
    • grpc: catch exception using status.code instead of status (286555b)
    • grpc: change config vars documentation from tendermint to cosmos (42af3e7)
    • handle poll without existing offset (e7f4cf5)
    • request block height 1-based (d40c28d)
    • save offset state between poll calls (b4da165)
    • test grpc status on code (b3f0347)

    Features

    • grpc: add CosmosServiceClient (54b9cd9)
    • grpc: add tls option on CosmosServiceClient (73069de)
    • grpc: check if client isnt close on each call (0ea7590)
    • grpc: implement grpc in SourceTask, update SourceConnector accordingly (12a1a01)
    • implement faked source connector (b3b90a4)
    • implement hello-world 😁 (3ae69ec)
    • set the maximum number of blocks to 50 (was 1000) (ec5e63c)
    Source code(tar.gz)
    Source code(zip)
Owner
OKP4 – Open Knowledge Protocol For
OKP4 – Open Knowledge Protocol For
Kafka bindings for Kotlin `suspend`, and Kafka streaming operators for KotlinX Flow.

Module kotlin-kafka Rationale Goals Example This project is still under development, andd started as a playground where I was playing around with Kafk

Simon Vergauwen 34 Dec 30, 2022
kafka test with embedded kafka

kafka-test Requirements running Kafka on localhost:9092 How to use cat sampleuser.json | http POST localhost:9000/produce or use runConfiguration ./.r

null 0 Dec 9, 2021
Kafka-hot-and-cold-retries - Demo project for elaborating how hot and cold retries can be applied in Kafka

Apache Kafka® - Hot and Cold Retries A demo project for elaborating how hot and

Berat CANKAR 11 Jun 10, 2022
Kafka Connect JSLT Single Message Transform

This is an implementation of the Kafka Connect SMT interface to offer transformation capabilities using the Schibsted JSLT library.

willhaben 2 May 25, 2022
The behavior of Couchbase Lite C when attempting to connect to a Sync Gateway

This demo demonstrates the behavior of Couchbase Lite C when attempting to connect to a Sync Gateway, while the process has various numbers of file de

Gabriel Terwesten 0 Nov 29, 2021
A Kotlin/Java library to connect directly to an Android device without an adb binary or an ADB server

dadb Blog Post: Our First Open-Source Project A Kotlin/Java library to connect directly to an Android device without an adb binary or an ADB server de

mobile.dev 791 Dec 20, 2022
A simple Kotlin class to use to connect to a MongoDB collection.

mongodb-kotlin A simple Kotlin class to use to connect to a MongoDB collection. Once you have created a MongoDB project, choose Build a Database: Next

null 2 Oct 23, 2022
Therapeutic is a platform to help easily connect patients or generally anyone struggling to get through tough times with motivating content and professional therapists.

Therapeutic Apk - https://github.com/develNerd/Therapeutic/blob/main/androidApp/release/androidApp-release6.apk Therapeutic is a Kotlin Mobile Multipl

Isaac Akakpo 1 Nov 23, 2022
YAML-based source-based kotlin module descriptors

kproject - Liberate your Kotlin projects YAML-based source-based kotlin module descriptors that runs on top of gradle. Define your kotlin multiplatfor

KorGE Game Engine & Korlibs 16 Jan 31, 2023
Maxibon kata for Kotlin Developers. The main goal is to practice property based testing.

Kata Maxibon for Kotlin. We are here to practice property based testing. We are going to use KotlinTest to write our tests. We are going to practice p

Karumi 44 Oct 3, 2022
❤️ A sample Marvel heroes application based on MVVM (ViewModel, Coroutines, LiveData, Room, Repository, Koin) architecture.

MarvelHeroes MarvelHeroes is a demo application based on modern Android application tech-stacks and MVVM architecture. Fetching data from the network

Jaewoong Eum 1.2k Dec 19, 2022
🦁 A Disney app using transformation motions based on MVVM (ViewModel, Coroutines, Flow, LiveData, Room, Repository, Koin) architecture.

DisneyMotions A demo Disney app using transformation motions based on MVVM architecture. The motion system is included in the 1.2.0-alpha05 released m

Jaewoong Eum 1.4k Jan 2, 2023
A simple demo project based on MVVM clean architecture and material design & animations.

GithubFollows A simple demo project based on MVVM clean architecture and material design & animations. Architecture Specs & Open-source libraries Mini

Jaewoong Eum 288 Dec 25, 2022
TheMovies 🎬 A demo project for The Movie DB based on Kotlin MVVM architecture and material design & animations.

A simple project for The Movie DB based on Kotlin MVVM clean architecture and material design & animations. How to build on your environment

Jaewoong Eum 420 Nov 29, 2022
Kotlin backend based on the Clean Architecture principles. Ktor, JWT, Exposed, Flyway, KGraphQL/GraphQL generated endpoints, Gradle.

Kotlin Clean Architecture Backend Kotlin backend based on the Clean Architecture principles. The application is separated into three modules: Domain,

null 255 Jan 3, 2023
A Kotlin-based combo editor

KtEdit A Kotlin-based combo editor Features Remove Duplicates Shuffle Lines Split File More features will be adding in future updates. Benchmarks Remo

null 0 Jan 14, 2022
A kotlin based server for the milky store mobile application

Milky Store backend server A kotlin ?? ?? based backend server to power up the milky store android application FEATURES : Secure serialisation ?? lead

The X 3 Oct 21, 2021
This project provides declarative camunda delegates for Spring based application

camunda-delegator-lib Features Declarative style for delegate code Generated delegates documentation and templates for camunda modeler(this feature is

Tinkoff.ru 27 Aug 12, 2022