1
1
.. _version-numbers:
2
2
3
- ==================
3
+ ===============
4
4
Version Numbers
5
- ==================
5
+ ===============
6
6
7
7
.. default-domain:: mongodb
8
8
@@ -18,7 +18,8 @@ Version Numbers
18
18
19
19
Versions are unique names assigned to product releases that are packaged
20
20
with a set of features at a specific point in time.
21
- MongoDB products follow semantic versioning (link to wikipedia).
21
+ MongoDB products follow `semantic versioning
22
+ <https://en.wikipedia.org/w/index.php?title=Software_versioning&oldid=1147438049>`__
22
23
Use version numbers or names to refer to a particular release of a product,
23
24
such as identifying when a new feature was introduced or removed.
24
25
@@ -92,7 +93,7 @@ You can find references to EOL releases of MonogDB using grep:
92
93
93
94
.. code-block:: shell
94
95
95
- $ grep -RI \
96
+ $ grep -nRI \
96
97
-e ".. versionadded:: [0-9]" \
97
98
-e ".. versionchanged:: [0-9]" \
98
99
-e ".. deprecated:: [0-9]" \
@@ -112,29 +113,5 @@ You can find references to EOL releases of MonogDB using grep:
112
113
source/sharding.txt:379:Starting in MongoDB 3.6, :doc:`change streams </changeStreams>` are
113
114
...
114
115
115
-
116
- This command could be added to a script and adjusted to work from an
117
- arbitrary directory:
118
-
119
- .. code-block:: bash
120
-
121
- grep -RIne ".. versionadded:: [0-9]" -e ".. versionchanged:: [0-9]" \
122
- -e ".. deprecated:: [0-9]" -e "MongoDB [0-9]" $1 | \
123
- grep -v "6\.2" | \
124
- grep -v "6\.1" | \
125
- grep -v "6\.0" | \
126
- grep -v "5\.3" | \
127
- grep -v "5\.1" | \
128
- grep -v "5\.0" | \
129
- grep -v "4\.4" | \
130
- grep -v "4\.2" | \
131
- grep -v "source/release-notes"
132
-
133
- To execute the script, call it with a path argument:
134
-
135
- .. code-block:: shell
136
-
137
- $ ./version.sh source
138
-
139
116
Whenever a release goes EOL, remove the relevant ``grep -v`` line to ensure that
140
117
its version references begin to appear in the results.
0 commit comments