Skip to content

Solution Versioning

Solutions use semantic versioning to track releases and enable controlled promotions through environments.

Track what version is deployed where:

SolutionDevelopmentStagingProduction
customer-portal1.5.01.4.01.3.0
api-gateway2.1.02.1.02.0.0

Move specific versions through your pipeline:

Quickly revert to a known-good version:

MAJOR.MINOR.PATCH
│ │ │
│ │ └── Bug fixes, configuration tweaks
│ └──────── New features, sequence updates
└────────────── Breaking changes, major rewrites
ChangeVersion BumpExample
Fix configuration issuePatch1.0.0 → 1.0.1
Add new sequenceMinor1.0.0 → 1.1.0
Update sequence version requirementMinor1.0.0 → 1.1.0
Add variable templateMinor1.0.0 → 1.1.0
Remove sequenceMajor1.0.0 → 2.0.0
Remove variableMajor1.0.0 → 2.0.0
Major architecture changeMajor1.0.0 → 2.0.0
  1. Navigate to the solution detail page
  2. Click Add Version
  3. Enter the new version number
  4. Make your changes
  5. Click Create Version
┌─────────────────────────────────────────────────────────┐
│ Add New Version │
├─────────────────────────────────────────────────────────┤
│ │
│ Version: [1.3.0 ] │
│ │
│ Sequences: │
│ ┌───────────────────────────────────────────────────┐ │
│ │ (sequence list) │ │
│ └───────────────────────────────────────────────────┘ │
│ │
│ [Cancel] [Create Version] │
└─────────────────────────────────────────────────────────┘
  • Sequence list
  • Sequence order
  • Sequence version requirements
  • Creating new versions
  • Environment-specific variable values

The solution detail page shows all versions:

┌─────────────────────────────────────────────────────────┐
│ Solution: customer-portal │
├─────────────────────────────────────────────────────────┤
│ │
│ Versions: │
│ │
│ ┌─────────┬───────────────┬─────────────────────────┐ │
│ │ Version │ Created │ Deployed To │ │
│ ├─────────┼───────────────┼─────────────────────────┤ │
│ │ 1.5.0 │ Today │ Development │ │
│ │ 1.4.0 │ 3 days ago │ Staging │ │
│ │ 1.3.0 │ 1 week ago │ Production │ │
│ │ 1.2.0 │ 2 weeks ago │ - │ │
│ │ 1.1.0 │ 1 month ago │ - │ │
│ │ 1.0.0 │ 2 months ago │ - │ │
│ └─────────┴───────────────┴─────────────────────────┘ │
│ │
│ [+ Add Version] │
│ │
└─────────────────────────────────────────────────────────┘

Each environment tracks its current version:

┌─────────────────────────────────────────────────────────┐
│ Environment State: customer-portal │
├─────────────────────────────────────────────────────────┤
│ │
│ ┌─────────────┬─────────┬─────────────┬────────────┐ │
│ │ Environment │ Version │ Deployed │ By │ │
│ ├─────────────┼─────────┼─────────────┼────────────┤ │
│ │ Development │ 1.5.0 │ 2 hours ago │ alice │ │
│ │ Staging │ 1.4.0 │ 3 days ago │ bob │ │
│ │ Production │ 1.3.0 │ 1 week ago │ admin │ │
│ └─────────────┴─────────┴─────────────┴────────────┘ │
│ │
│ [Deploy] [Promote] [Rollback] │
│ │
└─────────────────────────────────────────────────────────┘
  1. Navigate to solution
  2. Select the version
  3. Click Deploy
  4. Choose target environment
  5. Confirm

Move current version to next environment:

  1. Navigate to environment state
  2. Click Promote
  3. Select target environment
  4. Confirm

Don’t over-increment:

Good: 1.0.0 → 1.1.0 → 1.2.0 → 2.0.0
Bad: 1.0.0 → 2.0.0 → 3.0.0 → 4.0.0

Mantis does not store per-version release notes, so keep a changelog in your source repository (or solution config-as-code) and use clear semantic version bumps:

v1.3.0: Added monitoring integration
v1.2.1: Fixed timeout in health check
v1.2.0: Updated to new database schema

Validate each version in lower environments:

Keep at least one known-good version available:

Production: v1.3.0 (current)
Available for rollback: v1.2.0, v1.1.0

Major versions may require:

  • Variable updates in all environments
  • Database migrations
  • Coordination with other teams

Cause: Version number already exists

Solution: Use a new, higher version number

Cause: Version may not have been saved

Solution: Check for validation errors, re-save

Cause: Selected wrong version in deployment

Solution: Deploy the correct version or rollback