-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
π Add Russian translation for docs/ru/docs/tutorial/security/index.md
#9963
π Add Russian translation for docs/ru/docs/tutorial/security/index.md
#9963
Conversation
β¦hub.com/eVery1337/fastapi into docs/ru/docs/tutorial/security/index.md
π Docs preview for commit ba4fd49 at: https://64c3f5ae73d5542927455717--fastapi.netlify.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ΠΠΎΠ±Π°Π²ΠΈΠ» ΠΏΠ°ΡΡ ΡΠ΅Ρ Π½ΠΈΡΠ΅ΡΠΊΠΈΡ ΠΈΡΠΏΡΠ°Π²Π»Π΅Π½ΠΈΠΉ, Π² ΠΎΡΡΠ°Π»ΡΠ½ΠΎΠΌ ΠΏΠ΅ΡΠ΅Π²ΠΎΠ΄ Ρ ΠΎΡΠΎΡΠΈΠΉπ
Fix some quotes and type of tip blocks Co-authored-by: dedkot <dedkot01@gmail.com>
π Docs preview for commit 6baf1a7 at: https://64c4c917457ce74d1a868bf7--fastapi.netlify.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Π ΡΠ΅Π»ΠΎΠΌ Ρ
ΠΎΡΠΎΡΠΎ ΠΈ ΡΠ²ΠΎΡΡΠ΅ΡΠΊΠΈ, Π½ΠΎ Π²ΡΡ ΠΆΠ΅ Ρ
ΠΎΡΠ΅Π»ΠΎΡΡ Π±Ρ ΡΡΠΎΡΠ½Π΅Π½ΠΈΡ ΡΠ΅ΡΠΌΠΈΠ½Π° "ΠΠ΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ". ΠΠ΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎ Π»ΠΈ ΡΠ°Π·Π²ΠΎΡΠ°ΡΠΈΠ²Π°ΡΡ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅ Π½Π° 1 ΡΠ΄ΡΠ΅ ΠΈ 1 ΠΠ RAM? ΠΠ΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎ Π»ΠΈ ΡΠ°Π·ΠΌΠ΅ΡΠ°ΡΡ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅ Π² AWS ΠΈΠ»ΠΈ Π―Π½Π΄Π΅ΠΊΡ.ΠΠ±Π»Π°ΠΊΠ΅?
ΠΡΠΈ Π²ΠΎΠΏΡΠΎΡΡ ΡΠΎΠ΄Π΅ΡΠΆΠ°Ρ ΡΠ΅ΡΠΌΠΈΠ½ "Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ", Π½ΠΎ Π½Π° Π½ΠΈΡ
Π½Π΅Ρ ΠΎΡΠ²Π΅ΡΠΎΠ² Π² ΡΡΠΎΠΌ ΡΠ°Π·Π΄Π΅Π»Π΅, ΠΏΠΎΡΠΎΠΌΡ ΡΡΠΎ ΡΡΠΎΡ ΡΠ°Π·Π΄Π΅Π» ΠΏΡΠΎ Π°ΡΡΠ΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΈΠΈ.
@@ -0,0 +1,101 @@ | |||
# ΠΠ΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ΠΠΎΠ²ΠΎΠ»ΡΠ½ΠΎ ΡΠ°Π·ΠΌΡΡΡΠΉ ΡΠ΅ΡΠΌΠΈΠ½, Π½Π΅ ΠΊΠΎΠΈΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠΌ Π½Π΅ Π΄Π°ΡΡΠΈΠΉ ΠΏΠΎΠ½ΠΈΠΌΠ°Π½ΠΈΠ΅ - ΠΎ ΡΡΠΌ ΠΈΠ΄ΡΡ ΡΠ΅ΡΡ.
# ΠΠ΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ | |
# ΠΠ°ΡΡΡΠΎΠΉΠΊΠ° Π΄ΠΎΡΡΡΠΏΠΎΠ² ΠΊ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΡ |
|
||
ΠΠΎ ΠΌΠ½ΠΎΠ³ΠΈΡ ΡΡΠ΅ΠΉΠΌΠ²ΠΎΡΠΊΠ°Ρ ΠΈ ΡΠΈΡΡΠ΅ΠΌΠ°Ρ ΡΠΎΠ»ΡΠΊΠΎ ΠΎΠ±ΡΠ°Π±ΠΎΡΠΊΠ° Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ ΠΈ Π°ΡΡΠ΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΈΠΈ ΡΡΠ΅Π±ΡΠ΅Ρ Π±ΠΎΠ»ΡΡΠΈΡ ΡΡΠΈΠ»ΠΈΠΉ ΠΈ ΠΌΠ½ΠΎΠΆΠ΅ΡΡΠ²ΠΎ ΠΊΠΎΠ΄Π° (Π²ΠΎ ΠΌΠ½ΠΎΠ³ΠΈΡ ΡΠ»ΡΡΠ°ΡΡ ΠΌΠΎΠΆΠ΅Ρ ΡΠΎΡΡΠ°Π²Π»ΡΡΡ Π±ΠΎΠ»Π΅Π΅ 50% ΠΎΡ Π²ΡΠ΅Π³ΠΎ Π½Π°ΠΏΠΈΡΠ°Π½Π½ΠΎΠ³ΠΎ ΠΊΠΎΠ΄Π°). | ||
|
||
**FastAPI** ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΎ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠΎΠ², ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΠΎΠΌΠΎΠ³ΡΡ Π²Π°ΠΌ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΡΡ **ΠΠ΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ** Π»Π΅Π³ΠΊΠΎ, Π±ΡΡΡΡΠΎ, ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΡΠΌ ΡΠΏΠΎΡΠΎΠ±ΠΎΠΌ, Π±Π΅Π· Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΡΡΠΈ ΠΈΠ·ΡΡΠ°ΡΡ Π²ΡΠ΅ Π΅Ρ ΡΠΎΠ½ΠΊΠΎΡΡΠΈ. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**FastAPI** ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΎ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠΎΠ², ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΠΎΠΌΠΎΠ³ΡΡ Π²Π°ΠΌ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΡΡ **ΠΠ΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ** Π»Π΅Π³ΠΊΠΎ, Π±ΡΡΡΡΠΎ, ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΡΠΌ ΡΠΏΠΎΡΠΎΠ±ΠΎΠΌ, Π±Π΅Π· Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΡΡΠΈ ΠΈΠ·ΡΡΠ°ΡΡ Π²ΡΠ΅ Π΅Ρ ΡΠΎΠ½ΠΊΠΎΡΡΠΈ. | |
**FastAPI** ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΎ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠΎΠ², ΠΊΠΎΡΠΎΡΡΠ΅ ΠΏΠΎΠΌΠΎΠ³ΡΡ Π²Π°ΠΌ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠΈΡΡ Π½Π°ΡΡΡΠΎΠΉΠΊΠΈ **Π΄ΠΎΡΡΡΠΏΠΎΠ²** Π»Π΅Π³ΠΊΠΎ, Π±ΡΡΡΡΠΎ, ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΡΠΌ ΡΠΏΠΎΡΠΎΠ±ΠΎΠΌ, Π±Π΅Π· Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΡΡΠΈ ΠΈΠ·ΡΡΠ°ΡΡ Π²ΡΠ΅ Π΅Ρ ΡΠΎΠ½ΠΊΠΎΡΡΠΈ. |
OAuth2 Π½Π΅ ΡΠΊΠ°Π·ΡΠ²Π°Π΅Ρ, ΠΊΠ°ΠΊ ΡΠΈΡΡΠΎΠ²Π°ΡΡ ΡΠΎΠΎΠ±ΡΠ΅Π½ΠΈΠ΅, ΠΎΠ½ ΠΎΠΆΠΈΠ΄Π°Π΅Ρ, ΡΡΠΎ Π²Π°ΡΠ΅ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅ Π±ΡΠ΄Π΅Ρ ΠΎΠ±ΡΠ»ΡΠΆΠΈΠ²Π°ΡΡΡΡ ΠΏΠΎ ΠΏΡΠΎΡΠΎΠΊΠΎΠ»Ρ HTTPS. | ||
|
||
!!! tip "ΠΠΎΠ΄ΡΠΊΠ°Π·ΠΊΠ°" | ||
Π ΡΠ°Π·Π΄Π΅Π»Π΅ **Π Π°Π·Π²Π΅ΡΡΡΠ²Π°Π½ΠΈΠ΅** Π²Ρ ΡΠ²ΠΈΠ΄ΠΈΡΠ΅ [ΠΊΠ°ΠΊ Π½Π°ΡΡΡΠΎΠΈΡΡ ΠΏΡΠΎΡΠΎΠΊΠΎΠ» HTTPS Π±Π΅ΡΠΏΠ»Π°ΡΠ½ΠΎ, ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΡ Traefik ΠΈ Let's Encrypt.](https://fastapi.tiangolo.com/ru/deployment/https/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Π ΠΎΡΠΈΠ³ΠΈΠ½Π°Π»Π΅ ΡΡΡΠ»ΠΊΠΈ Π½Π΅Ρ, Π½ΠΎ ΠΏΠΎΠ»Π΅Π·Π½ΠΎΠ΅ Π²Π½Π΅Π΄ΡΠ΅Π½ΠΈΠ΅.
|
||
Π’Π°ΠΊΠΈΠΌ ΠΎΠ±ΡΠ°Π·ΠΎΠΌ, Π²Ρ ΠΌΠΎΠΆΠ΅ΡΠ΅ Π²ΠΎΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡΡΡ ΠΏΡΠ΅ΠΈΠΌΡΡΠ΅ΡΡΠ²Π°ΠΌΠΈ ΠΡΠ΅Ρ ΡΡΠΈΡ ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΡΡ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΠΎΠ², Π²ΠΊΠ»ΡΡΠ°Ρ ΠΈΠ½ΡΠ΅ΡΠ°ΠΊΡΠΈΠ²Π½ΡΠ΅ ΡΠΈΡΡΠ΅ΠΌΡ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠΈΡΠΎΠ²Π°Π½ΠΈΡ. | ||
|
||
OpenAPI ΠΌΠΎΠΆΠ΅Ρ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΡΠ»Π΅Π΄ΡΡΡΠΈΠ΅ ΡΡ Π΅ΠΌΡ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OpenAPI ΠΌΠΎΠΆΠ΅Ρ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΡΠ»Π΅Π΄ΡΡΡΠΈΠ΅ ΡΡ Π΅ΠΌΡ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ: | |
8000 | OpenAPI ΠΌΠΎΠΆΠ΅Ρ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΡΠ»Π΅Π΄ΡΡΡΠΈΠ΅ ΡΡ Π΅ΠΌΡ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠ΅Π½ΠΈΡ Π΄ΠΎΡΡΡΠΏΠ° ΠΊ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΡ: |
* `bearer`: Π·Π°Π³ΠΎΠ»ΠΎΠ²ΠΎΠΊ `Authorization` ΡΠΎ Π·Π½Π°ΡΠ΅Π½ΠΈΠ΅ΠΌ `Bearer {ΡΠ½ΠΈΠΊΠ°Π»ΡΠ½ΡΠΉ ΡΠΎΠΊΠ΅Π½}`. ΠΡΠΎ ΡΠ½Π°ΡΠ»Π΅Π΄ΠΎΠ²Π°Π½ΠΎ ΠΎΡ OAuth2. | ||
* ΠΠ°Π·ΠΎΠ²Π°Ρ Π°ΡΡΠ΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΈΡ ΠΏΠΎ ΠΏΡΠΎΡΠΎΠΊΠΎΠ»Ρ HTTP. | ||
* HTTP Digest ΠΈ Ρ.Π΄. | ||
* `oauth2`: Π²ΡΠ΅ ΡΠΏΠΎΡΠΎΠ±Ρ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠ΅Π½ΠΈΡ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΠΈ OAuth2 (Π½Π°Π·ΡΠ²Π°Π΅ΠΌΡΠ΅ "flows"). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Π₯ΠΎΡΠ΅Π»ΠΎΡΡ Π±Ρ ΡΡΠ»ΡΡΠ°ΡΡ ΠΊΠΎΠΌΠΌΠ΅Π½ΡΠ°ΡΠΈΠΈ ΡΠΎΠΎΠ±ΡΠ΅ΡΡΠ²Π° ΠΏΠΎ ΡΠ΅ΡΠΌΠΈΠ½Ρ "flows", Π½Π΅ Π²ΡΠΏΠΎΠΌΠΈΠ½Π°Π΅ΡΡΡ ΡΠΈΡΠΎΠΊΠΎΠ³ΠΎ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΡ ΡΠ΅Π³ΠΎ Π² ΡΡ-ΡΠ΅Π³ΠΌΠ΅Π½ΡΠ΅...
Π Ρ ΠΎΡΠΎΡΠΎ, ΡΡΠΎ ΡΠΊΠ°Π·Π°Π»ΠΈ ΡΡΡΠ»ΠΊΡ Π½Π° ΠΎΡΠΈΠ³ΠΈΠ½Π°Π»! ΠΠ°ΠΊ ΡΠ°Π½ΡΡΠ΅ Π½Π΅ ΠΏΡΠΈΡ ΠΎΠ΄ΠΈΠ»ΠΎ ΡΠ°ΠΊΠΎΠ΅ Π² Π³ΠΎΠ»ΠΎΠ²Ρ... |
Π‘ΠΎΠ³Π»Π°ΡΠ΅Π½, ΡΡΠΎ ΡΠ΅ΡΠΌΠΈΠ½ Π±Π΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ Π½Π΅ Π² ΠΏΠΎΠ»Π½ΠΎΠΉ ΠΌΠ΅ΡΠ΅ ΠΎΡΡΠ°ΠΆΠ°Π΅Ρ ΡΠΎΠ΄Π΅ΡΠΆΠ°Π½ΠΈΠ΅ ΡΠ°Π·Π΄Π΅Π»Π°. Π ΡΠ°ΠΊΠΎΠΌ ΡΠ»ΡΡΠ°Π΅ ΠΏΡΠ΅Π΄Π»Π°Π³Π°Ρ ΠΏΠΎΠΌΠ΅Π½ΡΡΡ Π΅Π³ΠΎ Π½Π° "ΠΠ°ΡΡΡΠΎΠΉΠΊΠ° Π°Π²ΡΠΎΡΠΈΠ·Π°ΡΠΈΠΈ" ΠΈΠ»ΠΈ "ΠΠ°ΡΡΡΠΎΠΉΠΊΠ° Π°ΡΡΠ΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΈΠΈ". Π’Π΅ΡΠΌΠΈΠ½ "Π°Π²ΡΠΎΡΠΈΠ·Π°ΡΠΈΡ" Π² ΡΡ ΡΠ΅Π³ΠΌΠ΅Π½ΡΠ΅ Π°ΡΡΠΎΡΠΈΠΈΡΡΠ΅ΡΡΡ Π±ΠΎΠ»ΡΡΠ΅ Ρ Π΄Π΅ΠΉΡΡΠ²ΠΈΡΠΌΠΈ Π·Π°Π»ΠΎΠ³ΠΈΠ½ΠΈΡΡΡΡ ΠΊΡΠ΄Π°-Π»ΠΈΠ±ΠΎ. ΠΠ°ΠΏΡΠΈΠΌΠ΅Ρ, ΠΏΡΠΈ ΠΏΠ΅ΡΠ΅Π²ΠΎΠ΄Π΅ Π½Π° ΡΡΡΡΠΊΠΈΠΉ ΡΠ»ΠΎΠ²Π° "Authorization" ΠΏΠ΅ΡΠ²ΡΠΌ Π½Π° ΡΠΌ ΠΈΠ΄Π΅Ρ Π°Π½Π³Π»ΠΈΡΠΈΠ·ΠΌ. ΠΠ° ΠΈ Π³Π»Π°Π·Π°ΠΌΠΈ Π±ΡΠ΄Π΅Ρ Π»Π΅Π³ΡΠ΅ Π½Π°ΠΉΡΠΈ. ΠΠ»Ρ ΡΠ΅ΡΠΌΠΈΠ½Π° "flow" ΡΠ°ΠΊΠΆΠ΅ Π±ΡΠ»ΠΎ Π½Π°ΠΉΠ΄Π΅Π½ΠΎ ΠΏΠ΅ΡΠ΅Π²ΠΎΠ΄Π°, ΠΎΡΡΠ°ΠΆΠ°ΡΡΠ΅Π³ΠΎ ΡΠΌΡΡΠ» ΠΏΠΎΠ½ΡΡΠΈΡ Π½Π° ΡΡΡΡΠΊΠΈΠΉ, Π½ΠΎ Π² Π΄Π°Π½Π½ΠΎΠΌ ΡΠ»ΡΡΠ°Π΅ Π½Π΅Ρ ΠΈ Π°Π½Π³Π»ΠΈΡΠΈΠ·ΠΌΠ°, ΠΏΠΎΡΡΠΎΠΌΡ ΡΠ΅ΡΠ΅Π½ΠΎ Π±ΡΠ»ΠΎ ΠΎΡΡΠ°Π²ΠΈΡΡ Π°Π½Π³Π»ΠΈΠΉΡΠΊΠΎΠ΅ ΡΠ»ΠΎΠ²ΠΎ. |
Π‘ΠΌΠΎΡΡΠ΅Π» Π·Π°ΠΌΠ΅ΡΠ°ΡΠ΅Π»ΡΠ½ΡΠ΅ Π»Π΅ΠΊΡΠΈΠΈ ΠΏΠΎ ΠΠ‘, ΡΠ°ΠΌ ΠΏΡΠΎΡΠ΅ΡΡΠΎΡ ΡΠΎΠΆΠ΅ Π·Π°ΠΌΠ΅ΡΠ°Π΅Ρ, ΡΡΠΎ ΡΡΠΆΠ΅Π»ΠΎ Ρ ΡΠ΅ΡΠΌΠΈΠ½Π°ΠΌΠΈ. ΠΡΠΎΠ±Π΅Π½Π½ΠΎ Ρ "ΠΏΠΎΡΠΎΠΊΠΎΠΌ". Π Π°Π½Π³Π»ΠΈΠΉΡΠΊΠΎΠΌ 3 ΡΠ°Π·Π½ΡΡ ΡΠ»ΠΎΠ²Π° Π΄Π»Ρ ΡΠ°Π·Π½ΡΡ ΡΡΡΠ½ΠΎΡΡΠ΅ΠΉ. |
Co-authored-by: Vladislav Kramorenko <85196001+Xewus@users.noreply.github.com>
π Docs preview for commit 3ec5c09 at: https://64c79d6bf0a2c3083ea401bf--fastapi.netlify.app |
π Docs preview for commit 8d23b40 at: https://64c79f29fb63e108e288f7d8--fastapi.netlify.app |
docs/ru/docs/tutorial/security/index.md
Thank you @eVery1337 ! π And thanks for the reviews @dedkot01, @FraneCaleta, @dudyaosuplayer, @Xewus π |
Revert "Add Json Support To Params" This reverts commit 0ed16c0. Add Json Support To Params Add Json Support To Params π Update release notes π Release version 0.103.0 π Update release notes π Update release notes β¨ Add support for `openapi_examples` in all FastAPI parameters (fastapi#10152) * β»οΈ Refactor model for OpenAPI Examples to use a reusable TypedDict * β¨ Add support for openapi_examples in parameters * π Add new docs examples for new parameter openapi_examples * π Update docs for Schema Extra to include OpenAPI examples * β Add tests for new source examples, for openapi_examples * β Add tests for openapi_examples corner cases and all parameters * π‘ Tweak and ignore type annotation checks for custom TypedDict π Update release notes π Add note to docs about Separate Input and Output Schemas with FastAPI version (fastapi#10150) π Update release notes π Release version 0.102.0 π Update release notes π Update release notes β¨ Add support for disabling the separation of input and output JSON Schemas in OpenAPI with Pydantic v2 (fastapi#10145) * π Add docs for Separate OpenAPI Schemas for Input and Output * π§ Add new docs page to MkDocs config * β¨ Add separate_input_output_schemas parameter to FastAPI class * π Add source examples for separating OpenAPI schemas * β Add tests for separated OpenAPI schemas * π Add source examples for Python 3.10, 3.9, and 3.7+ * π Update docs for Separate OpenAPI Schemas with new multi-version examples * β Add and update tests for different Python versions * β Add tests for corner cases with separate_input_output_schemas * π Update tutorial to use Union instead of Optional * π Fix type annotations * π Fix correct import in test * π Add CSS to simulate browser windows for screenshots * β Add playwright as a dev dependency to automate generating screenshots * π¨ Add Playwright scripts to generate screenshots for new docs * π Update docs, tweak text to match screenshots * π± Add screenshots for new docs π Update release notes π Add new docs section, How To - Recipes, move docs that don't have to be read by everyone to How To (fastapi#10114) * π Start How To docs section, move Peewee, remove Peewee from dependencies * π Move em files to new locations * π Move and re-structure advanced docs, move relevant to How To * π§ Update MkDocs config, new files in How To * π Move docs for Conditional OpenAPI for Japanese to How To * π Move example source files for Extending OpenAPI into each of the new sections * β Update tests with new locations for source files * π₯ Remove init from Peewee examples π Update release notes β»οΈ Refactor tests for new Pydantic 2.2.1 (fastapi#10115) π Update release notes π Update Advanced docs, add links to sponsor courses (fastapi#10113) π Update release notes π Update docs for generating clients (fastapi#10112) π Update release notes π Tweak MkDocs and add redirects (fastapi#10111) π Update release notes π Restructure docs for cloud providers, include links to sponsors (fastapi#10110) π Update release notes π§ Update sponsors, add Speakeasy (fastapi#10098) π Release version 0.101.1 π Update release notes π Update release notes β¨ Add `ResponseValidationError` printable details, to show up in server error logs (fastapi#10078) π Update release notes π Update release notes π Add Japanese translation for `docs/ja/docs/deployment/concepts.md` (fastapi#10062) π Add Japanese translation for `docs/ja/docs/deployment/server-workers.md` (fastapi#10064) π Update release notes π Update Japanese translation for `docs/ja/docs/deployment/docker.md` (fastapi#10073) π Update release notes π Add Ukrainian translation for `docs/uk/docs/fastapi-people.md` (fastapi#10059) π Update release notes π Add Ukrainian translation for `docs/uk/docs/tutorial/cookie-params.md` (fastapi#10032) π Update release notes π Add Russian translation for `docs/ru/docs/deployment/docker.md` (fastapi#9971) π Update release notes π Add Vietnamese translation for `docs/vi/docs/python-types.md` (fastapi#10047) π Update release notes π§ Add sponsor Porter (fastapi#10051) π Update release notes π§ Update sponsors, add Jina back as bronze sponsor (fastapi#10050) π Update release notes π Update release notes π Update release notes βοΈ Fix typo in deprecation warnings in `fastapi/params.py` (fastapi#9854) fix typo for deprecation warnings depreacated -> deprecated βοΈ Fix typo in release notes (fastapi#9835) βοΈ Fix typos in comments on internal code in `fastapi/concurrency.py` and `fastapi/routing.py` (fastapi#9590) π Update release notes π Update release notes π Add external article: Build an SMS Spam Classifier Serverless Database with FaunaDB and FastAPI (fastapi#9847) π Update release notes π Fix typo in `docs/en/docs/contributing.md` (fastapi#9878) π Fix code highlighting in `docs/en/docs/tutorial/bigger-applications.md` (fastapi#9806) Update bigger-applications.md π Update release notes π Update release notes π Add Russian translation for `docs/ru/docs/tutorial/dependencies/global-dependencies.md` (fastapi#9970) π Add Urdu translation for `docs/ur/docs/benchmarks.md` (fastapi#9974) π Update release notes π Update release notes β¬ Bump mypy from 1.4.0 to 1.4.1 (fastapi#9756) Bumps [mypy](https://github.com/python/mypy) from 1.4.0 to 1.4.1. - [Commits](python/mypy@v1.4.0...v1.4.1) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> β¬ Bump mkdocs-material from 9.1.17 to 9.1.21 (fastapi#9960) Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.17 to 9.1.21. - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](squidfunk/mkdocs-material@9.1.17...9.1.21) --- updated-dependencies: - dependency-name: mkdocs-material dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> π Release version 0.101.0 π Update release notes π Update release notes π Do not allow Pydantic 2.1.0 that breaks (require 2.1.1) (fastapi#10012) π Update release notes π Update release notes β¨ Enable Pydantic's serialization mode for responses, add support for Pydantic's `computed_field`, better OpenAPI for response models, proper required attributes, better generated clients (fastapi#10011) * β¨ Enable Pydantic's serialization mode for responses * β Update tests with new Pydantic v2 serialization mode * β Add a test for Pydantic v2's computed_field π Update release notes π· Add GitHub Actions step dump context to debug external failures (fastapi#10008) π Update release notes π§ Restore MkDocs Material pin after the fix (fastapi#10001) π Update release notes π§ Update the Question template to ask for the Pydantic version (fastapi#10000) π Update release notes β Fix tests for compatibility with pydantic 2.1.1 (fastapi#9943) π Update release notes β Remove direct dependency on MkDocs, Material for MkDocs defines its own dependency (fastapi#9986) π Update release notes π₯ Update FastAPI People (fastapi#9999) π Update release notes π³ Update Dockerfile with compatibility versions, to upgrade later (fastapi#9998) π Update release notes β Add pydantic-settings to FastAPI People dependencies (fastapi#9988) π Update release notes β»οΈ Update FastAPI People logic with new Pydantic (fastapi#9985) π Update release notes β Fix test error in Windows for `jsonable_encoder` (fastapi#9840) π Update release notes π Add Russian translation for `docs/ru/docs/tutorial/security/index.md` (fastapi#9963) π Update release notes π± Update sponsors, Fern badge (fastapi#9982) π Update release notes π· Deploy docs to Cloudflare Pages (fastapi#9978) π Update release notes π§ Update sponsor Fern (fastapi#9979) π Update release notes π· Update CI debug mode with Tmate (fastapi#9977) π Update release notes Co-Authored-By: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-Authored-By: Yois4101 <119609381+Yois4101@users.noreply.github.com> Co-Authored-By: Marcelo Trylesinski <marcelotryle@gmail.com> Co-Authored-By: Vicente Merino <vmerino@rexmas.com> Co-Authored-By: dedkot <dedkot01@gmail.com> Co-Authored-By: Vladislav Kramorenko <85196001+Xewus@users.noreply.github.com> Co-Authored-By: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-Authored-By: SebastiΓ‘n RamΓrez <tiangolo@gmail.com> Co-Authored-By: github-actions <github-actions@github.com>
ΠΠ΄Π΅ΡΡ ΠΏΡΠ΅Π΄ΡΡΠ°Π²Π»Π΅Π½ ΠΏΠ΅ΡΠ΅Π²ΠΎΠ΄ ΡΡΡΠ°Π½ΠΈΡΡ Security Π½Π° ΡΡΡΡΠΊΠΈΠΉ ΡΠ·ΡΠΊ.