altera_flutter_mobx 2.0.5 altera_flutter_mobx: ^2.0.5 copied to clipboard
Flutter integration for MobX. It provides a set of Observer widgets that automatically rebuild when the tracked observables change.
2.0.5 #
- Improve
debugFindConstructingStackFrame
to let the message be less confusing to the reader - Allow disabling
No observables detected in the build method of Observer
- The
analyzer: ^3.0.0
in master branch is incompatible with Flutter stable - If
builder
ofObserver
errors, further errorLateInitializationError: Local 'built' has not been initialized.
will happen in addition to the actual error, reducing developer experience
2.0.4 #
- Introducing a ReactionBuilder widget that helps you create an inline reaction and eliminates the need
to have a wrapper-
StatefulWidget
that uses theinitState
to do the same. You can read more in the docs for ReactionBuilder.
2.0.3 - 2.0.3+2 #
- Package upgrades
- Minor cleanups
- Adopting the recommended linting for Dart
2.0.2 #
- Moved
analyzer
package to2.0.0
- @davidmartos96
2.0.1 #
- Moving from
mockito
tomocktail
2.0.0 #
- Full support for Null Safety
2.0.0-nullsafety.0 - 2.0.0-nullsafety.3 #
- Null safety support
1.1.0+2 #
- Reformatting for improving the pub.dev score
1.1.0 - 1.1.0+1 #
- Exceptions are reported more reliably with
FlutterError.reportError
. This also includes the stack trace, as all caught exceptions are now wrapped insideMobXCaughtException
. - Syncing versions with pubspec.yaml
1.0.0 - 1.0.1 #
- Ready for prime time!
- Fixing version resolution
0.3.7 #
- Refactoring
observer.dart
to separate out theStatelessObserverWidget
,StatefulObserverWidget
and theObserverWidgetMixin
into their own files.
0.3.6+1 - 0.3.6+2 #
- README updates
- Switching to Github Actions for all builds and publishing
- Upgraded to
Dart 2.7
as the min SDK
0.3.5 - 0.3.6 #
- Updated
mobx
dependency version to 0.4.0 influtter_mobx
pubspec.yaml
- Improved naming of
Observer
in debug-mode with the correct line in StackTrace.
Thanks to Scott Hyndman for all the contributions in this release.
0.3.4 - 0.3.4+4 #
- Added two new
Observer
-widgets:StatelessObserverWidget
andStatefulObserverWidget
- Improved the reporting of Flutter errors inside
Observer
widgets. - Exposing the
debugAddStackTraceInObserverName
field - Removing the deprecated
authors
field frompubspec.yaml
Thanks to Scott Hyndman and Remi Rousselet for the work done in this release!
0.3.3+3 #
- More documentation comments
0.3.2 - 0.3.3+1 #
- Errors that occur internal to the
setState()
call are now reported viaFlutterError.reportError
so they don't go unnoticed by the user. - Added a version constant that matches the
pubspec.yaml
0.3.0 - 0.3.1+1 #
- Adapting to the API changes in
mobx 0.3.0
- Formatting changes
- Using
StackTrace.current
as the name for anObserver
, when not provided. This helps in quickly jumping to the location of theObserver
-usage during debugging. - Docs update
0.2.3+1 #
Observer
is relaying the exception caught during the tracking phase. This is done using theerrorValue
field present on thereaction
instance.
0.2.2 #
- CHANGELOG updates which got missed out in previous versions
- The
Observer
does not trap exceptions occurring during thebuild()
anymore. Previously, this used to be the case, which made it difficult to get proper stack traces.
0.2.1+1 #
- README updates
0.2.1 #
- Upgrading to use the
0.2.1
version ofmobx
, which makes it compatible with the latestbeta
/dev
/master
channels
0.2.0 #
- Upgrading to use the
0.2.0
version ofmobx
0.0.2 - 0.1.3 #
- Warn when no observables are found in the
Observer
'sbuilder
function. This was originally anAssertionError
, which was deemed to be too strong and caused apps to crash in debug mode. - Updates to tests
- Updates to documentation
0.0.1 - First release. #
- Observer component that re-renders when reactive variables change.