-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: upgrade thorvg v1.0-pre7 #244
base: main
Are you sure you want to change the base?
Conversation
|
update thorvg version to 1.0-pre1 in Conan registry |
8e89f2c
to
aa24c96
Compare
- Update the build workflow to include pull request labeled events for triggering builds. - Refactor the concurrency group to include the target or label name in the group name. - Update the build-apple job to include the 'build:apple' label as a trigger condition. - Update the build-android job to include the 'build:android' label as a trigger condition. - Update the build-wasm job to include the 'build:wasm' label as a trigger condition. chore: Update Makefile - Add the '-Dengines=sw' flag to the meson setup to enable the software rendering engine. chore: Update dotlottie-ffi dependencies - Update the version of dotlottie-ffi to '0.1.31' in the Cargo.toml file. chore: Update dotlottie-ffi Cargo.wasm.toml - Remove the 'codegen-units' and 'strip' options from the Cargo.wasm.toml file. chore: Update dotlottie-rs dependencies - Update the version of thiserror to '2.0.4' in the Cargo.toml file. chore: Update dotlottie-rs build.rs - Update the bindgen version to '0.71.0' in the build.rs file. chore: Update dotlottie-rs lottie_renderer/mod.rs - Update the serde_json version to '1.0.133' in the mod.rs file. chore: Update dotlottie-rs lottie_renderer/renderer.rs - Update the clear method signature in the renderer.rs file to include separate flags for clearing paints and buffers. chore: Update dotlottie-rs lottie_renderer/thorvg.rs - Update the clear method signature in the thorvg.rs file to include separate flags for clearing paints and buffers. feat: Add thorvg-v1 feature to dotlottie-rs - Add the 'thorvg-v1' feature to the dotlottie-rs Cargo.toml file. fix: Update DotLottieRuntime and DotLottiePlayerContainer - Update the new method signatures in the DotLottieRuntime and DotLottiePlayerContainer structs to include conditional compilation based on the 'thorvg-v0' and 'thorvg-v1' features. fix: Update DotLottiePlayer - Update the new method signature in the DotLottiePlayer struct to include conditional compilation based on the 'thorvg-v0' and 'thorvg-v1' features. fix: Update LottieRendererImpl - Update the render method in the LottieRendererImpl struct to include conditional compilation based on the 'thorvg-v1' feature. fix: Update TvgRenderer - Update the clear method in the TvgRenderer struct to include conditional compilation based on the 'thorvg-v1' feature. docs: Update README.md - Update the README.md file to reflect the recent changes.
aa24c96
to
bdac0e2
Compare
Update the clippy command in the Makefile to use the --no-default-features flag and add the thorvg-v1 feature. Also, update the build workflow to remove the --all-features flag when running cargo clippy for dotlottie-rs and dotlottie-ffi.
thorvg v1 rendering regression issue -> thorvg/thorvg#3039 |
Changes
Feature Flags for
thorvg
Versionsthorvg-v1
andthorvg-v0
.thorvg
v0.x.x, as binaries for Linux, Windows, and macOS from the Conan registry currently only support v0.thorvg-v1
is a pre-release version and is not yet stable or available on Conan.Default Configuration
thorvg-v0
flag is enabled for the FFI, unless explicitly specified otherwise.Build Target Differences
thorvg-v1
.WASM build -> https://github.com/LottieFiles/dotlottie-rs/actions/runs/12251496921
Apple build -> https://github.com/LottieFiles/dotlottie-rs/actions/runs/12251496917
Android build -> https://github.com/LottieFiles/dotlottie-rs/actions/runs/12251496922