diff --git a/CHANGELOG.md b/CHANGELOG.md index 64786607..6423874f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Unreleased +# 4.5.0 (Feb, 2025) +* Update test matrix to include Rails 8 +* Add option to force tables to use default engine +* Change default algorithm for add/rename/remove column operations +* Drop support for ActiveRecord version 6.1, as it has reached EOL +* Add support for tables with generated columns + # 4.4.2 (Sep, 2024) * Allow caller to set the algorithm that will be used for DDL ALTER TABLE operations diff --git a/Gemfile.lock b/Gemfile.lock index 68b81d6e..d0e9614a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - lhm-shopify (4.4.2) + lhm-shopify (4.5.0) retriable (>= 3.0.0) GEM diff --git a/gemfiles/activerecord_7.2.gemfile.lock b/gemfiles/activerecord_7.2.gemfile.lock index 7c8b650a..c294b970 100644 --- a/gemfiles/activerecord_7.2.gemfile.lock +++ b/gemfiles/activerecord_7.2.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - lhm-shopify (4.4.2) + lhm-shopify (4.5.0) retriable (>= 3.0.0) GEM diff --git a/gemfiles/activerecord_8.0.gemfile.lock b/gemfiles/activerecord_8.0.gemfile.lock index 283aca32..f1d04b6e 100644 --- a/gemfiles/activerecord_8.0.gemfile.lock +++ b/gemfiles/activerecord_8.0.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - lhm-shopify (4.4.2) + lhm-shopify (4.5.0) retriable (>= 3.0.0) GEM diff --git a/gemfiles/activerecord_head.gemfile.lock b/gemfiles/activerecord_head.gemfile.lock index bad4c1a7..0a4ac20a 100644 --- a/gemfiles/activerecord_head.gemfile.lock +++ b/gemfiles/activerecord_head.gemfile.lock @@ -26,7 +26,7 @@ GIT PATH remote: .. specs: - lhm-shopify (4.4.2) + lhm-shopify (4.5.0) retriable (>= 3.0.0) GEM diff --git a/lib/lhm/version.rb b/lib/lhm/version.rb index 8a7227b2..689fa412 100644 --- a/lib/lhm/version.rb +++ b/lib/lhm/version.rb @@ -2,5 +2,5 @@ # Schmidt module Lhm - VERSION = '4.4.2' + VERSION = '4.5.0' end diff --git a/spec/integration/lhm_spec.rb b/spec/integration/lhm_spec.rb index 964f13eb..747d88e1 100644 --- a/spec/integration/lhm_spec.rb +++ b/spec/integration/lhm_spec.rb @@ -561,14 +561,14 @@ t.add_column(:sample_additional_column, "VARCHAR(255)") end - slave do + replica do # new column is added value(table_read(:users).columns['sample_additional_column']).must_equal({ :type => 'varchar(255)', :is_nullable => 'YES', :column_default => nil, :comment => '', - :collate => 'utf8_general_ci', + :collate => collation, }) # generated column remains intact @@ -577,7 +577,7 @@ :is_nullable => 'YES', :column_default => nil, :comment => '', - :collate => 'utf8_general_ci', + :collate => collation, }) end