mcarleio / konvert

This kotlin compiler plugin is using KSP API and generates kotlin code to map one class to another
https://mcarleio.github.io/konvert/
Apache License 2.0
93 stars 8 forks source link

build(deps): bump konvert.version from 0.1.0-SNAPSHOT to 2.4.0 in /example #39

Closed dependabot[bot] closed 10 months ago

dependabot[bot] commented 10 months ago

Bumps konvert.version from 0.1.0-SNAPSHOT to 2.4.0. Updates io.mcarle:konvert-api from 0.1.0-SNAPSHOT to 2.4.0

Changelog

Sourced from io.mcarle:konvert-api's changelog.

[2.4.0]

New features

  • allow functions with multiple parameters in @Konverter annotated interfaces if one is defined as source with @Konverter.Source #28
    @Konverter
    interface Mapper {
     fun toDto(@Konverter.Source source: Source, otherProperty: Int): Target
    }
    data class Source(val property: String)
    data class Target(val property: String, val otherProperty: Int)
    

Bug fixes:

  • ignore private and extension functions in @Konverter annotated interfaces #30

[2.3.1]

Publication fix

  • Fix published maven pom.xml for konvert-processor to not include dependency to itself and testFixtures dependencies #22 (thanks to @​iDevSK #23)

[2.3.0]

Update to Kotlin 1.9.10 and KSP 1.0.13

