Releases: orangain/ktcodeshift
Releases · orangain/ktcodeshift
0.3.3
0.3.2
Commits
- b43cf8e: Now lPar and rPar around parameters are mandatory (orangain) #35
- 5cd1ae3: Update Builder (orangain) #35
- 099720b: Create lPar and rPar for CallExpression when lambda argument does not exist (orangain) #35
- 36398c9: Update Builder (orangain) #35
- 52d1cad: Refactor expressionOf in GenerateBuilders.transform.kts (orangain) #35
- 0ed3ba9: Update ktast to 0.9.2 (orangain) #35
- 813e4d0: Refactor GenerateBuilders.transform.kts (orangain) #36
- 34527d4: Generate overload of single variable for property and lambda parameter (orangain) #36
- 6a4687f: Update Builder (orangain) #36
- 672348b: Now variables does not have default value (orangain) #36
- 2b385bc: Update Builder (orangain) #36
0.3.1
Breaking changes
- Rename
ktcodeshift.Api
toktcodeshift.Ktcodeshift
. - Type of
FileInfo.path
is nowjava.nio.file.Path
. - Extension function
Node.traverse
is removed.
Commits
- eb33795: Refactor GenerateBuilders.transform.kts (orangain) #31
- 1cf16dc: Rename Api to Ktcodeshift (orangain) #31
- 038882d: Rename file (orangain) #31
- ca132db: Move definitions (orangain) #31
- 9b34732: Update transform scripts (orangain) #31
- a3b80fa: Type of FileInfo.path is now java.nio.file.Path (orangain) #31
- 13f4d4e: Add KDocs (orangain) #31
- f2efc78: Update visibility of App functions (orangain) #31
- 55d182e: Update README (orangain) #31
- 5e0c024: Move ScriptDefinition to script package (orangain) #31
- f5c6576: Update SortWhenBranches.transform.kts (orangain) #31
- 4355640: Update GenerateBuilders.transform.kts to generate KDoc (orangain) #31
- bc29f06: Add KDdocs to Builder functions (orangain) #31
- 77e00f5: Specify version in all projects (orangain) #32
- b20a6d7: Specify group (orangain) #32
- d975f0e: Use deploy key instead of GITHUB_TOKEN (orangain) #33
- cd70e95: Update link to the latest stable version of document (orangain) #34
0.3.0
Breaking changes
- Update ktast to 0.9.1. Node types are significantly changed.
Changes
- Now
transform
function allows null when no change is needed.
Commits
- d5c1692: Bump org.jetbrains.kotlinx:kotlinx-coroutines-core from 1.6.4 to 1.7.1 (dependabot[bot]) #21
- 8e51a78: Update README.md (orangain)
- a10b931: Use latest version of ktast (orangain) #25
- 96fc41b: Update GenerateBuilders.transform.kts (orangain) #25
- 2e2b0ed: Make compile pass (orangain) #25
- c17a612: Move error handling of evalScriptSource to caller side (orangain) #25
- 330ab63: Update transform scripts to use latest version of ktast (orangain) #25
- 0da204f: Update GenerateBuilders.transform.kts to use latest version of ktast (orangain) #25
- 2b689ce: Simplify nestedNames (orangain) #25
- d66606a: Simplify creation of function name (orangain) #25
- 7b79724: Improve default value of brackets (orangain) #25
- 8967259: Update Builder (orangain) #25
- 89bcc15: Simplify transforms (orangain) #25
- 7124034: Use generateSequence instead of while statement (orangain) #25
- 80d2383: Use List instead of FullyQualifiedName (orangain) #25
- 9a7cc64: Rename variable (orangain) #25
- 48e0c6c: Update ktast to the latest (orangain) #25
- 974479b: Refactor script (orangain) #25
- a9f330f: Update Builder for the latest ktast (orangain) #25
- 6c05553: Update JUnit4To5.transform.kts (orangain) #25
- 0f33b5b: Update GenerateBuilders.transform.kts (orangain) #25
- 3d6219e: Simplify script (orangain) #25
- 6824f73: Update Builder (orangain) #25
- de0a8bf: Update ktast (orangain) #25
- 32ae1e8: Use ktast 0.9.0 (orangain) #25
- ead1e53: Update scripts (orangain) #25
- 5f71950: Bump info.picocli:picocli from 4.7.3 to 4.7.4 (dependabot[bot]) #22
- c466577: Bump jvm from 1.8.21 to 1.8.22 (dependabot[bot]) #23
- 5dde116: Fix FileWithContext.find to match subtypes (orangain) #26
- 8f0a5aa: Bump org.jetbrains.dokka from 1.8.10 to 1.8.20 (dependabot[bot]) #24
- 9ae2059: Add new methods to NodeCollection (orangain) #27
- a4cda11: Add sample script (orangain) #27
- 9d7bc49: Add test of Api methods (orangain) #27
- 81a2a2d: Now transform function can return null when no modification is needed (orangain) #28
- e85cb16: Update GenerateBuilders.transform.kts (orangain) #29
- 654304c: Update Builder (orangain) #29
- 6772d72: Update ktast to 0.9.1 (orangain) #29
- bed9a9b: Update API (orangain) #29
- ffd75e9: Update sample code (orangain) #30
- 798234d: Auto format (orangain) #30
- 474e144: Update README (orangain) #30
- 68139ea: Update usage and transform file of README (orangain) #30
0.2.5
0.2.4
0.2.3
Commits
- 5f5813f: Add example of RenameVariable (orangain) #8
- 37e7d8f: Update code style settings (orangain) #8
- 3246b45: Use wildcard import for ktcodeshift (orangain) #8
- a7cac70: Reformat code (orangain) #8
- 309e81e: Reorder methods (orangain) #8
- 63d0eb0: Create dependabot.yml (orangain)
- 93da6ee: Bump com.palantir.git-version from 0.15.0 to 3.0.0 (dependabot[bot]) #9
- 570fc1e: Bump org.jetbrains.kotlinx:kotlinx-coroutines-core from 1.6.1 to 1.6.4 (dependabot[bot]) #10
- ce0c25c: Bump info.picocli:picocli from 4.6.3 to 4.7.3 (dependabot[bot]) #11
- 3f97af3: Bump com.github.orangain.ktast:ast-psi from 0.8.1 to 0.8.3 (dependabot[bot]) #12
- efac6da: Add documentation how to generate builder (orangain) #12
- d84d06f: Update Builder (orangain) #12
- 5491a69: Upgrade Kotlin to 1.8.21 (orangain) #12
- 46744bc: Introduce Dokka (orangain) #14
- 3dae79e: Set MaxMetaspaceSize to avoid OutOfMemoryError when using Dokka (orangain) #14
- 05b0cef: Set languageVersion (orangain) #14
- 2e960b2: Add package declaration to Builder.kt (orangain) #14
- b21ee09: Add GitHub Actions to generate API document (orangain) #14
- 08a5ad1: Set languageVersion to 11 (orangain) #14
- 1e48a07: Move TestUtil to test package (orangain) #14
- e561b1d: Ignore IDEA files (orangain) #14
- e1d3349: Remove .idea/compiler.xml (orangain) #14
- b9a5370: Specify permission to deploy (orangain) #14
- a54b71e: ./gradlew wrapper --gradle-version 8.1.1 && ./gradlew wrapper (orangain) #15
- 4021f7c: Set jvmTarget to 11 (orangain) #15
- d43932d: Add prerequisites (orangain) #16
- 5795a50: Auto format (orangain) #16
- c4d7ba0: Add example of transform file to README (orangain) #16
- 791c3f1: Add link to API documents (orangain) #16
- a3920a1: Add detailed explanation of examples (orangain) #16
- 66529e0: Simplify explanation (orangain) #16
0.2.2
Commits
- 39db5e6: Upgrade ktast 0.8.1 (orangain) #7
- c53b049: Update Builder (orangain) #7
- 085bbe1: Update JUnit4To5.transform.kts (orangain) #7
- 337106c: Update GenerateBuilders.transform.kts (orangain) #7
- 7beda84: Remove unused codes (orangain) #7
- 9046762: Rename body to lambdaBody (orangain) #7
- 48a5760: Update to use lambdaBody (orangain) #7
0.2.1
Commits
- c7be0cb: Update function names (orangain) #6
- 6ec2df0: Generate Builder using new version of ktast (orangain) #6
- 727364a: Use new builders in GenerateBuilders.transform.kts (orangain) #6
- 11710d7: Update builders (orangain) #6
- 9f7d8e9: Update extension methods (orangain) #6
- c44c529: Improve default value (orangain) #6
- 32d4a17: Make equals optional (orangain) #6
- ae34962: Remove unnecessary equals (orangain) #6
- 57f7155: Complement receiver type (orangain) #6
- c12c152: Update types of Api (orangain) #6
- fc7a26a: Update transform scripts to use new builder functions (orangain) #6
- 011b4b5: Use ktast 0.8.0 (orangain) #6
- 1994ad4: Remove Node.Type.asXXX functions (orangain) #6
- 02e721b: Make isDataClass strict (orangain) #6
- ea3fe8c: Remove Node.TypeArg.type extension (orangain) #6
0.2.0
Commits
- 6dadb6f: Add GenerateBiulders.transform.kts (orangain) #5
- 5db9361: Generate builder (orangain) #5
- 58cc858: Print stack trace on exception (orangain) #5
- 678d449: Use builder (orangain) #5
- c07164b: Introduce node extensions (orangain) #5
- 0ab6925: Use builder (orangain) #5
- 6435e4e: Introduce Structured.isDataClass extension (orangain) #5
- 1b8bae5: Remove unneeded params (orangain) #5
- b44b94b: Introduce Node.Type.asXXX extension methods (orangain) #5
- d3ce237: Introduce vararg builder (orangain) #5
- 8b29963: Use false as default value of boolean argument (orangain) #5
- db6b6e7: Add more vararg builders (orangain) #5
- 25a9e3c: Fix variable argument builders (orangain) #5
- ff47d51: Enable auto format for transform.kts files (orangain) #5
- 8c32969: Reformat code (orangain) #5
- f9ae3fb: Directly write to Builder.kt (orangain) #5
- b494f8e: Simplify transforms (orangain) #5
- 52f6f12: Rename builder functions (orangain) #5
- 84130dc: Update builders (orangain) #5
- 94c6def: Rename lit to literalModifier (orangain) #5
- d576c0f: Update builder function (orangain) #5