diff --git a/.github/workflows/swc4j_build.yml b/.github/workflows/swc4j_build.yml index 1d74581..d6cc7fc 100644 --- a/.github/workflows/swc4j_build.yml +++ b/.github/workflows/swc4j_build.yml @@ -14,7 +14,7 @@ on: - "docs/**" env: - SWC4J_VERSION: 1.1.0 + SWC4J_VERSION: 1.2.0 jobs: build_native: diff --git a/build.gradle.kts b/build.gradle.kts index 8b6f2f6..2b42ce3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -65,9 +65,9 @@ object Config { object Versions { const val JAVA_VERSION = "1.8" - const val JAVET = "3.1.7" + const val JAVET = "3.1.8" const val JUNIT = "5.10.1" - const val SWC4J = "1.1.0" + const val SWC4J = "1.2.0" } } diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 36f3624..8ba7187 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -1102,7 +1102,7 @@ dependencies = [ [[package]] name = "swc4j" -version = "1.1.0" +version = "1.2.0" dependencies = [ "anyhow", "base64 0.22.1", diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 1207a95..faab3e9 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "swc4j" -version = "1.1.0" +version = "1.2.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/rust/src/core.rs b/rust/src/core.rs index a62e042..a3bd919 100644 --- a/rust/src/core.rs +++ b/rust/src/core.rs @@ -25,7 +25,7 @@ use swc::common::util::take::Take; use crate::{enums, options, outputs, plugin_utils}; -const VERSION: &'static str = "1.1.0"; +const VERSION: &'static str = "1.2.0"; fn parse_by_mode( parse_params: ParseParams, diff --git a/rust/tests/test_core.rs b/rust/tests/test_core.rs index 089a3f7..a9b662d 100644 --- a/rust/tests/test_core.rs +++ b/rust/tests/test_core.rs @@ -26,7 +26,7 @@ use swc4j::*; #[test] fn test_get_version() { - assert_eq!(core::get_version(), "1.1.0"); + assert_eq!(core::get_version(), "1.2.0"); } #[test] diff --git a/scripts/ts/change_swc4j_version.ts b/scripts/ts/change_swc4j_version.ts index 982d3d3..75365a8 100644 --- a/scripts/ts/change_swc4j_version.ts +++ b/scripts/ts/change_swc4j_version.ts @@ -113,5 +113,5 @@ class ChangeSwc4jVersion { } } -const changeSwc4jVersion = new ChangeSwc4jVersion('1.1.0', '1.1.0'); +const changeSwc4jVersion = new ChangeSwc4jVersion('1.1.0', '1.2.0'); changeSwc4jVersion.change() diff --git a/scripts/ts/copy_swc4j_lib.ts b/scripts/ts/copy_swc4j_lib.ts index 5b2418a..e1c9d0a 100644 --- a/scripts/ts/copy_swc4j_lib.ts +++ b/scripts/ts/copy_swc4j_lib.ts @@ -36,7 +36,7 @@ interface Config { } const NAME = "swc4j"; -const VERSION = "1.1.0"; +const VERSION = "1.2.0"; const OS_CONFIG_MAP: Record = { windows: { sourceName: NAME, diff --git a/src/main/java/com/caoccao/javet/swc4j/Swc4jLibLoader.java b/src/main/java/com/caoccao/javet/swc4j/Swc4jLibLoader.java index bf0fcef..347e2ab 100644 --- a/src/main/java/com/caoccao/javet/swc4j/Swc4jLibLoader.java +++ b/src/main/java/com/caoccao/javet/swc4j/Swc4jLibLoader.java @@ -49,7 +49,7 @@ final class Swc4jLibLoader { private static final String LIB_FILE_EXTENSION_WINDOWS = "dll"; private static final String LIB_FILE_NAME_FORMAT = "libswc4j-{0}-{1}.v.{2}.{3}"; private static final String LIB_NAME = "swc4j"; - private static final String LIB_VERSION = "1.1.0"; + private static final String LIB_VERSION = "1.2.0"; private static final ISwc4jLogger LOGGER = new Swc4jDefaultLogger(Swc4jLibLoader.class.getName()); private static final long MIN_LAST_MODIFIED_GAP_IN_MILLIS = 60L * 1000L; // 1 minute private static final String OS_ANDROID = "android"; diff --git a/src/test/java/com/caoccao/javet/swc4j/TestSwc4j.java b/src/test/java/com/caoccao/javet/swc4j/TestSwc4j.java index 387449c..9604dca 100644 --- a/src/test/java/com/caoccao/javet/swc4j/TestSwc4j.java +++ b/src/test/java/com/caoccao/javet/swc4j/TestSwc4j.java @@ -23,6 +23,6 @@ public class TestSwc4j extends BaseTestSuite { @Test public void testGetVersion() { - assertEquals("1.1.0", swc4j.getVersion()); + assertEquals("1.2.0", swc4j.getVersion()); } } diff --git a/src/test/java/com/caoccao/javet/swc4j/TestSwc4jNative.java b/src/test/java/com/caoccao/javet/swc4j/TestSwc4jNative.java index 7ffe881..575ec47 100644 --- a/src/test/java/com/caoccao/javet/swc4j/TestSwc4jNative.java +++ b/src/test/java/com/caoccao/javet/swc4j/TestSwc4jNative.java @@ -23,6 +23,6 @@ public class TestSwc4jNative { @Test public void testGetVersion() { - assertEquals("1.1.0", Swc4jNative.coreGetVersion()); + assertEquals("1.2.0", Swc4jNative.coreGetVersion()); } }