Repository navigation
flutter-solidart-v2.0.0
·
88 commits
to main
since this release
Changelog
- BREAKING CHANGE: Remove
SolidandProviders, use disco instead. - FEAT: The
SignalBuilderwidget now automatically tracks theSignals used in thebuilderfunction allowing you to react to N signals at the same time. See the migration guide. - BREAKING CHANGE: Removed
DualSignalBuilderandTripleSignalBuilderin favor ofSignalBuilder. - BREAKING CHANGE: Removed
ResourceBuilderin favor ofSignalBuilder. See the migration guide.
Changes from solidart
- CHORE: Improve the performance by using
alien_signalsfor the reactive system. - FEAT: Expose
untracked. - REFACTOR: Updated the reactive system from scratch, improving the performances.
- BREAKING CHANGE: Remove
setandcallmethods from Signals (Use an extension to have them back). - FEAT: Add
useRefreshingtoResourceto decide whether to update the current state withisRefreshing(defaults to true). If you set it to false, when refreshing, the resource will go directly to the loading state. - FEAT: Add
Signal.lazyto allow the creation of a signal without an initial value. Be aware, the signal will throw an error if you try to read its value before it has been initialized. - CHORE: Remove deprecated
createSignal,createComputed,createEffectandcreateResourcehelpers. - CHORE: Remove
SignalOptionsandResourceOptionsclasses. - FEAT: Add
batchfunction to execute a callback that will not side-effect until its top-most batch is completed. See docs here - CHORE: Add
trackInDevToolstoSignalOptionsandResourceOptionsto disable the DevTools tracking for specific signals and resources, defaults toSolidartConfig.devToolsEnabled.
What's Changed
Full Changelog: flutter-solidart-v2.0.0-dev.3...flutter-solidart-v2.0.0