Improvements

  • Generate mapping code with help of existing TypeConverter, e.g. between iterables #20
    @Konverter
    interface Mapper {
      fun toDto(source: Source): Target
      fun toDto(sources: List<Source>): List<Target> // <- will use the IterableToIterable TypeConverter
    }
    data class Source(val property: String)
    data class Target(val property: String)
    
  • New option (konvert.enable-converters) to enable TypeConverters via configuration (related to #19)
  • Started throwing better understandable exceptions (related to #18)

Bug fixes:

  • replace implicit CodeBlock.toString() calls
  • ignore generics when looking for aliases

[2.2.0]

Update to Kotlin 1.9.0 and KSP 1.0.12

Bug fixes

  • ignore missing source property for a target constructor parameter with a default value #16

... (truncated)

Commits


Updates io.mcarle:konvert-spring-annotations from 0.1.0-SNAPSHOT to 2.4.0

Changelog

Sourced from io.mcarle:konvert-spring-annotations's changelog.

[2.4.0]

New features

  • allow functions with multiple parameters in @Konverter annotated interfaces if one is defined as source with @Konverter.Source #28
    @Konverter
    interface Mapper {
     fun toDto(@Konverter.Source source: Source, otherProperty: Int): Target
    }
    data class Source(val property: String)
    data class Target(val property: String, val otherProperty: Int)
    

Bug fixes:

  • ignore private and extension functions in @Konverter annotated interfaces #30

[2.3.1]

Publication fix

  • Fix published maven pom.xml for konvert-processor to not include dependency to itself and testFixtures dependencies #22 (thanks to @​iDevSK #23)

[2.3.0]

Update to Kotlin 1.9.10 and KSP 1.0.13

Improvements

  • Generate mapping code with help of existing TypeConverter, e.g. between iterables #20
    @Konverter
    interface Mapper {
      fun toDto(source: Source): Target
      fun toDto(sources: List<Source>): List<Target> // <- will use the IterableToIterable TypeConverter
    }
    data class Source(val property: String)
    data class Target(val property: String)
    
  • New option (konvert.enable-converters) to enable TypeConverters via configuration (related to #19)
  • Started throwing better understandable exceptions (related to #18)

Bug fixes:

  • replace implicit CodeBlock.toString() calls
  • ignore generics when looking for aliases

[2.2.0]

Update to Kotlin 1.9.0 and KSP 1.0.12

Bug fixes

  • ignore missing source property for a target constructor parameter with a default value #16

... (truncated)

Commits


Updates io.mcarle:konvert from 0.1.0-SNAPSHOT to 2.4.0

Changelog

Sourced from io.mcarle:konvert's changelog.

[2.4.0]

New features

  • allow functions with multiple parameters in @Konverter annotated interfaces if one is defined as source with @Konverter.Source #28
    @Konverter
    interface Mapper {
     fun toDto(@Konverter.Source source: Source, otherProperty: Int): Target
    }
    data class Source(val property: String)
    data class Target(val property: String, val otherProperty: Int)
    

Bug fixes:

  • ignore private and extension functions in @Konverter annotated interfaces #30

[2.3.1]

Publication fix

  • Fix published maven pom.xml for konvert-processor to not include dependency to itself and testFixtures dependencies #22 (thanks to @​iDevSK #23)

[2.3.0]

Update to Kotlin 1.9.10 and KSP 1.0.13

Improvements

  • Generate mapping code with help of existing TypeConverter, e.g. between iterables #20
    @Konverter
    interface Mapper {
      fun toDto(source: Source): Target
      fun toDto(sources: List<Source>): List<Target> // <- will use the IterableToIterable TypeConverter
    }
    data class Source(val property: String)
    data class Target(val property: String)
    
  • New option (konvert.enable-converters) to enable TypeConverters via configuration (related to #19)
  • Started throwing better understandable exceptions (related to #18)

Bug fixes:

  • replace implicit CodeBlock.toString() calls
  • ignore generics when looking for aliases

[2.2.0]

Update to Kotlin 1.9.0 and KSP 1.0.12

Bug fixes

  • ignore missing source property for a target constructor parameter with a default value #16

... (truncated)

Commits


Updates io.mcarle:konvert-spring-injector from 0.1.0-SNAPSHOT to 2.4.0

Changelog

Sourced from io.mcarle:konvert-spring-injector's changelog.

[2.4.0]

New features

  • allow functions with multiple parameters in @Konverter annotated interfaces if one is defined as source with @Konverter.Source #28
    @Konverter
    interface Mapper {
     fun toDto(@Konverter.Source source: Source, otherProperty: Int): Target
    }
    data class Source(val property: String)
    data class Target(val property: String, val otherProperty: Int)
    

Bug fixes:

  • ignore private and extension functions in @Konverter annotated interfaces #30

[2.3.1]

Publication fix

  • Fix published maven pom.xml for konvert-processor to not include dependency to itself and testFixtures dependencies #22 (thanks to @​iDevSK #23)

[2.3.0]

Update to Kotlin 1.9.10 and KSP 1.0.13

Improvements

  • Generate mapping code with help of existing TypeConverter, e.g. between iterables #20
    @Konverter
    interface Mapper {
      fun toDto(source: Source): Target
      fun toDto(sources: List<Source>): List<Target> // <- will use the IterableToIterable TypeConverter
    }
    data class Source(val property: String)
    data class Target(val property: String)
    
  • New option (konvert.enable-converters) to enable TypeConverters via configuration (related to #19)
  • Started throwing better understandable exceptions (related to #18)

Bug fixes:

  • replace implicit CodeBlock.toString() calls
  • ignore generics when looking for aliases

[2.2.0]

Update to Kotlin 1.9.0 and KSP 1.0.12

Bug fixes

  • ignore missing source property for a target constructor parameter with a default value #16

... (truncated)

Commits


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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)
codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (c56de62) 85.03% compared to head (7850002) 85.03%. Report is 6 commits behind head on main.

:exclamation: Current head 7850002 differs from pull request most recent head 13f6ca0. Consider uploading reports for the commit 13f6ca0 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #39 +/- ## ======================================= Coverage 85.03% 85.03% ======================================= Files 68 68 Lines 2312 2312 Branches 317 317 ======================================= Hits 1966 1966 Misses 172 172 Partials 174 174 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

dependabot[bot] commented 10 months ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.