Skip to content

Commit 65b29cc

Browse files
committed
Start Rails 7.0 support
1 parent 712e549 commit 65b29cc

File tree

5 files changed

+14
-64
lines changed

5 files changed

+14
-64
lines changed

Diff for: .github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
ruby: [2.5.9, 2.6.7, 2.7.3, 3.0.1]
16+
ruby: [2.7.3, 3.0.1]
1717

1818
steps:
1919
- name: Checkout code

Diff for: CHANGELOG.md

+6-54
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,15 @@
1-
## v6.1.2.1
2-
3-
[Full changelog](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/compare/v6.1.2.0...v6.1.2.1)
4-
5-
#### Fixed
6-
7-
- [#943](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/943) Fix appname resolution when outside Rails context
8-
9-
## v6.1.2.0
10-
11-
[Full changelog](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/compare/v6.1.1.0...v6.1.2.0)
1+
## Unreleased
122

133
#### Fixed
144

15-
- [#940](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/940) Primary key violation should result in RecordNotUnique error
5+
...
166

177
#### Changed
188

19-
- [#941](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/941) No longer support configuring the application name by overriding the 'configure_application_name' method.
20-
21-
## v6.1.1.0
22-
23-
[Full changelog](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/compare/v6.1.0.0...v6.1.1.0)
24-
25-
#### Fixed
9+
...
2610

27-
- [#933](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/933) Conditionally apply SQL Server monkey patches to ActiveRecord so that it is safe to use this gem alongside other database adapters (e.g. PostgreSQL) in a multi-database Rails app
28-
- [#935](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/935) Fix schema cache generation
29-
(**breaking change**)
30-
- [#936](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/936) Fix deteministic fetch when table has a composite primary key
31-
- [#938](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/938) Fix date columns serialization for range values
32-
33-
## v6.1.0.0
34-
35-
- No changes
36-
37-
## v6.1.0.0.rc1
38-
39-
[Full changelog](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/compare/6-0-stable...v6.1.0.0.rc1)
40-
41-
#### Fixed
42-
43-
- [#872](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/872) Use native String#start_with
44-
- [#876](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/876) Use native String#end_with
45-
- [#873](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/873) Various fixes to get the tests running for Rails 6.1
46-
- [#874](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/874) Deduplicate schema cache structures
47-
- [#875](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/875) Handle default boolean column values when deduplicating
48-
- [#879](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/879) Added visit method for HomogeneousIn
49-
- [#880](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/880) Handle any default column class when deduplicating
50-
- [#861](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/861) Fix Rails 6.1 database config
51-
- [#890](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/890) Fix removal of invalid ordering from select statements
52-
- [#881](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/881) Dump column collation to schema.rb and allow collation changes using column_change
53-
- [#891](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/891) Add support for if_not_exists to indexes
54-
- [#892](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/892) Add support for if_exists on remove_column
55-
- [#883](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/885) Fix quoting of ActiveRecord::Relation::QueryAttribute and ActiveModel::Attributes
56-
- [#893](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/893) Add Active Record Marshal forward compatibility tests
57-
- [#903](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/903) Raise ActiveRecord::ConnectionNotEstablished on calls to execute with a disconnected connection
58-
59-
#### Changed
11+
#### Added
6012

61-
- [#917](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/917) Refactored to use new_client connection pattern
13+
...
6214

63-
Please check [6-0-stable](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/blob/6-0-stable/CHANGELOG.md) for previous changes.
15+
Please check [6-1-stable](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/blob/6-1-stable/CHANGELOG.md) for previous changes.

Diff for: VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.1.2.1
1+
7.0.0.0-beta.1

Diff for: activerecord-sqlserver-adapter.gemspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
77
spec.platform = Gem::Platform::RUBY
88
spec.version = version
99

10-
spec.required_ruby_version = ">= 2.5.0"
10+
spec.required_ruby_version = ">= 2.7.0"
1111

1212
spec.license = "MIT"
1313
spec.authors = ["Ken Collins", "Anna Carey", "Will Bond", "Murray Steele", "Shawn Balestracci", "Joe Rafaniello", "Tom Ward"]
@@ -27,6 +27,6 @@ Gem::Specification.new do |spec|
2727
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
2828
spec.require_paths = ["lib"]
2929

30-
spec.add_dependency "activerecord", "~> 6.1.0"
30+
spec.add_dependency "activerecord", "~> 7.0.0"
3131
spec.add_dependency "tiny_tds"
3232
end

Diff for: appveyor.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ build: off
55
matrix:
66
fast_finish: true
77
allow_failures:
8-
- ruby_version: "25"
9-
- ruby_version: "26"
108
- ruby_version: "27"
119
- ruby_version: "27-x64"
10+
- ruby_version: "30"
11+
- ruby_version: "30-x64"
1212
services:
1313
- mssql2014
1414

@@ -38,9 +38,7 @@ environment:
3838
CI_AZURE_PASS:
3939
secure: cSQp8sk4urJYvq0utpsK+r7J+snJ2wpcdp8RdXJfB+w=
4040
matrix:
41-
- ruby_version: "25-x64"
42-
- ruby_version: "25"
43-
- ruby_version: "26-x64"
44-
- ruby_version: "26"
4541
- ruby_version: "27-x64"
4642
- ruby_version: "27"
43+
- ruby_version: "30-x64"
44+
- ruby_version: "30"

0 commit comments

Comments
 (0)