Skip to content

databases(documentdb): document the MongoDB-compatible option - #1018

Draft
sebartyr wants to merge 251 commits into
mainfrom
databases/documentdb
Draft

sebartyr wants to merge 251 commits into
mainfrom
databases/documentdb

Conversation

@sebartyr

@sebartyr sebartyr commented Sep 15, 2026 •

Copy link
Copy Markdown
Member

Summary

  • New page doc/deploy/databases/documentdb: create a PostgreSQL add-on with --option documentdb=true, environment variables, connection examples (mongosh, Node.js, Python), MongoDB compatibility level (MongoDB 7.0 / wire protocol 21, verified and unavailable features), clustering and high availability, SQL access to documents, backups and restore
  • New guide guides/node-js-documentdb deploying the sticky notes demo (Express + mongodb driver, per-visitor sandbox, reset button)
  • Cross-links from the PostgreSQL and MongoDB pages
  • Side fixes: clever addon link → clever service link-addon in the Node.js & MongoDB guide, corrupted mongo icon markup in data/icons.yaml, Vale vocabulary

Verification

Every documented command and behaviour was run against a real PostgreSQL 18 add-on created with the option: TLS requirement, environment variables, mongosh 2.11, Node.js driver 7.6, PyMongo 4.18, feature matrix (transactions with rollback, GridFS, TTL, vector search, unsupported change streams…), SQL queries on documentdb_api.collection(), pg_dump --exclude-schema=cron. The demo was deployed on Clever Cloud and data persisted across clever restart.

hugo, markdownlint-cli2 and vale pass; tabs, callout, cards and internal links were checked in the generated HTML.

Open points

  • The demo repository CleverCloud/demo-documentdb still needs to be published before merge
  • DOCUMENTDB_ADDON_URI doesn't carry the TLS parameters yet (tracked on the API side); the page keeps a callout and explicit driver options until then
  • To confirm with DBaaS: the option on PostgreSQL 18 (works in production)
  • Read replicas: the page states they aren't available for the MongoDB-compatible endpoint (PostgreSQL replicas only serve the SQL endpoint, and the gateway offers no secondary routing)

davlgd and others added 30 commits April 24, 2026 16:38
Co-Authored-By: Gilles BIANNIC <github@gillesbiannic.fr>
## 📝 What does this PR do?

_Briefly describe your changes and why they are needed_


## 🔗 Related Issue (if applicable)

- Closes #
- Related to #

---

## 🧪 Type of Change

- [ ] ⚠️ Bug fix
- [ ] 📅 Changelog update
- [ ] 📚 Documentation update
- [ ] ✨ New content/feature
- [ ] 🔧 Technical/maintenance

---

## ✅ Quick Checklist

- [ ] I have read the [contributing
guidelines](https://github.com/CleverCloud/documentation/blob/main/CONTRIBUTING.md)
- [ ] The content is accurate and links work
- [ ] The site builds without errors

---

## 👥 Reviewers

@CleverCloud/reviewers

---

<details>
<summary>📋 <strong>For major changes</strong> (click to
expand)</summary>

### Additional testing performed
_Describe any specific testing done for complex changes_

### Screenshots
_Add screenshots for visual/layout changes_

### Breaking changes
_List any breaking changes or migration notes_

</details>

---------

Co-authored-by: Steven Le Roux <steven@le-roux.info>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
## 📝 What does this PR do?

This PR introduces a new "API update" style of changelog entry, starting
with the new CC API endpoint that rotates the GitHub webhook secret of
an application and its siblings.

---

## 🧪 Type of Change

- [ ] ⚠️ Bug fix
- [x] 📅 Changelog update
- [x] 📚 Documentation update
- [ ] ✨ New content/feature
- [ ] 🔧 Technical/maintenance

---

## ✅ Quick Checklist

- [x] I have read the [contributing
guidelines](https://github.com/CleverCloud/documentation/blob/main/CONTRIBUTING.md)
- [x] The content is accurate and links work
- [x] The site builds without errors
davlgd and others added 20 commits September 11, 2026 16:23
@github-actions

github-actions Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

✅ Review app deployed

Check how your changes look like!

ℹ️ Name 🔗 Infos & links
🌱 Latest deployed commit 57ee9b3
👁️ Preview https://documentation-PR-1018.cleverapps.io/developers

@sebartyr
sebartyr force-pushed the databases/documentdb branch from 6333be4 to fcfb856 Compare September 15, 2026 16:55
@sebartyr
sebartyr marked this pull request as draft September 15, 2026 16:59

This branch was previously deployed

1 inactive deployment
update doc — 57ee9b30 Deployed Sep 15, 2026 by sebartyr via Check externally maintained guides #1615
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.