cli_pkg
Grinder tasks for releasing Dart CLI packages.
2.15.2
95K downloads/mo
#1152 most downloaded on pub.dev
google/dart_cli_pkg
What this package is like to depend on
Last release 1 months ago
08 Jul 2026
Release timing varies
gaps range from 8 days to 8 months
Some releases are documented
notes for 28 of 48 stable releases
2 versions withdrawn
withdrawn after publishing
7 years old
62 releases · first in 2020
5 releases in the last 12 months
see the full history below
Release timeline
62 releases · Jan 2020 to Jul 2026Releases
latest 60 of 62-
2.15.208 Jul 2026 -
2.15.126 Nov 2025 -
2.15.010 Nov 2025Nothing published for this version
-
2.14.026 Sep 2025 -
2.13.026 Sep 2025 -
2.12.013 Feb 2025Nothing published for this version
-
2.11.031 Oct 2024 -
2.10.012 Mar 2024Nothing published for this version
-
2.9.021 Feb 2024 -
2.8.116 Feb 2024 -
2.8.012 Feb 2024 -
2.7.229 Dec 2023Release notes
Open source →I misread the Dart SDK issue and thought it was fixed, rather than
just resolved to add a better error message. -
2.7.119 Dec 2023 -
2.7.009 Oct 2023Nothing published for this version
-
2.6.005 Oct 2023 withdrawnNothing published for this version
-
2.5.008 Aug 2023Nothing published for this version
-
2.4.715 Jun 2023Nothing published for this version
-
2.4.609 Jun 2023Nothing published for this version
-
2.4.508 Jun 2023Nothing published for this version
-
2.4.405 Apr 2023Nothing published for this version
-
2.4.321 Mar 2023Nothing published for this version
-
2.4.214 Mar 2023Nothing published for this version
-
2.4.111 Mar 2023Nothing published for this version
-
2.4.007 Mar 2023Nothing published for this version
-
2.3.002 Mar 2023Nothing published for this version
-
2.2.018 Jan 2023Nothing published for this version
-
2.1.915 Dec 2022Nothing published for this version
-
2.1.813 Dec 2022Nothing published for this version
-
2.1.710 Dec 2022Nothing published for this version
-
2.1.608 Dec 2022Nothing published for this version
-
2.1.509 Nov 2022Nothing published for this version
-
2.1.428 Jun 2022Release notes
Open source →- Now merges
"exports"objects declared in the originalpackage.jsonwhen usingJsRequireswith a target other thanall. Note that string and array values will still be overwritten.
- Now merges
-
2.1.317 Jun 2022Release notes
Open source →- Don't mangle lists in automatically-extracted CHANGELOG entries for GitHub releases.
-
2.1.220 May 2022Release notes
Open source →- Use
dart pubcommands rather thanpubfor compatibility with the latest Dart releases.
- Use
-
2.1.101 Apr 2022 -
2.1.025 Mar 2022 withdrawnRelease notes
Open source →-
Add
pkg-github-$os-$archtasks, which compile and upload binaries for the given operating system and architecture. -
pkg-github-linux,pkg-github-macos, andpkg-github-windowsnow compile and upload binaries for all supported architectures. -
Use
dart pubcommands rather thanpubfor compatibility with the latest Dart releases.
-
-
2.0.313 Oct 2021Release notes
Open source →- Fix a bug where dynamic calls to
require()would always benullin an npm package.
- Fix a bug where dynamic calls to
-
2.0.212 Oct 2021Release notes
Open source →- Fix a bug where an npm package with target-specific
JSRequires would include an invalid"main"field in itspackage.json.
- Fix a bug where an npm package with target-specific
-
2.0.105 Oct 2021 -
2.0.028 Sep 2021Release notes
Open source →- Breaking change: The
jsRequiresmap has been changed to a list ofJSRequireobjects. These objects allow packages to specify exactly which target(s) a given dependency should be loaded on, so for example they can provide a package that loads thefsmodule for Node.js but can still be bundled for the browser without it.
- Breaking change: The
-
1.7.016 Sep 2021Release notes
Open source →- Callbacks passed to
ConfigVariable.fn=can now return nullable values even for non-nullable types. Doing so will cause the variable to use its default value. The behavior for nullable types remains unchanged.
- Callbacks passed to
-
1.6.013 Sep 2021Release notes
Open source →-
Add
pkg-standalone-linux-arm64andpkg-standalone-mac-arm64tasks, which compile Linux and Mac OS binaries respectively for 64-bit ARM architectures. As with other 64-bit architectures, these will compile native executables when invoked on the same OS/architecture combination they're targeting, and will compile script snapshots otherwise. -
pkg-standalone-allnow compiles Linux and Mac OS binaries for 64-bit ARM architectures.
-
-
1.5.209 Sep 2021Release notes
Open source →-
Use
dart compile exeanddart compile aot-snapshotinstead ofdart2nativewhen compiling standalone executables. -
The space character is no longer forbidden in environment constants, since https://github.com/dart-lang/sdk/issues/46050 has been fixed.
-
-
1.5.118 Aug 2021Release notes
Open source →- Properly run executables from source in
testing.dartwhen their public names are different than their filenames.
- Properly run executables from source in
-
1.5.013 Jul 2021Release notes
Open source →-
Add
pkg.npmAdditionalFilesto make it possible to add custom files to npm packages. -
pkg.addChocolateyTasks()no longer automatically adds standalone tasks, since Chocolatey tasks no longer depend on standalone tasks. -
pkg-chocolateynow creates a file namedLICENSE.txtrather thanLICENSE, at the request of the Chocolatey reviewers.
-
-
1.4.020 May 2021Release notes
Open source →- Add
pkg.environmentConstantsto make it possible to define custom environment constants for the compiled executables.
- Add
-
1.3.012 Apr 2021 -
1.2.020 Jan 2021Release notes
Open source →-
Add a
pkg.githubBearerTokento make it easier to integrate with GitHub actions. -
Generate a fully standalone executable on Linux rather than a native snapshot.
-
-
1.1.014 Nov 2020Release notes
Open source →- The main function generated by this package will return a
Promiseif the corresponding Dart main function returns aFuture.
- The main function generated by this package will return a
-
1.0.004 Nov 2020Release notes
Open source →- Initial stable release.
Changes since 1.0.0-beta.13
- Don't fold link reference declarations like paragraphs when generating GitHub release notes.
-
1.0.0-beta.1329 Oct 2020 pre-releaseRelease notes
Open source →-
Add a
ConfigVariable.defaultValueproperty to get the default value for variables that are overridden by functions. -
Fix a typo in error messages when files need to be regenerated for tests.
-
-
1.0.0-beta.1228 Oct 2020 pre-releaseRelease notes
Open source →- Deploy Chocolatey packages as source files rather than a zip file, to avoid
validation errors around the need for a
VERIFICATIONfile.
- Deploy Chocolatey packages as source files rather than a zip file, to avoid
validation errors around the need for a
-
1.0.0-beta.1115 Oct 2020 pre-releaseRelease notes
Open source →-
Properly load the Dart SDK license when it's in the directory above the SDK, as in a Homebrew installation.
-
Use the latest version of the
xmlpackage.
-
-
1.0.0-beta.1015 Oct 2020 pre-releaseRelease notes
Open source →-
Breaking change: All configurable variables are now defined as
ConfigVariableobjects rather than top-level fields. These objects make it possible to configure variables with callback functions and to freeze those variables once execution has begun. -
Properly handle git repositories that use branch names other than
master.
-
-
1.0.0-beta.925 Sep 2020 pre-releaseRelease notes
Open source →- Improve error messages if release notes can't be extracted from
CHANGELOG.md.
- Improve error messages if release notes can't be extracted from
-
1.0.0-beta.801 Jul 2020 pre-releaseRelease notes
Open source →- Fixes a bug when reading a
CHANGELOG.mdwith Windows-style line endings.
- Fixes a bug when reading a
-
1.0.0-beta.720 May 2020 pre-releaseRelease notes
Open source →- Breaking change: Dart snapshots are now named based on the executable name
(specified in the pubspec or in
pkg.executables) instead of the name of the Dart file inbin.
- Breaking change: Dart snapshots are now named based on the executable name
(specified in the pubspec or in
-
1.0.0-beta.619 Feb 2020 pre-releaseRelease notes
Open source →-
Breaking change: Chocolatey now uses the
chocoCLI to build and deploy packages, rather than re-implementing its logic in Dart. In particular:-
The
pkg-chocolatey-buildtask has been renamed topkg-chocolatey-packto match the CLI's naming scheme. -
The
pkg-chocolatey-packandpkg-chocolatey-deploytasks must be run in an environment with thechococommand available.
-
-
Add a
pkg-chocolateycommand that builds an un-archived Chocolatey package directory. -
Rather than releasing binary snapshots on Chocolatey, compile the source code to compile native executables on users' machines.
-
Add a
chocolateyFilesgetter that returns the files that should be included in the Chocolatey package. -
Depend on the correct version of pre-release Dart SDKs from Chocolatey packages.
-
-
1.0.0-beta.510 Feb 2020 pre-release -
1.0.0-beta.407 Feb 2020 pre-releaseRelease notes
Open source →-
Add a
pkg.npmDistTaggetter that controls the distribution tag for an npm release. -
Add a
pkg.homebrewCreateVersionedFormulagetter that controls whether the Homebrew release creates a new formula or updates an existing one. -
Run
pub publish --forceso it doesn't hang forever. -
Properly parse GitHub repositories from HTTP URLs ending in
.git. -
Drop support for Mac OS ia32 packages, since Dart 2.7 doesn't support them anymore.
-