Migrate from ujson to orjson

未關閉
#666 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
45/100
Issue 類型
重構
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
python
領域
backend, cloud

研究方向

先定位 ujson 在 Lambda 層中被匯入及使用的位置,然後將這些呼叫點與 orjson 的文件化行為進行比較。當專案不再依賴 ujson、在現有序列化路徑中使用 orjson,且相關測試或檢查仍然通過時,遷移即完成。

由索引模型根據 Issue 內容生成。

描述

ujson is currently not supported, and is in maintenance mode

[!WARNING] UltraJSON's architecture is fundamentally ill-suited to making changes without risk of introducing new security vulnerabilities. As a result, this library has been put into a maintenance-only mode. Support for new Python versions will be added and critical bugs and security issues will still be fixed but all other changes will be rejected. Users are encouraged to migrate to orjson which is both much faster and less likely to introduce a surprise buffer overflow vulnerability in the future.
https://pypi.org/project/ujson/

'orjson' -> https://pypi.org/project/orjson/

hopefully it's a drop-in replacement

主要語言
Python
星號
102
分支
52
平均合併
5 天 19 小時
30 天內合併 PR
2

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

DataDog/datadog-lambda-python 的其他 Issue

查看 DataDog/datadog-lambda-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。