Skip to content

upgrade: update dependency rive to ^0.14.0#746

Draft
renovate[bot] wants to merge 1 commit into
mainfrom
upgrade-renovate-rive-0.x
Draft

upgrade: update dependency rive to ^0.14.0#746
renovate[bot] wants to merge 1 commit into
mainfrom
upgrade-renovate-rive-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 7, 2026

This PR contains the following updates:

Package Type Update Change
rive (source) dependencies minor ^0.13.0^0.14.0

Release Notes

rive-app/rive-flutter (rive)

v0.14.7

  • Bumps to rive_native: 0.1.7. Updates the Rive C++ runtime and renderer for the latest features, bug fixes, and performance improvements.
Breaking Changes
  • Expose audio events through the Dart API. Event is a sealed class and EventType gains an audio value, so exhaustive switch statements over either now require a new AudioRuntimeEvent / EventType.audio arm.
  • State machine event listeners now receive AudioRuntimeEvents alongside GeneralEvent and OpenUrlEvent. Listeners that branch on event type with non-exhaustive if/is checks will see the new type pass through unhandled.
Shared Texture API (Experimental)
  • Add SharedRenderTexture.create() to construct a user-owned shared texture independent of the RivePanel lookup. Place it in the tree with the new RiveSurface widget and attach painters by passing the same instance to RiveWidget.sharedTexture. This lets a single native texture be shared across RiveWidgets that aren't ancestor/descendant of each other — siblings, separate subtrees, or across routes (e.g. via a Provider/Riverpod).
  • Add RiveSurface widget that renders the native surface of a SharedRenderTexture anywhere in the tree. Wrapped in IgnorePointer by default; set ignorePointer: false to route pointer events to the texture widget.
  • Add RiveWidget.sharedTexture parameter to draw into an explicit SharedRenderTexture, bypassing the ancestor-based RivePanel lookup. Takes precedence over useSharedTexture when both are set.
  • SharedRenderTexture gained dispose() and isDisposed. Instances created via SharedRenderTexture.create() own their underlying native texture and must be disposed by the caller; instances constructed with an external texture are not affected.
