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

deps(gui-ubuntupro): bump dart_either from 1.0.0 to 2.0.0 in /gui/packages/ubuntupro #899

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 5, 2024

Bumps dart_either from 1.0.0 to 2.0.0.

Release notes

Sourced from dart_either's releases.

2.0.0 - Sep 01, 2024

https://pub.dev/packages/dart_either/versions/2.0.0

  • Require Dart 3.0.0 or higher >=3.0.0 <4.0.0.

  • Make Either a sealed class, EitherEffect a sealed class, and ControlError a final class. Now you can use exhaustive switch expressions on Either instances.

    final Either<String, int> either = Either.right(10);
    // Use the when method to handle
    either.when(
    ifLeft: (l) => print('Left: $l'),
    ifRight: (r) => print('Right: $r'),
    ); // Prints Right: Either.Right(10)
    // Or use Dart 3.0 switch expression syntax 🤘
    print(
    switch (either) {
    Left() => 'Left: $either',
    Right() => 'Right: $either',
    },
    ); // Prints Right: Either.Right(10)


What's Changed

Full Changelog: hoc081098/dart_either@1.0.0...2.0.0

Changelog

Sourced from dart_either's changelog.

2.0.0 - Sep 01, 2024

  • Require Dart 3.0.0 or higher >=3.0.0 <4.0.0.

  • Make Either a sealed class, EitherEffect a sealed class, and ControlError a final class. Now you can use exhaustive switch expressions on Either instances.

    final Either<String, int> either = Either.right(10);
    // Use the when method to handle
    either.when(
    ifLeft: (l) => print('Left: $l'),
    ifRight: (r) => print('Right: $r'),
    ); // Prints Right: Either.Right(10)
    // Or use Dart 3.0 switch expression syntax 🤘
    print(
    switch (either) {
    Left() => 'Left: $either',
    Right() => 'Right: $either',
    },
    ); // Prints Right: Either.Right(10)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.

Dependabot will merge this PR once CI passes on it, as requested by @CarlosNihelton.


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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot requested a review from a team as a code owner September 5, 2024 09:49
@dependabot dependabot bot added dart Pull requests that update Dart code dependencies Pull requests that update a dependency file labels Sep 5, 2024
Copy link

codecov bot commented Sep 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.13%. Comparing base (aea00b5) to head (bc77635).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #899      +/-   ##
==========================================
+ Coverage   89.10%   89.13%   +0.02%     
==========================================
  Files         112      112              
  Lines        7498     7498              
==========================================
+ Hits         6681     6683       +2     
  Misses        639      639              
+ Partials      178      176       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@CarlosNihelton CarlosNihelton marked this pull request as draft September 6, 2024 20:52
@CarlosNihelton
Copy link
Contributor

@dependabot rebase

Bumps [dart_either](https://github.com/hoc081098/dart_either) from 1.0.0 to 2.0.0.
- [Release notes](https://github.com/hoc081098/dart_either/releases)
- [Changelog](https://github.com/hoc081098/dart_either/blob/master/CHANGELOG.md)
- [Commits](hoc081098/dart_either@1.0.0...2.0.0)

---
updated-dependencies:
- dependency-name: dart_either
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pub/gui/packages/ubuntupro/dart_either-2.0.0 branch from bf98ecd to bc77635 Compare December 19, 2024 12:16
@CarlosNihelton CarlosNihelton marked this pull request as ready for review December 19, 2024 12:25
Copy link
Contributor

@CarlosNihelton CarlosNihelton left a comment

Choose a reason for hiding this comment

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

@dependabot merge!

@dependabot dependabot bot merged commit 3fdfabd into main Dec 19, 2024
39 checks passed
@dependabot dependabot bot deleted the dependabot/pub/gui/packages/ubuntupro/dart_either-2.0.0 branch December 19, 2024 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dart Pull requests that update Dart code dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant