Skip to content

Merge v1.21 changes that were merged into master into v2.0 #216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 58 commits into from
Mar 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
eb0d6e7
use sharedincludes in compat page
rustagir Oct 2, 2024
2a75b9c
add source constants for versions
rustagir Oct 2, 2024
d5a0d20
delete files for old build system
rustagir Oct 2, 2024
b7125f9
adds more info to v1.20 whats new
rustagir Oct 2, 2024
a04544f
Fix compatibility table
jordan-smith721 Oct 3, 2024
1f72f82
(DOCSP-44298) Removed EOL'd v1.16 and earlier. (#165) (#166)
elyse-mdb Oct 21, 2024
f76e0c0
DOCSP-44903 Shorten TOC Labels (#176)
lindseymoore Nov 7, 2024
8c7e3af
PHPLIB-1278: FAQ entry on connection persistence
jmikola Nov 11, 2024
edc759a
Address vale lint checks on word usage
jmikola Nov 11, 2024
da7b1e4
Docs edits
rustagir Nov 11, 2024
892f121
Merge pull request #178 from jmikola/1.20-phplib-1278
rustagir Nov 12, 2024
02755ef
Merge pull request #181 from mcmorisi/DRIVERS-2658-hint
mcmorisi Dec 2, 2024
ad72d35
(DOCSP-45749) Denests last phase 1 nested components (#182)
sarahsimpers Dec 3, 2024
6c72463
DOCSP-45100: Delete and rename by name (#187)
norareidy Dec 9, 2024
7c13ef6
bring master changes into v1.21
rustagir Feb 4, 2025
033cd67
DOCSP-44644: db/coll accessor methods
rustagir Feb 4, 2025
ed284fa
fix spacing
rustagir Feb 4, 2025
a35bd9f
vale action dependency
rustagir Feb 4, 2025
45b9fca
vale action dependency
rustagir Feb 4, 2025
e3b7abf
Merge pull request #191 from rustagir/DOCSP-44644-dbcoll-accessor-ali…
rustagir Feb 4, 2025
1442347
DOCSP-45100: GridFS methods api docs (#196)
norareidy Feb 7, 2025
ddff766
DOCSP-45100: GridFS methods api docs (#196)
norareidy Feb 7, 2025
e09b124
DOCSP-43365: type specification for createSearchIndex(es)
rustagir Feb 7, 2025
cd6a586
indentation fix
rustagir Feb 7, 2025
3b3ec37
indentation fix
rustagir Feb 7, 2025
f821030
add whats new entry
rustagir Feb 7, 2025
198fea0
indentation fix
rustagir Feb 7, 2025
7d9bfe8
SA PR fixes 1
rustagir Feb 10, 2025
6cc2ea7
Merge pull request #199 from rustagir/DOCSP-43365-createsearchindex-t…
rustagir Feb 10, 2025
586c4dd
DOCSP-43365: type specification for createSearchIndex(es)
rustagir Feb 7, 2025
3a0a251
indentation fix
rustagir Feb 7, 2025
c4e06a3
indentation fix
rustagir Feb 7, 2025
d080be4
add whats new entry
rustagir Feb 7, 2025
150d78d
SA PR fixes 1
rustagir Feb 10, 2025
e1ed056
DOCSP-43457: builderEncoder option (#200)
norareidy Feb 10, 2025
263bead
DOCSP-43457: builderEncoder option (#200)
norareidy Feb 10, 2025
1543f93
DOCSP-44237 flags Option deprecation on v2.21 (#201)
lindseymoore Feb 10, 2025
3daba83
DOCSP-45770: atlas search queries (#197)
rustagir Feb 11, 2025
ba91a37
DOCSP-45878: Transactions parallelism note (#204)
norareidy Feb 13, 2025
d2c1afb
DOCSP-45878: Transactions parallelism note (#204)
norareidy Feb 13, 2025
bc9c0e2
DOCSP-43919: aggregation builder (#203)
rustagir Feb 13, 2025
bf6ac8a
DOCSP-46127: Update manual link (#205)
norareidy Feb 13, 2025
5250d43
DOCSP-46127: Update manual link (#205)
norareidy Feb 13, 2025
8ed8dde
DOCSP-47690: aws lambda tutorial (#207)
rustagir Feb 20, 2025
e729a2e
DOCSP-47690: aws lambda tutorial (#207)
rustagir Feb 20, 2025
ad837c7
add redirect for aws lambda page
rustagir Feb 20, 2025
4c8c96a
change title to avoid duplicate
shuangela Feb 26, 2025
5fac1c2
change toc
shuangela Feb 26, 2025
73113d1
change url and add redirects
shuangela Feb 27, 2025
e5925c2
add back old ref based on rea's feedback
shuangela Feb 27, 2025
9215f3a
change redirect
shuangela Feb 27, 2025
22e71d1
Merge pull request #208 from shuangela/DOCSP-46751-change-connect-dup…
shuangela Feb 28, 2025
11abc1b
fix merge conflicts
rustagir Feb 28, 2025
71db4f2
fix merge issues
rustagir Feb 28, 2025
ea01e2d
use regular includes on master
rustagir Feb 28, 2025
67adb57
DOCSP-47970: v1.21 release (#212)
rustagir Feb 28, 2025
27f42bc
JT small fix (#209)
rustagir Mar 3, 2025
e6182b8
DOCSP-43464: operations with builders (#206)
rustagir Mar 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ on:

env:
PHP_VERSION: "8.2"
# TODO: change to "stable" once 1.20.0 is released
# DRIVER_VERSION: "stable"
DRIVER_VERSION: "mongodb/mongo-php-driver@master"
DRIVER_VERSION: "stable"

jobs:
phpcs:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ on:

env:
PHP_VERSION: "8.2"
# TODO: change to "stable" once 1.20.0 is released
# DRIVER_VERSION: "stable"
DRIVER_VERSION: "mongodb/mongo-php-driver@master"
DRIVER_VERSION: "stable"

jobs:
psalm:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/vale-tdbx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ jobs:
- id: files
uses: masesgroup/retrieve-changed-files@v2
with:
format: 'csv'
format: "csv"

- name: checkout-latest-rules
uses: actions/checkout@v4
with:
repository: mongodb/mongodb-vale-action
path: './tdbx-vale-rules'
path: "./tdbx-vale-rules"
token: ${{secrets.GITHUB_TOKEN}}

- name: move-files-for-vale-action
run: |
cp tdbx-vale-rules/.vale.ini .vale.ini
mkdir -p .github/styles/
cp -rf tdbx-vale-rules/.github/styles/ .github/
cp tdbx-vale-rules/.vale.ini .vale.ini
mkdir -p .github/styles/
cp -rf tdbx-vale-rules/.github/styles/ .github/

- name: run-vale
uses: errata-ai/vale-action@reviewdog
Expand Down
13 changes: 10 additions & 3 deletions config/redirects
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
define: base https://www.mongodb.com/docs/php-library
define: prefix docs/php-library
raw: ${prefix}/ -> ${base}/current
define: versions v1.16 v1.17 v1.18 v1.19 v1.20 master
define: versions v1.16 v1.17 v1.18 v1.19 v1.20 v1.21 master
symlink: upcoming -> master
symlink: current -> v1.20
symlink: current -> v1.21

# general redirects
[v1.17-v1.19]: ${prefix}/${version}/tutorial/client-side-encryption/ -> ${base}/${version}/tutorial/encryption/
[v1.16]: ${prefix}/${version}/tutorial/encryption/ -> ${base}/${version}/
[v1.20-*]: ${prefix}/${version}/get-started/connect-to-mongodb -> ${base}/${version}/get-started/run-sample-query/
[*-v1.20]: ${prefix}/${version}/aggregation/atlas-search -> ${base}/${version}/aggregation/
[*-v1.20]: ${prefix}/${version}/aggregation/vector-search -> ${base}/${version}/aggregation/
[*-v1.20]: ${prefix}/${version}/builders -> ${base}/${version}/

# standardization redirects

Expand All @@ -25,9 +30,9 @@ symlink: current -> v1.20
[v1.20-*]: ${prefix}/${version}/tutorial/indexes/ -> ${base}/${version}/indexes/
[v1.20-*]: ${prefix}/${version}/tutorial/tailable-cursor/ -> ${base}/${version}/read/cursor/
[v1.20-*]: ${prefix}/${version}/tutorial/example-data/ -> ${base}/${version}/
[v1.20-*]: ${prefix}/${version}/tutorial/aws-lambda/ -> ${base}/${version}/
[v1.20-*]: ${prefix}/${version}/tutorial/modeling-bson-data/ -> ${base}/${version}/data-formats/modeling-bson-data/
[v1.20-*]: ${prefix}/${version}/tutorial/stable-api/ -> ${base}/${version}/stable-api/
[v1.20-*]: ${prefix}/${version}/tutorial/aws-lambda/ -> ${base}/${version}/aws-lambda/

# redirects in old docs
# note: this mapping does not account for all of the new pages
Expand All @@ -46,3 +51,5 @@ symlink: current -> v1.20
[*-v1.19]: ${prefix}/${version}/data-formats/modeling-bson-data/ -> ${base}/${version}/tutorial/modeling-bson-data/
[*-v1.19]: ${prefix}/${version}/stable-api/ -> ${base}/${version}/tutorial/stable-api/
[*-v1.19]: ${prefix}/${version}/whats-new/ -> ${base}/${version}/
[*-v1.19]: ${prefix}/${version}/aws-lambda/ -> ${base}/${version}/tutorial/aws-lambda/

5 changes: 3 additions & 2 deletions snooty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ toc_landing_pages = [
"/security",
"/data-formats",
"/upgrade",
"/aggregation",
]

sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
Expand All @@ -38,15 +39,15 @@ php-library = "MongoDB PHP Library"

[constants]
php-library = "MongoDB PHP Library"
version = "1.20"
version = "1.21"
source-gh-branch = "v1.x"
full-version = "{+version+}.0"
extension-short = "PHP extension"
mdb-server = "MongoDB Server"
stable-api = "Stable API"
library-short = "PHP library"
driver-short = "{+library-short+}"
api = "https://www.mongodb.com/docs/php-library/current/reference"
php-manual = "https://www.php.net/manual/en"
string-data-type = "``string``"
bool-data-type = "``bool``"
int-data-type = "``int``"
Loading
Loading