Skip to content

Commit c3c6a11

Browse files
authored
[DOC] Add docs for versioning and changelog (#125)
1 parent 1811ad0 commit c3c6a11

3 files changed

Lines changed: 62 additions & 0 deletions

File tree

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,20 @@ FROM (SELECT field1,
262262
263263
5. Everything not being a query of the form `CREATE ... TABLE / VIEW` or `SELECT ...` is left unchanged
264264
265+
## Versioning
266+
267+
We version our package via [semantic versioning](https://semver.org), i.e.,
268+
269+
* We use three digits separated by points x1.x2.x3, e.g. 0.5.1
270+
* We increase x1 (the major version) if we introduce breaking changes
271+
* Exception: Versions with 0 at the beginning (e.g. 0.5.1) mean that the package is not stable yet and therefore every new feature could be a breaking change
272+
* We increase x2 (the minor version) if we introduce a new feature
273+
* We increase x3 (the patch version) if we fix a bug
274+
275+
New documentation, refactoring / maintenance of code and admin tasks do not change the versions.
276+
277+
You can follow the changes introduced by each version in our [CHANGELOG](https://github.com/PabloRMira/sql_formatter/blob/master/CHANGELOG.md)
278+
265279
## How to contribute
266280
267281
You can contribute to this project:

docs/index.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,30 @@ <h2 id="Formatting-Logic">Formatting Logic<a class="anchor-link" href="#Formatti
449449
</li>
450450
</ol>
451451

452+
</div>
453+
</div>
454+
</div>
455+
<div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
456+
<div class="text_cell_render border-box-sizing rendered_html">
457+
<h2 id="Versioning">Versioning<a class="anchor-link" href="#Versioning"> </a></h2>
458+
</div>
459+
</div>
460+
</div>
461+
<div class="cell border-box-sizing text_cell rendered"><div class="inner_cell">
462+
<div class="text_cell_render border-box-sizing rendered_html">
463+
<p>We version our package via <a href="https://semver.org">semantic versioning</a>, i.e.,</p>
464+
<ul>
465+
<li>We use three digits separated by points x1.x2.x3, e.g. 0.5.1</li>
466+
<li>We increase x1 (the major version) if we introduce breaking changes<ul>
467+
<li>Exception: Versions with 0 at the beginning (e.g. 0.5.1) mean that the package is not stable yet and therefore every new feature could be a breaking change</li>
468+
</ul>
469+
</li>
470+
<li>We increase x2 (the minor version) if we introduce a new feature</li>
471+
<li>We increase x3 (the patch version) if we fix a bug</li>
472+
</ul>
473+
<p>New documentation, refactoring / maintenance of code and admin tasks do not change the versions.</p>
474+
<p>You can follow the changes introduced by each version in our <a href="https://github.com/PabloRMira/sql_formatter/blob/master/CHANGELOG.md">CHANGELOG</a></p>
475+
452476
</div>
453477
</div>
454478
</div>

nbs/index.ipynb

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,30 @@
398398
"5. Everything not being a query of the form `CREATE ... TABLE / VIEW` or `SELECT ...` is left unchanged"
399399
]
400400
},
401+
{
402+
"cell_type": "markdown",
403+
"metadata": {},
404+
"source": [
405+
"## Versioning"
406+
]
407+
},
408+
{
409+
"cell_type": "markdown",
410+
"metadata": {},
411+
"source": [
412+
"We version our package via [semantic versioning](https://semver.org), i.e., \n",
413+
"\n",
414+
"* We use three digits separated by points x1.x2.x3, e.g. 0.5.1\n",
415+
"* We increase x1 (the major version) if we introduce breaking changes\n",
416+
" * Exception: Versions with 0 at the beginning (e.g. 0.5.1) mean that the package is not stable yet and therefore every new feature could be a breaking change\n",
417+
"* We increase x2 (the minor version) if we introduce a new feature\n",
418+
"* We increase x3 (the patch version) if we fix a bug\n",
419+
"\n",
420+
"New documentation, refactoring / maintenance of code and admin tasks do not change the versions.\n",
421+
"\n",
422+
"You can follow the changes introduced by each version in our [CHANGELOG](https://github.com/PabloRMira/sql_formatter/blob/master/CHANGELOG.md)"
423+
]
424+
},
401425
{
402426
"cell_type": "markdown",
403427
"metadata": {},

0 commit comments

Comments
 (0)