Skip to content

chore(talker_flutter): bump share_plus from ^12.0.1 to ^13.0.0#492

Merged
Frezyx merged 1 commit intoFrezyx:masterfrom
PAzter1101:bump-share-plus-13
Apr 27, 2026
Merged

chore(talker_flutter): bump share_plus from ^12.0.1 to ^13.0.0#492
Frezyx merged 1 commit intoFrezyx:masterfrom
PAzter1101:bump-share-plus-13

Conversation

@PAzter1101
Copy link
Copy Markdown
Contributor

@PAzter1101 PAzter1101 commented Apr 24, 2026

Summary

Bump share_plus in packages/talker_flutter/pubspec.yaml from ^12.0.1 to ^13.0.0.

Motivation

The 12.x constraint blocks downstream packages that need wakelock_plus ^1.6.0, device_info_plus ^13.x, or any other package that has moved to win32 ^6.0.0. share_plus 12.x still holds win32 ^5.5.3, creating an unresolvable version conflict.

API compatibility

The only share_plus usage in talker_flutter is in packages/talker_flutter/lib/src/utils/download_logs/download_logs_native.dart:

await SharePlus.instance.share(
  ShareParams(files: <XFile>[XFile(file.path)]),
);

This API (SharePlus.instance.share(ShareParams)) was introduced in share_plus 11.0.0 and is unchanged in 13.x. No code changes required.

What 13.x brings

Per the share_plus CHANGELOG:

  • 13.0.0: bumps win32 5→6, requires Flutter ≥ 3.41.6 / Dart ≥ 3.11.0, iOS ≥ 13.0, macOS ≥ 10.15
  • 13.1.0: lowers to Flutter ≥ 3.38.1 / Dart ≥ 3.10

The talker_flutter environment is already sdk: '>=3.6.0 <4.0.0', flutter: '>=1.17.0' — downstream consumers who need 13.x will constrain Flutter themselves; this PR just unblocks them at the share_plus layer.

Test plan

  • share_plus 13.1.0 resolves against the package.
  • SharePlus.instance.share(ShareParams) signature unchanged — no source changes.
  • example/ app builds (maintainer to verify in CI — no source changes to example either).

Summary by Sourcery

Enhancements:

  • Relax share_plus version constraint in talker_flutter to align with ecosystem packages depending on win32 6.x.

@sourcery-ai
Copy link
Copy Markdown
Contributor

sourcery-ai Bot commented Apr 24, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates the talker_flutter package’s pubspec to depend on share_plus ^13.0.0 instead of ^12.0.1 to unblock downstream dependencies that require win32 ^6.0.0, without any accompanying source code changes.

File-Level Changes

Change Details Files
Update the share_plus dependency version constraint in talker_flutter to the 13.x major release line.
  • Change the share_plus dependency in pubspec.yaml from ^12.0.1 to ^13.0.0.
  • Rely on existing SharePlus.instance.share(ShareParams) usage remaining API-compatible with share_plus 13.x.
  • Implicitly allow downstream packages that require win32 ^6.0.0 and newer plus_plugins versions to resolve without version conflicts.
packages/talker_flutter/pubspec.yaml

Possibly linked issues

  • #Provide compatibility to share_plus 11.0.0: The PR raises talker_flutter’s share_plus dependency to 13.0.0, resolving the request for compatibility with 11.0.0+.
  • #Dependency Dashboard: The PR implements the dashboard’s suggested update of share_plus in talker_flutter from ^12.0.1 to ^13.0.0.

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@PAzter1101
Copy link
Copy Markdown
Contributor Author

Just noticed #489 from Renovate is already open and does exactly the same share_plus bump — closing as duplicate to avoid noise. 👍

@PAzter1101 PAzter1101 closed this Apr 25, 2026
@Frezyx Frezyx reopened this Apr 27, 2026
@Frezyx Frezyx merged commit 17880e5 into Frezyx:master Apr 27, 2026
2 checks passed
@Frezyx
Copy link
Copy Markdown
Owner

Frezyx commented Apr 27, 2026

Hello @PAzter1101 !
Thank you for this contibution ❤️

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.

2 participants