Skip to content

Commit

Permalink
Bump version to 4.5.0 (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
coding-chimp authored Feb 7, 2025
1 parent ccb0a0c commit 4620492
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 8 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
lhm-shopify (4.4.2)
lhm-shopify (4.5.0)
retriable (>= 3.0.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/activerecord_7.2.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
lhm-shopify (4.4.2)
lhm-shopify (4.5.0)
retriable (>= 3.0.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/activerecord_8.0.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
lhm-shopify (4.4.2)
lhm-shopify (4.5.0)
retriable (>= 3.0.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/activerecord_head.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ GIT
PATH
remote: ..
specs:
lhm-shopify (4.4.2)
lhm-shopify (4.5.0)
retriable (>= 3.0.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion lib/lhm/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# Schmidt

module Lhm
VERSION = '4.4.2'
VERSION = '4.5.0'
end
6 changes: 3 additions & 3 deletions spec/integration/lhm_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -577,7 +577,7 @@
:is_nullable => 'YES',
:column_default => nil,
:comment => '',
:collate => 'utf8_general_ci',
:collate => collation,
})
end

Expand Down

0 comments on commit 4620492

Please sign in to comment.