replace 1.2.3
replace: ^1.2.3 copied to clipboard
An easy to use cross-platform regex replace command line util and pm CLI to modify pubspec.yaml files.
1.2.3 - 2026-05-26 #
Added #
- Added
pm set-asdf-dartto readenvironment.sdkfrompubspec.yamland runasdf set dartfor Dart 2 (2.19.6) or Dart 3. - Added
--dart-3-versiontopm set-asdf-dartso the Dart 3 version can be overridden (default:3.11.6). - Added global
--pub-getto rundart pub getin directories where a command modifiedpubspec.yaml.
Updated #
- Updated
pmtests to coverset-asdf-dartbehavior for Dart 2, Dart 3, and custom--dart-3-versionvalues. - Updated README command docs and examples for
set-asdf-dartand--dart-3-version. - Updated
pmtests and docs for--pub-getbehavior on changed and unchanged pubspecs. - Updated
set-asdf-dartto support recursive mode (-r) across discoveredpubspec.yamlfiles. - Updated
tighten -rto use each pubspec directory'spubspec.lockby default.
1.2.0 - 2026-04-13 #
Added #
- Added
pm removeto remove one or more packages fromdependenciesanddev_dependencies. - Added global
pm --version/pm -voutput using generated package metadata. - Added pubspec code generation with
pubspec_generatorandbuild_runner.
Updated #
- Updated CI to run
dart run build_runner build --delete-conflicting-outputsand fail when generated files are out of date. - Updated
pmtests and fixtures for multi-package remove behavior across single-line, hosted, and git dependency declarations. - Updated README documentation for
pm removeand version flag usage.
1.1.0 - 2026-03-20 #
Added #
- Added the new
pmCLI for editing pubspec dependency and SDK constraints. - Added the
tightencommand to raise dependency minimums to lockfile-resolved versions. - Added the
--[no-]tightenoption (enabled by default) for range-tightening behavior.
Updated #
- Updated tests and naming around the new
pmfunctionality. - Updated CI usage and formatting-related maintenance.
1.0.4 - 2022-05-11 #
- bug fix
1.0.3 - 2022-05-11 #
- bug fix