Dev Utils

Semver Comparator

Parse, compare, and bump semantic versions.

How to use it

  1. Open Devly from the wrench in your menu bar, or press ⌃⌥⌘D. Press ⌘P, type Semver Comparator and press Return.
  2. Paste or type your text into Input.
  3. Adjust the Options on the right if you need to. The defaults are listed below.
  4. Press Analyze, or ⌘↵.
  5. Use Copy or ⇧⌘C to copy the result. ⌘L clears everything.
What to enter
Enter version(s) to parse/compare (e.g., 1.2.3, 2.0.0-beta.1)...

Options

OptionValuesDefault
ActionWhat to do with the version(s)Parse & Info, Compare, Bump Major, Bump Minor, Bump PatchParse & Info
Include pre-release in comparisonsConsider pre-release identifiers when comparingOn or offOn

Example

Real output from Devly, with the default options.

Input
2.3.0, 2.10.1
═══ VERSION ANALYSIS ═══

═══ 2.3.0 ═══

Major:       2
Minor:       3
Patch:       0
Pre-release: None
Stability:   Stable ✓

Normalized:  2.3.0
Next Major:  3.0.0
Next Minor:  2.4.0
Next Patch:  2.3.1

═══ 2.10.1 ═══

Major:       2
…

From Terminal

With the free command-line tool installed:

Terminal
devly semver "2.3.0, 2.10.1"
# or pipe text in
pbpaste | devly semver

Quick Switch also finds it by: semver, version, semantic, compare, bump, major, minor, patch.

More Dev Utils tools