- Add support for mongoid 6
- Remove support for mongoid 4 & 5
- Add exclude_shared option for the TenantUniquenessValidator
- Add scopes shared and unshared (1b5c420)
- When a tenant is optional, do not override the tenant during persisted document initialization (81a9b45)
- Add support for mongoid 5
-
Drops support for mongoid 3
-
An optional tenant is now automatically set if a current tenant is defined.
-
A unique constraint with an optional tenant now uses the client scoping. An item cannot be shared if another client item has the same value.