跳到正文
DEV Community· enjaku4·· 6 天前AI 評分33

Rabarber v6.1:Rails 權限授權 Gem 的可靠性更新

Rabarber v6.1: Reliability Update for the Rails Authorization Gem

AI 導讀

Rabarber 發佈 Rails 權限授權 gem v6.1.0,更新重點是提升可靠性,並修復交易、快取、並行角色變更及自動產生遷移中的邊緣問題。新版本新增一次建立或刪除多個角色的方式,並支援 MySQL 的二進制 UUID 主鍵;部分功能已標示棄用,預計於明年推出的下一個主要版本移除。

正文

BrownBox dev profile image enjaku4

Rabarber, a role-based authorization gem for Rails, releases v6.1.0.

This release is mostly about reliability. With the help of AI, a lot of work went into the internals, and many edge cases around transactions, caching, concurrent role changes and generated migrations were found and fixed. Updating is recommended for everyone.

This version also adds a way to create and delete several roles at once, and support for binary UUID primary keys in MySQL.

A few things are deprecated in this release. They still work for now, but will be removed in the next major version, planned for next year.

Details on these and all other changes are in the changelog.

Check out the gem here.

Happy coding!

來源:DEV Community · dev.to