All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Full Support of mongoid 8 & 9
- Full Support of mongoid 7
- Support of mongoid 7
- Add ensure block in method with_tenant
- 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.