Skip to content
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

refactor!: cubit extends bloc #2044

Merged
merged 9 commits into from
Jan 13, 2021
Merged

refactor!: cubit extends bloc #2044

merged 9 commits into from
Jan 13, 2021

Conversation

felangel
Copy link
Owner

@felangel felangel commented Dec 25, 2020

Status

READY

Breaking Changes

YES

Description

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

@felangel felangel added pkg:bloc This issue is related to the bloc package pkg:flutter_bloc This issue is related to the flutter_bloc package breaking change Enhancement candidate would introduce a breaking change refactor Refactor an existing implementation labels Dec 25, 2020
@felangel felangel self-assigned this Dec 25, 2020
@codecov
Copy link

codecov bot commented Dec 25, 2020

Codecov Report

Merging #2044 (569d57d) into null_safety (f22df26) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@              Coverage Diff              @@
##           null_safety     #2044   +/-   ##
=============================================
  Coverage       100.00%   100.00%           
=============================================
  Files               13        14    +1     
  Lines              219       267   +48     
=============================================
+ Hits               219       267   +48     
Impacted Files Coverage Δ
packages/bloc/lib/src/bloc_observer.dart 100.00% <ø> (ø)
packages/bloc/lib/src/transition.dart 100.00% <ø> (ø)
...ages/flutter_bloc/lib/src/multi_bloc_listener.dart 100.00% <ø> (ø)
...ages/flutter_bloc/lib/src/multi_bloc_provider.dart 100.00% <ø> (ø)
...lutter_bloc/lib/src/multi_repository_provider.dart 100.00% <ø> (ø)
packages/bloc/lib/src/bloc.dart 100.00% <100.00%> (ø)
packages/bloc_test/lib/src/bloc_test.dart 100.00% <100.00%> (ø)
packages/bloc_test/lib/src/mock_bloc.dart 100.00% <100.00%> (ø)
packages/bloc_test/lib/src/when_listen.dart 100.00% <100.00%> (ø)
packages/flutter_bloc/lib/src/bloc_builder.dart 100.00% <100.00%> (ø)
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f22df26...569d57d. Read the comment docs.

@felangel felangel force-pushed the refactor/bloc-base branch 2 times, most recently from 5480930 to ea103f9 Compare December 30, 2020 04:31
* refactor!(bloc_test): null safety

* ci: use Dart 2.12

* chore: fix tests and bump to mocktail 0.0.1-dev.7

