upgrade: update dependency rive to ^0.14.0#746
Draft
renovate[bot] wants to merge 1 commit into
Draft
Conversation
Contributor
Author
|
f300da9 to
880cdbd
Compare
880cdbd to
a553b81
Compare
a553b81 to
4d30926
Compare
78d0534 to
309af71
Compare
34ac1d5 to
aa137b0
Compare
aa137b0 to
059e2d8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.13.0→^0.14.0Release Notes
rive-app/rive-flutter (rive)
v0.14.7rive_native: 0.1.7. Updates the Rive C++ runtime and renderer for the latest features, bug fixes, and performance improvements.Breaking Changes
Eventis a sealed class andEventTypegains anaudiovalue, so exhaustiveswitchstatements over either now require a newAudioRuntimeEvent/EventType.audioarm.AudioRuntimeEvents alongsideGeneralEventandOpenUrlEvent. Listeners that branch on event type with non-exhaustiveif/ischecks will see the new type pass through unhandled.Shared Texture API (Experimental)
SharedRenderTexture.create()to construct a user-owned shared texture independent of theRivePanellookup. Place it in the tree with the newRiveSurfacewidget and attach painters by passing the same instance toRiveWidget.sharedTexture. This lets a single native texture be shared acrossRiveWidgets that aren't ancestor/descendant of each other — siblings, separate subtrees, or across routes (e.g. via a Provider/Riverpod).RiveSurfacewidget that renders the native surface of aSharedRenderTextureanywhere in the tree. Wrapped inIgnorePointerby default; setignorePointer: falseto route pointer events to the texture widget.RiveWidget.sharedTextureparameter to draw into an explicitSharedRenderTexture, bypassing the ancestor-basedRivePanellookup. Takes precedence overuseSharedTexturewhen both are set.SharedRenderTexturegaineddispose()andisDisposed. Instances created viaSharedRenderTexture.create()own their underlying native texture and must be disposed by the caller; instances constructed with an externaltextureare not affected.Fixes
setStateon an ancestor of aRivePanel(orRiveSharedTexture) would allocate a newSharedRenderTexturewrapper on every rebuild, dirtying every descendantRiveWidgetand detaching their painters from the previous wrapper. The wrapper instance is now stable across ancestor rebuilds, andRiveSharedTexture.updateShouldNotifycompares by identity.RiveWidgetdrawing into aRivePanelshared texture could render at the wrong size when an ancestorTransform.scaleanimated. 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,Opacitylayers,PageView's internal slots) could leave stale.rive_nativeremoveTexturemethod channel handler when the texture id arrived asint32_trather thanint64_t. Most commonly seen when dragging the app window between displays with different DPI settings, or when rapidly creating/disposing render textures.v0.14.6rive_native: 0.1.6. Updates the Rive C++ runtime and renderer for the latest features, bug fixes, and performance improvements.Fixes
v0.14.5rive_native: 0.1.5. Updates the Rive C++ runtime and renderer for the latest features, bug fixes, and performance improvements.viewModelInstanceparameter toFile.artboardToBind, allowing aViewModelInstanceto be bound to aBindableArtboard. When provided, the view model instance is set on the artboard property in the core runtime.v0.14.4rive_native: 0.1.4. Updates the Rive C++ runtime and renderer for the latest features, bug fixes, and performance improvements.Fixes
RivePanelintercepted all pointer events. Hit testing now respects eachRiveWidget's configuredhitTestBehavior.Build & Platform Updates
scriptingfolder, which is now required by other build files.dart run rive_native:setupconcurrency issue rive-flutter#609. Downloads now use a unique temporary directory to support concurrent CLI runners.v0.14.3rive_native: 0.1.3. Updates the Rive C++ runtime and renderer for the latest features, bug fixes, and performance improvements.Build & Platform Updates
v0.14.2rive_native: 0.1.2. Updates the Rive C++ runtime and renderer for the latest features, bug fixes, and performance improvements.3.28.0. The Android platform code requires the newonSurfaceCleanupandonSurfaceAvailablemethods, see SurfaceProducer.enumTypestring getter toViewModelInstanceEnumwhich returns the name of the enum (not the property name).valueStream<T>to data binding properties that are observable (implementations ofViewModelInstanceObservableValue), which returns aStream<T>. For example:Fixes
v0.14.1rive_native: 0.1.1. Updates the Rive C++ runtime and renderer for the latest features, bug fixes, and performance improvements.Fixes
artboardDataTypeenum.v0.14.0Major 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
rive_native:setupif the required libraries are already downloaded.setStatecalled after dispose. Add cancellation checks to prevent stale state updates.Build & Platform Updates
rive.native.skipSetup=truein your app'sgradle.properties. When enabled, you must manually rundart run rive_native:setup --verbose --clean --platform androidto download the required libraries.Configuration
📅 Schedule: (in timezone Asia/Tokyo)
* * * * 3)🚦 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.
This PR was generated by Mend Renovate. View the repository job log.