Skip to content
pubscout

version_manipulation

0.3.0, released 5 months ago by karapetov.com

Extension on Dart pub_semver for nextBuild, nextPreRelease, and change mutations.

WASM-ready
$ flutter pub add version_manipulation
Source repository

What it does

Provides utility extensions on top of the pub_semver library to easily manipulate and bump semantic versions. It allows changing specific version parts like major, minor, patch, pre-release, and build metadata, as well as helpers like nextBuild.

AI-written summary of version 0.3.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to programmatically bump semantic version numbers in Dart tools or scripts
  • You are working with pub_semver and need convenient mutation extensions

Skip it when

  • You do not use semantic versioning or pub_semver in your project

Strengths

  • Simplifies version bumping and mutation tasks
  • Extends standard pub_semver objects smoothly

Weaknesses

  • Very niche utility package with limited scope

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
1

Just add version_manipulation to pubspec.yaml and import it.

print(Version.parse('1.2.3').nextBuild);

Works with

Packages commonly used together with version_manipulation: ones it builds on, ones built on it, and its own family.