9.0.0.md
This document only highlights specific changes that require a longer explanation. For a full list of changes in Parse Server 9 please refer to the changelog.
Parse Server 9 standardizes the route pattern syntax across cloud routes and rate-limiting to use the new path-to-regexp v8 style. This update introduces validation and a clear deprecation error for the old wildcard route syntax.
Update your rate limit configurations to use the new path-to-regexp v8 syntax:
| Old Syntax (deprecated) | New Syntax (v8) |
|---|---|
/functions/* | /functions/*path |
/classes/* | /classes/*path |
/* | /*path |
* | *path |
Before:
rateLimit: {
requestPath: '/functions/*',
requestTimeWindow: 10000,
requestCount: 100
}
After:
rateLimit: {
requestPath: '/functions/*path',
requestTimeWindow: 10000,
requestCount: 100
}
[!Note] Consult the path-to-regexp v8 docs and the Express 5 migration guide for more details on the new path syntax.