NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #1333 most downloaded on pub.dev
Code generator for MobX that adds support for annotating your code with @observable, @computed, @action and also creating Store classes.
Last release 27 days ago
11 Sep 2026
Ships fairly regularly
a new release about every 3 months
Most releases are documented
notes for 51 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
99 releases · first in 2019
Packages with breaking changes:
Packages with breaking changes:
Packages with other changes:
Support analyzer v13 and v14
Support analyzer v13 and v14 (#1078)
One column per quarter.
support v11 too, no affected changes
ignore deprecations
support analyzer 10
version
support v11 too, no affected changes
changelog
support v12
chore: prepare mobx_codegen v2.7.6 release
chore: prepare mobx_codegen v2.7.6 release (#1068)
analyzer: ^9.0.0 (#1065)Packages with breaking changes:
Packages with other changes:
analyzer: ^9.0.0 (drop support for analyzer <9.0.0)fix: upgrade SDK to 3.7.0 and use multiple underscore wildcards for u…
fix: upgrade SDK to 3.7.0 and use multiple underscore wildcards for u…
Upgrading sdk and Analyzer fixes
FIX: fixing lints in tests.
FIX: package upgrades, analysis issue fixes.
FIX: error with code generation when file has unnamed extension (#1020).
FIX: make readonly work with computed (#710).
FIX: ObservableStream.listen() should also keep observable values updated (#708).
FEAT: add keepAlive to Computed (#976).
FEAT: support late observables (#973).
FEAT: Adds useEquatable for creating observables (#971).
FEAT: require analyzer: ^5.12.0 (#934).
FEAT: Adds custom equals for creating observables. (#907).
FEAT: Adds support for annotations (#904).
FEAT: Allow use custom context (#770).
Packages with breaking changes:
Packages with other changes:
Drop build_resolvers dependency
Drop build_resolvers dependency (#1057)
Update some package versions including analyzer, and resolve deprecations
Update some package versions including analyzer, and resolve deprecations
Run melos run set_version
Fix changelog version header
Widen supported analyzer versions, and revert deprecation fixes
>=7.4.0 < 9.0.0>=3.0.0 < 5.0.0>=3.0.0 < 5.0.0>=3.0.0 < 5.0.0Replace deprecated call to TypeChecker.fromRuntime
Update codegen to use new analyzer element2 API (>= 7.4.0), and update build_test to 3.3.0
Bump mobx_codegen version to 2.7.2
Replace deprecated call to TypeChecker.fromRuntime
Co-authored-by: Pavan Podila pavanpodila@users.noreply.github.com
>=7.4.0 < 8.0.0FEAT: melos run command result FIX: update analyzer version FIX: removed in Dart 3.7 deprecated fields FIX: golden tests FIX: add dart_style in dev de…
FEAT: melos run command result
FIX: update analyzer version
FIX: removed in Dart 3.7 deprecated fields
FIX: golden tests
FIX: add dart_style in dev dependencies for consistent golden test results
FIX: add deprecated ignore comments for support current analyzer version
Co-authored-by: Mikhail Alenin - sunbro.marko sunbro.marko@yandex.ru
>=6.9.0 < 8.0.0FIX(mobx): fix analyzer infos on beta channel (super parameters + collection contains) (#1081).
useEquatable for creating observables (#971).analyzer: ^5.12.0 (#934).equals for creating observables. (#907).Fixes error with code generation when file has unnamed extension by @amondnet in #1020
Fixing some analyzer errors related to deprecated types.
- Upgrading packages and sdk
pubspec.yaml updated to include homepage and topics
pubspec.yaml updated to include homepage and topicsPackages with breaking changes:
Upgrading sdk and Analyzer fixes
FIX: update observableAlwaysNotEqual function signature to accept nullable Object parameters.
FIX: package upgrades, analysis issue fixes.
FIX: Observable.value setter (covariant) (#993).
FIX: stacktrace in computed (#988).
FIX: observableset and observablemap notify all listeners when one is added with fireimmediately true (#962).
FIX: revert #784 (#842).
FIX: ObservableStream.listen() should also keep observable values updated (#708).
FIX: Widgets failed to call super.dispose() (#334).
FIX: issue 62 (#64).
FEAT: add scheduler option to autorun and reaction (#979).
FEAT: add keepAlive to Computed (#976).
FEAT: Adds useEquatable for creating observables (#971).
FEAT: Adds custom equals for creating observables. (#907).
FEAT: Adds support for annotations (#904).
FEAT: Allow a custom equals parameter for ObservableStream (#771).
FEAT: Allow use custom context (#770).
Packages with breaking changes:
Packages with other changes:
keepAlive to Computed to avoids suspending computed values when they are not being observed by anything.FIX: package upgrades, analysis issue fixes.
useEquatable for creating observables (#971).equals for creating observables. (#907).Adds useDeepEquality for creating observables by @amondnet
useDeepEquality for creating observables by @amondnetREFACTOR: simplify constructors and update analysis exclusions.
analyzer: ^5.12.0REFACTOR: export MultiReactionBuilder from flutter_mobx.dart (#946).
MultiReactionBuilder from flutter_mobx.dart (#946).MultiReactionBuilder widget (#917).Adds support for annotations @protected, @visibleForTesting and @visibleForOverriding for actions, observables futures and observables stream.
@protected, @visibleForTesting and @visibleForOverriding for actions, observables futures and observables stream.Observer is updated with the new Observer.withBuiltChild constructor, so you can exclude child branch from the re-rendering. - @subzero911 Observer.withBuiltChild, you should provide two parameters: builderWithChild and child:Observer.withBuiltChild(
builderWithChild: (context, child) => FooWidget(foo: foo, bar: child),
child: BarWidget(), // won't rebuild
),
refactor: export MultiReactionBuilder from flutter_mobx.dart by @amondnet
MultiReactionBuilder from flutter_mobx.dart by @amondnetUpdate analyzer version to >=4.4.0 <6.0.0
>=4.4.0 <6.0.0Fixed issue in showing issue tracker link on pub.dev
Moved the version into its own file (version.dart) and exported from the main library file
version.dart) and exported from the main library fileversion.dart file in sync with pubspec.yamlNothing published for this version
Update codegen templates to ignore newly recommended lint rules in generated code
Upgrading mobx to 2.0.7 - @amondnet
mobx to 2.0.7 - @amondnet- Package upgrades
Globally disable toString() method generation
toString() method generation- Package upgrades
Nothing published for this version
Fixed some tests not picking the right path for data files
debugFindConstructingStackFrame to let the message be less confusing to the readerNo observables detected in the build method of Observeranalyzer: ^3.0.0 in master branch is incompatible with Flutter stablebuilder of Observer errors, further error LateInitializationError: Local 'built' has not been initialized. will happen in addition to the actual error, reducing developer experiencemake readonly work with computed - @Ascenio
StatefulWidget that uses the initState to do the same. You can read more in the docs for ReactionBuilder.Moved analyzer package to 2.0.0 - @davidmartos96
analyzer package to 2.0.0 - @davidmartos96- Package upgrades
Nothing published for this version
Adding a test specifically for late observables
late observablesAdds @readonly annotation support for creating read-only observables. Thanks to Ascenio for the PR.
- Full support for Null Safety
Nothing published for this version
Nothing published for this version
Fixing some analyzer errors related to deprecated types. Now using the newer types as the analyzer package has been upgraded to ^0.39
^0.39Nothing published for this version
Fixed a test related to typedef-ed identifiers with prefixes
Nothing published for this version
Upgraded our analyzer dependency's to support a range from 0.39.1, up to latest 0.40.x in order to be compatible with other packages.
analyzer dependency's to support a range from 0.39.1, up to latest 0.40.x in order to be compatible with other packages.Nothing published for this version
Reformatting for improving the pub.dev score
FEAT: Adds support for annotations (#904).
spy() to see all these changes. See this for an example. The changes in mobx_codegen help in the reporting of updates to observables.test_coverage package, which was causing issues on CI.unnecessary_brace_in_string_interpsFlutterError.reportError. This also includes the stack trace, as all caught exceptions are now wrapped inside MobXCaughtException.- Upgrading mobx to 1.1.0
mobx to 1.1.0Added automatic generation of toString method with @StoreConfig annotation
toString method with @StoreConfig annotationThanks to @hawkbee1
Nothing published for this version
- Ready for prime time! - Fixing version resolution
Upgraded the build_resolvers dependency to 1.3.2, which fixes issues with certain versions of Dart being unable to resolve dart:ui types.
build_resolvers dependency to 1.3.2, which fixes issues with certain
versions of Dart being unable to resolve dart:ui types.Switching to Github Actions for all builds and publishing
Going back to original test_coverage package
test_coverage packageThere were a number of bugs with the previous implementation of the LibraryScopedNameFinder. This resolves them, as well as ensures that a single code
There were a number of bugs with the previous implementation of the LibraryScopedNameFinder. This resolves them, as well as ensures that a single code path is followed whether or not the analyzed source code contains named imports, reducing the potential for future bugs.
The following bugs have been corrected when using named imports:
Nothing published for this version
Upgraded our analyzer dependency's minimum version to 0.38.5 in order to workaround a bug where collection types would resolve to dynamic
analyzer dependency's minimum version to 0.38.5 in order to
workaround a bug where collection types would resolve to dynamicpubspec.yaml to not include the reference to the @store annotation. It has been removed.Fixes the extraction of generic return-types which have nested generic type arguments, eg: Future >
Future<List<User>>Your coding agent can read these notes before it upgrades. Set up the MCP server →