Tinker Dependencies

by Samy (Kondasamy Jayaraman)

The app asks for pricebook ^1.4.2.9 packages

Chapter 2 of 7

What the numbers mean

Every package in the tower carries a version, and the app asks for each with a range, not one exact version.

This chapter: Which new versions does a range let in?

About this chapter

You will learn

  • major.minor.patch, and what each promises
  • A caret takes minors and patches
  • A tilde takes patches only

Words you’ll meet

Semver
Semantic Versioning: the rules for what a new major, minor or patch promises.
Version
A release’s number, major.minor.patch, like 1.4.2.
Range
The versions a package will accept, like ^1.4.2.
Caret
The ^ range: any newer minor or patch, never a new major (below 1.0.0, never a new minor).
Tilde
The ~ range: newer patches only.

Step 1 of 4

Under , every has three numbers: major.minor.patch. A says which the app accepts: pricebook ^1.4.2.

Predict what ^1.4.2 allows.

Which pricebook versions does ^1.4.2 accept?