feat: bump to 4.3.0 and support django async - #306
Merged
Conversation
piglei
commented
Aug 11, 2026
Collaborator
- feat: bump to 4.3.0 and support django async
- replace requests with httpx2
Collaborator
Review:bkpaas-auth 4.3.0(Django async + httpx2)整体结论:可以合。这是一次以「Django 原生 async + httpx2」为主线的能力升级;同步路径大体兼容,设计质量高,测试覆盖到位。合并前建议在 CHANGES 里补清依赖层破坏说明。 1. 新功能清单
价值: Cookie 认证主链(middleware / Universal&DjangoAuth backend / HTTP / cache / session)在 ASGI 下可走原生 async,避免 Django 再把同步中间件 2. 对存量功能的影响业务配置级:基本兼容(
3. 设计评价合理之处:
建议跟进(非阻塞):
4. 小结
|
…async auth support
Collaborator
Author
|
@narasux 已根据 review 让 APIGatewayAuthBackend 继承 BaseBackend。准备合并发包。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.