InsanusMokrassar / ktgbotapi

Type-safe library for work with Telegram Bot API
https://docs.inmo.dev/tgbotapi/index.html
Apache License 2.0
342 stars 29 forks source link

Update ksp to v2 (major) - autoclosed #858

Closed renovate[bot] closed 3 weeks ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.google.devtools.ksp:symbol-processing-gradle-plugin (source) 1.9.23-1.0.20 -> 2.0.10-1.0.24 age adoption passing confidence
com.google.devtools.ksp:symbol-processing-api (source) 1.9.23-1.0.20 -> 2.0.10-1.0.24 age adoption passing confidence

Release Notes

google/ksp (com.google.devtools.ksp:symbol-processing-gradle-plugin) ### [`v2.0.10-1.0.24`](https://togithub.com/google/ksp/releases/tag/2.0.10-1.0.24) [Compare Source](https://togithub.com/google/ksp/compare/2.0.0-1.0.24...2.0.10-1.0.24) #### What's Changed - UPDATE_KOTLIN_VERSION: 2.0.10 by [@​ting-yuan](https://togithub.com/ting-yuan) in [https://github.com/google/ksp/pull/2022](https://togithub.com/google/ksp/pull/2022) ### [`v2.0.0-1.0.24`](https://togithub.com/google/ksp/releases/tag/2.0.0-1.0.24) [Compare Source](https://togithub.com/google/ksp/compare/2.0.0-1.0.23...2.0.0-1.0.24) #### What's Changed [#​2013](https://togithub.com/google/ksp/issues/2013) Handle edge cases of KtAnnotated.annotations [#​2009](https://togithub.com/google/ksp/issues/2009) Fix :kotlin-analysis-api:shadowJar failing on Windows [#​2006](https://togithub.com/google/ksp/issues/2006) Use symbol-processing-aa-embeddable in Gradle #### Bugs Fixed [#​1956](https://togithub.com/google/ksp/issues/1956) IllegalAccessError in Dagger with KSP2.0.0-1.0.22 and KSP2 [#​1998](https://togithub.com/google/ksp/issues/1998) KSP2 version 2.0.0-1.0.23 crashes on Moshi codegen with NoSuchElementException: Collection contains no element matching the predicate. **Full Changelog**: https://github.com/google/ksp/compare/e8807446b16ba19e110cc23f6b852054614f7ec8...c63864cc1268bcb1c83e058494b6ff4b25947251 ### [`v2.0.0-1.0.23`](https://togithub.com/google/ksp/releases/tag/2.0.0-1.0.23) [Compare Source](https://togithub.com/google/ksp/compare/2.0.0-1.0.22...2.0.0-1.0.23) #### Issues fixed - \[KSP2] Nullable type arg type becomes non-null after replace() call [#​1856](https://togithub.com/google/ksp/issues/1856) - Annotations on enum entires on K2 are missing [#​1962](https://togithub.com/google/ksp/issues/1962) - Got IllegalStateException when calling replace() on error types [#​1960](https://togithub.com/google/ksp/issues/1960) - \[KSP2] Resolver.getJvmCheckedException doesn't work on property accessors [#​1900](https://togithub.com/google/ksp/issues/1900) - \[KSP2] Property getter JVM names in data classes become componentN instead of getXXX [#​1958](https://togithub.com/google/ksp/issues/1958) - \[KSP2] Resolver.mapToJvmSignature doesn't unwrap inline classes [#​1859](https://togithub.com/google/ksp/issues/1859) - \[KSP2] KSFunctionDeclaration.asMemberOf does not return correct types [#​1919](https://togithub.com/google/ksp/issues/1919) - implement getOwnerJvmClassName [#​1979](https://togithub.com/google/ksp/issues/1979) - \[KSP2] KSPropertyDeclaration.hasBackingField returns inconsistent results [#​1939](https://togithub.com/google/ksp/issues/1939) - \[KSP2] Annotations on extension receivers are missing [#​1899](https://togithub.com/google/ksp/issues/1899) ### [`v2.0.0-1.0.22`](https://togithub.com/google/ksp/releases/tag/2.0.0-1.0.22) [Compare Source](https://togithub.com/google/ksp/compare/2.0.0-1.0.21...2.0.0-1.0.22) #### Important Changes - `KSErrorType.toString()` now contains the reference name it was tried to be resolved, and therefore `KSErrorType` is no longer a singleton. Processors relying on equality checks of that (in contrast of using `KSType.isError`) will need to be updated accordingly. #### Issues Fixed [#​1908](https://togithub.com/google/ksp/issues/1908) KSP2: Calling KSP2 in programs does not appear to work on macOS or Windows [#​1917](https://togithub.com/google/ksp/issues/1917) KSP2's symbol-processing-aa-embeddable artifact exposes an unresolvable pre-release kotlin 2.0.20 dependency [#​1911](https://togithub.com/google/ksp/issues/1911) NoSuchMethodError when running KSP2 with Dagger (KSP 2.0.0-1.0.21) [#​1909](https://togithub.com/google/ksp/issues/1909) KSP2: default annotation arguments no longer work in 1.0.21 [#​1232](https://togithub.com/google/ksp/issues/1232) Expose simple names on a missing types's synthetic declaration [#​1857](https://togithub.com/google/ksp/issues/1857) \[KSP2] Modifiers are missing for property accessors [#​1924](https://togithub.com/google/ksp/issues/1924) \[KSP2] Type arg becomes '\*' after calling KSType.replace() with an error type [#​1948](https://togithub.com/google/ksp/issues/1948) KSP2 default annotation KClass values for built-in types use java.lang.\* versions #### What's Changed - Include type hint into KSErrorType. by [@​Jeffset](https://togithub.com/Jeffset) in [https://github.com/google/ksp/pull/1848](https://togithub.com/google/ksp/pull/1848) - Implement Resolver.getModuleName API by [@​ZacSweers](https://togithub.com/ZacSweers) in [https://github.com/google/ksp/pull/1847](https://togithub.com/google/ksp/pull/1847) - Patch AA service files in renamed uber jar by [@​ting-yuan](https://togithub.com/ting-yuan) in [https://github.com/google/ksp/pull/1867](https://togithub.com/google/ksp/pull/1867) - fix annotation default value parsing for arrays and class literals. by [@​neetopia](https://togithub.com/neetopia) in [https://github.com/google/ksp/pull/1871](https://togithub.com/google/ksp/pull/1871) - fix package name for library based symbols by [@​neetopia](https://togithub.com/neetopia) in [https://github.com/google/ksp/pull/1873](https://togithub.com/google/ksp/pull/1873) - Do not index classpath in declaration provider by [@​ting-yuan](https://togithub.com/ting-yuan) in [https://github.com/google/ksp/pull/1870](https://togithub.com/google/ksp/pull/1870) - check functional interface for modifiers by [@​neetopia](https://togithub.com/neetopia) in [https://github.com/google/ksp/pull/1872](https://togithub.com/google/ksp/pull/1872) - Annotation default java by [@​neetopia](https://togithub.com/neetopia) in [https://github.com/google/ksp/pull/1879](https://togithub.com/google/ksp/pull/1879) - fix type parameter bounds by [@​neetopia](https://togithub.com/neetopia) in [https://github.com/google/ksp/pull/1880](https://togithub.com/google/ksp/pull/1880) - Add command line parser and entry points by [@​ting-yuan](https://togithub.com/ting-yuan) in [https://github.com/google/ksp/pull/1885](https://togithub.com/google/ksp/pull/1885) - KSP2: Fix support of wasm by [@​ting-yuan](https://togithub.com/ting-yuan) in [https://github.com/google/ksp/pull/1888](https://togithub.com/google/ksp/pull/1888) - Return KSClassDeclarationEnumEntryImpl for enum entry annotation values. by [@​neetopia](https://togithub.com/neetopia) in [https://github.com/google/ksp/pull/1881](https://togithub.com/google/ksp/pull/1881) - Reuse Kotlin indexes in incremental providers by [@​ting-yuan](https://togithub.com/ting-yuan) in [https://github.com/google/ksp/pull/1891](https://togithub.com/google/ksp/pull/1891) - special handling for java property accessors override checking by [@​neetopia](https://togithub.com/neetopia) in [https://github.com/google/ksp/pull/1894](https://togithub.com/google/ksp/pull/1894) - KSP2: Reuse Java indexes by [@​ting-yuan](https://togithub.com/ting-yuan) in [https://github.com/google/ksp/pull/1895](https://togithub.com/google/ksp/pull/1895) - Incremental: fix roots from getSealedSubclasses by [@​ting-yuan](https://togithub.com/ting-yuan) in [https://github.com/google/ksp/pull/1893](https://togithub.com/google/ksp/pull/1893) - use safe cast for annotation type to declaration resolution by [@​neetopia](https://togithub.com/neetopia) in [https://github.com/google/ksp/pull/1902](https://togithub.com/google/ksp/pull/1902) **Full Changelog**: https://github.com/google/ksp/compare/2.0.0-1.0.21...2.0.0-1.0.22 ### [`v2.0.0-1.0.21`](https://togithub.com/google/ksp/releases/tag/2.0.0-1.0.21) [Compare Source](https://togithub.com/google/ksp/compare/1.9.25-1.0.20...2.0.0-1.0.21) This release brings mostly bug fixes into [KSP2 beta](https://togithub.com/google/ksp/blob/main/docs/ksp2.md) Users are encouraged to try out KSP2 beta. ##### new feature expose an API in Resolver to retrieve the module name for handling mangling of internal members [#​1621](https://togithub.com/google/ksp/issues/1621) ##### issues fixed - Class values are missing class type in annotation values [#​1646](https://togithub.com/google/ksp/issues/1646) - Kotlin Function\* types reports inconsistent package and qualified names [#​1845](https://togithub.com/google/ksp/issues/1845) - KSP2 cannot load Android lint checks jar due to FileTooBigException [#​1839](https://togithub.com/google/ksp/issues/1839) - \[KSP2] KSAnnotations with annotation properties with a default value always resolve to null [#​1843](https://togithub.com/google/ksp/issues/1843) - \[KSP2] Modifier.FUN is missing in functional interfaces [#​1853](https://togithub.com/google/ksp/issues/1853) - \[KSP2] ClassCastException when calling KSType.starProjection() on a Java field type [#​1735](https://togithub.com/google/ksp/issues/1735) - \[KSP2] Annotation arguments with default values are missing [#​1837](https://togithub.com/google/ksp/issues/1837) - \[KSP2] Intersection types are not modeled [#​1846](https://togithub.com/google/ksp/issues/1846) - KSP2: Model enum entries in annotation values [#​1861](https://togithub.com/google/ksp/issues/1861) - KSP2: Unknown JS backend: Wasm [#​1889](https://togithub.com/google/ksp/issues/1889) - \[KSP2] NullPointerException when getting arguments of annotation value [#​1798](https://togithub.com/google/ksp/issues/1798) ### [`v1.9.25-1.0.20`](https://togithub.com/google/ksp/releases/tag/1.9.25-1.0.20) [Compare Source](https://togithub.com/google/ksp/compare/1.9.24-1.0.20...1.9.25-1.0.20) KSP 1.0.20 for Kotlin 1.9.25 ### [`v1.9.24-1.0.20`](https://togithub.com/google/ksp/releases/tag/1.9.24-1.0.20) [Compare Source](https://togithub.com/google/ksp/compare/1.9.23-1.0.20...1.9.24-1.0.20) KSP 1.0.20 for kotlin compiler version 1.9.24

Configuration

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

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

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

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



This PR was generated by Mend Renovate. View the repository job log.