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

update to package:web 0.5.1 #7956

Merged
merged 1 commit into from
Jun 24, 2024
Merged

update to package:web 0.5.1 #7956

merged 1 commit into from
Jun 24, 2024

Conversation

devoncarew
Copy link
Member

  • update to package:web 0.5.1

This updates to the latest published version of package:web, and works around an unnecessary_cast issue (https://github.com/flutter/devtools/compare/upgrade_package_web?expand=1#diff-8b45cb7b869f9836b4133c64a40f7d30a672febc77188e247035adcc23951763R42) that we'd otherwise hit in the next toll to google3.

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 the Flutter Style Guide recently, and have followed its advice.
  • I signed the CLA.
  • [-] I listed at least one issue that this PR fixes in the description above.
  • [-] I updated/added relevant documentation (doc comments with ///).
  • [-] I added new tests to check the change I am making, or there is a reason for not adding tests.

build.yaml badge

If you need help, consider asking for help on Discord.

@@ -80,7 +80,7 @@ class EmbeddedExtensionControllerImpl extends EmbeddedExtensionController
);
_initialized = true;

_extensionIFrame = createIFrameElement()
_extensionIFrame = HTMLIFrameElement()
Copy link
Member

Choose a reason for hiding this comment

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

is this equivalent to what createIFrameElement used to return? If so, LGTM.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yup! createIFrameElement() is now deprecated in favor of the HTMLIFrameElement() constructor.

@@ -61,7 +61,7 @@ dependencies:
vm_service_protos: ^1.0.0
# TODO https://github.com/dart-lang/sdk/issues/52853 - unpin this version
vm_snapshot_analysis: ^0.7.6
web: ^0.4.1
web: ^0.5.0
Copy link
Member

Choose a reason for hiding this comment

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

should these versions be 0.5.1?

Copy link
Member Author

Choose a reason for hiding this comment

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

I tend to just specify the version required (here, 0.5.0 for the new API) rather than the latest bug fix version. Happy to be more specific here if desired.

@devoncarew devoncarew merged commit d726baf into master Jun 24, 2024
24 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants