flutter_plugin_tools 0.13.4+3
flutter_plugin_tools: ^0.13.4+3 copied to clipboard
Productivity utils for flutter/plugins and flutter/packages
0.13.4+3 #
- Moves source to flutter/packages.
0.13.4+2 #
- Expands the
--packages-for-branchdetection of main to include ancestors oforigin/mainandupstream/main.
0.13.4+1 #
- Makes
--packages-for-branchdetect any commit onmainas beingmain, so that it works with pinned checkouts (e.g., on LUCI).
0.13.4 #
- Adds the ability to validate minimum supported Dart/Flutter versions in
pubspec-check.
0.13.3 #
- Renames
podspecstopodspec-check. The old name will continue to work. - Adds validation of the Swift-in-Obj-C-projects workaround in the podspecs of iOS plugin implementations that use Swift.
0.13.2+1 #
- Replaces deprecated
flutter formatwithdart formatinformatimplementation.
0.13.2 #
- Falls back to other executables in PATH when
clang-formatdoes not run.
0.13.1 #
- Updates
version-checkto recognize Pigeon's platform test structure. - Pins
package:gitdependency to2.0.xuntildart >=2.18.0becomes our oldest legacy. - Updates test mocks.
0.13.0 #
- Renames
all-plugins-apptocreate-all-packages-appto clarify what it actually does. Also renames the project directory it creates fromall_pluginstoall_packages.
0.12.1 #
- Modifies
publish_check_command.dartto do adart pub getin all examples of the package being checked. Workaround for dart-lang/pub#3618.
0.12.0 #
- Changes the behavior of
--packages-for-branchon main/master to run for packages changed in the last commit, rather than running for all packages. This allows CI to test the same filtered set of packages in post-submit as are tested in presubmit. - Adds a
fixcommand to rundart fix --applyin target packages.
0.11.0 #
- Renames
publish-plugintopublish. - Renames arguments to
list:--packagenow lists top-level packages (previously--plugin).--package-or-subpackagenow lists top-level packages (previously--package).
0.10.0+1 #
- Recognizes
run_test.shas a developer-only file inversion-check. - Adds
readme-checkvalidation that the example/README.md for a federated plugin's implementation packages has a warning about the intended use of the example instead of the template boilerplate.
0.10.0 #
- Improves the logic in
version-checkto determine what changes don't require version changes, as well as making any dev-only changes also not require changelog changes since in practice we almost always override the check in that case. - Removes special-case handling of Dependabot PRs, and the (fragile)
--change-description-fileflag was only still used for that case, as the improved diff analysis now handles that case more robustly.
0.9.3 #
- Raises minimum
compileSdkVersionto 32 for theall-plugins-appcommand.
0.9.2 #
- Adds checking of
code-excerptconfiguration toreadme-check, to validate that if the excerpting tags are added to a README they are actually being used.
0.9.1 #
- Adds a
--downgradeflag toanalyzefor analyzing with the oldest possible versions of packages.
0.9.0 #
- Replaces PR-description-based version/changelog/breaking change check
overrides in
version-checkwith label-based overrides using a newpr-labelsflag, since we don't actually have reliable access to the PR description in checks.
0.8.10 #
- Adds a new
remove-dev-dependenciescommand to removedev_dependenciesentries to make legacy version analysis possible in more cases. - Adds a
--lib-onlyoption toanalyzeto allow only analyzing the client parts of a library for legacy verison compatibility.
0.8.9 #
- Includes
dev_dependencieswhen overridding dependencies usingmake-deps-path-based. - Bypasses version and CHANGELOG checks for Dependabot PRs for packages that are known not to be client-affecting.
0.8.8 #
- Allows pre-release versions in
version-check.
0.8.7 #
- Supports empty custom analysis allow list files.
drive-examplesnow validates files to ensure that they don't accidentally usetest(...).- Adds a new
dependabot-checkcommand to ensure complete Dependabot coverage. - Adds
skip-if-not-supporting-dart-versionto allow for the same use cases asskip-if-not-supporting-flutter-versionbut for packages without Flutter constraints.
0.8.6 #
- Adds
update-release-infoto apply changelog and optional version changes across multiple packages. - Fixes changelog validation when reverting to a
NEXTstate. - Fixes multiplication of
--forceflag when publishing multiple packages. - Adds minimum deployment target flags to
xcode-analyzeto allow enforcing deprecation warning handling in advance of actually dropping support for an OS version. - Checks for template boilerplate in
readme-check. readme-checknow validates example READMEs when present.
0.8.5 #
- Updates
testto inculde the Dart unit tests of examples, if any. drive-examplesnow supports non-plugin packages.- Commands that iterate over examples now include non-Flutter example packages.
0.8.4 #
readme-checknow validates that there's a info tag on code blocks to identify (and for supported languages, syntax highlight) the language.readme-checknow has a--require-excerptsflag to require that any Dart code blocks be managed bycode_excerpter.
0.8.3 #
- Adds a new
update-excerptscommand to maintain README files using thecode-excerpterpackage from flutter/site-shared. license-checknow ignores submodules.- Allows
make-deps-path-basedto skip packages it has alredy rewritten, so that running multiple times won't fail after the first time. - Removes UWP support, since Flutter has dropped support for UWP.
0.8.2+1 #
- Adds a new
readme-checkcommand. - Updates
publish-plugincommand documentation. - Fixes
all-plugins-appto preserve the original application's Dart SDK version to avoid changing language feature opt-ins that the template may rely on. - Fixes
custom-testto runpub getbefore running Dart test scripts.
0.8.2 #
- Adds a new
custom-testcommand. - Switches from deprecated
flutter packagesalias toflutter pub.
0.8.1 #
- Fixes an
analyzeregression in 0.8.0 with packages that have non-examplesub-packages.
0.8.0 #
- Ensures that
firebase-test-labruns include anintegration_testrunner. - Adds a
make-deps-path-basedcommand to convert inter-repo package dependencies to path-based dependencies. - Adds a (hidden)
--run-on-dirty-packagesflag for use withmake-deps-path-basedin CI. --packagesnow allows using a federated plugin's package as a target without fully specifying it (if it is not the same as the plugin's name). E.g.,--packages=path_provide_iosnow works.--run-on-changed-packagesnow includes only the changed packages in a federated plugin, not all packages in that plugin.- Fixes
federation-safety-checkhandling of plugin deletion, and of top-level files in unfederated plugins whose names match federated plugin heuristics (e.g.,packages/foo/foo_android.iml). - Adds an auto-retry for failed Firebase Test Lab tests as a short-term patch for flake issues.
- Adds support for
CHROME_EXECUTABLEindrive-examplesto match similarflutterbehavior. - Validates
default_packageentries in plugins. - Removes
allow-warningsfrom thepodspecscommand. - Adds
skip-if-not-supporting-flutter-versionto allow running tests using a version of Flutter that not all packages support. (E.g., to allow for running some tests against old versions of Flutter to help avoid accidental breakage.)
0.7.3 #
native-testnow builds unit tests before running them on Windows and Linux, matching the behavior of other platforms.- Adds
--log-timingto add timing information to package headers in looping commands. - Adds a
--check-for-missing-changesflag toversion-checkthat requires version updates (except for recognized exemptions) and CHANGELOG changes when modifying packages, unless the PR description explains why it's not needed.
0.7.2 #
- Update Firebase Testlab deprecated test device. (Pixel 4 API 29 -> Pixel 5 API 30).
native-test --android,--ios, and--macosnow fail plugins that don't have unit tests, rather than skipping them.- Added a new
federation-safety-checkcommand to help catch changes to federated packages that have been done in such a way that they will pass in CI, but fail once the change is landed and published. publish-checknow validates that there is anAUTHORSfile.- Added flags to
version-checkto allow overriding the platform interface major version change restriction. - Improved error handling and error messages in CHANGELOG version checks.
license-checknow validates Kotlin files.pubspec-checknow checks that the description is of the pub-recommended length.- Fix
license-checkwhen run on Windows with line ending conversion enabled. - Fixed
pubspec-checkon Windows. - Add support for
mainas a primary branch.mastercontinues to work for compatibility.
0.7.1 #
- Add support for
.pluginToolsConfig.yamlin thebuild-examplescommand.
0.7.0 #
native-testnow supports--linuxfor unit tests.- Formatting now skips Dart files that contain a line that exactly
matches the string
// This file is hand-formatted..
0.6.0+1 #
- Fixed
build-examplesto work for non-plugin packages.
0.6.0 #
- Added Android native integration test support to
native-test. - Added a new
android-lintcommand to lint Android plugin native code. - Pubspec validation now checks for
implementsin implementation packages. - Pubspec valitation now checks the full relative path of
repositoryentries. build-examplesnow supports UWP plugins via a--winuwpflag.native-testnow supports--windowsfor unit tests.- Breaking change:
publishno longer accepts--no-tag-releaseor--no-push-flags. Releases now always tag and push. - Breaking change:
publish's--packageflag has been replaced with the--packagesflag used by most other packages. - Breaking change Passing both
--run-on-changed-packagesand--packagesis now an error; previously it the former would be ignored.
0.5.0 #
--excludeand--custom-analysisnow accept paths to YAML files that contain lists of packages to exclude, in addition to just package names, so that exclude lists can be maintained separately from scripts and CI configuration.- Added an
xctestflag to select specific test targets, to allow running only unit tests or integration tests. - Breaking change: Split Xcode analysis out of
xctestand into a newxcode-analyzecommand. - Fixed a bug that caused
firebase-test-labto hang if it tried to run more than one plugin's tests in a single run. - Breaking change: If
firebase-test-labis run on a package that supports Android, but for which no tests are run, it now fails instead of skipping. This matchesdrive-examples, as this command is what is used for driving Android Flutter integration tests on CI. - Breaking change: Replaced
xctestwith a newnative-testcommand that will eventually be able to run native unit and integration tests for all platforms.- Adds the ability to disable test types via
--no-unitor--no-integration.
- Adds the ability to disable test types via
- Breaking change: Replaced
java-testwith Android unit test support for the newnative-testcommand. - Commands that print a run summary at the end now track and log exclusions similarly to skips for easier auditing.
version-checknow validates thatNEXTis not present when changing the version.
0.4.1 #
- Improved
license-checkoutput. - Use
java -versionrather thanjava --version, for compatibility with more versions of Java.
0.4.0 #
- Modified the output format of many commands
- Breaking change:
firebase-test-labno longer supports*_e2e.dartfiles, onlyintegration_test/*_test.dart. - Add a summary to the end of successful command runs for commands using the new output format.
- Fixed some cases where a failure in a command for a single package would immediately abort the test.
- Deprecated
--pluginsin favor of new--packages.--pluginscontinues to work for now, but will be removed in the future. - Make
drive-examplesdevice detection robust against Flutter tool banners. formatis now supported on Windows.
0.3.0 #
- Add a --build-id flag to
firebase-test-labinstead of hard-coding the use ofCIRRUS_BUILD_ID.CIRRUS_BUILD_IDis the default value for that flag, for backward compatibility. xctestnow supports running macOS tests in addition to iOS- Breaking change: it now requires an
--iosand/or--macosflag.
- Breaking change: it now requires an
- Breaking change:
build-examplesfor iOS now uses--iosrather than--ipa. - The tooling now runs in strong null-safe mode.
publish pluginscheck against pub.dev to determine if a release should happen.- Modified the output format of many commands
- Removed
podspec's--skipin favor of--ignoreusing the new structure.
0.2.0 #
- Remove
xctest's--skip, which is redundant with--ignore.
0.1.4 #
- Add a
pubspec-checkcommand
0.1.3 #
- Cosmetic fix to
publish-checkoutput - Add a --dart-sdk option to
analyze - Allow reverts in
version-check
0.1.2 #
- Add
against-pubflag for version-check, which allows the command to check version with pub. - Add
machineflag for publish-check, which replaces outputs to something parsable by machines. - Add
skip-conformationflag to publish-plugin to allow auto publishing. - Change
run-on-changed-packagesto consider all packages as changed if any files have been changed that could affect the entire repository.
0.1.1 #
- Update the allowed third-party licenses for flutter/packages.
0.1.0+1 #
- Re-add the bin/ directory.
0.1.0 #
- NOTE: This is no longer intended as a general-purpose package, and is now supported only for flutter/plugins and flutter/tools.
- Fix version checks
- Remove handling of pre-release null-safe versions
- Fix build all for null-safe template apps
- Improve handling of web integration tests
- Supports enforcing standardized copyright files
- Improve handling of iOS tests
v.0.0.45+3 #
- Pin
collectionto1.14.13to be able to target Flutter stable (v1.22.6).
v.0.0.45+2 #
- Make
publish-pluginto work on non-flutter packages.
v.0.0.45+1 #
- Don't call
flutter formatif there are no Dart files to format.
v.0.0.45 #
- Add exclude flag to exclude any plugin from further processing.
v.0.0.44+7 #
all-plugins-appdoesn't override the AGP version.
v.0.0.44+6 #
- Fix code formatting.
v.0.0.44+5 #
- Remove
-vflag on drive-examples.
v.0.0.44+4 #
- Fix bug where directory isn't passed
v.0.0.44+3 #
- More verbose logging
v.0.0.44+2 #
- Remove pre-alpha Windows workaround to create examples on the fly.
v.0.0.44+1 #
- Print packages that passed tests in
xctestcommand. - Remove printing the whole list of simulators.
v.0.0.44 #
- Add 'xctest' command to run xctests.
v.0.0.43 #
- Allow minor
*-nullsafetypre release packages.
v.0.0.42+1 #
- Fix test command when
--enable-experimentis called.
v.0.0.42 #
- Allow
*-nullsafetypre release packages.
v.0.0.41 #
- Support
--enable-experimentflag in subcommandstest,build-examples,drive-examples, andfirebase-test-lab.
v.0.0.40 #
- Support
integration_test/directory fordrive-examplescommand
v.0.0.39 #
- Support
integration_test/directory forpackage:integration_test
v.0.0.38 #
- Add C++ and ObjC++ to clang-format.
v.0.0.37+2 #
- Make
httpandhttp_multi_serverdependency version constraint more flexible.
v.0.0.37+1 #
- All_plugin test puts the plugin dependencies into dependency_overrides.
v.0.0.37 #
- Only builds mobile example apps when necessary.
v.0.0.36+3 #
- Add support for Linux plugins.
v.0.0.36+2 #
- Default to showing podspec lint warnings
v.0.0.36+1 #
- Serialize linting podspecs.
v.0.0.36 #
- Remove retry on Firebase Test Lab's call to gcloud set.
- Remove quiet flag from Firebase Test Lab's gcloud set command.
- Allow Firebase Test Lab command to continue past gcloud set network failures. This is a mitigation for the network service sometimes not responding, but it isn't actually necessary to have a network connection for this command.
v.0.0.35+1 #
- Minor cleanup to the analyze test.
v.0.0.35 #
- Firebase Test Lab command generates a configurable unique path suffix for results.
v.0.0.34 #
- Firebase Test Lab command now only tries to configure the project once
- Firebase Test Lab command now retries project configuration up to five times.
v.0.0.33+1 #
- Fixes formatting issues that got past our CI due to https://github.com/flutter/flutter/issues/51585.
- Changes the default package name for testing method
createFakePubspecback its previous behavior.
v.0.0.33 #
- Version check command now fails on breaking changes to platform interfaces.
- Updated version check test to be more flexible.
v.0.0.32+7 #
- Ensure that Firebase Test Lab tests have a unique storage bucket for each test run.
v.0.0.32+6 #
- Ensure that Firebase Test Lab tests have a unique storage bucket for each package.
v.0.0.32+5 #
- Remove --fail-fast and --silent from lint podspec command.
v.0.0.32+4 #
- Update
publish-pluginto useflutter pub publishinstead of justpub publish. Enforces apub publishcommand that matches the Dart SDK in the user's Flutter install.
v.0.0.32+3 #
- Update Firebase Testlab deprecated test device. (Pixel 3 API 28 -> Pixel 4 API 29).
v.0.0.32+2 #
- Runs pub get before building macos to avoid failures.
v.0.0.32+1 #
- Default macOS example builds to false. Previously they were running whenever CI was itself running on macOS.
v.0.0.32 #
analyzenow asserts that the globalanalysis_options.yamlis the only one by default. Individual directories can be excluded from this check with the new--custom-analysisflag.
v.0.0.31+1 #
- Add --skip and --no-analyze flags to podspec command.
v.0.0.31 #
- Add support for macos on
DriveExamplesCommandandBuildExamplesCommand.
v.0.0.30 #
- Adopt pedantic analysis options, fix firebase_test_lab_test.
v.0.0.29 #
- Add a command to run pod lib lint on podspec files.
v.0.0.28 #
- Increase Firebase test lab timeouts to 5 minutes.
v.0.0.27 #
- Run tests with
--platform=chromefor web plugins.
v.0.0.26 #
- Add a command for publishing plugins to pub.
v.0.0.25 #
- Update
DriveExamplesCommandto useProcessRunner. - Make
DriveExamplesCommandrely onProcessRunnerto determine if the test fails or not. - Add simple tests for
DriveExamplesCommand.
v.0.0.24 #
- Gracefully handle pubspec.yaml files for new plugins.
- Additional unit testing.
v.0.0.23 #
- Add a test case for transitive dependency solving in the
create_all_plugins_appcommand.
v.0.0.22 #
- Updated firebase-test-lab command with updated conventions for test locations.
- Updated firebase-test-lab to add an optional "device" argument.
- Updated version-check command to always compare refs instead of using the working copy.
- Added unit tests for the firebase-test-lab and version-check commands.
- Add ProcessRunner to mock running processes for testing.
v.0.0.21 #
- Support the
--pluginsargument for federated plugins.
v.0.0.20 #
- Support for finding federated plugins, where one directory contains multiple packages for different platform implementations.
v.0.0.19+3 #
- Use
package:filefor file I/O.
v.0.0.19+2 #
- Use java as language when calling
flutter create.
v.0.0.19+1 #
- Rename command for
CreateAllPluginsAppCommand.
v.0.0.19 #
- Use flutter create to build app testing plugin compilation.
v.0.0.18+2 #
- Fix
.travis.ymlfile name inREADME.md.
0.0.18+1 #
- Skip version check if it contains
publish_to: none.
0.0.18 #
- Add option to exclude packages from generated pubspec command.
0.0.17+4 #
- Avoid trying to version-check pubspecs that are missing a version.
0.0.17+3 #
- version-check accounts for pre-1.0 patch versions.
0.0.17+2 #
- Fix exception handling for version checker
0.0.17+1 #
- Fix bug where we used a flag instead of an option
0.0.17 #
- Add a command for checking the version number
0.0.16 #
- Add a command for generating
pubspec.yamlfor All Plugins app.
0.0.15 #
- Add a command for running driver tests of plugin examples.
0.0.14 #
- Check for dependencies->flutter instead of top level flutter node.
0.0.13 #
- Differentiate between Flutter and non-Flutter (but potentially Flutter consumed) Dart packages.