-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(bloc)!: v8.0.0 #2798
feat(bloc)!: v8.0.0 #2798
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2798 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 25 25
Lines 724 712 -12
=========================================
- Hits 724 712 -12
Continue to review full report at Codecov.
|
19331eb
to
6a9daa1
Compare
Published bloc v8.0.0-dev.1 🎉 |
Published bloc v8.0.0-dev.2 🎉 |
Published bloc_test v9.0.0-dev.1 🎉 |
Are you really going to break core API? |
Yup bloc v7.2.0 deprecates the various APIs that will be removed in v8.0.0 and introduces the new APIs so you have time to migrate gradually. See #2526 for more info. |
Published hydrated_bloc v8.0.0-dev.1 🎉 |
Published flutter_bloc v8.0.0-dev.1 🎉 |
Published angular_bloc v8.0.0-dev.1 🎉 |
Published replay_bloc v0.2.0-dev.1 🎉 |
Published sealed_flutter_bloc v8.0.0-dev.1 🎉 |
8b16a43
to
c01f08e
Compare
Published bloc_test v9.0.0-dev.2 🎉 |
Published bloc v8.0.0-dev.3 🎉 |
Published bloc_test v9.0.0-dev.3 🎉 |
b47a9f6
to
33b1f5c
Compare
4aa4333
to
14b074a
Compare
Status
READY
Breaking Changes
YES
Description
Changelog
package:bloc
Bloc.observer
removed in favor ofBlocOverrides.runZoned
andBlocOverrides.current.blocObserver
Bloc.transformer
removed in favor ofBlocOverrides.runZoned
andBlocOverrides.current.eventTransformer
BlocObserver
is abstract and cannot be instantiatedadd
throwsStateError
when bloc is closed (#2912)emit
throwsStateError
when bloc is closed (#2913)emit
inBloc
andCubit
Cubit
,emit
isprotected
so it can only be used within theCubit
instance.Bloc
,emit
isinternal
so it cannot be used outside of the internal package implementation.TransitionFunction
transformEvents
mapEventToState
transformTransitions
listen
onBlocBase
StateError
if an event is added without a registered event handlerpackage:bloc_concurrency
bloc v8.0.0-dev.5
package:bloc_test
bloc v8.0.0-dev.5
mocktail v0.2.0
MockBloc
no longer implicitly requiresregisterFallbackValue
for events and statespackage:hydrated_bloc
HydratedBlocOverrides
API (#2947)HydratedBloc.storage
removed in favor ofHydratedBlocOverrides.runZoned
andHydratedBlocOverrides.current.storage
bloc v8.0.0-dev.5
package:angular_bloc
bloc v8.0.0-dev.5
package:flutter_bloc
bloc v8.0.0-dev.5
package:replay_bloc
bloc v8.0.0-dev.5
Type of Change