From dab9ddd0321ec66741c60d46f7d30c5638c20e7a Mon Sep 17 00:00:00 2001 From: Sam Cao Date: Wed, 24 Jul 2024 07:02:54 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=B3=20chore:=20Update=20dev=20version?= =?UTF-8?q?=20to=20v0.11.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/swc4j_build.yml | 2 +- build.gradle.kts | 4 ++-- rust/Cargo.lock | 2 +- rust/Cargo.toml | 2 +- rust/src/core.rs | 2 +- rust/tests/test_core.rs | 2 +- scripts/ts/change_swc4j_version.ts | 2 +- scripts/ts/copy_swc4j_lib.ts | 2 +- src/main/java/com/caoccao/javet/swc4j/Swc4jLibLoader.java | 2 +- src/test/java/com/caoccao/javet/swc4j/TestSwc4j.java | 2 +- src/test/java/com/caoccao/javet/swc4j/TestSwc4jNative.java | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/swc4j_build.yml b/.github/workflows/swc4j_build.yml index d3e1ab0c..e5c736b9 100644 --- a/.github/workflows/swc4j_build.yml +++ b/.github/workflows/swc4j_build.yml @@ -14,7 +14,7 @@ on: - "docs/**" env: - SWC4J_VERSION: 0.10.0 + SWC4J_VERSION: 0.11.0 jobs: build_native: diff --git a/build.gradle.kts b/build.gradle.kts index 2a2c92a2..80ebcc72 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.3" + const val JAVET = "3.1.4" const val JUNIT = "5.10.1" - const val SWC4J = "0.10.0" + const val SWC4J = "0.11.0" } } diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 461516f6..26c98562 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -1068,7 +1068,7 @@ dependencies = [ [[package]] name = "swc4j" -version = "0.10.0" +version = "0.11.0" dependencies = [ "base64 0.22.1", "deno_ast", diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 06030b55..d7b20521 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "swc4j" -version = "0.10.0" +version = "0.11.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 156b5693..8f1db44f 100644 --- a/rust/src/core.rs +++ b/rust/src/core.rs @@ -24,7 +24,7 @@ use deno_ast::*; use crate::{enums, options, outputs, plugin_utils}; -const VERSION: &'static str = "0.10.0"; +const VERSION: &'static str = "0.11.0"; fn parse_by_mode( parse_params: ParseParams, diff --git a/rust/tests/test_core.rs b/rust/tests/test_core.rs index eeff83fe..4b857b67 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(), "0.10.0"); + assert_eq!(core::get_version(), "0.11.0"); } #[test] diff --git a/scripts/ts/change_swc4j_version.ts b/scripts/ts/change_swc4j_version.ts index 6548d369..672727df 100644 --- a/scripts/ts/change_swc4j_version.ts +++ b/scripts/ts/change_swc4j_version.ts @@ -112,5 +112,5 @@ class ChangeSwc4jVersion { } } -const changeSwc4jVersion = new ChangeSwc4jVersion('0.10.0', '0.10.0'); +const changeSwc4jVersion = new ChangeSwc4jVersion('0.10.0', '0.11.0'); changeSwc4jVersion.change() diff --git a/scripts/ts/copy_swc4j_lib.ts b/scripts/ts/copy_swc4j_lib.ts index 777bf62a..75009ad4 100644 --- a/scripts/ts/copy_swc4j_lib.ts +++ b/scripts/ts/copy_swc4j_lib.ts @@ -28,7 +28,7 @@ import * as fs from "https://deno.land/std/fs/mod.ts" import * as path from "https://deno.land/std/path/mod.ts" const NAME = 'swc4j' -const VERSION = '0.10.0' +const VERSION = '0.11.0' const OS_CONFIG_MAP = { '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 69b73226..1e818397 100644 --- a/src/main/java/com/caoccao/javet/swc4j/Swc4jLibLoader.java +++ b/src/main/java/com/caoccao/javet/swc4j/Swc4jLibLoader.java @@ -52,7 +52,7 @@ final class Swc4jLibLoader { private static final String LIB_FILE_NAME_FOR_ANDROID_FORMAT = "libswc4j-{0}.v.{1}.{2}"; private static final String LIB_FILE_NAME_PREFIX = "lib"; private static final String LIB_NAME = "swc4j"; - private static final String LIB_VERSION = "0.10.0"; + private static final String LIB_VERSION = "0.11.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 0df2ef58..02c1e42a 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("0.10.0", swc4j.getVersion()); + assertEquals("0.11.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 f2019624..a7ca888e 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("0.10.0", Swc4jNative.coreGetVersion()); + assertEquals("0.11.0", Swc4jNative.coreGetVersion()); } }