Skip to content

Commit bb9b8e3

Browse files
committed
Release 0.42.2
- Upgrade Kotlin to 2.1.0 - Upgrade Spring to 6.2.0 - Migrate Private Data class constructors to internal Signed-off-by: Gopal S Akshintala <[email protected]>
1 parent d4bd7bb commit bb9b8e3

File tree

11 files changed

+15
-14
lines changed

11 files changed

+15
-14
lines changed

.idea/kotlinc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ endif::[]
1818
:pmtemplates: src/integrationTest/resources/pm-templates
1919
:imagesdir: docs/images
2020
:prewrap!:
21-
:revoman-version: 0.42.0
21+
:revoman-version: 0.42.2
2222

2323
'''
2424

buildSrc/src/main/kotlin/Config.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
* ************************************************************************************************
77
*/
88
const val GROUP_ID = "com.salesforce.revoman"
9-
const val VERSION = "0.42.1"
9+
const val VERSION = "0.42.2"
1010
const val ARTIFACT_ID = "revoman"
1111
const val STAGING_PROFILE_ID = "1ea0a23e61ba7d"

buildSrc/src/main/kotlin/revoman.kt-conventions.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ kapt {
2020

2121
kotlin {
2222
compilerOptions {
23-
freeCompilerArgs.addAll("-Xjvm-default=all", "-Xcontext-receivers", "-Xjdk-release=${libs.jdk}")
23+
freeCompilerArgs.addAll("-Xjvm-default=all", "-Xcontext-receivers", "-Xjdk-release=${libs.jdk}", "-Xconsistent-data-class-copy-visibility")
2424
}
2525
}

libs.versions.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[versions]
22
jdk = "17"
3-
kotlin = "2.0.20"
4-
moshix = "0.28.0"
3+
kotlin = "2.1.0"
4+
moshix = "0.29.0"
55
http4k = "5.31.1.0"
66
immutables = "2.10.1"
77
arrow = "1.2.4"
8-
graal = "23.0.6" # 23.0.6 Compatible with Java 17
8+
graal = "24.1.1" # 23.0.6 Compatible with Java 17
99
java-vavr = "0.10.4"
1010
kotlin-vavr = "0.10.2"
1111
jetbrains-annotations = "26.0.0"
@@ -21,7 +21,7 @@ underscore = "1.105"
2121
kotlin-faker = "1.16.0"
2222
apache-commons-lang3 = "3.17.0"
2323
mockito = "5.14.0"
24-
spring = "6.2.0" # 5.3.31 Compatable with Java 11
24+
spring = "6.2.0"
2525
json-assert = "1.5.3"
2626
nexus-publish = "2.0.0"
2727
kotlinx-datetime = "0.6.1"

src/main/kotlin/com/salesforce/revoman/input/config/HookConfig.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import com.salesforce.revoman.output.report.StepReport
1717
import com.salesforce.revoman.output.report.TxnInfo
1818
import org.http4k.core.Request
1919

20+
@ExposedCopyVisibility
2021
data class HookConfig private constructor(val pick: StepPick, val hook: Hook) {
2122
sealed interface Hook {
2223
fun interface PreHook : Hook {

src/main/kotlin/com/salesforce/revoman/input/config/RequestConfig.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import io.vavr.kotlin.right
1515
import java.lang.reflect.Type
1616

1717
data class RequestConfig
18-
private constructor(
18+
internal constructor(
1919
val preTxnStepPick: PreTxnStepPick,
2020
val objType: Type,
2121
val customTypeAdapter: Either<JsonAdapter<Any>, JsonAdapter.Factory>? = null

src/main/kotlin/com/salesforce/revoman/input/config/ResponseConfig.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import io.vavr.kotlin.right
1515
import java.lang.reflect.Type
1616

1717
data class ResponseConfig
18-
private constructor(
18+
internal constructor(
1919
val postTxnStepPick: PostTxnStepPick,
2020
val ifSuccess: Boolean?,
2121
val objType: Type,

src/main/kotlin/com/salesforce/revoman/internal/postman/PostmanSDK.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
package com.salesforce.revoman.internal.postman
99

1010
import com.github.underscore.U
11-
import com.salesforce.revoman.internal.postman.PostmanSDK.Xml2Json
1211
import com.salesforce.revoman.internal.postman.template.Body
1312
import com.salesforce.revoman.internal.postman.template.Event
1413
import com.salesforce.revoman.internal.postman.template.Header
@@ -20,6 +19,7 @@ import org.graalvm.polyglot.Context
2019
import org.graalvm.polyglot.HostAccess
2120
import org.graalvm.polyglot.Source
2221
import org.graalvm.polyglot.Value
22+
import org.graalvm.polyglot.io.IOAccess
2323
import org.http4k.format.ConfigurableMoshi
2424

2525
/**
@@ -66,7 +66,7 @@ class PostmanSDK(
6666
jsContext =
6767
Context.newBuilder("js")
6868
.allowExperimentalOptions(true)
69-
.allowIO(true)
69+
.allowIO(IOAccess.ALL)
7070
.options(options)
7171
.allowHostAccess(HostAccess.ALL)
7272
.allowHostClassLookup { true }

0 commit comments

Comments
 (0)