flutter_version_bumper 1.4.1+1
flutter_version_bumper: ^1.4.1+1 copied to clipboard
A command-line tool to easily bump Flutter project versions using SemVer and build numbers.
Changelog #
1.4.1 - 2026-08-08 #
1.4.0 - 2026-08-08 #
- Added fvb --install-skill command to automatically deploy AI Agent SKILL.md into local or global agent directories
1.3.0 - 2026-08-08 #
Added #
- Project Configuration File Support (
.fvb.yaml/pubspec.yaml):- Save project-level defaults in
.fvb.yamlor underfvb:inpubspec.yamlto avoid repeating long CLI flags.
- Save project-level defaults in
- Automated
CHANGELOG.mdUpdater (--changelog/-c):- Automatically prepends new release sections to
CHANGELOG.mdupon version bumping (-c/--changelog-msg).
- Automatically prepends new release sections to
- Git Hooks Integration (
--install-hook/--remove-hook):- Easily install executable Git pre-commit or pre-push hooks (
fvb --install-hook pre-commit) to enforce versioning checks.
- Easily install executable Git pre-commit or pre-push hooks (
Refactored #
- Clean Modular Architecture (
lib/src/):- Refactored monolithic codebase into dedicated modules (
models/,cli/,config/,git/,changelog/,utils/) for enhanced maintainability and testability.
- Refactored monolithic codebase into dedicated modules (
All notable changes to this project will be documented in this file.
1.2.0 - 2026-05-21 #
Added #
- Automated Prerelease Bumping (
--pre/--prerelease <label>):- Automatically transitions stable versions to prereleases (e.g.
1.0.0->1.0.1-beta.1). - Increments prerelease suffix counters when bumping the same label (e.g.
1.0.1-beta.1->1.0.1-beta.2). - Gracefully transitions between different labels (e.g.
beta.2->rc.1). - Seamlessly promotes to stable version track when running a standard bump without
--pre.
- Automatically transitions stable versions to prereleases (e.g.
- Git Push Automation (
--git-push):- Push committed files and created tags directly to Git remote origin (
git push origin HEADandgit push origin <tagName>) in one CLI invocation. - Full dry-run (
-d) simulation reporting support.
- Push committed files and created tags directly to Git remote origin (
1.1.0 - 2026-05-21 #
Added #
- Full SemVer & Pre-release Support: Bumper can parse and process versions with pre-release identifiers and metadata (e.g.
1.0.0-beta.1+12). - Interactive Mode: Launch via
fvb -ito bump versions step-by-step through a friendly interactive terminal selector. - Customizable Build Numbers:
--keep-build(-k) to keep build number constant.-n/--build-numberto explicitly override the build number.--no-buildto completely remove the build number segment.
- Git Commit & Tagging Automation: Staging, committing (
-g/--commit-msg), and tagging (-t/--tag-prefix) of the bumped version. - Dry-run Mode (
-d): Safe simulation of filesystem and git actions. - Monorepo / Custom Path (
-p/--path): Support custom paths for targeting monorepos. - Quiet & JSON Outputs:
--jsonand--quiet(-q) flags optimized for automation and CI/CD pipelines. - Comprehensive Test Suite: Expanded the test file covering all new advanced CLI features.
1.0.1 - 2026-04-08 #
Added #
- Comprehensive test coverage for:
- Bumping versions without build numbers.
- Versions with unconventional spacing.
- Versions in complex
pubspec.yamlstructures. - Multiple sequential bumps.
- The
--helpflag functionality.
Fixed #
- Resolved a "Could not parse" error in
pubspec.yamlby refining the version regex and enabling multiline support for more reliable matching in varying file structures.
Improved #
- Increased
pubspec.yamlparsing robustness to handle unconventional spacing and missing build numbers, verified by extensive new test cases.
1.0.0 - 2026-04-08 #
Initial Release #
- Converted from PowerShell script to cross-platform Dart CLI tool.
- Supports
major,minor,patch, andbuildbumping. - Option to set explicit versions (
--set). - Safe regex-based file parsing for
pubspec.yaml. - Global installation support via
dart pub global activate.