Skip to content

Commit da97f9b

Browse files
committed
DOCSP-44581: v2 release (#234)
* DOCSP-44581: v2 release * small fix (cherry picked from commit 14380e9)
1 parent d995e2b commit da97f9b

File tree

5 files changed

+22
-6
lines changed

5 files changed

+22
-6
lines changed

Diff for: config/redirects

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
define: base https://www.mongodb.com/docs/php-library
22
define: prefix docs/php-library
33
raw: ${prefix}/ -> ${base}/current
4-
define: versions v1.16 v1.17 v1.18 v1.19 v1.20 v1.21 master
4+
define: versions v1.16 v1.17 v1.18 v1.19 v1.20 v1.21 v2.0 master
5+
56
symlink: upcoming -> master
6-
symlink: current -> v1.21
7+
symlink: current -> v2.0
78

89
# general redirects
910
[v1.17-v1.19]: ${prefix}/${version}/tutorial/client-side-encryption/ -> ${base}/${version}/tutorial/encryption/

Diff for: snooty.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ php-library = "MongoDB PHP Library"
3838

3939
[constants]
4040
php-library = "MongoDB PHP Library"
41-
version = "1.21"
42-
source-gh-branch = "v1.x"
41+
version = "2.0"
42+
source-gh-branch = "v2.x"
4343
full-version = "{+version+}.0"
4444
extension-short = "PHP extension"
4545
mdb-server = "MongoDB Server"

Diff for: source/includes/language-compatibility-table-php.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- PHP 7.3
1414
- PHP 7.2
1515

16-
* - ext + lib 1.21
16+
* - ext + lib 1.21 to 2.0
1717
- ✓
1818
- ✓
1919
- ✓

Diff for: source/includes/mongodb-compatibility-table-php.rst

+13-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,17 @@
1313
- MongoDB 4.0
1414
- MongoDB 3.6
1515

16-
* - ext + lib 1.20 to 1.21
16+
* - ext + lib 1.21 to 2.0
17+
- ✓
18+
- ✓
19+
- ✓
20+
- ✓
21+
- ✓
22+
- ✓
23+
- ✓ [#deprecation-note]_
24+
-
25+
26+
* - ext + lib 1.20
1727
- ✓
1828
- ✓
1929
- ✓
@@ -42,3 +52,5 @@
4252
- ✓
4353
- ✓
4454
- ✓
55+
56+
.. [#deprecation-note] Support for this MongoDB version is deprecated and will be removed in a future release.

Diff for: source/whats-new.txt

+3
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ and removals:
7070
examples that use this construction, see the
7171
:ref:`php-aggregation-builder-api` section of the Aggregation guide.
7272

73+
- Replaces ``Cursor`` type hints with ``CursorInterface`` for better
74+
extensibility and compatibility.
75+
7376
- Removes deprecated fields in GridFS types.
7477

7578
- The library does not calculate the ``md5`` field when a file is

0 commit comments

Comments
 (0)