Skip to content

chore(deps): bump bloc and flutter_bloc#35

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/multi-730da77a79
Open

chore(deps): bump bloc and flutter_bloc#35
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pub/multi-730da77a79

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github May 25, 2026

Bumps bloc and flutter_bloc. These dependencies needed to be updated together.
Updates bloc from 8.1.4 to 9.2.1

Release notes

Sourced from bloc's releases.

bloc-v9.2.1

  • fix: isClosed should incorporate event controller state (#4809)

bloc-v9.2.0

  • feat: add MultiBlocObserver (#4714)
  • docs: minor README.md improvements (#4657)

bloc_test-v9.1.7

  • chore: update copyright year
  • chore: update sponsors

bloc-v9.1.0

  • docs: add onDone to README and example (#4641)
  • feat: add onDone callback (#4633)
  • refactor: add pkg:bloc_lint (#4620)

bloc-v9.0.1

  • refactor: analysis options updates (#4616)
  • docs: update build status badge (#4502)
  • docs: update sponsors (#4418)
  • docs: update minimum Dart SDK version in README.md

bloc-v9.0.0

  • BREAKING refactor!: introduce EmittableStateStreamableSource (#4311)
    • BlocBase<State> implements EmittableStateStreamableSource<State>
  • BREAKING refactor!: remove deprecated BlocOverrides (#4137)
  • refactor: use Object.hashAll internally (#4310)
    • bumps minimum Dart SDK to 2.14
  • chore: update sponsors
Commits

Updates flutter_bloc from 8.1.6 to 9.1.1

Release notes

Sourced from flutter_bloc's releases.

flutter_bloc-v9.1.1

What's Changed

New Contributors

Full Changelog: felangel/bloc@vscode_bloc-v6.8.1...flutter_bloc-v9.1.1

flutter_bloc-v9.1.0

flutter_bloc-v9.0.0

  • fix: ensure widget is mounted before invoking listener (#4237)
  • chore(deps): upgrade to bloc ^9.0.0
  • chore(deps): bump minimum Dart SDK version to 2.14
  • chore: update sponsors
  • chore: add funding to pubspec.yaml (#4200)
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [bloc](https://github.com/felangel/bloc/tree/master/packages) and [flutter_bloc](https://github.com/felangel/bloc/tree/master/packages). These dependencies needed to be updated together.

Updates `bloc` from 8.1.4 to 9.2.1
- [Release notes](https://github.com/felangel/bloc/releases)
- [Commits](https://github.com/felangel/bloc/commits/bloc-v9.2.1/packages)

Updates `flutter_bloc` from 8.1.6 to 9.1.1
- [Release notes](https://github.com/felangel/bloc/releases)
- [Commits](https://github.com/felangel/bloc/commits/flutter_bloc-v9.1.1/packages)

---
updated-dependencies:
- dependency-name: bloc
  dependency-version: 9.2.1
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: flutter_bloc
  dependency-version: 9.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github May 25, 2026

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented May 25, 2026

Greptile Summary

This PR bumps bloc from 8.1.4 to 9.2.1 and flutter_bloc from 8.1.6 to 9.1.1, along with several transitive dependency updates (e.g. characters, matcher, meta, material_color_utilities, test_api).

  • The only breaking changes introduced in bloc 9.x are the removal of the deprecated BlocOverrides API and the addition of the EmittableStateStreamableSource interface on BlocBase — neither affects this codebase since BlocOverrides is not used anywhere.
  • All 27 files that import bloc/flutter_bloc use standard Cubit/BlocBuilder/BlocProvider patterns that are fully compatible with the v9 API.

Confidence Score: 5/5

Safe to merge — the version jump spans a major version boundary, but the only breaking change (removal of BlocOverrides) does not affect this codebase.

The upgrade crosses a major version boundary for both bloc and flutter_bloc, but the sole breaking API removal (BlocOverrides) is confirmed absent from all 27 files that import these packages. The new EmittableStateStreamableSource interface is purely additive. Transitive dependency bumps are routine patch/minor updates with no known regressions.

No files require special attention.

Important Files Changed

Filename Overview
pubspec.yaml Bumps bloc to ^9.2.1 and flutter_bloc to ^9.1.1; no other changes
pubspec.lock Lockfile regenerated with updated hashes/versions for bloc, flutter_bloc, and several transitive deps

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[pubspec.yaml] -->|bloc ^9.2.1| B[bloc 9.2.1]
    A -->|flutter_bloc ^9.1.1| C[flutter_bloc 9.1.1]
    B --> D{Breaking changes?}
    D -->|BlocOverrides removed| E[Not used in codebase ✓]
    D -->|EmittableStateStreamableSource added| F[Additive change ✓]
    C --> G[27 Dart files using Cubit/BlocBuilder/BlocProvider]
    G --> H[All patterns compatible with v9 ✓]
    B --> I[Transitive deps also bumped]
    I --> J[characters 1.4.1]
    I --> K[matcher 0.12.19]
    I --> L[meta 1.18.0]
    I --> M[material_color_utilities 0.13.0]
Loading

Reviews (1): Last reviewed commit: "chore(deps): bump bloc and flutter_bloc" | Re-trigger Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants