oliverdavies.uk/source/_daily_emails/2023-05-19.md

20 lines
780 B
Markdown
Raw Normal View History

2024-01-03 20:00:00 +00:00
---
title: >
2024-02-07 20:01:19 +00:00
Semantic versioning
2024-01-03 20:00:00 +00:00
pubDate: 2023-05-19
permalink: >-
2024-02-07 20:01:19 +00:00
archive/2023/05/19/semantic-versioning
2024-01-03 20:00:00 +00:00
tags:
2024-02-07 20:01:19 +00:00
- software-development
2024-01-03 20:00:00 +00:00
---
The version number of a release is a key indicator of whether its compatible with existing code.
Semantic versioning is a popular approach used by Drupal core, and many contributed modules, themes and distributions.
It uses version numbers like 1.0.0 to show the major, minor and patch versions.
If the second or third number changes, e.g. 1.1.0 or 1.0.1, the release contains new backwards-compatible features or fixes, so its safe to update.
If the first number changes, e.g. 2.0.0, the release is not backwards compatible and contains breaking changes that youll need to review and update your code accordingly.