From b8d88ec973f91cd606e540c6f1be33082683736d Mon Sep 17 00:00:00 2001 From: Abdelrahman Ashraf Date: Thu, 27 Jun 2024 00:02:11 +0700 Subject: [PATCH 1/7] =?UTF-8?q?chore(wasm):=20=F0=9F=A4=96=20add=20missing?= =?UTF-8?q?=20bindings=20in=20UDL=20(#192)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dotlottie-ffi/src/dotlottie_player_cpp.udl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dotlottie-ffi/src/dotlottie_player_cpp.udl b/dotlottie-ffi/src/dotlottie_player_cpp.udl index ebf8fae8..6e696f55 100644 --- a/dotlottie-ffi/src/dotlottie_player_cpp.udl +++ b/dotlottie-ffi/src/dotlottie_player_cpp.udl @@ -84,6 +84,9 @@ interface DotLottiePlayer { boolean start_state_machine(); boolean stop_state_machine(); boolean post_serialized_event(string event); + boolean set_state_machine_numeric_context([ByRef] string key, f32 value); + boolean set_state_machine_string_context([ByRef] string key, [ByRef] string value); + boolean set_state_machine_boolean_context([ByRef] string key, boolean value); sequence state_machine_framework_setup(); boolean load_state_machine_data([ByRef] string state_machine); }; From cb42663b30da024409e3191ca14d4fc3a852c0cb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 28 Jun 2024 12:17:34 +0800 Subject: [PATCH 2/7] chore: Release 0.1.24 (#194) Co-authored-by: GitHub --- ...dependencies_upgrade_uniffi_rs_to_v0280.md | 5 --- .../chorewasm_reduce_wasm_binary_size.md | 17 ---------- CHANGELOG.md | 34 +++++++++++++++++++ dotlottie-ffi/Cargo.toml | 2 +- 4 files changed, 35 insertions(+), 23 deletions(-) delete mode 100644 .changeset/choredependencies_upgrade_uniffi_rs_to_v0280.md delete mode 100644 .changeset/chorewasm_reduce_wasm_binary_size.md diff --git a/.changeset/choredependencies_upgrade_uniffi_rs_to_v0280.md b/.changeset/choredependencies_upgrade_uniffi_rs_to_v0280.md deleted file mode 100644 index 53d1a654..00000000 --- a/.changeset/choredependencies_upgrade_uniffi_rs_to_v0280.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -default: patch ---- - -# chore(dependencies): 🤖 upgrade uniffi-rs to v0.28.0 diff --git a/.changeset/chorewasm_reduce_wasm_binary_size.md b/.changeset/chorewasm_reduce_wasm_binary_size.md deleted file mode 100644 index daba26f2..00000000 --- a/.changeset/chorewasm_reduce_wasm_binary_size.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -default: minor ---- - -# chore(wasm): 🤖 reduce WASM binary size - -- **WASM Binary Optimization:** - - - Applied the `-Oz` flag with `emcc` for size optimization. - - Used the compact `emmalloc` allocator. - - Used the rust nightly toolchain to remove location details and panic string formatting for a smaller binary size. - - Reduced binary size by ~142 KB (from 1,245,102 bytes to 1,099,243 bytes). - -- **JavaScript Glue Optimization:** - - - Enabled the Closure compiler with the `--closure=1` flag. - - Reduced glue code size by ~36.88 KB (from 67,964 bytes to 30,197 bytes). diff --git a/CHANGELOG.md b/CHANGELOG.md index bc446c12..d17a480d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,37 @@ +## 0.1.24 (2024-06-27) + +### Features + +#### 🎸 expose lottie animation original size (#180) + +#### added context methods (#191) + +#### added load_state_machine_data (#190) + +#### chore(wasm): 🤖 reduce WASM binary size + +- **WASM Binary Optimization:** + + - Applied the `-Oz` flag with `emcc` for size optimization. + - Used the compact `emmalloc` allocator. + - Used the rust nightly toolchain to remove location details and panic string formatting for a smaller binary size. + - Reduced binary size by ~142 KB (from 1,245,102 bytes to 1,099,243 bytes). + +- **JavaScript Glue Optimization:** + + - Enabled the Closure compiler with the `--closure=1` flag. + - Reduced glue code size by ~36.88 KB (from 67,964 bytes to 30,197 bytes). + +### Fixes + +#### removed commented out target_arch (#184) + +#### iOS bundle minimum supported version on AppStore fix (#185) + +#### 🐛 manifest_string() panics when no manifest available (#189) + +#### chore(dependencies): 🤖 upgrade uniffi-rs to v0.28.0 + ## 0.1.23 (2024-06-19) ### Features diff --git a/dotlottie-ffi/Cargo.toml b/dotlottie-ffi/Cargo.toml index 9ea45634..bde96e4c 100644 --- a/dotlottie-ffi/Cargo.toml +++ b/dotlottie-ffi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dotlottie-ffi" -version = "0.1.23" +version = "0.1.24" edition = "2021" build = "build.rs" From ddc613056f2673252506e26923cb04b8bef11a33 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Fri, 28 Jun 2024 18:08:34 +0900 Subject: [PATCH 3/7] =?UTF-8?q?chore:=20=F0=9F=A4=96=20upgrade=20thorvg@0.?= =?UTF-8?q?14.0=20(#195)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deps/modules/thorvg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/modules/thorvg b/deps/modules/thorvg index 30aa742b..ae4e9d00 160000 --- a/deps/modules/thorvg +++ b/deps/modules/thorvg @@ -1 +1 @@ -Subproject commit 30aa742b26e35e170f927c8e5ebdaa68dea6f48f +Subproject commit ae4e9d003c93325f1eba64319fa9852a0d764b4c From e2e69ea14d413a84434c8a95218d4cc59243c2ae Mon Sep 17 00:00:00 2001 From: Abdelrahman Ashraf Date: Fri, 5 Jul 2024 10:03:30 +0700 Subject: [PATCH 4/7] =?UTF-8?q?chore:=20=F0=9F=A4=96=20update=20CHANGELOG?= =?UTF-8?q?=20(#197)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/chore_upgrade_thorvg0140.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/chore_upgrade_thorvg0140.md diff --git a/.changeset/chore_upgrade_thorvg0140.md b/.changeset/chore_upgrade_thorvg0140.md new file mode 100644 index 00000000..fd2c4f3f --- /dev/null +++ b/.changeset/chore_upgrade_thorvg0140.md @@ -0,0 +1,5 @@ +--- +default: minor +--- + +# chore: 🤖 upgrade thorvg@0.14.0 From c8c6a87c30f2e4997b0fcb8002e7e8fecc2b0cc8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 5 Jul 2024 11:04:16 +0800 Subject: [PATCH 5/7] chore: Release 0.1.25 (#198) Co-authored-by: GitHub --- .changeset/chore_upgrade_thorvg0140.md | 5 ----- CHANGELOG.md | 6 ++++++ dotlottie-ffi/Cargo.toml | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/chore_upgrade_thorvg0140.md diff --git a/.changeset/chore_upgrade_thorvg0140.md b/.changeset/chore_upgrade_thorvg0140.md deleted file mode 100644 index fd2c4f3f..00000000 --- a/.changeset/chore_upgrade_thorvg0140.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -default: minor ---- - -# chore: 🤖 upgrade thorvg@0.14.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index d17a480d..39b5512c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 0.1.25 (2024-07-05) + +### Features + +#### chore: 🤖 upgrade thorvg@0.14.0 + ## 0.1.24 (2024-06-27) ### Features diff --git a/dotlottie-ffi/Cargo.toml b/dotlottie-ffi/Cargo.toml index bde96e4c..497bc165 100644 --- a/dotlottie-ffi/Cargo.toml +++ b/dotlottie-ffi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dotlottie-ffi" -version = "0.1.24" +version = "0.1.25" edition = "2021" build = "build.rs" From 501ae48d1261a32af0a9a64dc4acc14d7f8f0d4e Mon Sep 17 00:00:00 2001 From: Abdelrahman Ashraf Date: Mon, 8 Jul 2024 12:59:26 +0700 Subject: [PATCH 6/7] =?UTF-8?q?chore(dependencies):=20=F0=9F=A4=96=20upgra?= =?UTF-8?q?de=20thorvg@0.14.1=20(#199)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/choredependencies_upgrade_thorvg0141.md | 5 +++++ deps/modules/thorvg | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/choredependencies_upgrade_thorvg0141.md diff --git a/.changeset/choredependencies_upgrade_thorvg0141.md b/.changeset/choredependencies_upgrade_thorvg0141.md new file mode 100644 index 00000000..29dd57da --- /dev/null +++ b/.changeset/choredependencies_upgrade_thorvg0141.md @@ -0,0 +1,5 @@ +--- +default: patch +--- + +# chore(dependencies): 🤖 upgrade thorvg@0.14.1 diff --git a/deps/modules/thorvg b/deps/modules/thorvg index ae4e9d00..70b2f2da 160000 --- a/deps/modules/thorvg +++ b/deps/modules/thorvg @@ -1 +1 @@ -Subproject commit ae4e9d003c93325f1eba64319fa9852a0d764b4c +Subproject commit 70b2f2dad158316dd08166d613b425248b36fd27 From ef8d09b9e564bedae1adb22ed94fb08004303065 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 12 Jul 2024 11:32:40 +0800 Subject: [PATCH 7/7] chore: Release 0.1.26 (#202) Co-authored-by: GitHub --- .changeset/choredependencies_upgrade_thorvg0141.md | 5 ----- CHANGELOG.md | 6 ++++++ dotlottie-ffi/Cargo.toml | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/choredependencies_upgrade_thorvg0141.md diff --git a/.changeset/choredependencies_upgrade_thorvg0141.md b/.changeset/choredependencies_upgrade_thorvg0141.md deleted file mode 100644 index 29dd57da..00000000 --- a/.changeset/choredependencies_upgrade_thorvg0141.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -default: patch ---- - -# chore(dependencies): 🤖 upgrade thorvg@0.14.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 39b5512c..fe4cf3fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 0.1.26 (2024-07-12) + +### Fixes + +#### chore(dependencies): 🤖 upgrade thorvg@0.14.1 + ## 0.1.25 (2024-07-05) ### Features diff --git a/dotlottie-ffi/Cargo.toml b/dotlottie-ffi/Cargo.toml index 497bc165..078ea0e3 100644 --- a/dotlottie-ffi/Cargo.toml +++ b/dotlottie-ffi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dotlottie-ffi" -version = "0.1.25" +version = "0.1.26" edition = "2021" build = "build.rs"