Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

[video_player] Add 5.0 interface support #4627

Conversation

stuartmorgan-g
Copy link
Contributor

Allows the other video_player packages to use either 4.x or 5.x of
video_player_platform_interface, since the only breaking change
doesn't affect them (as it just removes test code that they no longer
use). This allows clients of video_player to no longer have a
transitive dependency on test packages, but doesn't create any version
lock with any unendorsed implementations that might exist.

Since this touches video_player, it makes the opportunistic change
of cleaning up CONTRIBUTING.md, removing discussion of how
to modify federated plugins which is now part of the wiki for the
repository as a whole.

Fixes flutter/flutter#83562

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
  • I signed the CLA.
  • The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
  • I listed at least one issue that this PR fixes in the description above.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
  • I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

Allows the other video_player packages to use either 4.x or 5.x of
`video_player_platform_interface`, since the only breaking change
doesn't affect them (as it just removes test code that they no longer
use). This allows clients of `video_player` to no longer have a
transitive dependency on test packages, but doesn't create any version
lock with any unendorsed implementations that might exist.

Fixes flutter/flutter#83562
Copy link
Contributor

@cyanglaz cyanglaz left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -1,3 +1,8 @@
## 2.2.9

* Adds compatibility with `video_player_platform_interface` 5.0, which does not
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we also mentioned the CONTRIBUTING.md change here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It seemed extremely niche (the audience would be "people who have contributed to video_player in the past, but don't read our current contributing docs"), so I didn't think it was worth mentioning.

@stuartmorgan-g
Copy link
Contributor Author

Overriding incorrect submit-queue status

@stuartmorgan-g stuartmorgan-g merged commit c9c234a into flutter:master Dec 20, 2021
@stuartmorgan-g stuartmorgan-g deleted the video-player-adopt-interface-update branch December 20, 2021 19:41
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Dec 20, 2021
KyleFin pushed a commit to KyleFin/plugins that referenced this pull request Dec 21, 2021
Allows the other video_player packages to use either 4.x or 5.x of
`video_player_platform_interface`, since the only breaking change
doesn't affect them (as it just removes test code that they no longer
use). This allows clients of `video_player` to no longer have a
transitive dependency on test packages, but doesn't create any version
lock with any unendorsed implementations that might exist.

Fixes flutter/flutter#83562
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

video_player depends on flutter_test
2 participants