Skip to content

v6.1.0

Choose a tag to compare

@enjaku4 enjaku4 released this 15 Nov 21:29
· 8 commits to main since this release
f50ae28

Features:

  • Added Rabarber.create_roles and Rabarber.delete_roles to create and delete several roles at once
  • Added support for binary UUID primary keys in MySQL

Bugs:

  • Fixed a race condition where assigning several roles at once could assign none of them
  • Fixed context migration helpers raising when no roles exist in the context
  • Fixed the generated migration creating a broken foreign key when the user table's primary key is not id
  • Fixed roles assigned or revoked inside a rolled back transaction staying cached
  • Fixed concurrent role creation or renaming discarding the surrounding transaction
  • Fixed the generated migration not working with UUID primary keys on some databases
  • Fixed roles assigned during revoke_all_roles staying cached after being revoked

Misc:

  • Deprecated calling assign_roles, revoke_roles, or revoke_all_roles on an unsaved record
  • Deprecated Rabarber.create_role and Rabarber.delete_role
  • The generator now takes the primary key type from the existing user table, making --uuid unnecessary