Fixes
  • Fixed an issue where setState on an ancestor of a RivePanel (or RiveSharedTexture) would allocate a new SharedRenderTexture wrapper on every rebuild, dirtying every descendant RiveWidget and detaching their painters from the previous wrapper. The wrapper instance is now stable across ancestor rebuilds, and RiveSharedTexture.updateShouldNotify compares by identity.
  • Fixed an iOS "carousel flash" where a stale post-frame paint callback queued before the last painter detached could fire afterwards with an empty painter list and momentarily blank the shared texture. The paint pass now no-ops when there are no painters.
  • Fixed an issue where a RiveWidget drawing into a RivePanel shared texture could render at the wrong size when an ancestor Transform.scale animated. The shared-texture path now reads the live local-to-panel transform on every paint instead of relying on a cached scale that composited ancestors (RepaintBoundary, Opacity layers, PageView's internal slots) could leave stale.
  • Fixed a Windows crash in the rive_native removeTexture method channel handler when the texture id arrived as int32_t rather than int64_t. Most commonly seen when dragging the app window between displays with different DPI settings, or when rapidly creating/disposing render textures.

v0.14.6

  • Bumps to rive_native: 0.1.6. Updates the Rive C++ runtime and renderer for the latest features, bug fixes, and performance improvements.
Fixes
  • Fixed 623 - Explicitly nil Metal ivars in dealloc to prevent use-after-free on teardown

v0.14.5

  • Bumps to rive_native: 0.1.5. Updates the Rive C++ runtime and renderer for the latest features, bug fixes, and performance improvements.
  • Add optional viewModelInstance parameter to File.artboardToBind, allowing a ViewModelInstance to be bound to a BindableArtboard. When provided, the view model instance is set on the artboard property in the core runtime.

v0.14.4

  • Bumps to rive_native: 0.1.4. Updates the Rive C++ runtime and renderer for the latest features, bug fixes, and performance improvements.
Fixes
  • Fixed an issue where RivePanel intercepted all pointer events. Hit testing now respects each RiveWidget's configured hitTestBehavior.
Build & Platform Updates
  • Rive Renderer support for Linux
  • Linux is now fully supported. Known issue: arm64 builds are not yet included; for now, build manually: https://rive.app/docs/runtimes/flutter/rive-native#building-rive-native
  • Fixes a build issue where scripting build files were missing. We previously did not include the scripting folder, which is now required by other build files.
  • Fixed a build issue when running ``dart run rive_native:setup --build`.
  • Resolves dart run rive_native:setup concurrency issue rive-flutter#609. Downloads now use a unique temporary directory to support concurrent CLI runners.

v0.14.3

  • Bumps to rive_native: 0.1.3. Updates the Rive C++ runtime and renderer for the latest features, bug fixes, and performance improvements.
Build & Platform Updates
  • Adds Swift Package Manager support. Resolves issue 557

v0.14.2

  • Bumps to rive_native: 0.1.2. Updates the Rive C++ runtime and renderer for the latest features, bug fixes, and performance improvements.
  • Updated the minimum Flutter version to 3.28.0. The Android platform code requires the new onSurfaceCleanup and onSurfaceAvailable methods, see SurfaceProducer.
  • Add enumType string getter to ViewModelInstanceEnum which returns the name of the enum (not the property name).
  • Add valueStream<T> to data binding properties that are observable (implementations of ViewModelInstanceObservableValue), which returns a Stream<T>. For example:
ViewModelInstanceNumber? numberProperty = viewModelInstance!.number('age');
Stream<double> stream = numberProperty!.valueStream;
Fixes
  • Fixed iOS/macOS build issues when using custom schemes and flavors. See issue 594.

v0.14.1

  • Adds runtime Rive Scripting support.
  • Bumps to rive_native: 0.1.1. Updates the Rive C++ runtime and renderer for the latest features, bug fixes, and performance improvements.
Fixes
  • Fixed 585 - missing artboard DataType enum.

v0.14.0

Major release, see the updated docs and migration guide:

Bumps to rive_native: 0.1.0. Updates the Rive C++ runtime and renderer for the latest features, bug fixes, and performance improvements.

Fixes
  • Fixed Android build issues in certain environments. See issue 555. Build commands are now executed from Gradle instead of CMakeLists, and the setup process automatically skips rive_native:setup if the required libraries are already downloaded.
  • Fixed 570 - setState called after dispose. Add cancellation checks to prevent stale state updates.
Build & Platform Updates
  • Android: Added support for skipping automated setup by setting rive.native.skipSetup=true in your app's gradle.properties. When enabled, you must manually run dart run rive_native:setup --verbose --clean --platform android to download the required libraries.

Configuration

📅 Schedule: (in timezone Asia/Tokyo)

  • Branch creation
    • Only on Wednesday (* * * * 3)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested review from AlexV525, lcdsmao and wasabeef as code owners April 7, 2026 18:15
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Apr 7, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: packages/core/test_resources/integration_versions/pubspec.lock
Command failed: dart pub upgrade rive
Failed parsing lock file:

Error on line 7, column 7 of pubspec.lock: Content-hash has incorrect length
   ╷
7  │ ┌       name: rive
8  │ │       sha256: "abc123"
9  │ │       url: "https://pub.dev"
10 │ │     source: hosted
   │ └────^
   ╵

Consider deleting the file and running `dart pub get` to recreate it.

@FlutterGen FlutterGen locked as resolved and limited conversation to collaborators Apr 8, 2026
@renovate renovate Bot force-pushed the upgrade-renovate-rive-0.x branch from f300da9 to 880cdbd Compare April 19, 2026 11:27
@AlexV525 AlexV525 marked this pull request as draft April 19, 2026 11:35
@renovate renovate Bot force-pushed the upgrade-renovate-rive-0.x branch from 880cdbd to a553b81 Compare April 19, 2026 11:35
@AlexV525 AlexV525 changed the title upgrade: update dependency rive to ^0.14.0 [DO NOT MERGE] upgrade: update dependency rive to ^0.14.0 Apr 19, 2026
@renovate renovate Bot force-pushed the upgrade-renovate-rive-0.x branch from a553b81 to 4d30926 Compare April 19, 2026 11:49
@renovate renovate Bot changed the title [DO NOT MERGE] upgrade: update dependency rive to ^0.14.0 upgrade: update dependency rive to ^0.14.0 Apr 25, 2026
@renovate renovate Bot force-pushed the upgrade-renovate-rive-0.x branch 2 times, most recently from 78d0534 to 309af71 Compare April 27, 2026 00:45
@renovate renovate Bot force-pushed the upgrade-renovate-rive-0.x branch 2 times, most recently from 34ac1d5 to aa137b0 Compare May 14, 2026 02:51
@renovate renovate Bot force-pushed the upgrade-renovate-rive-0.x branch from aa137b0 to 059e2d8 Compare May 14, 2026 03:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants