Skip to content

Releases: rails-on-services/apartment

v2.8.1.rc1

17 Dec 03:25
Compare
Choose a tag to compare
v2.8.1.rc1 Pre-release
Pre-release

Implemented enhancements:

Fixed bugs:

  • New version raises an error with ActiveSupport::LogSubscriber #128

Closed issues:

v2.8.0

16 Dec 14:34
8964442
Compare
Choose a tag to compare

Implemented enhancements:

  • Uses a transaction to create a tenant #66

Fixed bugs:

  • Fix seeding errors #86
  • When tests run in a transaction, new tenants in tests fail to create #123
  • Reverted unsafe initializer - introduces the possibility of disabling the initial connection to the database via
    environment variable. Relates to the following tickets/PRs:

Closed issues:

  • Improve changelog automatic generation #98
  • Relaxes dependencies to allow rails 6.1 #121

v2.7.2

17 Jul 04:17
eaeb1e8
Compare
Choose a tag to compare

Implemented enhancements:

  • Deprecate History.md #80

Fixed bugs:

  • Tenant.switch! raises exception on first call / Postgresql #92
  • NameError: instance variable @sequence_name not defined #81

Closed issues:

  • Error creating tenant with uuid column #85
  • enhanced db:create task breaks plugins compatibility #82
  • Support disabling of full_migration_on_create #30

v2.7.1

27 Jun 13:41
581a0ae
Compare
Choose a tag to compare

Enhancement

  • N/a

Bugfix

  • [Resolves #82] Enhanced db:create breaks plugin compatibility - #83

Chore

  • Update rake version in development
  • Renamed gemspec to match gem name

v2.7.0

26 Jun 03:12
c51f826
Compare
Choose a tag to compare

Enhancements

  • [Resolves #70] Rake tasks define methods on main - #75
  • Add database and schema to active record log. Configurable, defaults to false to keep current behavior - #55

Bugfixes

  • [Fixes #61] Fix database create in mysql - #76

Chores

  • Remove depracated tld_length config option: tld_length was removed in influitive#309, this configuration option doesn't have any effect now. - #72
  • Using diffend.io proxy to safely check required gems
  • Added story branch to the configuration
  • Using travis-ci to run rubocop as well, replacing github actions: github actions do not work in fork's PRs

v2.6.1

02 Jun 05:29
5a84b77
Compare
Choose a tag to compare

Enhancements

  • N/a

Bugfixes

  • [Resolves influitive#607] Avoid early connection
  • [Resolves #52] Rake db:setup tries to seed non existent tenant - #54
  • [Resolves #56] DB rollback uses second last migration - #57

Chores

  • N/a

v2.6.0

14 May 09:59
06182ba
Compare
Choose a tag to compare

Enhancements

  • [Resolves #26] Support configuration for skip checking of schema existence before switching
  • [Resolves #41] Add tenant info to console boot

Bugfixes

  • [Resolves #37] Custom Console deprecation warning
  • [Resolves #42] After switch callback not working with nil argument

Chores

  • Updated github actions configuration to run on PRs as well

v2.5.0

05 May 02:53
Compare
Choose a tag to compare

Enhancements

  • [Resolves #6] Adds support for rails 6.1
  • [Resolves #27] Adds support to not rely on set search path, but instead prepends the schema name to the table name when using postgresql with schemas.
  • [Resolves #35] Cache keys are now tenant dependent

Bugfixes

  • [Resolves #27] Manually switching connection between read and write forgets the schema

Chores

  • [Resolves #31] Add latest ruby versions to test matrix

First small improvements in apartment

01 Apr 08:03
44b95db
Compare
Choose a tag to compare

Enhancements

  • [Resolves #14] Add console info about tenants and fast switches #17
  • Skip init if we're running webpacker:compile #18

Bugfixes

  • Don't crash when no database connection is present #16
  • Rescuing ActiveRecord::NoDatabaseError when dropping tenants #19

Chores

  • Rakefile should use mysql port from configuration #5
  • [Resolves #9] Cleanup rubocop todo #8
  • Cleanup travis matrix #23

apartment drop in replacement

23 Mar 00:43
Compare
Choose a tag to compare

Changes made

  • Rails 6 supported
  • Enabled rails 6 in test matrix
  • Fixed travisci configuration