subject 1.1.1
subject: ^1.1.1 copied to clipboard
Automatically generates an observable interface for any class. Observer Pattern implementation for Dart, generalized using mixins and multiple alternative interfaces.
1.1.1 #
Fixed:
.onBefore()
wasn't called before, because of asyncronousStreamController
initialization
1.1.0 #
Added:
SubjectWith
annotation to generateSubject
classes with custom properties, such as subject and mixin names
1.0.6 #
Fixed:
- Made
subject:build
andsubject:watch
commands use--delete-conflicting-outputs
to avoid conflicts withbuild_runner
1.0.5 #
Fixed:
- Inverted
isGeneratorInstalled()
check, when usingsubject:build
andsubject:watch
commands
1.0.4 #
Fixed:
onError
callback not returning the correct value, when usingsubject:build
andsubject:watch
commands
1.0.3 #
Fixed:
- Not nullable generic, when using
subject:build
andsubject:watch
commands
1.0.2 #
Changed:
- Improved
subject:build
andsubject:watch
commands
Fixed:
- Get dependencies after installing the
subject_gen
package, when usingsubject:build
andsubject:watch
commands - Correct awaiting, when using
subject:build
andsubject:watch
commands
1.0.1 #
Fixed:
- Documentation image URL and
CHANGELOG.md
1.0.0 #
BREAKING CHANGES:
The package was split into two packages,
subject
andsubject_gen
, to keep dependencies to a minimum.In the process of refactoring, a lot of the code was rewritten, the API was changed to be more consistent and fix some issues.
Added:
- Split into
subject_gen
package to generateSubject
classes, and keep dependencies to a minimum - Build commands,
dart run subject:build
anddart run subject:watch
, to install and run the code generator
Changed:
- Return type of
.on
and.onBefore
is nowSubjectSubscription
instead ofSubjectObserver
0.1.4 #
Added:
- Package logo and screenshots
Fixed:
Observer.stream
arguments were not being passed to theStreamObserver
constructor
0.1.3 #
Changed:
- Improved documentation
0.1.2 #
Changed:
- Documentation to help with setting up the Code Generator
- Minor documentation improvements
0.1.1 #
Fixed:
- Builder name changed from
observer:subject
tosubject:build
0.1.0 #
Added:
- Annotation
@dontObserve
to exclude elements from being observed when using@subject
0.0.2 #
Changed:
- Improved documentation
0.0.1 #
Initial release: Subject