• Home
  • Raw
  • Download

Lines Matching +full:helper +full:- +full:module +full:- +full:imports

10 _2024-01-18_
13 * New: KSP 1.9.22-1.0.16.
14 * New: Add `NameAllocator` API to control keyword pre-allocation (#1803).
16 * Fix: Honour same-package import aliases (#1794).
23 _2023-12-04_
31 _2023-11-30_
34 * New: KSP 1.9.21-1.0.15.
39 _2023-11-19_
46 _2023-11-18_
51 In this release the `:kotlinpoet` module has been converted to a Kotlin Multiplatform module
53 with Gradle, you will now need to depend on the `kotlinpoet-jvm` artifact, instead of `kotlinpoet` -
57 * New: KSP 1.9.20-1.0.14.
68 * Change: kotlinx-metadata 0.7.0. This is a breaking change for users of the `:kotlinpoet-metadata`
69module, as most `Flags`-API extensions have been removed in favor of the now-available first-party…
73 _2023-05-30_
79 _2023-05-29_
85 _2023-05-29_
90 * New: KSP 1.8.21-1.0.11.
136 … as part of this change, `FunSpec.returnType` has changed to be non-nullable. This is a source- and
137 …binary-compatible change, although if you were performing null-checks then new warnings may appear…
144 _2023-05-05_
152 _2023-04-28_
162 _2023-04-06_
168 * New: KSP 1.8.0-1.0.9.
171 * New: Auto-generate import aliases for types and members (#1355).
189 _2022-06-13_
199 * New: `interop-ksp` API promoted to stable.
203 * Fix: Unwrap nested `KSTypeAlias`-es recursively.
205 * Fix: Treat `header` and `impl` as keywords (workaround for KT-52315).
211 _2022-03-24_
230 * New: Emit trailing commas for multi-line parameters and annotations.
232 * New: Add `Unit` and `CharSequence` conversions in `javapoet-interop`.
233 * New: Add support for default imports in `FileSpec`.
234 * This is particularly oriented at scripting support, but can also be used in non-script files.
245 _2021-10-22_
250 * Fix: Don't wrap aliasing imports with long package names.
256 _2021-09-21_
266 _2021-09-20_
271 * New: Add a new [KSP][ksp] interop artifact. See [docs][ksp-interop-docs] for more details.
272 * New: Add a new [JavaPoet][javapoet] interop artifact. See [docs][javapoet-interop-docs] for more
275 * kotlinx-metadata artifacts have been consolidated to a single `com.squareup:kotlinpoet-metadata`
276 maven artifact. The previous `kotlinpoet-metadata-*` subartifacts are no longer published.
279 …ss abstraction over the base `kotlinx-metadata` Km types. All usages of these should be substitute…
280 * Fix: Fix self-referencing type variables in metadata parsing.
285 * Add docs about `kotlin-reflect` usage.
286 * Avoid using kotlin-reflect for looking up `Unit` types where possible.
292 _2021-06-22_
296 un-deprecated and marked with `@DelicateKotlinPoetApi` annotation.
297 * New: `CodeBlock.Builder.withIndent` helper function.
307 _2021-03-29_
312 * New: Update to kotlinx-metadata 0.2.0.
319 * Fix: Allow non-public primary constructors inside inline/value classes.
325 _2020-10-20_
332 _2020-10-15_
336 [#999][issue-999]). 1.7.1 is published with JDK 8, which fixes the problem.
340 _2020-10-14_
343 * New: Generated code is now compatible with the [explicit API mode][explicit-api-mode] by default.
349 * Fix: Don't auto-convert properties with custom accessors to primary constructor properties.
351 * Fix: Prevent auto-wrapping spaces inside escaped keywords.
355 _2020-05-28_
362 stubs, which are Java files, a lot of the Kotlin-specific information gets lost in translation
365 - Alias types, such as `kotlin.String`, get converted to their JVM representations, such as
367 - Type nullability information is not accessible.
368 - `suspend` functions are seen as simple functions with an additional `Continuation` parameter.
370 The correct solution is to switch to [KotlinPoet-metadata][kotlinpoet-metadata] or
371 [KotlinPoet-metadata-specs][kotlinpoet-metadata-specs] API, which fetches Kotlin-specific
373 adding new metadata-based alternatives to the deprecated APIs in the future.
387 _2020-01-09_
395 * New: Add support for processing FileFacades in KotlinPoet-metadata.
409 * Fix: Ensure KotlinPoet-metadata resolves package names properly.
413 _2019-11-16_
415 * Fix: Support reified inline types in KotlinPoet-metadata.
419 _2019-10-30_
421 * Fix: Don't emit stubs for abstract functions in KotlinPoet-metadata.
425 _2019-10-28_
427 * Fix: Properly handle abstract elements in KotlinPoet-metadata.
428 * Fix: Properly handle typealiases in KotlinPoet-metadata.
433 _2019-10-18_
438 * Fix: Use full package name for shading `auto-common`.
439 * Fix: Support reading self-type variables (e.g. `Asset<A : Asset<A>>`) from Kotlin `Metadata`.
443 _2019-09-24_
445 * New: This release introduces the new KotlinPoet-metadata API that makes it easy to introspect
450 `toTypeSpec()`/`toFileSpec()` APIs in `kotlinpoet-metadata-specs` artifact to inform about
452 are two batteries-included implementations available in `ReflectiveClassInspector`
455 `kotlinpoet-classinspector-*` artifacts. For more information refer to the
456 [KotlinPoet-metadata-specs README][kotlinpoet-metadata-specs].
467 * New: `CodeBlock.Builder.clear()` helper method.
468 * New: `FunSpec.Builder.clearBody()` helper method.
478 _2019-05-30_
489 * New: Escape imports containing spaces.
491 * New: Use 2-space indents.
498 _2019-03-28_
504 * Fix: Add non-wrapping spaces in control flow creation methods.
509 _2019-02-28_
524 * Fix: Add non-wrapping package name.
533 _2019-01-02_
538 * Fix: Use pre-formatted strings for arguments to %P.
542 _2018-12-10_
547 ## Version 1.0.0-RC3
549 _2018-11-28_
559 * New: Replace `%W` with space, and add `·` as a non-breaking space.
567 * Fix: Emit star-projection only for types with `Any?` upper bound.
570 ## Version 1.0.0-RC2
572 _2018-10-22_
582 * New: Added `buildCodeBlock()` helper function.
587 * New: Allow importing top-level members in default package.
591 * Fix: Keep type-parameter variance when constructing `TypeName` from `KType`.
598 ## Version 1.0.0-RC1
600 _2018-07-16_
602 * New: Escape keywords in imports and canonical class names.
612 * New: Expose mutable builder properties and move their validations to build-time.
626 _2018-02-16_
635 * New: Set com.squareup.kotlinpoet as automatic module name.
639 * New: Disallow wildcard imports.
641 * Fix: Correct handling of super-classes/interfaces on anonymous classes.
648 _2017-11-03_
651 * New: Support renames in imports like `import bar.Bar as bBar`.
664 _2017-09-13_
670 * New: Support cross-platform code, including `HEADER` and `IMPL` modifiers.
674 * New: Depend on Kotlin 1.1.4-3.
683 _2017-08-08_
685 * New: Change KotlinPoet's extensions like `asClassName()` to be top-level functions.
686 * New: Add declaration-site variance support.
689 * New: Support imports from the top-level file.
696 * Fix: Recognize imports when emitting nullable types.
697 * Fix: Call through to the superclass constructor when superclass has a no-args constructor.
707 _2017-06-11_
729 _2017-05-21_
735 * New: Support top-level properties.
742 _2017-05-16_
746 [kotlinpoet-metadata]: ../kotlinpoet_metadata
747 [kotlinpoet-metadata-specs]: ../kotlinpoet_metadata_specs
748 …[explicit-api-mode]: https://kotlinlang.org/docs/reference/whatsnew14.html#explicit-api-mode-for-l…
749 [issue-999]: https://github.com/square/kotlinpoet/issues/999
751 [ksp-interop-docs]: https://square.github.io/kotlinpoet/interop-ksp/
753 [javapoet-interop-docs]: https://square.github.io/kotlinpoet/interop-javapoet/