|
1 |
| -## v4.2.15 |
2 | 1 |
|
3 |
| -#### Fixed |
4 |
| - |
5 |
| -* Removed errand puts statment from database tasks. |
6 |
| -* Fix quoting of non-national columns. |
7 |
| - |
8 |
| - |
9 |
| -## v4.2.14 |
10 |
| - |
11 |
| -#### Fixed |
12 |
| - |
13 |
| -* Fix rescue constants for optional connection gems. Fixes #475. |
14 |
| - |
15 |
| - |
16 |
| -## v4.2.13 |
17 |
| - |
18 |
| -#### Fixed |
19 |
| - |
20 |
| -* Add to_s method to SQLServer::Type::Char::Data. Thanks @marceloeloelo. |
21 |
| - |
22 |
| - |
23 |
| -## v4.2.12 |
24 |
| - |
25 |
| -#### Fixed |
26 |
| - |
27 |
| -* Isolation levels not being reset on error. Fixes #469. Thanks @anthony |
28 |
| - |
29 |
| - |
30 |
| -## v4.2.11 |
31 |
| - |
32 |
| -#### Fixed |
33 |
| - |
34 |
| -* Undefined method `database_prefix_remote_server?' Fixes #450. Thanks @jippeholwerda |
35 |
| -* Document two methods for avoiding N'' quoting on char/varchar columns. |
36 |
| -* First run failure of `change_column` while dropping constraint. Fixes #420. Thanks @GrumpyRainbow @rkr090 |
37 |
| -* Rounding errors w/datetime2(0) types having no fractional seconds. Fixes #465. Thanks @alawton |
38 |
| - |
39 |
| -#### Changed |
40 |
| - |
41 |
| -* Supporting escape hatch for N'' quoting. Remove `#is_utf8` string check in `#_quote` method. |
42 |
| - This duplicated strings and forced encoding which was actually wasteful. |
43 |
| - |
44 |
| - |
45 |
| -## v4.2.10 |
46 |
| - |
47 |
| -#### Fixed |
48 |
| - |
49 |
| -* Ensure small datetime/datetime2 fractionals are properly quoted. Fixes #457. |
50 |
| - |
51 |
| - |
52 |
| -## v4.2.9 |
53 |
| - |
54 |
| -#### Fixed |
55 |
| - |
56 |
| -* Conform to new data_sources interfaces. See: https://git.io/va4Fp |
57 |
| -* The `primary_key` method falls back to Identity columns. Not the other way around. Fixes #454. Thanks @marceloeloelo |
58 |
| -* Ensure that `execute_procedure` returns proper time zones. Fixes #449 |
59 |
| - |
60 |
| -#### Changed |
61 |
| - |
62 |
| -* Run tests with verbose false. |
63 |
| - |
64 |
| - |
65 |
| -## v4.2.8 |
66 |
| - |
67 |
| -#### Fixed |
68 |
| - |
69 |
| -* Azure-Friendly Disable Referential Integrity. No more `sp_MSforeachtable` usage. Fixes #421 |
70 |
| -* Azure-Friendly DB create/drop. Fixes #442 |
71 |
| - - Create allows edition options like: MAXSIZE, EDITION, and SERVICE_OBJECTIVE. |
72 |
| - |
73 |
| - |
74 |
| -## v4.2.7 |
75 |
| - |
76 |
| -#### Added |
77 |
| - |
78 |
| -* Support 2008 Datatypes Using TDSVER=7.3. Fixes #433 |
79 |
| - |
80 |
| -#### Changed |
81 |
| - |
82 |
| -* Test now use latest v0.9.5 of TinyTDS. Includes tests for `defncopy` Windows binstub. |
83 |
| -* Make linked servers stronger. Fixes #427. Thanks @jippeholwerda |
84 |
| -* Use proper module for the `sqlserver_connection` method. Fixes #431. Thanks @jippeholwerda |
85 |
| -* All datetime casting using the `Time::DATE_FORMATS[:_sqlserver_*]` formats set after connection. |
86 |
| - |
87 |
| -#### Removed |
88 |
| - |
89 |
| -* The `SQLServer::Utils.with_sqlserver_db_date_formats` helper and `quoted_date` hacks. |
90 |
| -* The `Quoter` value type which allowed column => type special case quoting. |
91 |
| - |
92 |
| -#### Fixed |
93 |
| - |
94 |
| -* Every time datatype has perfect micro/nano second handling. |
95 |
| -* All supported datatypes dump defaults properly to schema.rb |
96 |
| -* Partial indexes using `:where` in schema dumper. Fixes #153 |
97 |
| - |
98 |
| - |
99 |
| -## v4.2.6 |
100 |
| - |
101 |
| -#### Fixed |
102 |
| - |
103 |
| -* Allow linked servers for table names. Fixes #426. Thanks @jippeholwerda |
104 |
| - |
105 |
| - |
106 |
| -## v4.2.5 |
107 |
| - |
108 |
| -#### Removed |
109 |
| - |
110 |
| -* Remove Type::Castable hacks for core type objects to force trust the DB. Allows Rails 5 attributes. |
111 |
| - |
112 |
| -#### Fixed |
113 |
| - |
114 |
| -* Tests for decimal scale. See Rails commit. http://git.io/vGotB |
115 |
| -* Improve case comparision performace per column. Fixes #414 |
116 |
| -* DB rollback when reversable add_column has several options. Fixes #359 |
117 |
| -* Better column definitions for default objects. Fixes #412 |
118 |
| - |
119 |
| - |
120 |
| -## v4.2.4 |
121 |
| - |
122 |
| -#### Fixed |
123 |
| - |
124 |
| -* Compatible with Rails 4.2.1. |
125 |
| -* Fix schema limit reflection for char/varchar. Fixes #394. |
126 |
| - |
127 |
| - |
128 |
| -## v4.2.3 |
129 |
| - |
130 |
| -#### Fixed |
131 |
| - |
132 |
| -* Fix SET defaults when using Azure. |
133 |
| -* Test insert 4-byte unicode chars. |
134 |
| -* Make rollback transaction transcount aware for implicit error rollbacks. Fixes #390 |
135 |
| - |
136 |
| - |
137 |
| -## v4.2.2 |
138 |
| - |
139 |
| -#### Added |
140 |
| - |
141 |
| -* DatabaseTasks support for all tasks! Uses FreeTDS `defncopy` for structure dump. Fixes #380. |
142 |
| -* Provide class config for `use_output_inserted` (default true) for insert SQL. Fixed #381. |
143 |
| - |
144 |
| - |
145 |
| -## v4.2.1 |
146 |
| - |
147 |
| -#### Fixed |
148 |
| - |
149 |
| -* Guard against empty view definitions when `sb_helptext` fails silently. Fixes #337. |
150 |
| -* Proper table/column escaping in the `change_column_null` method. Fixes #355. |
151 |
| -* Use `send :include` for modules for 1.9 compatibility. Fixes #383. |
152 |
| - |
153 |
| - |
154 |
| -## v4.2.0 |
| 2 | +## v5.0.0 |
155 | 3 |
|
156 | 4 | #### Added
|
157 | 5 |
|
158 |
| -* New `ActiveRecord::Type` objects. See `active_record/connection_adapters/sqlserver/type` dir. |
159 |
| -* Aliased `ActiveRecord::Type::SQLServer` to `ActiveRecord::ConnectionAdapters::SQLServer::Type` |
160 |
| -* New `SQLServer::Utils::Name` object for decomposing and quoting SQL Server names/identifiers. |
161 |
| -* Support for most all SQL Server types in schema statements and dumping. |
162 |
| -* Support create table with query from relation or select statement. |
163 |
| -* Foreign Key Support Fixes #375. |
| 6 | +* ... |
164 | 7 |
|
165 | 8 | #### Changed
|
166 | 9 |
|
167 |
| -* The `create_database` now takes an options hash. Only key/value now is `collation`. Unknown keys just use raw values for SQL. |
168 |
| -* Complete rewrite of our Arel visitor. Focuing on 2012 and upward so we can make FETCH happen. |
169 |
| -* Testing enhancements. |
170 |
| - * Guard support, check our Guardfile. |
171 |
| - * Use `ARTest` namespace with `SQLServer` module for our helpers/objects. |
172 |
| - * Simple 2012 schmea addition and extensive column/type_cast object tests. |
173 |
| -* Follow Rails convention and remove varying character default limits. |
174 |
| -* The `cs_equality_operator` is now s class configuration property only. |
175 |
| -* The `with_identity_insert_enabled(table_name)` is now public. |
176 |
| -* Use ActiveRecord tranasaction interface vs our own `run_with_isolation_level`. |
| 10 | +* ... |
177 | 11 |
|
178 | 12 | #### Deprecated
|
179 | 13 |
|
180 |
| -* n/a |
| 14 | +* ... |
181 | 15 |
|
182 | 16 | #### Removed
|
183 | 17 |
|
184 |
| -* SQL Server versions < 2012 which do not support OFFSET and FETCH. http://bit.ly/1B5Bwsd |
185 |
| -* The `enable_default_unicode_types` option. Default to national types all the time. |
186 |
| -* Native type configs for older DB support. Includes the following with new default value: |
187 |
| - * native_string_database_type => `nvarchar` |
188 |
| - * native_text_database_type => `nvarchar(max)` |
189 |
| - * native_binary_database_type => `varbinary(max)` |
190 |
| -* Various version and inspection methods removed. These include: |
191 |
| - * database_version |
192 |
| - * database_year |
193 |
| - * product_level |
194 |
| - * product_version |
195 |
| - * edition |
196 |
| -* Removed tests for old issue #164. Handled by core types now. |
197 |
| -* The `activity_stats` method. Please put this in a gem if needed. |
198 |
| -* We no longer use regular expressions to fix identity inserts. Use ActiveRecord or public ID insert helper. |
199 |
| -* All auto reconnect and SQL retry logic. Got too complicated and stood in the way of AR's pool. Speed boost too. |
200 |
| -* The adapter will no longer try to remove duplicate order by clauses. Use relation `reorder`, `unscope`, etc. |
201 |
| -* We no longer use regular expressions to remove identity columns from updates. Now with `attributes_for_update` AR hook. |
| 18 | +* ODBC connection mode. Not been maintained since Rails 4.0. |
202 | 19 |
|
203 | 20 | #### Fixed
|
204 | 21 |
|
205 |
| -* Default lock is now "WITH(UPDLOCK)". Fixes #368 |
206 |
| -* Better bind types & params for `sp_executesql`. Fixes #239. |
207 |
| - |
208 |
| -#### Security |
209 |
| - |
210 |
| -* The connection's `inspect` method no longer returns sensitive connection info. Very basic now. |
211 |
| - |
212 |
| - |
| 22 | +* ... |
0 commit comments