Skip to content

Commit

Permalink
Merge branch 'main' into feat/sync-state
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelOsborne committed Jul 18, 2024
2 parents 00c4c39 + ef8d09b commit d0d4d17
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 24 deletions.
5 changes: 0 additions & 5 deletions .changeset/choredependencies_upgrade_uniffi_rs_to_v0280.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/chorewasm_reduce_wasm_binary_size.md

This file was deleted.

46 changes: 46 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,49 @@
## 0.1.26 (2024-07-12)

### Fixes

#### chore(dependencies): 🤖 upgrade thorvg@0.14.1

## 0.1.25 (2024-07-05)

### Features

#### chore: 🤖 upgrade thorvg@0.14.0

## 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
Expand Down
2 changes: 1 addition & 1 deletion deps/modules/thorvg
Submodule thorvg updated 353 files
2 changes: 1 addition & 1 deletion dotlottie-ffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dotlottie-ffi"
version = "0.1.23"
version = "0.1.26"
edition = "2021"
build = "build.rs"

Expand Down
3 changes: 3 additions & 0 deletions dotlottie-ffi/src/dotlottie_player_cpp.udl
Original file line number Diff line number Diff line change
Expand Up @@ -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<string> state_machine_framework_setup();
boolean load_state_machine_data([ByRef] string state_machine);
};

0 comments on commit d0d4d17

Please sign in to comment.