* refactor(bloc_test): minor improvements and documentation updates
@felangel felangel added pkg:bloc_test This issue is related to the bloc_test package pkg:angular_bloc This issue is related to the angular_bloc package labels Jan 12, 2021
@felangel felangel requested a review from jorgecoca January 13, 2021 01:33
@felangel felangel marked this pull request as ready for review January 13, 2021 01:33
///
/// _Note: thrown in debug mode only_
/// {@endtemplate}
class BlocUnhandledErrorException implements Exception {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👀

@felangel felangel merged commit 8360de4 into null_safety Jan 13, 2021
@felangel felangel deleted the refactor/bloc-base branch January 13, 2021 20:21
felangel added a commit that referenced this pull request Jan 18, 2021
* docs: fix typo in fluttertodostutorial.md (#2036)

* ci: update docs workflow to use create-an-issue@v2

* refactor!: cubit extends bloc

* feat(bloc_test): bloc-base refactor

* refactor: update imports

* revert: bloc_test changes

* refactor: simplify controller initialization and getters

* refactor!(bloc_test): null safety (#2067)

* refactor!(bloc_test): null safety

* ci: use Dart 2.12

* chore: fix tests and bump to mocktail 0.0.1-dev.7

* refactor(bloc_test): minor improvements and documentation updates

* refactor: remove redundant _observer

Co-authored-by: Cervon Wong <[email protected]>
felangel added a commit that referenced this pull request Jan 21, 2021
* docs: fix typo in fluttertodostutorial.md (#2036)

* ci: update docs workflow to use create-an-issue@v2

* refactor!: cubit extends bloc

* feat(bloc_test): bloc-base refactor

* refactor: update imports

* revert: bloc_test changes

* refactor: simplify controller initialization and getters

* refactor!(bloc_test): null safety (#2067)

* refactor!(bloc_test): null safety

* ci: use Dart 2.12

* chore: fix tests and bump to mocktail 0.0.1-dev.7

* refactor(bloc_test): minor improvements and documentation updates

* refactor: remove redundant _observer

Co-authored-by: Cervon Wong <[email protected]>
felangel added a commit that referenced this pull request Jan 31, 2021
* docs: fix typo in fluttertodostutorial.md (#2036)

* ci: update docs workflow to use create-an-issue@v2

* refactor!: cubit extends bloc

* feat(bloc_test): bloc-base refactor

* refactor: update imports

* revert: bloc_test changes

* refactor: simplify controller initialization and getters

* refactor!(bloc_test): null safety (#2067)

* refactor!(bloc_test): null safety

* ci: use Dart 2.12

* chore: fix tests and bump to mocktail 0.0.1-dev.7

* refactor(bloc_test): minor improvements and documentation updates

* refactor: remove redundant _observer

Co-authored-by: Cervon Wong <[email protected]>
felangel added a commit that referenced this pull request Jan 31, 2021
* docs: fix typo in fluttertodostutorial.md (#2036)

* ci: update docs workflow to use create-an-issue@v2

* refactor!: cubit extends bloc

* feat(bloc_test): bloc-base refactor

* refactor: update imports

* revert: bloc_test changes

* refactor: simplify controller initialization and getters

* refactor!(bloc_test): null safety (#2067)

* refactor!(bloc_test): null safety

* ci: use Dart 2.12

* chore: fix tests and bump to mocktail 0.0.1-dev.7

* refactor(bloc_test): minor improvements and documentation updates

* refactor: remove redundant _observer

Co-authored-by: Cervon Wong <[email protected]>
felangel added a commit that referenced this pull request Feb 6, 2021
* docs: fix typo in fluttertodostutorial.md (#2036)

* ci: update docs workflow to use create-an-issue@v2

* refactor!: cubit extends bloc

* feat(bloc_test): bloc-base refactor

* refactor: update imports

* revert: bloc_test changes

* refactor: simplify controller initialization and getters

* refactor!(bloc_test): null safety (#2067)

* refactor!(bloc_test): null safety

* ci: use Dart 2.12

* chore: fix tests and bump to mocktail 0.0.1-dev.7

* refactor(bloc_test): minor improvements and documentation updates

* refactor: remove redundant _observer

Co-authored-by: Cervon Wong <[email protected]>
felangel added a commit that referenced this pull request Feb 8, 2021
* docs: fix typo in fluttertodostutorial.md (#2036)

* ci: update docs workflow to use create-an-issue@v2

* refactor!: cubit extends bloc

* feat(bloc_test): bloc-base refactor

* refactor: update imports

* revert: bloc_test changes

* refactor: simplify controller initialization and getters

* refactor!(bloc_test): null safety (#2067)

* refactor!(bloc_test): null safety

* ci: use Dart 2.12

* chore: fix tests and bump to mocktail 0.0.1-dev.7

* refactor(bloc_test): minor improvements and documentation updates

* refactor: remove redundant _observer

Co-authored-by: Cervon Wong <[email protected]>
felangel added a commit that referenced this pull request Feb 11, 2021
* docs: fix typo in fluttertodostutorial.md (#2036)

* ci: update docs workflow to use create-an-issue@v2

* refactor!: cubit extends bloc

* feat(bloc_test): bloc-base refactor

* refactor: update imports

* revert: bloc_test changes

* refactor: simplify controller initialization and getters

* refactor!(bloc_test): null safety (#2067)

* refactor!(bloc_test): null safety

* ci: use Dart 2.12

* chore: fix tests and bump to mocktail 0.0.1-dev.7

* refactor(bloc_test): minor improvements and documentation updates

* refactor: remove redundant _observer

Co-authored-by: Cervon Wong <[email protected]>
felangel added a commit that referenced this pull request Feb 14, 2021
* docs: fix typo in fluttertodostutorial.md (#2036)

* ci: update docs workflow to use create-an-issue@v2

* refactor!: cubit extends bloc

* feat(bloc_test): bloc-base refactor

* refactor: update imports

* revert: bloc_test changes

* refactor: simplify controller initialization and getters

* refactor!(bloc_test): null safety (#2067)

* refactor!(bloc_test): null safety

* ci: use Dart 2.12

* chore: fix tests and bump to mocktail 0.0.1-dev.7

* refactor(bloc_test): minor improvements and documentation updates

* refactor: remove redundant _observer

Co-authored-by: Cervon Wong <[email protected]>
felangel added a commit that referenced this pull request Mar 3, 2021
* docs: fix typo in fluttertodostutorial.md (#2036)

* ci: update docs workflow to use create-an-issue@v2

* refactor!: cubit extends bloc

* feat(bloc_test): bloc-base refactor

* refactor: update imports

* revert: bloc_test changes

* refactor: simplify controller initialization and getters

* refactor!(bloc_test): null safety (#2067)

* refactor!(bloc_test): null safety

* ci: use Dart 2.12

* chore: fix tests and bump to mocktail 0.0.1-dev.7

* refactor(bloc_test): minor improvements and documentation updates

* refactor: remove redundant _observer

Co-authored-by: Cervon Wong <[email protected]>
felangel added a commit that referenced this pull request Mar 4, 2021
* docs: fix typo in fluttertodostutorial.md (#2036)

* ci: update docs workflow to use create-an-issue@v2

* refactor!: cubit extends bloc

* feat(bloc_test): bloc-base refactor

* refactor: update imports

* revert: bloc_test changes

* refactor: simplify controller initialization and getters

* refactor!(bloc_test): null safety (#2067)

* refactor!(bloc_test): null safety

* ci: use Dart 2.12

* chore: fix tests and bump to mocktail 0.0.1-dev.7

* refactor(bloc_test): minor improvements and documentation updates

* refactor: remove redundant _observer

Co-authored-by: Cervon Wong <[email protected]>
AndreiGS pushed a commit to AndreiGS/bloc_shopping_example_complete that referenced this pull request Dec 8, 2024
* docs: fix typo in fluttertodostutorial.md (felangel#2036)

* ci: update docs workflow to use create-an-issue@v2

* refactor!: cubit extends bloc

* feat(bloc_test): bloc-base refactor

* refactor: update imports

* revert: bloc_test changes

* refactor: simplify controller initialization and getters

* refactor!(bloc_test): null safety (felangel#2067)

* refactor!(bloc_test): null safety

* ci: use Dart 2.12

* chore: fix tests and bump to mocktail 0.0.1-dev.7

* refactor(bloc_test): minor improvements and documentation updates

* refactor: remove redundant _observer

Co-authored-by: Cervon Wong <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Enhancement candidate would introduce a breaking change pkg:angular_bloc This issue is related to the angular_bloc package pkg:bloc_test This issue is related to the bloc_test package pkg:bloc This issue is related to the bloc package pkg:flutter_bloc This issue is related to the flutter_bloc package refactor Refactor an existing implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants