Skip to content

Commit 6dce3a5

Browse files
Add deprecation banner to Motor docs (#1007)
1 parent 5e1d081 commit 6dce3a5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

snooty.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,15 @@ stable-api = "Stable API"
2020
node-driver-long = "MongoDB Node.js Driver"
2121
node-driver-short = "Node.js Driver"
2222
atlas = "MongoDB Atlas"
23+
24+
[[banners]]
25+
targets = ["motor.txt"]
26+
variant = "warning"
27+
value = """
28+
As of May 14th, 2025, Motor has been sunset in favor of the GA release of the PyMongo Async API in Pymongo. \
29+
No new features will be added to Motor. Motor will be deprecated on May 14th, 2026, \
30+
and no further bug fixes will be released after deprecation, with the exception of critical bug fixes, which will be released until May 14th, 2027. \
31+
We strongly recommend that Motor users migrate to PyMongo Async while Motor is still supported. \
32+
To learn how to migrate from Motor to the PyMongo Async API, see the \
33+
`Migrate to PyMongo Async guide <https://www.mongodb.com/docs/languages/python/pymongo-driver/current/reference/migration/>`__.
34+
"""

0 commit comments

Comments
 (0)