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!: Update min Flutter to v3.13.0, compatibility with v3.16.8 #1715

Merged
merged 43 commits into from
Jan 19, 2024

Conversation

Gustl22
Copy link
Collaborator

@Gustl22 Gustl22 commented Nov 28, 2023

Description

Update minimum required Flutter version to 3.13.0 as Linux requires at least that version to work properly due to a bug.
Therefore we also only test against 3.13.0 and higher (here 3.16.1).
Also remove dartdoc dependency introduced in 7ca5058 as the package is integrated in dart SDK since v5.0.0.

Fix pump Linux, introduced in flutter/flutter#135266 (flutter/flutter@5def6f2)

Checklist

  • The title of my PR starts with a Conventional Commit prefix (fix:, feat:, refactor:,
    docs:, chore:, test:, ci: etc).
  • I have read the Contributor Guide and followed the process outlined for submitting PRs.
  • I have updated/added tests for ALL new/updated/fixed functionality.
  • I have updated/added relevant documentation and added dartdoc comments with ///, where necessary.
  • I have updated/added relevant examples in example.

Breaking Change

  • Yes, this is a breaking change.
  • No, this is not a breaking change.

Migration instructions

flutter upgrade

Related Issues

@Gustl22 Gustl22 marked this pull request as ready for review November 28, 2023 15:20
@Gustl22 Gustl22 requested a review from spydon November 29, 2023 15:35
.github/workflows/build-example.yml Outdated Show resolved Hide resolved
@spydon
Copy link
Member

spydon commented Nov 29, 2023

This is a deps!: btw, since it is not a new feature

@Gustl22
Copy link
Collaborator Author

Gustl22 commented Nov 29, 2023

This is a deps!: btw, since it is not a new feature

Thank you, wasn't aware of that tag.

@Gustl22 Gustl22 changed the title feat!: Update minimum Flutter version to 3.13.0 deps!: Update minimum Flutter version to 3.13.0 Nov 29, 2023
Copy link
Member

@spydon spydon left a comment

Choose a reason for hiding this comment

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

Lgtm!

@Gustl22
Copy link
Collaborator Author

Gustl22 commented Dec 10, 2023

The tests are still failing due to an not handled error from the native stream, which is caught, but still propagated to the framework. I currently try to determine the source.

@Gustl22 Gustl22 changed the title deps!: Update minimum Flutter version to 3.13.0 deps!: Update min Flutter to v3.13.0, compatibility with v3.16.4 Dec 15, 2023
@Gustl22
Copy link
Collaborator Author

Gustl22 commented Dec 15, 2023

Blocked by #1732

@Gustl22 Gustl22 force-pushed the gustl22/upgrade-flutter branch 2 times, most recently from ff2a2ba to 1a942d3 Compare January 9, 2024 11:15
@Gustl22 Gustl22 changed the title deps!: Update min Flutter to v3.13.0, compatibility with v3.16.4 deps!: Update min Flutter to v3.13.0, compatibility with v3.16.8 Jan 18, 2024
spydon pushed a commit that referenced this pull request Jan 19, 2024
# Description

Wait simultaneously for async calls (Futures and Streams) to ensure all
errors are propagated through one common future. Previously a stream
could throw an error before it was even listened to, as the process
still awaited an async call (here `setSource`).

## Checklist

<!-- Before you create this PR confirm that it meets all requirements
listed below by checking the
relevant checkboxes (`[x]`). This will ensure a smooth and quick review
process. -->

- [x] The title of my PR starts with a [Conventional Commit] prefix
(`fix:`, `feat:`, `refactor:`,
      `docs:`, `chore:`, `test:`, `ci:` etc).
- [x] I have read the [Contributor Guide] and followed the process
outlined for submitting PRs.
- [x] I have updated/added tests for ALL new/updated/fixed
functionality.
- [x] I have updated/added relevant documentation and added dartdoc
comments with `///`, where necessary.
- [ ] I have updated/added relevant examples in [example].

The tests are adapted, but not explicitly written to avoid that error.
But the error would occur since Flutter 3.16.x, so they are tested
against in #1715 without further ado.

## Breaking Change

- [ ] Yes, this is a breaking change.
- [x] No, this is *not* a breaking change.

## Related Issues

#1715

<!-- Links -->
[issue database]: https://github.com/bluefireteam/audioplayers/issues
[Contributor Guide]:
https://github.com/bluefireteam/audioplayers/blob/main/contributing.md#feature-requests--prs
[Conventional Commit]: https://conventionalcommits.org
[example]:
https://github.com/bluefireteam/audioplayers/tree/main/packages/audioplayers/example
@Gustl22 Gustl22 enabled auto-merge (squash) January 19, 2024 07:26
@Gustl22 Gustl22 merged commit e4262f4 into main Jan 19, 2024
7 checks passed
@Gustl22 Gustl22 deleted the gustl22/upgrade-flutter branch January 19, 2024 07:50
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