All Versions
10
Latest Version
Avg Release Cycle
16 days
Latest Release
281 days ago

Changelog History

  • v1.5.0 Changes

    February 21, 2022
  • v1.4.0 Changes

    October 13, 2021

    โž• Add

    • MultiTenantSupport.set_current_tenant
    • MultiTenantSupport.without_current_tenant
    • ๐Ÿ‘ MultiTenantSupport.full_protected?
    • ๐Ÿ‘ MultiTenantSupport.unprotected?
    • MultiTenantSupport.turn_off_protection
    • MultiTenantSupport.turn_on_full_protection

    โœ‚ Remove

    • MultiTenantSupport.disallow_read_across_tenant?
  • v1.3.1 Changes

    October 10, 2021
    • ๐Ÿ‘‰ Make ViewHelper work in both controller and view
  • v1.3.0 Changes

    October 10, 2021
    • โ†” Integrate with Rails default testing toolchain (Minitest + Capybara)
    • โ†” Integrate with RSpec + Capybara
  • v1.2.0 Changes

    October 08, 2021
    • โœ… Keep current tenant unchange around job perform with SiekiqAdapter,TestAdapter,InlineAdapter,AsyncAdapter
    • Add a new console config allow_read_across_tenant_by_default
    • Add an environment varialbe ALLOW_READ_ACROSS_TENANT
  • v1.1.1 Changes

    October 07, 2021
    • ๐Ÿ‘ท Make sure all four job delivery ways work as expected
      • MyJob.perform_now('hi')
      • MyJob.perform_later('hi')
      • MyJob.set(queue: 'high').perform_now('hi')
      • MyJob.set(queue: 'high').perform_later('hi')
  • v1.1.0 Changes

    October 07, 2021
    • ๐Ÿ‘‰ Make tenant finding strategy customizable
      • Override find_current_tenant_account in controller
  • v1.0.5 Changes

    October 06, 2021
    • ๐Ÿ›  Fix an error caused by call helper_method on ActionController::API
  • v1.0.4 Changes

    October 05, 2021
    • Rename "lib/multi_tenant_support.rb" to "lib/multi-tenant-support.rb"
    • Breaking: please remove require 'multi_tenant_support' from the config/initializers/multi_tenant_support.rb
  • v1.0.3 Changes

    October 04, 2021
    • Prevent most ActiveRecord CRUD methods from acting across tenants.
    • ๐Ÿ‘Œ Support Row-level Multitenancy
    • ๐Ÿ— Build on ActiveSupport::CurrentAttributes offered by rails
    • Auto set current tenant through subdomain and domain in controller
    • ๐Ÿ‘Œ Support ActiveJob and Sidekiq