All Versions
24
Latest Version
Avg Release Cycle
64 days
Latest Release
498 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v1.1.1 Changes
January 15, 2021 -
v1.1.0 Changes
August 06, 2020- ๐ See commits for changes: https://github.com/citusdata/activerecord-multi-tenant/commits/v1.1.0
-
v1.0.4 Changes
October 30, 2019- ๐ Fix bug introduced in 1.0.3 for delete when table is reference or not distributed
-
v1.0.3 Changes
October 28, 2019- Ensure that when using object.delete, we set the tenant
-
v1.0.2 Changes
September 20, 2019- ๐ Compatibility with rails 6
- โ Remove support for rails 4.0 and 4.1
- ๐ Fix bug when multiple databases are used
-
v1.0.1 Changes
August 27, 2019- Ensure current tenant is present before adding tenant id filter in DatabaseStatements
-
v1.0.0 Changes
July 05, 2019- ๐ Fix
RETURNING id
for distributed tables with no primary key - Include fix for partial select described in issue #34.
- When doing a partial select without the tenant like
Project.select(:name).find(project.id)
it would raiseActiveModel::MissingAttributeError (missing attribute: tenant_id)
- When doing a partial select without the tenant like
- ๐ Fix
-
v0.11.0 Changes
June 12, 2019- ๐ Fix queries with joins by including the tenant column when current tenant isn't set
- A common use case is having a filter on the tenant, but
MultiTenant.with
isn't used likeProject.where(account_id: 1).eager_load(:categories)
. This version fixes the ORM call to include in thejoin
:"project_categories"."account_id" = "projects"."account_id"
- A common use case is having a filter on the tenant, but
- ๐ Fix queries with joins by including the tenant column when current tenant isn't set
-
v0.10.0 Changes
May 31, 2019- โ Add
MultiTenant.without
to remove already set tenant context in a block #45 Jackson Miller - ๐ Fix uninitialized constant X::ActiveRecord::VERSION #42 vollnhals
- ๐ Fix find and find_by caching issues
- This builds on work by multiple contributors, and fixes issues where the tenant_id would be cached across different tenant contexts for find and find_by methods. This issue was only present with prepared statements turned on
- Note that the mechanism to solve this is slightly different for Rails 4 and 5:
- Rails 4: Disable any caching for find and find_by methods
- Rails 5: Explicitly add the current_tenant_id into the cache key
- This also ensures that we test both prepared statements on and off on Travis
- โ Added method to ensure that the current tenant is loaded #49 Stephen Bussey
- This is ideal for fully utilizing the ActiveRecord extensions, as they only take effect when the current tenant is not an ID
- โก๏ธ Update loofah and rack to fix security warnings
- Note that loofah is not a direct dependency of the libary, so this only applies when running the test suite
- โ Remove monkey patch that previously disabled referential integrity (DISABLE/ENABLE TRIGGER ALL) #53 Rรฉmi Piotaix
- This was required for Citus compatibility, but the issue has been fixed in Citus for over a year (https://github.com/citusdata/citus/issues/1080)
- โ Add
-
v0.9.0 Changes
June 22, 2018- ๐ ActiveRecord 5.2 support Nathan Stitt & osyo-manga