Skip to content

Commit

Permalink
Improve code formatting and update version number
Browse files Browse the repository at this point in the history
This commit includes aesthetic adjustments to improve code readability such as line spacings and text alignment. The main update in this commit is the increment of the package version from '2.3.3+1' to '2.3.3+2'. Other modifications on CHANGELOG.md and version.dart files reflect these updates.
  • Loading branch information
pavanpodila committed Apr 3, 2024
1 parent fbba555 commit 468e490
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions mobx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 2.3.3+1
## 2.3.3+1 - 2.3.3+2

- Analyzer fixes

Expand Down Expand Up @@ -35,7 +35,7 @@ Make the change in `2.2.3` optional. If you want the use this behavior , modify

## 2.2.2

- Fix [#956](<(https://github.com/mobxjs/mobx.dart/issues/956)>): ObservableSet`and`ObservableMap`should not notify all listeners when`observe` with fireImmediately. by [@amondnet](https://github.com/amondnet) in [#962](https://github.com/mobxjs/mobx.dart/pull/962)
- Fix [#956](https://github.com/mobxjs/mobx.dart/issues/956): ObservableSet`and`ObservableMap`should not notify all listeners when`observe` with fireImmediately. by [@amondnet](https://github.com/amondnet) in [#962](https://github.com/mobxjs/mobx.dart/pull/962)

## 2.2.1

Expand Down
3 changes: 1 addition & 2 deletions mobx/lib/src/core/observable.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ class Observable<T> extends Atom
Observable._(context ?? mainContext, initialValue,
name: name, equals: equals);

Observable._(super.context, this._value,
{String? name, this.equals})
Observable._(super.context, this._value, {String? name, this.equals})
: _interceptors = Interceptors(context),
_listeners = Listeners(context),
super._(name: name ?? context.nameFor('Observable')) {
Expand Down
2 changes: 1 addition & 1 deletion mobx/lib/version.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated via set_version.dart. !!!DO NOT MODIFY BY HAND!!!

/// The current version as per `pubspec.yaml`.
const version = '2.3.3+1';
const version = '2.3.3+2';
2 changes: 1 addition & 1 deletion mobx/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: mobx
version: 2.3.3+1
version: 2.3.3+2
description: "MobX is a library for reactively managing the state of your applications. Use the power of observables, actions, and reactions to supercharge your Dart and Flutter apps."

repository: https://github.com/mobxjs/mobx.dart
Expand Down
3 changes: 2 additions & 1 deletion mobx/test/autorun_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ void main() {
fakeAsync((async) {
dispose = autorun((_) {
value = x.value + 1;
}, delay: delayMs).call;
}, delay: delayMs)
.call;

async.elapse(const Duration(milliseconds: 2500));

Expand Down

0 comments on commit 468e490

Please sign in to comment.