Skip to content

Commit a0b0727

Browse files
authored
Merge pull request #118 from PiyushRaj927/add_versioning_policy
add version policy document
2 parents 7fe0982 + 42074e8 commit a0b0727

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@
88
- [x] [PgCron ](https://github.com/citusdata/pg_cron)
99
- [ ] [Citus](https://www.citusdata.com/)
1010

11+
## Releases
12+
- [Versioning Policy](./docs/version-policy.md)
13+
1114
Bootstrapped from [TimescaleDB](https://github.com/timescale/timescaledb-docker)

docs/version-policy.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Version Policy
2+
3+
WarpSQL adopts [Semantic Versioning(SemVer)](https://semver.org/) using the `MAJOR.MINOR.PATCH` format.
4+
5+
## WarpSQL versions
6+
7+
### MAJOR Version (v1.x.x):
8+
9+
when backward incompatible changes are introduced.
10+
Examples:
11+
12+
- Increment an extension to `MAJOR` versions
13+
- Features causing backward incompatibility
14+
15+
### MINOR Version (vx.1.x):
16+
17+
when new features and extensions are added, but are backward compatible.
18+
Examples:
19+
20+
- Increment an extension to `MINOR`/`PATCH` versions
21+
- Addition of an extension
22+
- Upgrades maintaining backward compatibility
23+
24+
### PATCH Version (vx.x.1):
25+
26+
when backward compatible bug fixes are added.
27+
28+
### PRE-RELEASE (vx.x.x-alpha.2)
29+
This releases might introduce breaking changes on any update. This release carries no stability guarantees.
30+
31+
The pre-release progression follows the sequence:
32+
33+
- Alpha: `-alpha`
34+
- Beta: `-beta`
35+
- Release Candidate: `-rc`
36+
37+
## WarpSQL Docker images
38+
39+
The WarpSQL images tags follow a consistent naming convention,
40+
deliberately excluding the use of a `latest` tag. This omission is intentional to prevent accidental upgrades in dependencies and PostgreSQL versions.
41+
42+
### Alpine Images
43+
The default base distribution for WarpSQL is Alpine. The tags follow this format:
44+
```html
45+
<warpsql_version>-pg<postgres_version>
46+
<warpsql_version>-pg<postgres_version>-alpine
47+
```
48+
### Bitnami Images
49+
50+
```html
51+
<warpsql_version>-pg<postgres_version>-bitnami
52+
```
53+
54+
### Examples
55+
- An Alpine image with `warpsql_version=1.2.1-alpha` and PostgreSQL 15 is represented by the tag `1.2.1-alpha-pg15-alpine`.

0 commit comments

Comments
 (0)