Skip to content

Update annotation and espresso dependencies#3271

Merged
reidbaker merged 21 commits intoflutter:mainfrom
reidbaker:update-dependencies-2023-02-22
Mar 2, 2023
Merged

Update annotation and espresso dependencies#3271
reidbaker merged 21 commits intoflutter:mainfrom
reidbaker:update-dependencies-2023-02-22

Conversation

@reidbaker
Copy link
Contributor

@reidbaker reidbaker commented Feb 22, 2023

Update all of packages to the latest compileSdkVersion
See flutter/issues/121425
Non "apps" have their compileSdkVersion hardcoded since the flutter.compileSdkVersion variable is only for apps.
After this PR all plugins in this repo should be up to date with all example apps updated to use the variable shipped in flutter.

Update Espresso plugin to have multidex support
See flutter/flutter/issues/121423

Take over prs from dependabot
#3245
#3240

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@ditman
Copy link
Member

ditman commented Feb 27, 2023

There's quite a few packages that have an updated CHANGELOG.md, where nothing else changed in them (for example look at: google_maps_flutter_ios, google_maps_flutter_platform_interface, google_maps_flutter_web, camera_avfoundation...)

I think the tool let you down here and updated a bunch more that what it needed to. Reverting those files should make this PR quite smaller?

@stuartmorgan-g
Copy link
Collaborator

I think the tool let you down here and updated a bunch more that what it needed to.

It's really easy to have the wrong base revision; I still need to change the defaults to make it less of a foot-gun.

@reidbaker
Copy link
Contributor Author

reidbaker commented Feb 28, 2023

Well this is embarrassing. I am sorry I should have caught this before review. 60 reverted files now updated.

Copy link
Member

@ditman ditman left a comment

Choose a reason for hiding this comment

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

Still a few files that can be removed I think, and a small comment about the commit message where the change is compileSdkVersion flutter.compileSdkVersion.

Thanks for this cleanup!

@@ -1,3 +1,7 @@
## NEXT

* Update compileSdkVersion to 33.
Copy link
Member

Choose a reason for hiding this comment

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

🙅

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@reidbaker
Copy link
Contributor Author

@stuartmorgan in commit a6b5256 I remove the change log for packages that only have example app modifications. Can you add the label "override: no versioning needed" If you agree this pr meets the exemption requirements.

@stuartmorgan-g
Copy link
Collaborator

stuartmorgan-g commented Mar 1, 2023

Can you add the label "override: no versioning needed" If you agree this pr meets the exemption requirements.

Just updating the compile SDK definitely seems like the kind of change where overriding the standard policy is reasonable, since there's no advantage to clients in getting this change to them faster. We do the same when we bump the minimum Flutter SDK version.

(I'll document these on the wiki for the future.)

Copy link
Collaborator

@stuartmorgan-g stuartmorgan-g left a comment

Choose a reason for hiding this comment

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

LGTM other than the merge issues. Thanks for bearing with all the discussion on what I know was not intended to be this big of a PR :)

@@ -1,3 +1,7 @@
## NEXT

* Update compileSdkVersion to 33.
Copy link
Collaborator

Choose a reason for hiding this comment

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

## 0.8.6+4

* Updates iOS minimum version in README.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks like this was a bad merge with the recent iOS PR.


* [swift] Removes safe casting from decode process.
* [kotlin] Removes safe casting from decode process.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Bad merge with recent PRs.

@@ -1,7 +1,3 @@
## 0.10.3+2

* Updates iOS minimum version in README.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Bad merge with recent PR.

Copy link
Contributor

@bparrishMines bparrishMines left a comment

Choose a reason for hiding this comment

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

LGTM

@bparrishMines
Copy link
Contributor

@reidbaker Is this ready to merge. It has to be landed on red since it is needed to fix the tree.

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.

7 participants