Sai Tarrun Pitta
0d5ecfae67
Fix mounting sub-applications under APIRouter ( #10180 )
Sub-apps mounted on an APIRouter were silently dropped when the router
was included into a FastAPI app via include_router(), causing 404s for
any path under the mount (e.g. GET /api/subapi/sub).
Two changes:
1. APIRouter.mount() override — prepends self.prefix to the path before
delegating to Router.mount(), matching the behaviour of add_api_route
which already does `self.prefix + path`. This ensures the stored
route.path is consistent whether the mount is registered on the router
or on the app directly.
2. include_router() Mount branch — a new `elif isinstance(route, routing.Mount)`
case forwards mounted sub-applications with `prefix + route.path`,
exactly as is done for every other route type (Route, APIRoute,
WebSocketRoute).
Both prefixes compose correctly: router-level prefix and include_router
prefix stack in the same way as for ordinary endpoints.
Fixes #10180
4 months ago
github-actions[bot]
d128a7089a
📝 Update release notes
[skip ci]
4 months ago
dependabot[bot]
3b9d8481c5
⬆ Bump requests from 2.32.5 to 2.33.0 ( #15228 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
github-actions[bot]
937d3075f9
📝 Update release notes
[skip ci]
4 months ago
Sofie Van Landeghem
8238446b1b
👷 Add ty check to `lint.sh` ( #15136 )
4 months ago
github-actions[bot]
e2a0fd4ad8
📝 Update release notes
[skip ci]
4 months ago
Kadir Can Ozden
fa3588c38c
✏️ Fix typo for `client_secret` in OAuth2 form docstrings ( #14946 )
4 months ago
Sebastián Ramírez
25a3697ced
🔖 Release version 0.135.2
4 months ago
github-actions[bot]
ab125daa40
📝 Update release notes
[skip ci]
4 months ago
Sebastián Ramírez
122b6d490f
📝 Add missing last release notes dates ( #15202 )
4 months ago
github-actions[bot]
68ac0ab91e
📝 Update release notes
[skip ci]
4 months ago
Motov Yurii
ea6e287eb3
📝 Update docs for contributors and team members regarding translation PRs ( #15200 )
4 months ago
github-actions[bot]
d0a6f208c5
📝 Update release notes
[skip ci]
4 months ago
Motov Yurii
fd9e192cf4
💄 Fix code blocks in reference docs overflowing table width ( #15094 )
4 months ago
github-actions[bot]
fce9460f86
📝 Update release notes
[skip ci]
4 months ago
Motov Yurii
0227991a01
🔨 Exclude spam comments from statistics in `scripts/people.py` ( #15088 )
4 months ago
github-actions[bot]
cbd64b09a3
📝 Update release notes
[skip ci]
4 months ago
Sofie Van Landeghem
aeb9f4bb85
⬆️ Increase lower bound to `pydantic >=2.9.0.` and fix the test suite ( #15139 )
Co-authored-by: Motov Yurii <[email protected] >
4 months ago
github-actions[bot]
64feaec802
📝 Update release notes
[skip ci]
4 months ago
Sebastián Ramírez
12bbd9453f
🌐 Update translations for zh (update-outdated) ( #15177 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <[email protected] >
4 months ago
github-actions[bot]
453988f359
📝 Update release notes
[skip ci]
4 months ago
Sebastián Ramírez
fe98ea307a
🌐 Update translations for zh-hant (update-outdated) ( #15178 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <[email protected] >
4 months ago
github-actions[bot]
b7bd1874fe
📝 Update release notes
[skip ci]
4 months ago
dependabot[bot]
602ddc2e51
⬆ Bump authlib from 1.6.7 to 1.6.9 ( #15128 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sofie Van Landeghem <[email protected] >
4 months ago
github-actions[bot]
30bd2d5878
📝 Update release notes
[skip ci]
4 months ago
github-actions[bot]
a4e005c140
📝 Update release notes
[skip ci]
4 months ago
dependabot[bot]
6cd66ace1c
⬆ Bump pyasn1 from 0.6.2 to 0.6.3 ( #15143 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
dependabot[bot]
2fba244c3a
⬆ Bump ujson from 5.11.0 to 5.12.0 ( #15150 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months ago
github-actions[bot]
6cd1a2c75d
📝 Update release notes
[skip ci]
4 months ago
Sebastián Ramírez
df4417efa5
🌐 Update translations for zh-hant (add-missing) ( #15176 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
4 months ago
github-actions[bot]
1122d37676
📝 Update release notes
[skip ci]
4 months ago
Sebastián Ramírez
5ef5490bc4
🌐 Update translations for zh (add-missing) ( #15175 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
4 months ago
github-actions[bot]
b4f81b40a8
📝 Update release notes
[skip ci]
4 months ago
Sebastián Ramírez
311ce1cfa5
🌐 Update translations for ja (update-outdated) ( #15171 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <[email protected] >
4 months ago
github-actions[bot]
92cc0bd9de
📝 Update release notes
[skip ci]
4 months ago
Sebastián Ramírez
7e63d4250a
🌐 Update translations for ko (update-outdated) ( #15170 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <[email protected] >
4 months ago
github-actions[bot]
9d6ee88e8f
📝 Update release notes
[skip ci]
4 months ago
Sebastián Ramírez
d90c38572b
🌐 Update translations for tr (update-outdated) ( #15172 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <[email protected] >
4 months ago
github-actions[bot]
a28b785ed7
📝 Update release notes
[skip ci]
4 months ago
Sebastián Ramírez
07dfa9a5ae
🌐 Update translations for ko (add-missing) ( #15168 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
4 months ago
github-actions[bot]
019471bc6c
📝 Update release notes
[skip ci]
4 months ago
Sebastián Ramírez
bd1305c796
🌐 Update translations for ja (add-missing) ( #15167 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
4 months ago
github-actions[bot]
bdb0b2d6dd
📝 Update release notes
[skip ci]
4 months ago
Sebastián Ramírez
f00bd2be07
🌐 Update translations for tr (add-missing) ( #15169 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
4 months ago
github-actions[bot]
aa62c2f8df
📝 Update release notes
[skip ci]
4 months ago
Sebastián Ramírez
fdf31c110b
🌐 Update translations for fr (update-outdated) ( #15165 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <[email protected] >
4 months ago
github-actions[bot]
c457177969
📝 Update release notes
[skip ci]
4 months ago
Sebastián Ramírez
98d3f9a2e8
🌐 Update translations for fr (add-missing) ( #15163 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
4 months ago
github-actions[bot]
fe5332fbed
📝 Update release notes
[skip ci]
4 months ago
Sebastián Ramírez
f97b72a754
🌐 Update translations for uk (update-outdated) ( #15160 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yurii Motov <[email protected] >
4 months ago