2020 年 11 月 2 日
Django 3.1.3 修复了 3.1.2 中的几个漏洞,并增加了对 Python 3.9 的兼容性。
forms.JSONField 和只读 models.JSONField 值中显示 Unicode 字符的问题。ArrayAgg 和 StringAgg 在 JSONField (#32096)的键转换时出现 ordering 时,导致 StringAgg 崩溃。JSONField 的键变换时,导致 __in 查询崩溃。ExpressionWrapper 与 JSONField (#32096)的键变换崩溃。expressions 中为 ExclusionConstraint 添加一个 JSONField 的键变换时,会导致 PostgreSQL 的迁移崩溃(#32096)。ProtectedError.protected_objects 和 RestrictedError.restricted_objects 属性返回的是迭代器,而不是 set 对象(#32107)。asgiref 3.3 的支持(#32128)。GROUP BY 子句中没有使用 Subquery() 别名的缺陷(#32152)。9月 22, 2023