activerecord-oracle_enhanced-adapter 8.1.0.rc3-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/History.md +1971 -0
- data/License.txt +20 -0
- data/README.md +947 -0
- data/VERSION +1 -0
- data/lib/active_record/connection_adapters/emulation/oracle_adapter.rb +7 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/column.rb +24 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/connection.rb +137 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/context_index.rb +359 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/database_limits.rb +47 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb +325 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/database_tasks.rb +63 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/dbms_output.rb +71 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/jdbc_connection.rb +629 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/jdbc_quoting.rb +38 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/lob.rb +57 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb +465 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/oci_quoting.rb +44 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/procedures.rb +195 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/quoting.rb +186 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/schema_creation.rb +95 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb +99 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/schema_dumper.rb +197 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/schema_statements.rb +739 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/structure_dump.rb +394 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/type_metadata.rb +34 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/version.rb +3 -0
- data/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb +886 -0
- data/lib/active_record/type/oracle_enhanced/boolean.rb +19 -0
- data/lib/active_record/type/oracle_enhanced/character_string.rb +36 -0
- data/lib/active_record/type/oracle_enhanced/integer.rb +14 -0
- data/lib/active_record/type/oracle_enhanced/json.rb +10 -0
- data/lib/active_record/type/oracle_enhanced/national_character_string.rb +26 -0
- data/lib/active_record/type/oracle_enhanced/national_character_text.rb +36 -0
- data/lib/active_record/type/oracle_enhanced/raw.rb +25 -0
- data/lib/active_record/type/oracle_enhanced/string.rb +29 -0
- data/lib/active_record/type/oracle_enhanced/text.rb +32 -0
- data/lib/active_record/type/oracle_enhanced/timestampltz.rb +25 -0
- data/lib/active_record/type/oracle_enhanced/timestamptz.rb +25 -0
- data/lib/activerecord-oracle_enhanced-adapter.rb +25 -0
- data/lib/arel/visitors/oracle.rb +216 -0
- data/lib/arel/visitors/oracle12.rb +121 -0
- data/lib/arel/visitors/oracle_common.rb +51 -0
- data/spec/active_record/connection_adapters/emulation/oracle_adapter_spec.rb +24 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/compatibility_spec.rb +40 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/composite_spec.rb +84 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/connection_spec.rb +589 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/context_index_spec.rb +431 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/database_tasks_spec.rb +122 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/dbconsole_spec.rb +63 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/dbms_output_spec.rb +69 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/procedures_spec.rb +362 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/quoting_spec.rb +181 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/schema_dumper_spec.rb +492 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/schema_statements_spec.rb +1318 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/structure_dump_spec.rb +485 -0
- data/spec/active_record/connection_adapters/oracle_enhanced_adapter_spec.rb +815 -0
- data/spec/active_record/connection_adapters/oracle_enhanced_data_types_spec.rb +230 -0
- data/spec/active_record/oracle_enhanced/type/binary_spec.rb +119 -0
- data/spec/active_record/oracle_enhanced/type/boolean_spec.rb +206 -0
- data/spec/active_record/oracle_enhanced/type/character_string_spec.rb +67 -0
- data/spec/active_record/oracle_enhanced/type/custom_spec.rb +90 -0
- data/spec/active_record/oracle_enhanced/type/decimal_spec.rb +56 -0
- data/spec/active_record/oracle_enhanced/type/dirty_spec.rb +141 -0
- data/spec/active_record/oracle_enhanced/type/float_spec.rb +48 -0
- data/spec/active_record/oracle_enhanced/type/integer_spec.rb +101 -0
- data/spec/active_record/oracle_enhanced/type/json_spec.rb +56 -0
- data/spec/active_record/oracle_enhanced/type/national_character_string_spec.rb +55 -0
- data/spec/active_record/oracle_enhanced/type/national_character_text_spec.rb +230 -0
- data/spec/active_record/oracle_enhanced/type/raw_spec.rb +137 -0
- data/spec/active_record/oracle_enhanced/type/text_spec.rb +295 -0
- data/spec/active_record/oracle_enhanced/type/timestamp_spec.rb +111 -0
- data/spec/spec_config.yaml.template +11 -0
- data/spec/spec_helper.rb +225 -0
- data/spec/support/alter_system_set_open_cursors.sql +1 -0
- data/spec/support/alter_system_user_password.sql +2 -0
- data/spec/support/create_oracle_enhanced_users.sql +31 -0
- metadata +181 -0
data/History.md
ADDED
|
@@ -0,0 +1,1971 @@
|
|
|
1
|
+
This file is no longer being updated. For the latest updates and release information, please see: https://github.com/rsim/oracle-enhanced/releases
|
|
2
|
+
|
|
3
|
+
## 7.2.0 / 2025-06-23
|
|
4
|
+
|
|
5
|
+
* Changes and bug fixes
|
|
6
|
+
* No changes since 7.2.0.rc1
|
|
7
|
+
* Support Rails 7.2 [#2424]
|
|
8
|
+
* Bump the minimum Ruby version to 3.1 [#2442]
|
|
9
|
+
* Use RuboCop Plugin [#2427]
|
|
10
|
+
* Use Oracle Instant Client Version 23.8
|
|
11
|
+
|
|
12
|
+
## 7.2.0.rc1 / 2025-06-18
|
|
13
|
+
|
|
14
|
+
* Changes and bug fixes
|
|
15
|
+
* Support Rails 7.2 [#2424]
|
|
16
|
+
* Bump the minimum Ruby version to 3.1 [#2442]
|
|
17
|
+
* Use RuboCop Plugin [#2427]
|
|
18
|
+
* Use Oracle Instant Client Version 23.8
|
|
19
|
+
|
|
20
|
+
## 7.1.1 / 2025-06-16
|
|
21
|
+
|
|
22
|
+
* Changes and bug fixes
|
|
23
|
+
* Address `add_timestamps` error [#2417, #2438]
|
|
24
|
+
* Address `rename_table` ArgumentError [#2418, #2437]
|
|
25
|
+
* Update `reconnect!` method signature [#2433, #2436]
|
|
26
|
+
* Update README.md to support status of Rails 7.1 [#2408, #2409]
|
|
27
|
+
|
|
28
|
+
## 7.1.0 / 2024-09-25
|
|
29
|
+
|
|
30
|
+
* Changes and bug fixes
|
|
31
|
+
No changes since 7.1.0.beta2
|
|
32
|
+
|
|
33
|
+
## 7.1.0.beta2 / 2024-09-23
|
|
34
|
+
* Changes and bug fixes
|
|
35
|
+
* Implement `build_explain_clause(options = [])` as no-op [#2394, #2398, #2402]
|
|
36
|
+
|
|
37
|
+
## 7.1.0.beta1 / 2024-09-23
|
|
38
|
+
|
|
39
|
+
* Changes and bug fixes
|
|
40
|
+
* Support Rails 7.1 [#2384]
|
|
41
|
+
* All attributes serialized before writing [#2203]
|
|
42
|
+
* Support LIKE case-insensitive matching [#2247]
|
|
43
|
+
* Support LOB equality [#2258]
|
|
44
|
+
* Rename the raw connection ivar to @raw_connection [#2265]
|
|
45
|
+
* Require 'activerecord', not 'rails' not to attempt to install digest [#2241]
|
|
46
|
+
* Add ruby-oci8 as dependency only for CRuby [#2240]
|
|
47
|
+
* Address uninitialized constant TestEmployee::AttributeSignature::Base64 [#2264]
|
|
48
|
+
* Enable Lint/EnsureReturn cop [#2259]
|
|
49
|
+
* Enable Performance/OpenStruct cop [#2263]
|
|
50
|
+
* Enable Style/MapToHash cop [#2266]
|
|
51
|
+
* Fix broken link [#2250]
|
|
52
|
+
* Use debug gem to replace byebug [#2275]
|
|
53
|
+
* Support linting YAML files [#2272]
|
|
54
|
+
|
|
55
|
+
* Known issues
|
|
56
|
+
* `build_explain_clause(options = [])` has not been implemented yet [#2394]
|
|
57
|
+
* `supports_fetch_first_n_rows_and_offset?` always returns `false` [#2395]
|
|
58
|
+
* Oracle enhanced adapter has not been tested against JRuby
|
|
59
|
+
* bug_report_templates are not tested [#2318]
|
|
60
|
+
|
|
61
|
+
## 7.0.3 / 2023-08-10
|
|
62
|
+
|
|
63
|
+
* Changes and bug fixes
|
|
64
|
+
* Support Rails 7.0.7
|
|
65
|
+
* Make ActiveRecord's quoted name caches thread-safe on JRuby/TruffleRuby [#2347, #2346]
|
|
66
|
+
* Address `NameError: uninitialized constant TestEmployee::AttributeSignature::Base64` [#2347]
|
|
67
|
+
* Address `Style/RedundantRegexpEscape` offense [#2347]
|
|
68
|
+
|
|
69
|
+
## 7.0.2 / 2022-01-21
|
|
70
|
+
|
|
71
|
+
* Changes and bug fixes
|
|
72
|
+
* Fix `columns_for_distinct` when using Rails 6.1 [#2249 #2251 rails/rails#31966]
|
|
73
|
+
|
|
74
|
+
## 7.0.1 / 2022-01-13
|
|
75
|
+
|
|
76
|
+
* Changes and bug fixes
|
|
77
|
+
* Add ruby-oci8 as dependency only for CRuby [#2238 #2240 #2243]
|
|
78
|
+
* Add if_exists option to remove_index [#2219 #2233]
|
|
79
|
+
* all attributes serialized before writing [#2203 #2234]
|
|
80
|
+
* Require 'activerecord', not 'rails' not to attempt to install digest [#2241]
|
|
81
|
+
* CI
|
|
82
|
+
* Bump Ruby versions at Travis CI [#2242]
|
|
83
|
+
* CI against Ruby 3.1 at GitHub Actions [#2235 #2244]
|
|
84
|
+
## 7.0.0 / 2021-12-16
|
|
85
|
+
* Changes and bug fixes
|
|
86
|
+
* Support Rails 7.0.0
|
|
87
|
+
|
|
88
|
+
## 7.0.0.rc1 / 2021-12-08
|
|
89
|
+
|
|
90
|
+
* Changes and bug fixes
|
|
91
|
+
* Support Rails 7.0.0.rc1
|
|
92
|
+
* Rails 7 requires Ruby 2.7 and prefer Ruby 3+ [#2136]
|
|
93
|
+
* Allow usage of JDBC statement caching by DB config parameter [#2088]
|
|
94
|
+
* structure dump: read column comments from all_tab_cols [#2121]
|
|
95
|
+
* Usage of bind variables for volatile filter conditions (3) [#2125]
|
|
96
|
+
* attribute should not require a connection is established [#2136]
|
|
97
|
+
* Allow Adapter#select_all to be performed asynchronously from a background thread pool [#2146]
|
|
98
|
+
* Avoid extra BindParam allocation to generate placeholder in queries [#2157]
|
|
99
|
+
* Address undefined method `to_i' for #<ActiveModel::Attribute::WithCastValue [#2159]
|
|
100
|
+
* Update Rails default branch name change [#2126]
|
|
101
|
+
* Optimize remove_columns to use a single SQL statement when supported [#2182]
|
|
102
|
+
* Refactor schema creation to extract new_foreign_key_definition [#2183]
|
|
103
|
+
* Address "NoMethodError: undefined method `partial_writes?'" [#2188]
|
|
104
|
+
* Suppress partial_writes deprecation warning [#2189]
|
|
105
|
+
* Make default_timezone a module instance variable [#2190]
|
|
106
|
+
* Define adapter type maps statically when possible [#2199]
|
|
107
|
+
* Rename _type_cast to type_cast [#2199]
|
|
108
|
+
* Rename _quote to quote [#2199]
|
|
109
|
+
* Always use OpenSSL constants for Digest operations [#2217]
|
|
110
|
+
* Refactor ActiveRecord::QueryLogs hook point [#2218]
|
|
111
|
+
* Enable Style/RedundantRegexpEscape cop [#2074]
|
|
112
|
+
* Enable Lint/DuplicateRequire cop [#2107]
|
|
113
|
+
* Enable Layout/SpaceBeforeBrackets cop [#2108]
|
|
114
|
+
* Enable Performance/BindCall cop [#2140]
|
|
115
|
+
* Enable Performance/StringReplacement cop [#2175]
|
|
116
|
+
* Enable Performance/MapCompact cop [#2176]
|
|
117
|
+
* Enable Layout/EndOfLine cop [#2177]
|
|
118
|
+
* Enable Performance/SelectMap cop [#2178]
|
|
119
|
+
* Enable Layout/ClosingParenthesisIndentation cop [#2193]
|
|
120
|
+
* Enable Style/ExplicitBlockArgument cop [#2209]
|
|
121
|
+
* Enable Lint/DuplicateMethods cop [#2215]
|
|
122
|
+
* Disable Lint/ShadowingOuterLocalVariable cop [#2137]
|
|
123
|
+
* Disable Layout/FirstArgumentIndentation cop [#2149]
|
|
124
|
+
* Opt out of SuggestExtensions message [#2133]
|
|
125
|
+
* Suppress RuboCop's offense [#2196]
|
|
126
|
+
* Support RuboCop 1.19.0 [#2204]
|
|
127
|
+
* Prevent from including ojdbc8.jar file to gem file [#2164]
|
|
128
|
+
|
|
129
|
+
* CI
|
|
130
|
+
* Disable CI against JRuby builds [#2136]
|
|
131
|
+
* CI against Ruby 3.0.0 [#2091]
|
|
132
|
+
* CI against Ruby 3.0.1 and 2.7.3 [#2173]
|
|
133
|
+
* CI against Ruby 3.0.2 and 2.7.4 [#2195]
|
|
134
|
+
* Exclude ruby-head and ruby-debug until minitest allows Ruby 3.1 [#2094]
|
|
135
|
+
* Address Travis CI warnings and bump Ubuntu version to 20.04 [#2086]
|
|
136
|
+
* Tidy up Travis CI configuration [#2116]
|
|
137
|
+
* Tweak representation of build matrix [#2129]
|
|
138
|
+
* Install Oracle JDBC driver ojdbc11.jar for GitHub Actions [#2172]
|
|
139
|
+
* Address guides/bug_report_templates/active_record_gem_spec.rb error [#2101]
|
|
140
|
+
* Use Oracle Instant Client 21.1.0.0.0 [#2205]
|
|
141
|
+
* Use Oracle Instant Client 21.4 [#2199]
|
|
142
|
+
* Use gvenzl/oracle-xe docker image [#2206]
|
|
143
|
+
|
|
144
|
+
## 6.1.5 / 2021-12-07
|
|
145
|
+
|
|
146
|
+
* Changes and bug fixes
|
|
147
|
+
* get root cause if something went wrong with jdbc.OracleDriver [#2180 #2181]
|
|
148
|
+
|
|
149
|
+
* CI
|
|
150
|
+
* Bump CRuby versions at Travis CI for release61 branch [#2192]
|
|
151
|
+
|
|
152
|
+
## 6.1.4 / 2021-04-01
|
|
153
|
+
|
|
154
|
+
* Changes and bug fixes
|
|
155
|
+
* Support use of ojdbc11.jar [#2155, #2168]
|
|
156
|
+
* Add missing default granted permission "ulimited tablespace" [#2156, #2167]
|
|
157
|
+
* Prevent from including ojdbc8.jar file to gem file [#2163, #2164, #2165]
|
|
158
|
+
* Oracle enhanced adapter 6.1.3 has been yanked since #2163
|
|
159
|
+
|
|
160
|
+
* CI
|
|
161
|
+
* Allow-failure CI against jruby-head for release61 branch [#2166]
|
|
162
|
+
|
|
163
|
+
## 6.1.3 / 2021-03-31
|
|
164
|
+
|
|
165
|
+
* Changes and bug fixes
|
|
166
|
+
* Address FrozenError (can't modify frozen Hash): error [#2139 #2151 #2160]
|
|
167
|
+
|
|
168
|
+
* CI
|
|
169
|
+
* CI against JRuby 9.2.15.0 [#2150]
|
|
170
|
+
|
|
171
|
+
## 6.1.2 / 2021-02-10
|
|
172
|
+
* Changes and bug fixes
|
|
173
|
+
* Fixed ORA-01935: missing user or role name with config read issue [#1943 #2135, #2142]
|
|
174
|
+
|
|
175
|
+
## 6.1.1 / 2021-01-14
|
|
176
|
+
|
|
177
|
+
* Changes and bug fixes
|
|
178
|
+
* Remove /*+ OPTIMIZER_FEATURES_ENABLE('11.2.0.2') */ hint for all_synonyms [#2110, #2119]
|
|
179
|
+
* Fix write_lobs Invalid byte sequence in UTF-8 [#2097, #2111]
|
|
180
|
+
* Ensure FKs are properly included in structure dumps [#2109, #2113]
|
|
181
|
+
|
|
182
|
+
* CI
|
|
183
|
+
* CI against JRuby 9.2.14.0 [#2085]
|
|
184
|
+
* CI against Ruby 3.0.0 [#2091, #2092]
|
|
185
|
+
* Address Travis CI warnings and bump Ubuntu version to 20.04 [#2086]
|
|
186
|
+
* Exclude `ruby-head` and `ruby-debug` until minitest allows Ruby 3.1 #2094, #2095
|
|
187
|
+
* CI against Ruby 3.0.0 at Travis CI [#2093]
|
|
188
|
+
|
|
189
|
+
## 6.1.0 / 2020-12-15
|
|
190
|
+
|
|
191
|
+
* Changes and bug fixes
|
|
192
|
+
* Support Rails 6.1.0
|
|
193
|
+
* Update bug report templates for Oracle enhanced adapter 6.1 [#2063]
|
|
194
|
+
* Use released version of rake [#2065 #2066]
|
|
195
|
+
* Add /*+ OPTIMIZER_FEATURES_ENABLE('11.2.0.2') */ hint to address slow SCHEMA queries [#2055, #2068]
|
|
196
|
+
* `build_subselect` does not have ordering [#2070]
|
|
197
|
+
* Remove `visit_Arel_Nodes_NotIn` and `visit_Arel_Nodes_In` visitors [#2075, #2077]
|
|
198
|
+
* `NOT IN` clause needs separated by `AND` [#2079, #2081]
|
|
199
|
+
|
|
200
|
+
## 6.1.0.rc1 / 2020-11-03
|
|
201
|
+
|
|
202
|
+
* Changes and bug fixes
|
|
203
|
+
* Support Rails 6.1.0.rc1
|
|
204
|
+
* Add support to change the permissions granted when creating DB [#1885]
|
|
205
|
+
* Refactor `create_table`'s options separation [#1886]
|
|
206
|
+
* Move schema cache to pool [#1888]
|
|
207
|
+
* Clear schema cache when a table is created/dropped/renamed [#1891]
|
|
208
|
+
* Deduplicate various Active Record schema cache structures [#1897]
|
|
209
|
+
* Support SQLCounter change to ignore "SCHEMA" and "TRANSACTION" log [#1892]
|
|
210
|
+
* Share the column and table name quote cache between connections [#1901]
|
|
211
|
+
* Add database_exists? method to connection adapters [#1906]
|
|
212
|
+
* Accept columns passed with options in remove_index [#1930]
|
|
213
|
+
* Fix `NameError` for `SchemaCreation` [#1933]
|
|
214
|
+
* Add `supports_common_table_expressions?` for CTE testing [#1946]
|
|
215
|
+
* create_table_definition and add_column take keyword arguments [#1942]
|
|
216
|
+
* Address `uninitialized constant ActiveRecord::ConnectionAdapters::AbstractAdapter::Quoting (NameError) [#1950]
|
|
217
|
+
* Fix an error when writing lobs [#1962]
|
|
218
|
+
* Uninstall SimpleCov [#1968]
|
|
219
|
+
* fix: Auto retry only works for connection.exec() [#1976]
|
|
220
|
+
* Fix keyword arguments errors for Ruby 2.8.0-dev [#1977]
|
|
221
|
+
* Fix a build errors when using Ruby 2.8.0-dev [#1983]
|
|
222
|
+
* Include sync option when dumping a context index [#1988]
|
|
223
|
+
* Use `build_result` instead of `ActiveRecord::Result.new` [#1994]
|
|
224
|
+
* Use the new API for build_results [#1995]
|
|
225
|
+
* Merge Arel visitors [#2002]
|
|
226
|
+
* Enable `Rails/IndexBy` and `Rails/IndexWith` cops [#2006]
|
|
227
|
+
* Don't refer `allowed_index_name_length` directly [#2009]
|
|
228
|
+
* Should not rely on the global `Arel::Table.engine` in the framework [#2010]
|
|
229
|
+
* Suppress `warning: already initialized constant` [#2011]
|
|
230
|
+
* Deprecate passing a column to `type_cast` [#2012]
|
|
231
|
+
* Limit number of expressions in a list during a "homogenous in" operation [#2013]
|
|
232
|
+
* Allow column name with function (e.g. `length(title)`) as safe SQL string [#2017]
|
|
233
|
+
* Default engine `ENGINE=InnoDB` is no longer dumped to make schema more agnostic [#2019]
|
|
234
|
+
* Separate primary key column options from table options [#2019]
|
|
235
|
+
* Make index options to kwargs [#2022]
|
|
236
|
+
* Make remaining migration options to kwargs [#2024]
|
|
237
|
+
* Allow TruffleRuby RUBY_ENGINE [#2046]
|
|
238
|
+
* Restore Schema Dumper behavior changed by #2019 [#2047]
|
|
239
|
+
* Support JDBC service name syntax [#2035]
|
|
240
|
+
* Use Rake 13.0.0.pre.1 [#1924]
|
|
241
|
+
* Bump RuboCop version to 0.71 [#1887]
|
|
242
|
+
* Bump RuboCop to 0.74.0 [#1914]
|
|
243
|
+
* Bump RuboCop to 0.76.0 [#1947]
|
|
244
|
+
* Use RuboCop 0.77 [#1959]
|
|
245
|
+
* Bump RuboCop to 0.82.0 [#2005]
|
|
246
|
+
* Suppress RuboCop's offenses [#2020]
|
|
247
|
+
* Enable `Layout/EmptyLinesAroundAccessModifier` cop [#1890]
|
|
248
|
+
* Disable `Style/BracesAroundHashParameters` cop [#1923]
|
|
249
|
+
* Enable `Layout/ClosingHeredocIndentation` cop [#1958]
|
|
250
|
+
* Unlock RuboCop gem versions [#1926]
|
|
251
|
+
* Enable `Rails/IndexBy` and `Rails/IndexWith` cops [#2006]
|
|
252
|
+
* Enable `Performance/DeletePrefix` and `Performance/DeleteSuffix` cops [#2021]
|
|
253
|
+
* Enable `Layout/SpaceAroundOperators` cop [#2057]
|
|
254
|
+
* Fix links to rails-dev-box running on docker [#1883]
|
|
255
|
+
* Fix spec config template copy instructions [#1884]
|
|
256
|
+
* Update UPGRADE section for Rails 5.2 [#1993]
|
|
257
|
+
|
|
258
|
+
* CI
|
|
259
|
+
* Enable GitHub Actions and run RuboCop [#1925]
|
|
260
|
+
* Run CI with GitHub Actions [#2015]
|
|
261
|
+
* Enabled Dependabot by creating .dependabot/config.yml [#1931]
|
|
262
|
+
* Disable Code Climate #1938
|
|
263
|
+
* CI against JRuby 9.2.8.0 [#1911]
|
|
264
|
+
* CI against JRuby 9.2.9.0 #1948
|
|
265
|
+
* CI against Ruby 2.6.4 and Ruby 2.5.6 [#1921]
|
|
266
|
+
* CI against Ruby 2.5.7 and Ruby 2.6.5 [#1949]
|
|
267
|
+
* CI against Ruby 2.7.0 [#1975]
|
|
268
|
+
* CI against JRuby 9.2.10.0 [#1989]
|
|
269
|
+
* CI against JRuby 9.2.11.0 [#1992]
|
|
270
|
+
* CI against JRuby 9.2.11.1 [#1997]
|
|
271
|
+
* CI againt Ruby 2.7.1, 2.6.6 and 2.5.8 #1998
|
|
272
|
+
* CI against JRuby 9.2.12.0 [#2034]
|
|
273
|
+
* Use Oracle Instant Client 18.5 [#2036]
|
|
274
|
+
* Support `jruby-head` again [#2037]
|
|
275
|
+
* CI against JRuby 9.2.13.0 [#2041]
|
|
276
|
+
* CI against Ruby 2.7.2 [#2052]
|
|
277
|
+
* Remove unnecessary PATH and LD_LIBRARY_PATH environment variables [#1927]
|
|
278
|
+
* Use Ubuntu 18.04 (Bionic Beaver) at Travis CI [#1937]
|
|
279
|
+
* Run bug report template at CI [#1936]
|
|
280
|
+
* Skip known failures until #1943 is resolved [#1961]
|
|
281
|
+
* Migrate to `ruby/setup-ruby` to use Ruby 2.7 [#2026]
|
|
282
|
+
|
|
283
|
+
## 6.0.4 / 2020-08-18
|
|
284
|
+
|
|
285
|
+
* Changes and bug fixes
|
|
286
|
+
* create_table_definition and add_column take keyword arguments [#1942, #2043]
|
|
287
|
+
* Fix keyword arguments errors for Ruby 2.8.0-dev [#1977,#2043]
|
|
288
|
+
* Fix a build errors when using Ruby 2.8.0-dev [#1983, #2043]
|
|
289
|
+
|
|
290
|
+
## 6.0.3 / 2020-06-16
|
|
291
|
+
|
|
292
|
+
* Changes and bug fixes
|
|
293
|
+
* Auto retry works for other `exec_*` methods [#1976, #1981]
|
|
294
|
+
* Allow column name with function (e.g. `length(title)`) as safe SQL string [#2017, #2018]
|
|
295
|
+
|
|
296
|
+
* CI
|
|
297
|
+
* CI against latest Ruby versions [#1979]
|
|
298
|
+
|
|
299
|
+
## 6.0.2 / 2019-12-25
|
|
300
|
+
|
|
301
|
+
* Changes and bug fixes
|
|
302
|
+
* Uninstall SimpleCov [#1968]
|
|
303
|
+
|
|
304
|
+
## 6.0.1 / 2019-12-20
|
|
305
|
+
|
|
306
|
+
* Changes and bug fixes
|
|
307
|
+
* Address `undefined local variable or method `sql' [#1932 #1962 #1963]
|
|
308
|
+
|
|
309
|
+
* CI
|
|
310
|
+
* CI against Ruby 2.6.4 and Ruby 2.5.6 [#1922]
|
|
311
|
+
|
|
312
|
+
## 6.0.0 / 2019-08-17
|
|
313
|
+
|
|
314
|
+
* Major changes, including changes since 6.0.0.beta1
|
|
315
|
+
|
|
316
|
+
* Support Rails 6.0.0
|
|
317
|
+
* Rails 6 requires Ruby 2.5 [#1801]
|
|
318
|
+
* Support longer identifier for Oracle database 12.2 or higher [#1703 #1705]
|
|
319
|
+
* Introduce `use_shorter_identifier` [#1707]
|
|
320
|
+
* Change `default_sequence_start_value` from 10000 to 1 [#1636]
|
|
321
|
+
* Address `ORA-01795: maximum number of expressions in a list is 1000`
|
|
322
|
+
|
|
323
|
+
* CI
|
|
324
|
+
* CI against JRuby 9.2.8.0 #1912
|
|
325
|
+
|
|
326
|
+
## 6.0.0.rc3 / 2019-07-27
|
|
327
|
+
|
|
328
|
+
* Changes and bug fixes
|
|
329
|
+
* Share the column and table name quote cache between connections [#1901 #1903]
|
|
330
|
+
|
|
331
|
+
## 6.0.0.rc2 / 2019-07-23
|
|
332
|
+
|
|
333
|
+
* Major changes
|
|
334
|
+
* Support Rails 6.0.0 rc2
|
|
335
|
+
* Add TCP keepalive and TCP keepalive time configurations [#1874 #1877]
|
|
336
|
+
|
|
337
|
+
* Changes and bug fixes
|
|
338
|
+
* Update bug report templates for Oracle enhanced adapter 6.0 [#1873]
|
|
339
|
+
|
|
340
|
+
## 6.0.0.rc1 / 2019-04-25
|
|
341
|
+
|
|
342
|
+
* Major changes
|
|
343
|
+
* Support Rails 6.0.0 rc1
|
|
344
|
+
* Address `ORA-01795: maximum number of expressions in a list is 1000`
|
|
345
|
+
- These changes has been made to Rails itself [rails/rails#35838, rails/rails#36074]
|
|
346
|
+
|
|
347
|
+
* Changes and bug fixes
|
|
348
|
+
* Cache database version in schema cache [#1859]
|
|
349
|
+
* Except `table_name` from column objects [#1860]
|
|
350
|
+
* Remove unused `sequence_name` in `sql_for_insert` [#1861]
|
|
351
|
+
* Use squiggly heredoc to strip odd indentation in the executed SQL [#1869]
|
|
352
|
+
* Use Active Support `String#squish` instead of `String#strip.gsub` [#1871]
|
|
353
|
+
|
|
354
|
+
* CI
|
|
355
|
+
* Revert "Add `allow_railures` for jruby-head until #1833 resolved" [#1862]
|
|
356
|
+
* CI against JRuby 9.2.7.0 [#1864]
|
|
357
|
+
* Use newer Code Climate analysis model, version 2 [#1868]
|
|
358
|
+
* CI against Ruby 2.6.3 [#1870]
|
|
359
|
+
|
|
360
|
+
* RuboCop
|
|
361
|
+
* Bump RuboCop version to 0.67 [#1867]
|
|
362
|
+
* Enable `Layout/SpaceBeforeComment` cop [#1863]
|
|
363
|
+
|
|
364
|
+
## 6.0.0.beta1 / 2019-03-18
|
|
365
|
+
|
|
366
|
+
* Major changes
|
|
367
|
+
|
|
368
|
+
* Rails 6 requires Ruby 2.5 [#1801]
|
|
369
|
+
* Support longer identifier for Oracle database 12.2 or higher [#1703 #1705]
|
|
370
|
+
* Introduce `use_shorter_identifier` [#1707]
|
|
371
|
+
* Change `default_sequence_start_value` from 10000 to 1 [#1636]
|
|
372
|
+
* Supports `supports_optimizer_hints?` [#1850 #1852]
|
|
373
|
+
* `OracleEnhanced::SchemaStatements#tables` excludes materialized views [#1708]
|
|
374
|
+
* rake db:structure:dump extracts views by default [#1625 #1641]
|
|
375
|
+
* Drop db link support [#1668 #1681 #1696 #1706]
|
|
376
|
+
* Drop trigger based primary key support for Rails 6 [#1669]
|
|
377
|
+
* Don't allow unsupported NLS parameters [#1685]
|
|
378
|
+
* fix Handling with char-column problem [#1760]
|
|
379
|
+
* Make `t.timestamps` with precision by default [#1818]
|
|
380
|
+
* fix mapping of decimal type to map to `NUMBER` instead of `DECIMAL` [#1840]
|
|
381
|
+
|
|
382
|
+
* Changes and bug fixes
|
|
383
|
+
|
|
384
|
+
* Handle ORA-02292 as `InvalidForeignKey` [#1771]
|
|
385
|
+
* Suppress deprecated warning for `table_name_length` [#1772]
|
|
386
|
+
* `update_attributes!` will be deprecated in Rails 6 [#1665]
|
|
387
|
+
* `update_attributes` will be deprecated in Rails 6 [#1667]
|
|
388
|
+
* Remove `OCI8#describe` to use `OracleEnhanced::Connection#describe` [#1639]
|
|
389
|
+
* Remove `strip_heredoc` [#1652]
|
|
390
|
+
* Remove `rails/arel` from Gemfile [#1711]
|
|
391
|
+
* Remove `rails/arel` from bug report templates [skip ci] [#1715]
|
|
392
|
+
* Remove NativeException [#1666 #1762]
|
|
393
|
+
* Do not set nil value to java.util.Properties [#1763]
|
|
394
|
+
* Deprecated `table_name_length` and `column_name_length` [#1770]
|
|
395
|
+
* Add a check to supported Oracle database version [#1773]
|
|
396
|
+
* Update bug report templates [#1777]
|
|
397
|
+
* Use `supports_foreign_keys?` instead of removed `supports_foreign_keys_in_create?` [#1825]
|
|
398
|
+
* Ensure `clear_cache!` clears the prepared statements cache [#1845]
|
|
399
|
+
|
|
400
|
+
* Refactoring
|
|
401
|
+
|
|
402
|
+
* Extract `structure_dump_views` and `structure_dump_synonyms` [#1640]
|
|
403
|
+
* Remove unnecessary `respond_to?(:report_on_exception)` [#1664]
|
|
404
|
+
* Remove deprecated `#insert_fixtures` method for Rails 6.0 [#1815]
|
|
405
|
+
* Use `SYS_CONTEXT('userenv', 'current_schema')` to find schema objects [#1671]
|
|
406
|
+
* Use `SYS_CONTEXT('userenv', 'current_schema')` for owner [#1672]
|
|
407
|
+
* Suppress warning `BigDecimal.new` is deprecated [#1742]
|
|
408
|
+
* Refactor to initialize `TableDefinition` by kwargs [#1785]
|
|
409
|
+
* Redact SQL in errors [#1791]
|
|
410
|
+
* Arity change at `sql_for_insert` [#1814]
|
|
411
|
+
|
|
412
|
+
* CI
|
|
413
|
+
* Use Ubuntu Xenial at Travis CI [#1790]
|
|
414
|
+
* Bump Ruby versions to 2.6.2 and 2.5.4 [#1847]
|
|
415
|
+
* CI against Ruby 2.5.5 [#1848]
|
|
416
|
+
* Do not run CI against Ruby 2.2, which will not be supported with Rails 6 [#1653]
|
|
417
|
+
* CI against JRuby 9.2.6.0 [#1824]
|
|
418
|
+
* Show ruby version at CI [#1829]
|
|
419
|
+
* Remove unused blocklist from .travis.yml [#1830]
|
|
420
|
+
* Add spec for custom sequence name [#1846]
|
|
421
|
+
* Restore old Code Climate behavior [#1716]
|
|
422
|
+
* Do not install bundler explicitly [#1725]
|
|
423
|
+
|
|
424
|
+
* RuboCop
|
|
425
|
+
|
|
426
|
+
* Add RuboCop to Gemfile [#1841]
|
|
427
|
+
* Bump RuboCop to 0.63.0 [#1816]
|
|
428
|
+
* No need to exclude `jdbc_connection.rb` for `Style/ColonMethodCall` cop [#1698]
|
|
429
|
+
* Enable `Style/ColonMethodCall` cop [#1658]
|
|
430
|
+
* Enable `Lint/StringConversionInInterpolation` cop [#1724]
|
|
431
|
+
* Add `Style/RedundantFreeze` to remove redudant `.freeze` [#1662]
|
|
432
|
+
* Use `Layout/EndAlignment` cop to support RuboCop 0.54 [#1709]
|
|
433
|
+
* Introduced StartWith, EndWith and RegexpMatch cops [#1738]
|
|
434
|
+
* Enable `Layout/EmptyLinesAroundBlockBody` cop [#1732]
|
|
435
|
+
* Turn on performance based cops [#1734]
|
|
436
|
+
* Enable performance unfreeze string cop [#1729]
|
|
437
|
+
* Enable `Lint/UriEscapeUnescape` cop [#1758]
|
|
438
|
+
* Enable Style/ParenthesesAroundCondition cop [#1759]
|
|
439
|
+
* Enable performance unfreeze string cop [#1729]
|
|
440
|
+
* Enable `Layout/SpaceAfterSemicolon` cop [#1800]
|
|
441
|
+
* Enable `Style/RedundantBegin` cop [#1802]
|
|
442
|
+
* Enable `Lint/ShadowingOuterLocalVariable` cop [#1810]
|
|
443
|
+
* Enable `Lint/UselessAssignment` cop [#1812]
|
|
444
|
+
* Enable `Lint/DeprecatedClassMethods` cop [#1813]
|
|
445
|
+
* Enable `Lint/ErbNewArguments` cop [#1823]
|
|
446
|
+
* Enable `Lint/AmbiguousOperator` and `Lint/AmbiguousRegexpLiteral` cops [#1842]
|
|
447
|
+
* Enable `Performance/ReverseEach` cop [#1843]
|
|
448
|
+
|
|
449
|
+
## 5.2.5 / 2019-03-05
|
|
450
|
+
|
|
451
|
+
* Changes and bug fixes
|
|
452
|
+
* `references` column type should be :integer, not :bigint [#1831 #1832 #1835]
|
|
453
|
+
* CI against Ruby 2.6.1 [#1821 #1822]
|
|
454
|
+
* CI against JRuby 9.2.6.0 [#1824 #1828]
|
|
455
|
+
* CI against Ruby 2.6 and bump other Ruby versions [#1806 #1807]
|
|
456
|
+
* Install bundler and fallback to 1.7.3 if Bundler 2 is not available [#1811]
|
|
457
|
+
* Use i18n 1.2 for JRuby now [#1804 #1805]
|
|
458
|
+
* Add `allow_railures` for jruby-head until #1833 resolved [#1834 #1836]
|
|
459
|
+
|
|
460
|
+
## 5.2.4 / 2018-11-29
|
|
461
|
+
|
|
462
|
+
* Changes and bug fixes
|
|
463
|
+
* Stop using NativeException [#1666 #1761 #1762]
|
|
464
|
+
|
|
465
|
+
## 5.2.3 / 2018-08-08
|
|
466
|
+
|
|
467
|
+
* Changes and bug fixes
|
|
468
|
+
* Introduce column cache per connection [#1744 #1750]
|
|
469
|
+
* Use `cursor_sharing` = force by default again [#1745 #1748]
|
|
470
|
+
* Add `table_name` search condition to `indexes(table_name)` method [#1747 #1749]
|
|
471
|
+
* Suppress warning `BigDecimal.new` is deprecated [#1742 #1743]
|
|
472
|
+
* Do not install bundler explicitly [#1725 #1726]
|
|
473
|
+
* Add `allow_railures` for jruby-head until #1737 resolved [#1739 #1740]
|
|
474
|
+
* CI against JRuby 9.2.0.0 [#1728 #1741]
|
|
475
|
+
* Do not run CI against older version of JRuby [#1741]
|
|
476
|
+
|
|
477
|
+
## 5.2.2 / 2018-04-28
|
|
478
|
+
|
|
479
|
+
* Changes and bug fixes
|
|
480
|
+
* Use SQL literals for `column_definitions` and `pk_and_sequence_for` [#1678 #1713 #1714]
|
|
481
|
+
* Memoize if the table needs to prefetch primary key[#1673 #1699 #1700]
|
|
482
|
+
* CI with JRuby 9.1.17.0 [#1710]
|
|
483
|
+
* Remove `rails/arel` from Gemfile [#1711 #1712]
|
|
484
|
+
|
|
485
|
+
## 5.2.1 / 2018-04-15
|
|
486
|
+
|
|
487
|
+
* Changes and bug fixes
|
|
488
|
+
* Memoize if the table needs to prefetch primary key[#1673 #1699 #1700]
|
|
489
|
+
|
|
490
|
+
## 5.2.0 / 2018-04-10
|
|
491
|
+
|
|
492
|
+
* Major changes and fixes
|
|
493
|
+
* Support Rails 5.2.0
|
|
494
|
+
|
|
495
|
+
* Documentation changes
|
|
496
|
+
* Add README and UPGRADE sections for Rails 5.2 [#1637 #1638]
|
|
497
|
+
* Update bug templates for Rails 5.2 [#1663]
|
|
498
|
+
|
|
499
|
+
* Changes in specs
|
|
500
|
+
* Suppress expected exceptions by `report_on_exception` = `false` [#1655 #1656]
|
|
501
|
+
|
|
502
|
+
* Changes for CI and builds
|
|
503
|
+
* CI with JRuby 9.1.16.0 [#1659]
|
|
504
|
+
* CI with Ruby 2.5.1 [#1683 #1684]
|
|
505
|
+
* CI against Ruby 2.4.4 [#1686 #1687]
|
|
506
|
+
* Use ruby 2.3.7 and 2.2.10 for CI at release52 branch [#1688]
|
|
507
|
+
* Oracle enhanced adapter 5.2 needs Rails `5-2-stable` branch [#1654]
|
|
508
|
+
|
|
509
|
+
## 5.2.0.rc1 / 2018-01-31
|
|
510
|
+
|
|
511
|
+
* Changes and bug fixes
|
|
512
|
+
|
|
513
|
+
* Support Rails 5.2.0.rc1
|
|
514
|
+
* Do not register `VARCHAR2(1)` sql type as `Type:Boolean` [#1621 #1623]
|
|
515
|
+
* Support `insert_fixtures_set` [#1633]
|
|
516
|
+
* Deprecated `insert_fixtures` [#1634]
|
|
517
|
+
* Refactor index options dumping [#1602]
|
|
518
|
+
* Skip failed spec explained at #1599 [#1599 #1604]
|
|
519
|
+
* CI with Ruby 2.5.0 [#1618]
|
|
520
|
+
* CI against JRuby 9.1.15.0 [#1605]
|
|
521
|
+
* Enable `Layout/SpaceBeforeComma` [#1606]
|
|
522
|
+
* Enable `Layout/LeadingCommentSpace` cop [#1607]
|
|
523
|
+
* Enable autocorrect for `Lint/EndAlignment` cop [#1629]
|
|
524
|
+
* Remove `--force` option for installing bundler [#1616]
|
|
525
|
+
|
|
526
|
+
## 5.2.0.beta1 / 2017-11-27
|
|
527
|
+
|
|
528
|
+
* Major changes and fixes
|
|
529
|
+
|
|
530
|
+
* Support Rails 5.2.0.beta1
|
|
531
|
+
* Oracle enhanced adapter version follows Rails versioning [#1488]
|
|
532
|
+
* Handle `TIMESTAMP WITH TIMEZONE` separately from `TIMEZONE` [#1267]
|
|
533
|
+
* Support `timestamptz` and `timestampltz` for migrations #1285
|
|
534
|
+
* `supports_json?` returns false [#1562]
|
|
535
|
+
* Add synonyms in `data_sources` [#1380, #1567]
|
|
536
|
+
* Add sequence with settings to structure dump [#1354]
|
|
537
|
+
* Support for NCLOB datatype [#1428, #1440]
|
|
538
|
+
* Use conventional fixture load [#1366]
|
|
539
|
+
* Address `ORA-00905: missing keyword: EXPLAIN PLAN FOR` [#1384]
|
|
540
|
+
* Use new method name for active record dirty checks [#1406]
|
|
541
|
+
* check for schema name when validating table name [#1408, #1410]
|
|
542
|
+
* Prefer to place a table options before `force: :cascade` [#1457]
|
|
543
|
+
* Enable TCP keepalive for OCI connections [#1489]
|
|
544
|
+
* Do not expose `all_schema_indexes` [#1495]
|
|
545
|
+
* Using bind variables for dictionary access [#1498]
|
|
546
|
+
* Use bind variables for `table_comment` `column_comment` `foreign_keys` [#1502]
|
|
547
|
+
* Respect database instance `cursor_sharing` value `exact` by default [#1503, #1556]
|
|
548
|
+
* Address `CommentTest#test_change_table_comment_to_nil` failure [#1504]
|
|
549
|
+
* Address explain with binds errors [#908, #1386, #1538]
|
|
550
|
+
* Address `MigrationTest#test_create_table_with_query_from_relation` error [#1543]
|
|
551
|
+
* Follow the new interface of AR::ConnectionAdapters::IndexDefinition#initialize [#1295]
|
|
552
|
+
* Remove `lengths`, `where`, `using` from `IndexDefinition` [#1529]
|
|
553
|
+
* Arity change in insert method [#1382]
|
|
554
|
+
* Restore the ability that SQL with binds for `insert` [#1424]
|
|
555
|
+
* Restore `to_sql` to return only SQL [#1423]
|
|
556
|
+
* Signature fix for `select_one` `select_value` `select_values` [#1475]
|
|
557
|
+
* `columns` second argument does not exist in Abstract adapter [#1519]
|
|
558
|
+
* Arel::Nodes::BindParam#initialize introduced [#1383]
|
|
559
|
+
* Log the purpose of sql in `disable_referential_integrity` [#1550]
|
|
560
|
+
* Change log format of "Primary Key Trigger" to one line [#1551]
|
|
561
|
+
* Log multi lines SQL statements into one line [#1553]
|
|
562
|
+
* Log multi lines SQL statements into one line at `structure_dump.rb` [#1555]
|
|
563
|
+
* [ci skip] `open_cursors` value should be larger than `:statement_limit` [#1573]
|
|
564
|
+
* [skip ci] Add `schema` option in the comment [#1574]
|
|
565
|
+
* [skip ci] `emulate_booleans_from_strings` behavior changes [#1576]
|
|
566
|
+
* Restore calling `OCIConnection#bind_returning_param` [#1581]
|
|
567
|
+
* Add these errors to be recognized as `ActiveRecord::StatementInvalid` [#1584]
|
|
568
|
+
* Add `ORA-02289` to be recognized as `ActiveRecord::StatementInvalid` [#1586]
|
|
569
|
+
* Address `BasicsTest#test_clear_cache!` failure [#1587]
|
|
570
|
+
* Use Bundler 1.15 to workaround bundler/bundler#6072 [#1590]
|
|
571
|
+
* Translate `ORA-00060` into `ActiveRecord::Deadlocked` error [#1591]
|
|
572
|
+
* Add `ORA-02449` to be recognized as `ActiveRecord::StatementInvalid` [#1593, #1596]
|
|
573
|
+
* Support `discard!` method [#1598]
|
|
574
|
+
|
|
575
|
+
* Deprecation or removing deprecated code
|
|
576
|
+
|
|
577
|
+
* Remove `OracleEnhancedAdapter.cache_columns` [#1490, #1492]
|
|
578
|
+
* Deprecate `supports_statement_cache?` [#1321]
|
|
579
|
+
* Remove `compress_lines` [#1327]
|
|
580
|
+
* Remove `OracleEnhanced::SchemaDumper::TableInspect` [#1400]
|
|
581
|
+
* Remove `remove_prefix_and_suffix` and specs from Oracle enhanced adapter [#1420]
|
|
582
|
+
* Remove unused returning value `stream` [#1438]
|
|
583
|
+
* Remove `OracleEnhancedAdapter.emulate_dates` [#1448]
|
|
584
|
+
* Remove `emulate_dates` and `emulate_dates_by_column_name` [#1450]
|
|
585
|
+
* Remove `emulate_integers_by_column_name` [#1451]
|
|
586
|
+
* Remove `@@do_not_prefetch_primary_key` class variable [#1496]
|
|
587
|
+
* Remove `string_to_date` which has been removed from Rails 4.2 [#1509]
|
|
588
|
+
* Remove `string_to_time` which has been removed from Rails 4.2 [#1510]
|
|
589
|
+
* Remove `guess_date_or_time` which has not been called [#1511]
|
|
590
|
+
* Remove unused `object_type?` and `object_type` ivar [#1512]
|
|
591
|
+
* Remove non-existent `:nchar` from `attr_reader` [#1513]
|
|
592
|
+
* Remove `ActiveRecord::ConnectionAdapter::OracleEnhanced::Column#lob?` [#1522]
|
|
593
|
+
* Remove `OracleEnhanced::Column#returning_id?` [#1523]
|
|
594
|
+
* Remove `attr_reader :table_name` [#1524]
|
|
595
|
+
* Remove `combine_bind_parameters` [#1527]
|
|
596
|
+
* Remove `OracleEnhancedAdapter.default_tablespaces[native_database_types[type][:name]]` [#1544]
|
|
597
|
+
* Remove unused `require "digest/sha1"` [#1545]
|
|
598
|
+
* Remove deprecations for 5.2 [#1548]
|
|
599
|
+
* Remove `OracleEnhanced::Connection#select_values` [#1558]
|
|
600
|
+
* Remove `@connection` from `@connection.oracle_downcase` and `@connection.select_value` [#1559]
|
|
601
|
+
* Rename `OracleEnhanced::Connection#select_value` to `_select_value` [#1563]
|
|
602
|
+
* Rename `OracleEnhanced::Connection#oracle_downcase` to `_oracle_downcase` [#1565]
|
|
603
|
+
* Remove `OCIConnection#typecast_result_value` handling `OraNumber` [#1578]
|
|
604
|
+
* [skip ci] Changing `NLS_DATE_FORMAT` and `NLS_TIMESTAMP_FORMAT` is not supported [#1575]
|
|
605
|
+
* [skip ci] Remove ruby versions in the comment [#1577]
|
|
606
|
+
* Remove `OCIConnection#returning_clause` and `JDBCConnection#returning_clause` [#1579]
|
|
607
|
+
* Remove `OCIConnection#exec_with_returning` and `JDBCConnection#exec_with_returning` [#1580]
|
|
608
|
+
* Update `JDBCConnection#bind_param` case condition [#1583]
|
|
609
|
+
|
|
610
|
+
* Refactoring
|
|
611
|
+
|
|
612
|
+
* Refactor `SchemaDumper` to make it possible to adapter specific customization [#1430]
|
|
613
|
+
* Rename `SchemaDumper#indexes` to `SchemaDumper#_indexes` [#1399]
|
|
614
|
+
* Use ActiveRecord::Type::Json [#1352]
|
|
615
|
+
* Introduce module `DatabaseLimits` [#1322]
|
|
616
|
+
* Move `oracle_downcase` to `Quoting` module [#1328]
|
|
617
|
+
* Make `type_map` to private because it is only used in the connection adapter [#1381]
|
|
618
|
+
* Remove `add_runtime_dependency` with arel [#1385]
|
|
619
|
+
* Move methods for synonyms out of `SchemaStatementsExt` [#1387]
|
|
620
|
+
* Remove incorrect prepend to `ActiveRecord::ColumnDumper` [#1394]
|
|
621
|
+
* Handle `ActiveRecord::SchemaDumper` by `adapter_name` [#1395]
|
|
622
|
+
* Rewrite `remove_prefix_and_suffix` to be similar with super #1401
|
|
623
|
+
* `remove_prefix_and_suffix` handles dollar sign by `Regexp#escape` [#1402]
|
|
624
|
+
* `prepare_column_options` is now private [#1429]
|
|
625
|
+
* Introduce `OracleEnhanced::SchemaStatements#table_options` [#1439]
|
|
626
|
+
* Extract `ActiveRecord::ConnectionAdapters::OracleEnhanced::Column` [#1445]
|
|
627
|
+
* Extract `ActiveRecord::ConnectionAdapters::OracleEnhanced::DbmsOutput` [#1446]
|
|
628
|
+
* Introduce `SchemaDumpingHelper#dump_table_schema` [#1455]
|
|
629
|
+
* Rename `OracleEnhancedConnection` to `OracleEnhanced::Connection` [#1477]
|
|
630
|
+
* Introduce `ActiveRecord::ConnectionAdapters::OracleEnhanced::TypeMetadata` [#1515]
|
|
631
|
+
* Change `schema_creation` to private [#1517]
|
|
632
|
+
* Change `create_table_definition` and `fetch_type_metadata` to private [#1518]
|
|
633
|
+
* Refactor `columns` [#1521]
|
|
634
|
+
* Let `ActiveRecord::ConnectionAdapters::OracleEnhanced::TypeMetadata` handle `virtual` type [#1526]
|
|
635
|
+
* Clean up `column_definitions` method [#1528]
|
|
636
|
+
* Remove unnecessary `ActiveRecord::ConnectionAdapters` [#1530]
|
|
637
|
+
* Rename `OracleEnhancedStructureDump` to `OracleEnhanced::StructureDump` [#1531]
|
|
638
|
+
* Move up require for types [#1533]
|
|
639
|
+
* These methods are private in `AbstractAdapter` or `PostgreSQLAdapter` [#1534]
|
|
640
|
+
* `ActiveRecord::ConnectionAdapters::AbstractAdapter#log` is a `private` [#1535]
|
|
641
|
+
* Move `self.default_sequence_start_value` method [#1536]
|
|
642
|
+
* Rename `ActiveRecord::OracleEnhanced::Type` to `ActiveRecord::Type::OracleEnhanced` [#1541]
|
|
643
|
+
* Move `write_lobs` under `OracleEnhanced::DatabaseStatements` module [#1546]
|
|
644
|
+
* Introduce `OracleEnhanced::Lob` not to modify `ActiveRecord::Base` directly [#1547]
|
|
645
|
+
* Use `ActiveSupport.on_load` to hook into `ActiveRecord::Base` [#1568]
|
|
646
|
+
* Call `virtual_columns_for` when `supports_virtual_columns?` returns true [#1554]
|
|
647
|
+
* Move `tables` and related methods into `OracleEnhanced::SchemaStatements` [#1557]
|
|
648
|
+
* Avoid using `OracleEnhanced::Connection#select_value` [#1560]
|
|
649
|
+
* Make `OracleEnhanced::Connection#describe` private [#1566]
|
|
650
|
+
|
|
651
|
+
* Changes in specs
|
|
652
|
+
|
|
653
|
+
* Always generate `debug.log` for unit tests [#1476]
|
|
654
|
+
* Use Rails migration for creating table at "using offset and limit" [#1276]
|
|
655
|
+
* Use Rails migration for creating table at `valid_type?` [#1277]
|
|
656
|
+
* Clean up before(:each) and after(:each) at "rename tables and sequences" [#1278]
|
|
657
|
+
* Use Rails migration for creating table at `BINARY_FLOAT columns" specs [#1280]
|
|
658
|
+
* Use Rails migration for creating table at "handling of BLOB columns" [#1282]
|
|
659
|
+
* Use Rails migration for creating table at "handling of CLOB columns" [#1283]
|
|
660
|
+
* Use Rails migration for creating table at "assign string to :date and :datetime columns" [#1284]
|
|
661
|
+
* Use Rails migration for creating table at "table columns" [#1287]
|
|
662
|
+
* Use Rails migration for creating table at procedure specs [#1288]
|
|
663
|
+
* Use Rails migration for creating table at database tasks specs [#1290]
|
|
664
|
+
* Suppress `warning: assigned but unused variable - poolable_connection_factory` [#1292]
|
|
665
|
+
* Suppress `warning: assigned but unused variable - post` [#1293]
|
|
666
|
+
* Move spec files under `oracle_enhanced` directory [#1441]
|
|
667
|
+
* Move spec files under `emulation` directory [#1442]
|
|
668
|
+
* Move schema_dumper_spec under `oracle_enhanced` directory [#1443]
|
|
669
|
+
* Rename spec/active_record/connection_adapters/oracle_enhanced_dirty_spec.rb [#1447]
|
|
670
|
+
* Remove `set_boolean_columns` from `oracle_enhanced_data_types_spec.rb` [#1452]
|
|
671
|
+
* Remove `set_string_columns` from `oracle_enhanced_data_types_spec.rb` [#1454]
|
|
672
|
+
* Use `drop_table` if_exists: true` to avoid rescue nil [#1456]
|
|
673
|
+
* Extract JSON data type specs [#1459]
|
|
674
|
+
* Extract NationalCharacterString data type specs [#1460]
|
|
675
|
+
* Extract RAW data type specs [#1461]
|
|
676
|
+
* Extract TEXT data type specs [#1462]
|
|
677
|
+
* Extract INTEGER data type specs [#1463]
|
|
678
|
+
* Remove redundant `type` from spec files [#1464]
|
|
679
|
+
* Extract boolean data type specs [#1465]
|
|
680
|
+
* Extract NationalCharacterText data type specs [#1466]
|
|
681
|
+
* Extract specs for `OracleEnhanced::Quoting` [#1469]
|
|
682
|
+
* Extract TIMPSTAMP, TIMESTAMPTZ and TIMESTAMPLTZ specs [#1480]
|
|
683
|
+
* Extract FLOAT type specs [#1482]
|
|
684
|
+
* Use `SchemaDumpingHelper#dump_table_schema` at `context_index_spec` [#1491]
|
|
685
|
+
* Remove unused `fk_name` [#1514]
|
|
686
|
+
* Show correct bind value information in debug.log [#1537]
|
|
687
|
+
* rubocop 0.48.1 [#1281]
|
|
688
|
+
|
|
689
|
+
* Changes for CI and builds
|
|
690
|
+
|
|
691
|
+
* Use `rubocop-0-51` channel on Code Climate [#1589]
|
|
692
|
+
* Use `rubocop-0-50` channel on Code Climate [#1539]
|
|
693
|
+
* Use `rubocop-0-49` channel to run rubocop 0.49 [#1478]
|
|
694
|
+
* Bump ruby versions to 2.4.2, 2.3.5 and 2.2.8 at Travis [#1484]
|
|
695
|
+
* CI against JRuby 9.1.14.0 [#1592]
|
|
696
|
+
* CI against JRuby 9.1.13.0 [#1471]
|
|
697
|
+
* set `open_cursor` value to `1200` [#1431]
|
|
698
|
+
* Use bundler 1.16.0.preX and update rubygems to the latest [#1532]
|
|
699
|
+
* [ci skip] Create an issue template [#1317]
|
|
700
|
+
* [ci skip] Add Oracle enhanced adapter version to the issue template [#1319]
|
|
701
|
+
* [ci skip] Remove `self.emulate_integers_by_column_name = true` [#1494]
|
|
702
|
+
* Remove leftover comments [ci skip] [#1520]
|
|
703
|
+
* Move issue template to github sub directory [skip ci] [#1320]
|
|
704
|
+
* Replace :github source with https [#1499]
|
|
705
|
+
* Simplify `git_source` in Gemfile [#1500]
|
|
706
|
+
* Enable and apply `Style/Semicolon` [#1570]
|
|
707
|
+
* Enable and apply Style/RedundantReturn [#1571]
|
|
708
|
+
* Enable `Style/DefWithParentheses` rubocop rule [#1597]
|
|
709
|
+
* bundler 1.16.0 is out, no more --pre [#1572]
|
|
710
|
+
|
|
711
|
+
## 1.8.2 / 2017-08-24
|
|
712
|
+
|
|
713
|
+
* Changes and bug fixes
|
|
714
|
+
* Fix cursor leak when using activerecord-import gem [#1409, #1433]
|
|
715
|
+
* Mention new statement_limit default [#1364, #1365]
|
|
716
|
+
* Add upgrade section for `:statement_limit` value at Rails 5.1 [#1362, #1363]
|
|
717
|
+
* Set `disk_asynch_io` to `false` [#1413, #1414]
|
|
718
|
+
* Update README.md [#1367 #1368]
|
|
719
|
+
* CI against JRuby 9.1.12.0 [#1359, #1360]
|
|
720
|
+
* Bump ruby versions [#1346]
|
|
721
|
+
* rubocop namespace changes from `Style` to `Layout` [#1347, #1351]
|
|
722
|
+
|
|
723
|
+
* Known issues
|
|
724
|
+
* No changes since 1.8.0.rc3
|
|
725
|
+
|
|
726
|
+
## 1.8.1 / 2017-05-11
|
|
727
|
+
|
|
728
|
+
* Changes and bug fixes
|
|
729
|
+
* Address `undefined method `tablespace' for #<ActiveRecord::ConnectionAdapters::IndexDefinition [#1332, #1334, #1336]
|
|
730
|
+
* Rails 5.1.0.rcX is not supported anymore [#1311]
|
|
731
|
+
* Use Ubuntu 12.04 at Travis [#1324]
|
|
732
|
+
|
|
733
|
+
## 1.8.0 / 2017-04-27
|
|
734
|
+
|
|
735
|
+
* Major enhancements
|
|
736
|
+
* Support Rails 5.1.0
|
|
737
|
+
* Add JSON attribute support [#1240]
|
|
738
|
+
* Update `database.yml` when `rails new <new_app> -d oracle` specified [rails/rails#28257]
|
|
739
|
+
|
|
740
|
+
* Changes and bug fixes
|
|
741
|
+
* No changes since 1.8.0.rc3
|
|
742
|
+
|
|
743
|
+
## 1.8.0.rc3 / 2017-04-24
|
|
744
|
+
|
|
745
|
+
* Changes and bug fixes
|
|
746
|
+
* Include VERSION file in gem [#1302, #1303]
|
|
747
|
+
|
|
748
|
+
## 1.8.0.rc2 / 2017-04-19
|
|
749
|
+
|
|
750
|
+
* Changes and bug fixes
|
|
751
|
+
* Fix `select_all` with legacy `binds` [#1246,#1248,#1250]
|
|
752
|
+
* Fix the `BINARY_FLOAT` column type returns nil in JRuby [#1244, #1254, #1255]
|
|
753
|
+
* Handle `TIMESTAMP WITH TIMEZONE` separately from `TIMEZONE` [#1206, #1267, #1268]
|
|
754
|
+
* Changing `NLS_DATE_FORMAT` and `NLS_TIMESTAMP_FORMAT` is not supported [#1267, #1268]
|
|
755
|
+
* Let abstract adapter type cast Date, DateTime and Time for JRuby [#1272, #1273]
|
|
756
|
+
* Collapse a file specification in gemspec [#1296, #1297]
|
|
757
|
+
* Do not write VERSION directly with gemspec [#1298, #1299]
|
|
758
|
+
* Omit specification of release date in gemspec [#1298, #1299]
|
|
759
|
+
* Add missing `timestamptz.rb` to gemspec at release18 branch [#1286]
|
|
760
|
+
* Remove specs for unsupported behaviour which causes `ORA-01861` [#1267, #1269, #1271]
|
|
761
|
+
* Address `OCIException: OCI8 was already closed` at specs for JSON [#1265, #1266]
|
|
762
|
+
* Bump Ruby version to 2.2.7 [#1261]
|
|
763
|
+
|
|
764
|
+
## 1.8.0.rc1 / 2017-03-20
|
|
765
|
+
|
|
766
|
+
* Major enhancements
|
|
767
|
+
* Support Rails 5.1.0.rc1
|
|
768
|
+
* Add JSON attribute support #1240
|
|
769
|
+
* Update `database.yml` when `rails new <new_app> -d oracle` specified [rails/rails#28257]
|
|
770
|
+
|
|
771
|
+
* Changes and bug fixes
|
|
772
|
+
* Eliminate a redundant empty lines in schema.rb generated by SchemaDumper [#1232]
|
|
773
|
+
* Align the columns of db/structure.sql [#1242]
|
|
774
|
+
* Use Abstract StatementPool (new `statement_limit` default is 1000 was 250) [#1228]
|
|
775
|
+
* Decouple Composite Primary Key code [#1224, #1225]
|
|
776
|
+
* Push `valid_type?` up to abstract adapter [#1208]
|
|
777
|
+
* Oracle12 visitor is also available for 12.2 [#1217]
|
|
778
|
+
* Oracle Database 12c Release 2 bundles new ojdbc8.jar [#1218]
|
|
779
|
+
* Deprecate `supports_migrations?` on connection adapters [#1209]
|
|
780
|
+
* Use `ActiveRecord::SchemaMigration.table_name` [#1221]
|
|
781
|
+
* No need to check if `changed?` defined [#1226]
|
|
782
|
+
* No need to initialize `@quoted_column_names` and `@quoted_table_names` [#1227]
|
|
783
|
+
* Hard code `empty_blob()` or `empty_clob()` based on types [#1229]
|
|
784
|
+
* ruby-plsql 0.6.0 or higher version is required [#1216]
|
|
785
|
+
* No need to specify `rack` in Gemfile [#1230]
|
|
786
|
+
* Bundle from more secure source [#1243]
|
|
787
|
+
* Add Travis CI build status [#1231]
|
|
788
|
+
* Bump JRuby to 9.1.8.0 [#1222]
|
|
789
|
+
* Remove a duplicate spec testing `Model.distinct.count` [#1235]
|
|
790
|
+
* Suppress unused and not initialized warnings [#1215]
|
|
791
|
+
* Suppress `WARNING: Using the `raise_error` matcher without providing a specific error` [#1219]
|
|
792
|
+
* Suppress `WARNING: Using `expect { }.not_to raise_error(...)` risks false positives` [#1220]
|
|
793
|
+
|
|
794
|
+
## 1.8.0.beta1 / 2017-02-27
|
|
795
|
+
|
|
796
|
+
* Major enhancements
|
|
797
|
+
* Support Rails 5.1.0.beta1
|
|
798
|
+
* Fallback :bigint to :integer for primary keys [#1077]
|
|
799
|
+
* Drop Java SE 6 or older version of Java SE support [#1126]
|
|
800
|
+
* Drop JRuby 9.0.x support for Rails 5.1 [#1147]
|
|
801
|
+
* Refactor ColumnDumper to support consistent Virtual column with Rails [#1185]
|
|
802
|
+
* Schema dumper supports `t.index` in `create_table` [#1187]
|
|
803
|
+
* `table_exists?` only checks tables, does not check views [#1179, #1191]
|
|
804
|
+
* `data_sources` returns tables and views [#1192]
|
|
805
|
+
* `Model.table_comment` syntax is not supported anymore [#1199]
|
|
806
|
+
* Remove Oracle enhanced adapter own foreign key implementations [#977]
|
|
807
|
+
|
|
808
|
+
* Changes and bug fixes
|
|
809
|
+
* Rails 5.1.0.beta1 is out [#1204]
|
|
810
|
+
* Composite foreign keys are not supported [#1188]
|
|
811
|
+
* Introduce `supports_virtual_columns?` [#1184]
|
|
812
|
+
* Made it able to change column with adding comment [#1156, #1164]
|
|
813
|
+
* Omit table comment option of schema.rb if it is blank [#1159]
|
|
814
|
+
* Fix to return nil if column comment is blank at table creation [#1158]
|
|
815
|
+
* `bind_param` arity change, not to take column [#1203]
|
|
816
|
+
* ActiveRecord `structure_dump` and `structure_load` signature changes [#1125]
|
|
817
|
+
* Quoting booleans should return a frozen string [#956]
|
|
818
|
+
* Pass `type_casted_binds` to log subscriber [#957]
|
|
819
|
+
* `supports_datetime_with_precision?` always returns `true` [#964]
|
|
820
|
+
* Handle ORA-00942 and ORA-00955 as `ActiveRecord::StatementInvalid` [#1093]
|
|
821
|
+
* Raise `ActiveRecord::StatementInvalid` at `rename_index` when old index does not exist [#1195]
|
|
822
|
+
* Handle `ORA-01418: specified index does not exist` as `ActiveRecord::StatementInvalid` [#1195]
|
|
823
|
+
* Raise ActiveRecord::NotNullViolation when OCIError: ORA-01400 [#1174]
|
|
824
|
+
* Rails 5.1 : insert into `returning_id` not working since rails/rails#26002 [#988, #1088]
|
|
825
|
+
* Make `exec_{insert,update}` signatures consistent [#966]
|
|
826
|
+
* Introduce OracleEnhanced `ColumnMethods` module and `AlterTable` `Table` classes [#1081]
|
|
827
|
+
* `empty_insert_statement_value` is not implemented [#1180]
|
|
828
|
+
* Switch to keyword args for `type_to_sql` [#1167, #1168]
|
|
829
|
+
* Replace `all_timestamp_attributes` with `all_timestamp_attributes_in_model` [#1129]
|
|
830
|
+
* `current_database` returns the expected database name [#1135]
|
|
831
|
+
* Use `supports_foreign_keys_in_create?` [#1143]
|
|
832
|
+
* Address `add_column` gets `ArgumentError: wrong number of arguments` [#1157, #1170]
|
|
833
|
+
* Address `change_column` `ArgumentError: wrong number of arguments` [#1171, #1172]
|
|
834
|
+
* SchemaDumper should not dump views as tables [#1192]
|
|
835
|
+
* Use Abstract `select_rows(arel, name = nil, binds = [])` [#1132]
|
|
836
|
+
* Address `OCIError: ORA-01756: quoted string not properly terminated:` [#1102]
|
|
837
|
+
* Use `table_exists?` and `tables` [#1170, #1178]
|
|
838
|
+
* Move `ActiveModel::Type::Text` to `ActiveRecord::Type::Text` [#1082]
|
|
839
|
+
* Support schema option for views [#1190]
|
|
840
|
+
* Quote table and trigger names containing sinqle quote character [#1192]
|
|
841
|
+
* Restore :raw type migration support [#1176]
|
|
842
|
+
* Refactor Boolean type by removing duplicate code [#1047]
|
|
843
|
+
* Remove deprecated methods to get and set columns [#958]
|
|
844
|
+
* Remove `is_?` deprecated methods [#959]
|
|
845
|
+
* Remove `quote_date_with_to_date` and `quote_timestamp_with_to_timestamp` #960
|
|
846
|
+
* Remove unnecessary comments in Type [#961]
|
|
847
|
+
* Remove options[:default] for virtual columns [#962]
|
|
848
|
+
* Remove `self.emulate_dates` and `self.emulate_dates_by_column_name` [#963]
|
|
849
|
+
* Delete `self.boolean_to_string` [#967]
|
|
850
|
+
* Delete Oracle enhanced its own `join_to_update` [#968]
|
|
851
|
+
* Remove `self.ignore_table_columns` [#969]
|
|
852
|
+
* Remove unused `self.virtual_columns` [#970]
|
|
853
|
+
* Remove `dump_schema_information` and `initialize_schema_migrations_table` [#972]
|
|
854
|
+
* Remove `fallback_string_to_date`, `fallback_string_to_time` [#974, #975, #1112]
|
|
855
|
+
* Remove `dependent` option from `add_foreign_key` [#976]
|
|
856
|
+
* Remove specs testing Rails `self.ignored_columns` features [#987]
|
|
857
|
+
* Remove `add_foreign_key` specs with `table_name_prefix` and `table_name_suffix` [#990]
|
|
858
|
+
* Remove `type_cast` method just calling super [#1201]
|
|
859
|
+
* Remove `ids_in_list_limit` alias [#1202]
|
|
860
|
+
* Remove unused comments from data types spec [#1079]
|
|
861
|
+
* Remove deprecated `table_exists?` and `tables` [#1100, #1178]
|
|
862
|
+
* Remove deprecated `name` argument from `#tables` [#1189]
|
|
863
|
+
* Prefer `SYS_CONTEXT` function than `v$nls_parameters` view [#1107]
|
|
864
|
+
* `initialize_schema_migrations_table` method has been removed [#1144]
|
|
865
|
+
* `index_name_exists?` at schema statements spec is not necessary [#1197]
|
|
866
|
+
* Remove comments for `data_source_exists?` [#1200]
|
|
867
|
+
* Address DEPRECATION WARNING: Passing a column to `quote` has been deprecated. [#978]
|
|
868
|
+
* Deprecate `supports_primary_key?` [#1177]
|
|
869
|
+
* Deprecate passing `default` to `index_name_exists?` [#1175]
|
|
870
|
+
* Suppress `add_index_options` method `DEPRECATION WARNING:` [#1193]
|
|
871
|
+
* Suppress `remove_index` method deprecation warning [#1194]
|
|
872
|
+
* Suppress DEPRECATION WARNING at `rename_index` [#1195]
|
|
873
|
+
* Suppress `oracle_enhanced_adapter.rb:591: warning: assigned but unused` [#1198]
|
|
874
|
+
* Use rails rubocop setting [#1111]
|
|
875
|
+
* Rubocop addresses `Extra empty line detected at class body beginning.` [#1078]
|
|
876
|
+
* Address `Lint/EndAlignment` offences by changing code ifself [#1113]
|
|
877
|
+
* rubocop `AlignWith` has been renamed to `EnforcedStyleAlignWith` [#1142]
|
|
878
|
+
* Add `Style/EmptyLinesAroundMethodBody` [#1173]
|
|
879
|
+
* Address git warnings: [#1000]
|
|
880
|
+
* Update `required_rubygems_version` just following rails.gemspec [#1110]
|
|
881
|
+
* Use the latest ruby-plsql while developing alpha version [#1114]
|
|
882
|
+
* Use the latest arel master while developing alpha version [#1115]
|
|
883
|
+
* Bump Arel to 8.0 [#1120, #1121, #1124]
|
|
884
|
+
* Use released Arel 8 [#1205]
|
|
885
|
+
* Remove duplicate license information [#965]
|
|
886
|
+
* Clean up comments and un-commented specs for table comment feature [#971]
|
|
887
|
+
* Use Rails migration `create_table` to create table and sequence [#991]
|
|
888
|
+
* Removed a invalid spec about TIMESTAMP column [#1020]
|
|
889
|
+
* Remove specs which set `attribute :hire_date, :date` [#1024]
|
|
890
|
+
* Remove version specification for rspec [#1055]
|
|
891
|
+
* Suppress `create_table(:test_employees, {:force=>true})` message [#1080]
|
|
892
|
+
* Perform `drop_table :test_employees` [#1087]
|
|
893
|
+
* Address rspec deprecation warning [#1089]
|
|
894
|
+
* Suppress rspec warning [#1101]
|
|
895
|
+
* Suppress `Dropped database 'ORCL'` messages while running rspec [#1103]
|
|
896
|
+
* Address rspec warnings by checking with `raise_errors_for_deprecations!` [#1104]
|
|
897
|
+
* `clear_cache!` always exists at least since Rails 4.0 [#1106]
|
|
898
|
+
* Use SimpleCov [#1108]
|
|
899
|
+
* Enable RSpec `--warnings` option [#1116]
|
|
900
|
+
* Remove entry for rcov since it already migrated to simplecov [#1118]
|
|
901
|
+
* Add spec for #1149 `TypeError: can't cast Java::JavaSql::Timestamp` [#1152]
|
|
902
|
+
* Remove a duplicated specs [#1163]
|
|
903
|
+
* Specify `--require spec_helper` in .rspec [#1186]
|
|
904
|
+
* Add 'pry' and 'pry-nav' for JRuby debug [#973]
|
|
905
|
+
* Remove ruby-debug [#1196]
|
|
906
|
+
* Use Ubuntu Trusty at travis [#1095]
|
|
907
|
+
* Address travis.yml has multilpe language entries [#1109]
|
|
908
|
+
* Use docker-oracle-xe-11g for Travis CI [#1117]
|
|
909
|
+
* Modify `JRUBY_OPTS` for Travis CI [#1119]
|
|
910
|
+
* Add ruby-head and jruby-head to .travis.yml [#1127]
|
|
911
|
+
* Use JRuby 9.1.7.0 [#1138]
|
|
912
|
+
* Add JRuby 9.0.4.0 and allow JRuby 9.0.5.0 failures [#1146]
|
|
913
|
+
* Tiny fix for .travis.yml after migrating to docker-oracle-xe-11g [#1183]
|
|
914
|
+
* Templates updated to use Rails master branch for Rails 5.1 [#1133]
|
|
915
|
+
* Update running tests to include rails-dev-box [#1140]
|
|
916
|
+
|
|
917
|
+
* Known issues
|
|
918
|
+
* Legacy primary key support testing [#1207]
|
|
919
|
+
* PrimaryKeyIntegerNilDefaultTest failures [#1162]
|
|
920
|
+
* Skip `explain should explain query with bind` with JRuby [#1091]
|
|
921
|
+
|
|
922
|
+
## 1.7.10 / 2017-02-03
|
|
923
|
+
|
|
924
|
+
* Changes and bug fixes
|
|
925
|
+
* Address `TypeError: can't cast Java::JavaSql::Timestamp` [#1147, 1153]
|
|
926
|
+
* Use docker-oracle-xe-11g for Travis CI for release17 branch [#1150]
|
|
927
|
+
* Use JRuby 9.1.7.0 for release17 branch [#1154]
|
|
928
|
+
* Pending until further investigation made for #908 for release17 branch [#1151]
|
|
929
|
+
|
|
930
|
+
* Known issues
|
|
931
|
+
* No changes since 1.7.7
|
|
932
|
+
|
|
933
|
+
## 1.7.9 / 2016-12-26
|
|
934
|
+
|
|
935
|
+
* Changes and bug fixes
|
|
936
|
+
|
|
937
|
+
* Fix ORA-00933 error when executing `rails db:schema:load` [#1084]
|
|
938
|
+
* Quoting booleans should return a frozen string [#1083]
|
|
939
|
+
* CI against ruby 2.4.0 [#1096, #1086]
|
|
940
|
+
|
|
941
|
+
* Known issues
|
|
942
|
+
* No changes since 1.7.7
|
|
943
|
+
|
|
944
|
+
## 1.7.8 / 2016-12-06
|
|
945
|
+
|
|
946
|
+
* Changes and bug fixes
|
|
947
|
+
* Separate schema migration insert statements correctly [#1074]
|
|
948
|
+
* Add `use_old_oracle_visitor` example [#1068]
|
|
949
|
+
* `supports_fetch_first_n_rows_and_offset?` returns `false` when `use_old_oracle_visitor` is true {1070, #1075]
|
|
950
|
+
* Suppress `create_table(:posts, {:force=>true})` message [#1067, #1072]
|
|
951
|
+
* Enable rubocop and Code Climate [#1056, #1057, #1060, #1062, #1071]
|
|
952
|
+
* Bump MRI version for travis [#1054, #1059]
|
|
953
|
+
* Drop `ActiveRecord::InternalMetadata.table_name` after each spec [#1073]
|
|
954
|
+
|
|
955
|
+
* Known issues
|
|
956
|
+
* No changes since 1.7.7
|
|
957
|
+
|
|
958
|
+
## 1.7.7 / 2016-11-15
|
|
959
|
+
|
|
960
|
+
* Changes and bug fixes
|
|
961
|
+
* Introduce `use_old_oracle_visitor` to choose old Oracle visitor [#1049]
|
|
962
|
+
* Fix deprecated warnings in Ruby 2.4.0+ [#1048, #1052]
|
|
963
|
+
* Add Ruby 2.2.5 and JRuby 9.0.5.0 for travis [#1050, #1051]
|
|
964
|
+
|
|
965
|
+
* Known issues
|
|
966
|
+
* No changes since 1.7.6
|
|
967
|
+
|
|
968
|
+
## 1.7.6 / 2016-11-12
|
|
969
|
+
|
|
970
|
+
* Changes and bug fixes
|
|
971
|
+
* Register `:boolean` type for Attribute API [#942, #1045]
|
|
972
|
+
* No need to set version in Gemfile anymore since rdoc 5.0.0 released [#1040]
|
|
973
|
+
* Bump MRI and JRuby version for travis [#1041, #1042, #1043]
|
|
974
|
+
* Known issues
|
|
975
|
+
|
|
976
|
+
- Only with JRuby
|
|
977
|
+
* Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
|
|
978
|
+
|
|
979
|
+
## 1.7.5 / 2016-11-06
|
|
980
|
+
|
|
981
|
+
* Changes and bug fixes
|
|
982
|
+
|
|
983
|
+
* Multi insert is not supported [#1016]
|
|
984
|
+
* Use `default_timezone = :local` to handle `TIMESTAMP WITH LOCAL TIME ZONE` [#1001, #1019]
|
|
985
|
+
* Address Rails 5 : custom methods for create record when exception is raised in `after_create` callback fails [#944, #1023]
|
|
986
|
+
* Using the gem in non-rails apps [#1026]
|
|
987
|
+
* Support connection strings in `DATABASE_URL1 [#1032, #1035]
|
|
988
|
+
* Rebuild primary key index to `default_tablespaces[:index]` [#1028]
|
|
989
|
+
* Address `Java::JavaSql::SQLException: Missing IN or OUT parameter at index:: 3:` [#1030, #1033]
|
|
990
|
+
|
|
991
|
+
* Known issues
|
|
992
|
+
|
|
993
|
+
- Only with JRuby
|
|
994
|
+
* Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
|
|
995
|
+
* Workaround: execute explain without bind or use CRuby
|
|
996
|
+
- CRuby and JRuby
|
|
997
|
+
* Rails 5 : specs need update to emulate_booleans_from_strings [#942]
|
|
998
|
+
|
|
999
|
+
## 1.7.4 / 2016-10-14
|
|
1000
|
+
|
|
1001
|
+
* Changes and bug fixes
|
|
1002
|
+
|
|
1003
|
+
* Bump Arel 7.1.4 or higher [#1010, #848, #946]
|
|
1004
|
+
* NoMethodError: undefined method `write' for nil:NilClass for serialized column [#798, #1007]
|
|
1005
|
+
* Quote table name in disable_referential_integrity [#1012, #1014]
|
|
1006
|
+
* Rails 5 : undefined method `to_i' for #<Arel::Nodes::BindParam:0x00000002c92910> [#848, rails/arel#438, rails/arel#450]
|
|
1007
|
+
* Add UPGRADE section : Upgrade Rails 4.2 or older version to Rails 5 [#1011, #993]
|
|
1008
|
+
* add docker to RUNNING_TEST.md [#1006]
|
|
1009
|
+
* Add executable test cases using Minitest or RSpec [#1002]
|
|
1010
|
+
|
|
1011
|
+
* Known issues
|
|
1012
|
+
|
|
1013
|
+
- Only with JRuby
|
|
1014
|
+
* Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
|
|
1015
|
+
* Workaround: execute explain without bind or use CRuby
|
|
1016
|
+
- CRuby and JRuby
|
|
1017
|
+
* Rails 5 : custom methods for create record when exception is raised in after_create callback fails [#944]
|
|
1018
|
+
* Rails 5 : specs need update to emulate_booleans_from_strings [#942]
|
|
1019
|
+
* #998 causes regression for `TIMESTAMP WITH LOCAL TIME ZONE` [#1001]
|
|
1020
|
+
|
|
1021
|
+
## 1.7.3 / 2016-10-03
|
|
1022
|
+
|
|
1023
|
+
* Changes and bug fixes
|
|
1024
|
+
* Respect `ActiveRecord::Base.default_timezone = :utc` rather than connection `time_zone` value [#755, #998]
|
|
1025
|
+
|
|
1026
|
+
* Known issues
|
|
1027
|
+
* No changes since 1.7.0.rc1
|
|
1028
|
+
|
|
1029
|
+
## 1.7.2 / 2016-09-19
|
|
1030
|
+
|
|
1031
|
+
* Changes and bug fixes
|
|
1032
|
+
* Remove ruby-oci8 from runtime dependency [#992,#995]
|
|
1033
|
+
* Update README to add `gem 'ruby-oci8'` explicitly for CRuby users [#992, #995]
|
|
1034
|
+
|
|
1035
|
+
* Known issues
|
|
1036
|
+
* No changes since 1.7.0.rc1
|
|
1037
|
+
|
|
1038
|
+
## 1.7.1 / 2016-08-22
|
|
1039
|
+
|
|
1040
|
+
* Changes and bug fixes
|
|
1041
|
+
* Add `ActiveRecord::OracleEnhanced::Type::Boolean` [#985, #979]
|
|
1042
|
+
* Address `create_table': undefined method `each_pair' for []:Array (NoMethodError) [#980]
|
|
1043
|
+
* Deprecate `fallback_string_to_date`, `fallback_string_to_time` [#974]
|
|
1044
|
+
|
|
1045
|
+
* Known issues
|
|
1046
|
+
* No changes since 1.7.0.rc1
|
|
1047
|
+
|
|
1048
|
+
## 1.7.0 / 2016-08-04
|
|
1049
|
+
|
|
1050
|
+
* Changes and bug fixes
|
|
1051
|
+
* No changes since 1.7.0.rc1
|
|
1052
|
+
|
|
1053
|
+
* Known issues
|
|
1054
|
+
* No changes since 1.7.0.rc1
|
|
1055
|
+
|
|
1056
|
+
## 1.7.0.rc1 / 2016-08-02
|
|
1057
|
+
|
|
1058
|
+
* Changes and bug fixes
|
|
1059
|
+
|
|
1060
|
+
* Support `emulate_booleans_from_strings` in Rails 5 [#953, #942]
|
|
1061
|
+
* Deprecate `self.is_boolean_column?` [#949]
|
|
1062
|
+
* Deprecate `self.is_date_column?` and `is_date_column?` [#950]
|
|
1063
|
+
* Deprecate `set_type_for_columns`, `set_type_for_columns` and `clear_types_for_columns` [#951]
|
|
1064
|
+
* Deprecate `self.is_integer_column?` [#952]
|
|
1065
|
+
|
|
1066
|
+
* Known issues
|
|
1067
|
+
|
|
1068
|
+
- Only with JRuby
|
|
1069
|
+
* Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
|
|
1070
|
+
* Workaround: execute explain without bind or use CRuby
|
|
1071
|
+
- CRuby and JRuby
|
|
1072
|
+
* Rails 5 : custom methods for create record when exception is raised in after_create callback fails [#944]
|
|
1073
|
+
* Rails 5 : specs need update to emulate_booleans_from_strings [#942]
|
|
1074
|
+
* Rails 5 : undefined method `to_i' for #<Arel::Nodes::BindParam:0x00000002c92910> [#848, rails/arel#438]
|
|
1075
|
+
* #848 reproduces when database version is 11gR2 or older, it does not reproduce with 12c
|
|
1076
|
+
* One of the units test skipped when database version is 11gR2 or lower. [#946]
|
|
1077
|
+
|
|
1078
|
+
## 1.7.0.beta7 / 2016-08-01
|
|
1079
|
+
|
|
1080
|
+
* Changes and bug fixes
|
|
1081
|
+
|
|
1082
|
+
* Use OracleEnhanced::SchemaDumper#tables and #table
|
|
1083
|
+
only if they have Oracle enhanced specific features [#947, #797]
|
|
1084
|
+
|
|
1085
|
+
* Known issues
|
|
1086
|
+
|
|
1087
|
+
- Only with JRuby
|
|
1088
|
+
* Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
|
|
1089
|
+
- CRuby and JRuby
|
|
1090
|
+
* Rails 5 : custom methods for create record when exception is raised in after_create callback fails [#944]
|
|
1091
|
+
* Rails 5 : emulate_booleans_from_strings support [#942]
|
|
1092
|
+
* Rails 5 : undefined method `to_i' for #<Arel::Nodes::BindParam:0x00000002c92910> [#848, rails/arel#438]
|
|
1093
|
+
* #848 reproduces when database version is 11gR2 or older, it does not reproduce with 12c
|
|
1094
|
+
* One of the units test skipped when database version is 11gR2 or lower. [#946]
|
|
1095
|
+
|
|
1096
|
+
## 1.7.0.beta6 / 2016-07-29
|
|
1097
|
+
|
|
1098
|
+
* Changes and bug fixes
|
|
1099
|
+
|
|
1100
|
+
* Use attributes.keys to update all attributes when partial_write is disabled [#906 #943]
|
|
1101
|
+
|
|
1102
|
+
* Known issues
|
|
1103
|
+
|
|
1104
|
+
- Only with JRuby
|
|
1105
|
+
* Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
|
|
1106
|
+
- CRuby and JRuby
|
|
1107
|
+
* Rails 5 : custom methods for create record when exception is raised in after_create callback fails [#944]
|
|
1108
|
+
* Rails 5 : emulate_booleans_from_strings support [#942]
|
|
1109
|
+
* Rails 5 : undefined method `to_i' for #<Arel::Nodes::BindParam:0x00000002c92910> [#848, rails/arel#438]
|
|
1110
|
+
* #848 reproduces when database version is 11gR2 or older, it does not reproduce with 12c
|
|
1111
|
+
|
|
1112
|
+
## 1.7.0.beta5 / 2016-07-28
|
|
1113
|
+
|
|
1114
|
+
* Changes and bug fixes
|
|
1115
|
+
|
|
1116
|
+
* Use binds.size to set returning_id_index for returning_id [#907, #912 and #939]
|
|
1117
|
+
|
|
1118
|
+
* Known issues
|
|
1119
|
+
|
|
1120
|
+
- Only with JRuby
|
|
1121
|
+
* Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
|
|
1122
|
+
- CRuby and JRuby
|
|
1123
|
+
* Rails 5 : custom methods for create, update and destroy not working [#906]
|
|
1124
|
+
* Rails 5 : undefined method `to_i' for #<Arel::Nodes::BindParam:0x00000002c92910> [#848, rails/arel#438]
|
|
1125
|
+
* #848 reproduces when database version is 11gR2 or older, it does not reproduce with 12c
|
|
1126
|
+
|
|
1127
|
+
## 1.7.0.beta4 / 2016-07-27
|
|
1128
|
+
|
|
1129
|
+
* Changes and bug fixes
|
|
1130
|
+
|
|
1131
|
+
* Call `bind_returning_param` when sql has returning_id and using JRuby [#937]
|
|
1132
|
+
* Remove unused `col_type` to avoid warnings [#934]
|
|
1133
|
+
* Remove TODO comment since Oracle DATE type can be mapped Rails Datetime with attribute API [#935]
|
|
1134
|
+
* Remove rspec from runtime dependency [#933]
|
|
1135
|
+
* Rename `add_dependency` to `add_runtime_dependency` [#933]
|
|
1136
|
+
* Remove warnings for + when tested with JRuby 9.1.2 [#936]
|
|
1137
|
+
|
|
1138
|
+
* Known issues
|
|
1139
|
+
|
|
1140
|
+
- Only with JRuby
|
|
1141
|
+
* Rails 5 : create table with primary key trigger with default primary key not returning id [#912]
|
|
1142
|
+
* #937 addresses two failures reported in #912
|
|
1143
|
+
* Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
|
|
1144
|
+
- CRuby and JRuby
|
|
1145
|
+
* Rails 5 : create table with primary key trigger not returning id [#907]
|
|
1146
|
+
* Rails 5 : custom methods for create, update and destroy not working [#906]
|
|
1147
|
+
* Rails 5 : undefined method `to_i' for #<Arel::Nodes::BindParam:0x00000002c92910> [#848, rails/arel#438]
|
|
1148
|
+
|
|
1149
|
+
## 1.7.0.beta3 / 2016-07-22
|
|
1150
|
+
|
|
1151
|
+
* Changes and bug fixes
|
|
1152
|
+
* Not giving `bind_param` a 3rd argument `column` [#929, #909]
|
|
1153
|
+
|
|
1154
|
+
* Known issues
|
|
1155
|
+
|
|
1156
|
+
- Only with JRuby
|
|
1157
|
+
* Rails 5 : create table with primary key trigger with default primary key not returning id [#912]
|
|
1158
|
+
* Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
|
|
1159
|
+
- CRuby and JRuby
|
|
1160
|
+
* Rails 5 : create table with primary key trigger not returning id [#907]
|
|
1161
|
+
* Rails 5 : custom methods for create, update and destroy not working [#906]
|
|
1162
|
+
* Rails 5 : undefined method `to_i' for #<Arel::Nodes::BindParam:0x00000002c92910> [#848, rails/arel#438]
|
|
1163
|
+
|
|
1164
|
+
## 1.7.0.beta2 / 2016-07-22
|
|
1165
|
+
|
|
1166
|
+
* Changes and bug fixes
|
|
1167
|
+
|
|
1168
|
+
* Support CLOB for JRuby [#926, #910, #911]
|
|
1169
|
+
* Arel 7.1.0 or higher version is required [#919]
|
|
1170
|
+
* Document usage of ActiveRecord Attributes API in 1.7 [#924]
|
|
1171
|
+
* Add a note about usage pecularities of context_index's index_column option to README [#924]
|
|
1172
|
+
* Set required_ruby_version = '>= 2.2.2' [#916]
|
|
1173
|
+
* Remove ActiveRecord::ConnectionAdapters::TableDefinition#aliased_types [#921]
|
|
1174
|
+
* Update warning message for composite primary keys [#923]
|
|
1175
|
+
* Remove specs deprecated in Oracle enhanced adapter 1.7 [#917]
|
|
1176
|
+
* Rails 5 : has_and_belongs_to_many test gets ORA-01400 since primary key column "ID"
|
|
1177
|
+
not included in insert statement [#856, rails/rails#25388, rails/rails#25578 ]
|
|
1178
|
+
- This fix will be included in the next version of Rails which should be named 5.0.1
|
|
1179
|
+
|
|
1180
|
+
* Known issues
|
|
1181
|
+
|
|
1182
|
+
- Only with JRuby
|
|
1183
|
+
* Rails 5 : create table with primary key trigger with default primary key not returning id [#912]
|
|
1184
|
+
* Rails 5 : SQL with bind parameters when NLS_NUMERIC_CHARACTERS is set to ', '
|
|
1185
|
+
show Java::JavaSql::SQLSyntaxErrorException: / ORA-01722: invalid number [#909]
|
|
1186
|
+
* Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
|
|
1187
|
+
- CRuby and JRuby
|
|
1188
|
+
* Rails 5 : create table with primary key trigger not returning id [#907]
|
|
1189
|
+
* Rails 5 : custom methods for create, update and destroy not working [#906]
|
|
1190
|
+
* Rails 5 : undefined method `to_i' for #<Arel::Nodes::BindParam:0x00000002c92910> [#848, rails/arel#438]
|
|
1191
|
+
|
|
1192
|
+
## 1.7.0.beta1 / 2016-07-18
|
|
1193
|
+
|
|
1194
|
+
* Major enhancements
|
|
1195
|
+
|
|
1196
|
+
* Support Rails 5.0
|
|
1197
|
+
* Use Arel::Visitors::Oracle12 to use better top-N query support [#671]
|
|
1198
|
+
* Oracle TIMESTAMP sql type is associated with Rails `DateTime` type [#845]
|
|
1199
|
+
* Rails :time as Oracle TIMESTAMP to support subsecond precision [#817, #816]
|
|
1200
|
+
* Rails :datetime as Oracle TIMESTAMP to support subsecond precision [#739]
|
|
1201
|
+
* Remove ActiveRecord::OracleEnhanced::Type::Timestamp [#815]
|
|
1202
|
+
* Deprecate `quote_date_with_to_date` and `quote_timestamp_with_to_timestamp` [#879]
|
|
1203
|
+
* Deprecate `set_boolean_columns` and `set_string_columns` [#874]
|
|
1204
|
+
* Deprecate `set_integer_columns [#872]
|
|
1205
|
+
* Deprecate `set_date_columns` and `set_datetime_columns` [#869]
|
|
1206
|
+
* Deprecate `ignore_table_columns` to use Rails native `ignored_columns` [#855]
|
|
1207
|
+
* Set :datetime for an attribute explicitly [#875, #876]
|
|
1208
|
+
* Support `#views` #738
|
|
1209
|
+
* Replace `table_exists?` with `data_source_exists?` [#842]
|
|
1210
|
+
* Introduce `data_source_exists?` to return tables and views [#841]
|
|
1211
|
+
* Implement primary_keys to prepare dumping composite primary key [#860]
|
|
1212
|
+
* Support for any type primary key [#836]
|
|
1213
|
+
* Dump composite primary keys [#863]
|
|
1214
|
+
* Dump type and options for non default primary keys [#861]
|
|
1215
|
+
* Support creating foreign keys in create table [#862]
|
|
1216
|
+
* Support ActiveRecord native comment feature [#822, #821, #819]
|
|
1217
|
+
|
|
1218
|
+
* Changes and bug fixes
|
|
1219
|
+
|
|
1220
|
+
* Fix cast_type issue [#795]
|
|
1221
|
+
* Rename quote_value to quote_default_expression [#661]
|
|
1222
|
+
* Change bind parameters order to come offset first then limit next [#831]
|
|
1223
|
+
* type_cast arity change [#781]
|
|
1224
|
+
* Initial support for sql_type_metadata [#656]
|
|
1225
|
+
* Support bind_params for JDBC connections [#806]
|
|
1226
|
+
* Use all_* dictionary replacing user_* ones [#713]
|
|
1227
|
+
* Register `NUMBER(1)` sql_type to `Type::Boolean` [#844]
|
|
1228
|
+
* Add `ActiveRecord::ValueTooLong` exception class [#827]
|
|
1229
|
+
* Not passing `native_database_types` to `TableDefinition` [#747]
|
|
1230
|
+
* Ignore index name in `index_exists?` when not passed a name to check for [#840]
|
|
1231
|
+
* Add reversible syntax for change_column_default [#839]
|
|
1232
|
+
* Support Oracle national character set NCHAR, NVARCHAR2 [#886]
|
|
1233
|
+
* Support "limited" :returning_id [#894, #803]
|
|
1234
|
+
* Support RAW sql data type in Rails 5 [#877]
|
|
1235
|
+
* Remove `serialized_attributes` which is removed in Rails 5 [#694]
|
|
1236
|
+
* Add deprecation warning for `bind_param` [#809]
|
|
1237
|
+
* Remove `self.string_to_raw` from Column which is not called anymore [#813]
|
|
1238
|
+
* Remove type_cast from Column [#811]
|
|
1239
|
+
* Remove deprecated `distinct` method [#771]
|
|
1240
|
+
* Remove alias_method_chain and rename oracle_enhanced_table to table [#864]
|
|
1241
|
+
* Warn if `AR.primary_key` is called for a table with composite primary key [#837]
|
|
1242
|
+
* Remove select method from Oracle enhanced adapter [#784]
|
|
1243
|
+
* Remove version check to see if ::Rails::Railtie exists [#769]
|
|
1244
|
+
* Remove FALSE_VALUES [#716]
|
|
1245
|
+
* Remove TRUE_VALUES from OracleEnhancedColumn [#646]
|
|
1246
|
+
* Remove insert_sql method [#866, #890]
|
|
1247
|
+
* Rails5 remove require bind visitor [#853]
|
|
1248
|
+
* substitute_at has been removed from Rails [#849]
|
|
1249
|
+
* Serialize value for lob columns [#878]
|
|
1250
|
+
* Do not cache prepared statements that are unlikely to have cache hits [#748]
|
|
1251
|
+
* Handle BLOB type correctly [#804]
|
|
1252
|
+
* Move ActiveRecord::Type to ActiveModel [#723]
|
|
1253
|
+
* Remove cast_type to support Rails 5 Attribute API [#867]
|
|
1254
|
+
* Handle ActiveModel::Type::Binary::Data type cast in _type_cast [#826]
|
|
1255
|
+
* Use Abstract adapter `dump_schema_information` implementation [#857]
|
|
1256
|
+
* Use ActiveRecord initialize_schema_migrations_table [#843]
|
|
1257
|
+
* Use ActiveRecord::SchemaDumper#ignored? [#838]
|
|
1258
|
+
* Use Abstract adapter join_to_update [#801, #800]
|
|
1259
|
+
* Use ActiveRecord::OracleEnhanced::Type::Text [#887]
|
|
1260
|
+
* Use ActiveRecord::OracleEnhanced::Type::String [#883]
|
|
1261
|
+
* Use OracleEnhanced::ColumnDefinition [#650]
|
|
1262
|
+
* Move to ActiveRecord::ConnectionAdapters::OracleEnhanced::SchemaDumper [#695]
|
|
1263
|
+
* ColumnDumper uses Module#prepend [#696]
|
|
1264
|
+
* Migrate from OracleEnhancedSchemaStatementExt to OracleEnhanced::SchemaStatementsExt [#768]
|
|
1265
|
+
* Extract ActiveRecord::ConnectionAdapters::OracleEnhanced::Quoting [#764]
|
|
1266
|
+
* Use keyword arguments for new table options [#820]
|
|
1267
|
+
* Move `ruby_to_java_value` logic to `_type_cast` [#904]
|
|
1268
|
+
* OracleEnhancedColumn.new needs sql_type_metadata including sql_type [#858]
|
|
1269
|
+
* OracleEnhanced::JDBCQuoting and OCIQuoting [#897]
|
|
1270
|
+
* Address `add_column_options!': undefined method `quote_value' [#647]
|
|
1271
|
+
* Remove dirty tracking methods [#883]
|
|
1272
|
+
* Use arel master branch for rails5 development [#645]
|
|
1273
|
+
* Bump ruby-oci8 version to 2.2.0 or higher [#775]
|
|
1274
|
+
* Remove jeweler dependency [#766]
|
|
1275
|
+
* Remove required_rubygems_version [#719]
|
|
1276
|
+
* Remove journey which is already part of Rails [#701]
|
|
1277
|
+
* Remove dependencies with non activerecord gems [#700]
|
|
1278
|
+
* Remove activerecord-deprecated_finders [#698]
|
|
1279
|
+
* Use rack master branch [#697]
|
|
1280
|
+
* Clean up gemspec file and bump rspec, ruby-plsql and ruby-oci8 versions [#717]
|
|
1281
|
+
* Remove magic comment for utf-8 [#772, #726]
|
|
1282
|
+
* add_dependency with ruby-oci8 only if it runs cruby, not jruby [#902]
|
|
1283
|
+
* Install ruby-debug for jruby [#899]
|
|
1284
|
+
* Address dirty object tracking should not mark empty text as changed [#888]
|
|
1285
|
+
* Revert "Update matcher to skip sql statements to get `table` metadata" [#881]
|
|
1286
|
+
* No need to set @visitor instance variable here [#854]
|
|
1287
|
+
* log binds should not be type_casted [#818]
|
|
1288
|
+
* Fix schema dumper errors [#810]
|
|
1289
|
+
* Address undefined method `cast_type' [#805]
|
|
1290
|
+
* Better fix to support "Relation#count does not support finder options anymore in Rails [#788, #787]
|
|
1291
|
+
* ActiveRecord::Calculations#count no longer accepts an options hash argument #754
|
|
1292
|
+
* Suppress WARNINGs using `raise_error` without specific errors [#724]
|
|
1293
|
+
* Use RSpec 3 [#707]
|
|
1294
|
+
* Update "OracleEnhancedAdapter boolean type detection based on string column types and names" [#873]
|
|
1295
|
+
* Update "OracleEnhancedAdapter integer type detection based on column names" [#871]
|
|
1296
|
+
* Update "OracleEnhancedAdapter date type detection based on column names" [#868]
|
|
1297
|
+
* Do not set emulate_dates_by_column_name or emulate_dates in specs [#870]
|
|
1298
|
+
* Update rake spec message to show default branch name as master [#648]
|
|
1299
|
+
* Remove `ActiveRecord::Base.default_timezone = :local` from spec_helper [#901]
|
|
1300
|
+
* Update to rspec3 syntax to avoid deprecation notices [#776]
|
|
1301
|
+
* Remove RAILS_GEM_VERSION [#702]
|
|
1302
|
+
* Run Oracle enhanced adapter unit tests using Travis CI [#789]
|
|
1303
|
+
* Upgrade travis-oracle to Version 2.0.1 [#903]
|
|
1304
|
+
|
|
1305
|
+
* Known issues
|
|
1306
|
+
|
|
1307
|
+
- Only with JRuby
|
|
1308
|
+
* Rails 5 : create table with primary key trigger with default primary key not returning id [#912]
|
|
1309
|
+
* Rails 5 : dirty object tracking not working correctly for CLOB [#911]
|
|
1310
|
+
* Rails 5 : handling of CLOB columns get failures [#910]
|
|
1311
|
+
* Rails 5 : SQL with bind parameters when NLS_NUMERIC_CHARACTERS is set to ', '
|
|
1312
|
+
show Java::JavaSql::SQLSyntaxErrorException: / ORA-01722: invalid number [#909]
|
|
1313
|
+
* Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
|
|
1314
|
+
- CRuby and JRuby
|
|
1315
|
+
* Rails 5 : create table with primary key trigger not returning id [#907]
|
|
1316
|
+
* Rails 5 : custom methods for create, update and destroy not working [#906]
|
|
1317
|
+
* Rails 5 : has_and_belongs_to_many test gets ORA-01400 since primary key column "ID"
|
|
1318
|
+
not included in insert statement [#856, rails/rails#25388]
|
|
1319
|
+
* Rails 5 : undefined method `to_i' for #<Arel::Nodes::BindParam:0x00000002c92910> [#848, rails/arel#438]
|
|
1320
|
+
|
|
1321
|
+
## 1.6.7 / 2016-03-08
|
|
1322
|
+
|
|
1323
|
+
* Changes and bug fixes since 1.6.6
|
|
1324
|
+
* Support Rails 4.2.6
|
|
1325
|
+
* Support t.foreign_key use the same `to_table` twice [#783]
|
|
1326
|
+
* Remove "warning: (...) interpreted as grouped expression" [#765]
|
|
1327
|
+
* Add documentation on setting read, write and connect timeouts [#761]
|
|
1328
|
+
|
|
1329
|
+
## 1.6.6 / 2016-01-21
|
|
1330
|
+
|
|
1331
|
+
* Changes and bug fixes since 1.6.5
|
|
1332
|
+
* Address ORA-00904 when CONTAINS has `table_name.column_name` [#758, #664, #463]
|
|
1333
|
+
* Only convert N to false when emulating booleans [#751]
|
|
1334
|
+
* Clean up specs and test documentation [#756]
|
|
1335
|
+
* Add JDBC Drivers to gitignore [#745]
|
|
1336
|
+
|
|
1337
|
+
## 1.6.5 / 2015-12-01
|
|
1338
|
+
|
|
1339
|
+
* Enhancement
|
|
1340
|
+
* Support `schema` option to use schema objects owned by another schema[#742]
|
|
1341
|
+
|
|
1342
|
+
## 1.6.4 / 2015-11-09
|
|
1343
|
+
|
|
1344
|
+
* Changes and bug fixes since 1.6.3
|
|
1345
|
+
* Add table and column comments to structure dump and schema dump [#734]
|
|
1346
|
+
* Remove `serialized_attributes` which is removed in Rails 5 [#694]
|
|
1347
|
+
* fixing bundler dependency conflict with head of rails vs arel 6.0[#714]
|
|
1348
|
+
* Add note to readme about adapter name when using DATABASE_URL [#728]
|
|
1349
|
+
* Fixed copy/paste error in README.md [#731]
|
|
1350
|
+
* Pending a test using virtual columns features introduced in 11gR1 [#733]
|
|
1351
|
+
* Suppress warning: ambiguous first argument [#690]
|
|
1352
|
+
* Suppress `warning: assigned but unused variable` [#691]
|
|
1353
|
+
* Suppress `warning: assigned but unused variable - tablespace` [#692]
|
|
1354
|
+
* Suppress `warning: assigned but unused variable - e` [#693]
|
|
1355
|
+
* Ignore .rbenv-gemsets [#705]
|
|
1356
|
+
* Clean up database objects after unit tests executed [#712]
|
|
1357
|
+
|
|
1358
|
+
## 1.6.3 / 2015-08-14
|
|
1359
|
+
|
|
1360
|
+
* Changes and bug fixes since 1.6.2
|
|
1361
|
+
* Set sequence name automatically when new table name is longer than 26 bytes[#676]
|
|
1362
|
+
* Add minimal specs for ActiveRecord::Base.limit() and .order()[#679]
|
|
1363
|
+
* Use type_casted_binds [#681]
|
|
1364
|
+
* Use type_cast_for_database to serialize correctly [#688]
|
|
1365
|
+
* Suppress deprecated message for serialized_attributes [#688, #548, #687]
|
|
1366
|
+
|
|
1367
|
+
## 1.6.2 / 2015-07-20
|
|
1368
|
+
|
|
1369
|
+
* Changes and bug fixes since 1.6.1
|
|
1370
|
+
|
|
1371
|
+
* Oracle enhanced adapter v1.6 requires ActiveRecord 4.2.1 or higher,
|
|
1372
|
+
ActiveRecord 4.2.0 is not supported.[#672]
|
|
1373
|
+
* Unique constraints not created when function unique index created [#662, #663]
|
|
1374
|
+
* create_table should use default tablespace values for lobs [#668]
|
|
1375
|
+
|
|
1376
|
+
## 1.6.1 / 2015-07-01
|
|
1377
|
+
|
|
1378
|
+
* Changes and bug fixes since 1.6.0
|
|
1379
|
+
|
|
1380
|
+
* Oracle enhanced adapter v1.6 requires ActiveRecord 4.2.1 or higher,
|
|
1381
|
+
ActiveRecord 4.2.0 is not supported.[#651, #652]
|
|
1382
|
+
* Fix serialized value becomes from yaml to string once saved [#655, #657]
|
|
1383
|
+
* Update Ruby version in readme [#654]
|
|
1384
|
+
* Update unit test matcher to skip sql statements to get `table` metadata [#653]
|
|
1385
|
+
|
|
1386
|
+
## 1.6.0 / 2015-06-25
|
|
1387
|
+
|
|
1388
|
+
* Changes and bug fixes since 1.6.0.beta1
|
|
1389
|
+
|
|
1390
|
+
* Add deprecation warnings for Oracle enhanced specific foreign key methods [#631]
|
|
1391
|
+
* Skip composite foreign key tests not supported in this version [#632]
|
|
1392
|
+
* Do not dump default foreign key name [#633]
|
|
1393
|
+
* Schema dump uses `:on_delete` option instead of `:dependent` [#634]
|
|
1394
|
+
* Use Rails foreign key name in rspec unit tests [#635]
|
|
1395
|
+
* Add deprecate warning if foreign key name length is longer than 30 byte [#636]
|
|
1396
|
+
* Foreign key name longer than 30 byte will be shortened using Digest::SHA1.hexdigest [#637]
|
|
1397
|
+
* Schema dumper for :integer will not dump :precision 0 [#638]
|
|
1398
|
+
* Update foreign key names for add_foreign_key with table_name_prefix [#643]
|
|
1399
|
+
|
|
1400
|
+
* Known Issues since 1.6.0.beta1
|
|
1401
|
+
* table_name_prefix and table_name_suffix changes column names which cause ORA-00904 [#639]
|
|
1402
|
+
* custom methods should rollback record when exception is raised in after_create callback fails [#640]
|
|
1403
|
+
* custom methods for create, update and destroy should log create record fails [#641]
|
|
1404
|
+
|
|
1405
|
+
## 1.6.0.beta 1 / 2015-06-19
|
|
1406
|
+
|
|
1407
|
+
* Enhancements
|
|
1408
|
+
* Support Rails 4.2
|
|
1409
|
+
* Support Rails native foreign key syntax [#488, #618]
|
|
1410
|
+
|
|
1411
|
+
* Other changes and bug fixes
|
|
1412
|
+
* Column#primary method removed from Rails [#483]
|
|
1413
|
+
* ActiveRecord::Migrator.proper_table_name has been removed from Rails [#481]
|
|
1414
|
+
* New db/schema.rb files will be created with force: :cascade [#593]
|
|
1415
|
+
* Rails42 add unique index creates unique constraint [#617]
|
|
1416
|
+
* Modify remove_column to add cascade constraint to avoid ORA-12991 [#617]
|
|
1417
|
+
* Add `null: true` to avoid DEPRECATION WARNING [#489, #499]
|
|
1418
|
+
* Rails 4.2 Add `connection.supports_views?` [#496]
|
|
1419
|
+
* text? has been removed from Column class [#487]
|
|
1420
|
+
* Remove call to deprecated `serialized_attributes` [#550, #552]
|
|
1421
|
+
* Support :cascade option for drop_table [#579]
|
|
1422
|
+
* Raise a better exception for renaming long indexes [#577]
|
|
1423
|
+
* Override aliased_types [#575]
|
|
1424
|
+
* Revert "Add options_include_default!" [#586]
|
|
1425
|
+
* Remove substitute_at method from Oracle enhanced adapter [#520]
|
|
1426
|
+
* Require 'active_record/base' in rake task #526
|
|
1427
|
+
* Make it easier to spot which version of active record is actually used [#550]
|
|
1428
|
+
* Rails4.2 Add Type::Raw type [#503]
|
|
1429
|
+
* Support :bigint datatype [#580]
|
|
1430
|
+
* Map :bigint as NUMBER(19) sql_type not NUMBER(8) [#608]
|
|
1431
|
+
* Use Oracle BINARY_FLOAT datatype for Rails :float type [#610]
|
|
1432
|
+
* Revert "Implement possibility of handling of NUMBER columns as :float" [#576]
|
|
1433
|
+
* Rails 4.2 Support NCHAR correctly [#490]
|
|
1434
|
+
* Support :timestamp datatype in Rails 4.2 [#575]
|
|
1435
|
+
* Rails 4.2 Handle NUMBER sql_type as `Type::Integer` cast type [#509]
|
|
1436
|
+
* ActiveRecord::OracleEnhanced::Type::Integer for max_value to take 38 digits [#605]
|
|
1437
|
+
* Rails 4.2 add `module OracleEnhanced` and migrate classes/modules under this [#584]
|
|
1438
|
+
* Migrate to ActiveRecord::ConnectionAdapters::OracleEnhanced::ColumnDumper [#597]
|
|
1439
|
+
* Migrated from OracleEnhancedContextIndex to OracleEnhanced::ContextIndex [#599]
|
|
1440
|
+
* Make OracleEnhancedIndexDefinition as subclass of IndexDefinition [#600]
|
|
1441
|
+
* Refactor add_index and add_index_options [#601]
|
|
1442
|
+
* Types namespace moved to `ActiveRecord::Type::Value` [#484]
|
|
1443
|
+
* Add new_column method [#482]
|
|
1444
|
+
* Rename type_cast to type_cast_from_database [#485]
|
|
1445
|
+
* Removed `forced_column_type` by using `cast_type` [#595]
|
|
1446
|
+
* Move dump_schema_information to SchemaStatements [#611]
|
|
1447
|
+
* Move OracleEnhancedIndexDefinition to OracleEnhanced::IndexDefinition [#614]
|
|
1448
|
+
* Move OracleEnhancedSynonymDefinition to OracleEnhanced::SynonymDefinition [#615]
|
|
1449
|
+
* Move types under OracleEnhanced module [#603]
|
|
1450
|
+
* Make OracleEnhancedForeignKeyDefinition as subclass of ForeignKeyDefinition [#581]
|
|
1451
|
+
* Support _field_changed argument changes [#479]
|
|
1452
|
+
* Rails 4.2 Don't type cast the default on the column [#504]
|
|
1453
|
+
* Rename variable names in create_table to follow Rails implementation [#616]
|
|
1454
|
+
* Rails 4.2: Fix create_savepoint and rollback_to_savepoint name [#497]
|
|
1455
|
+
* Shorten foreign key name if it is longer than 30 byte [#621]
|
|
1456
|
+
* Restore foreign_key_definition [#624]
|
|
1457
|
+
* Rails 4.2 Support OracleEnhancedAdapter.emulate_integers_by_column_name [#491]
|
|
1458
|
+
* Rails 4.2 Support OracleEnhancedAdapter.emulate_dates_by_column_name [#492]
|
|
1459
|
+
* Rails 4.2 Support emulate_booleans_from_strings and is_boolean_column? [#506]
|
|
1460
|
+
* Rails 4.2 Support OracleEnhancedAdapter.number_datatype_coercion [#512]
|
|
1461
|
+
* Rails 4.2 Use register_class_with_limit [#502]
|
|
1462
|
+
* Rails 4.2 Remove redundant substitute index when constructing bind values [#517]
|
|
1463
|
+
* Rails 4.2 Unit test updated to support `substitute_at` in Arel [#522]
|
|
1464
|
+
* Change log method signiture to support Rails 4.2 [#539]
|
|
1465
|
+
* Enable loading spec configuration from config file instead of env [#550]
|
|
1466
|
+
* Rails42: Issue with non-existent columns [#545, #551]
|
|
1467
|
+
* Squelch warning "#column_for_attribute` will return a null object
|
|
1468
|
+
for non-existent columns in Rails 5. Use `#has_attribute?`" [#551]
|
|
1469
|
+
* Use arel 6-0-stable [#565]
|
|
1470
|
+
* Support 'Y' as true and 'N' as false in Rails 4.2 [#574, #573]
|
|
1471
|
+
* Remove alias_method_chain :references, :foreign_keys [#582]
|
|
1472
|
+
* Use quote_value method to avoid undefined method `type_cast_for_database' for nil:NilClass [#486]
|
|
1473
|
+
* Rails 4.2: Set @nchar and @object_type only when sql_type is true [#493]
|
|
1474
|
+
* Rails 4.2: Handle forced_column_type temporary [#498]
|
|
1475
|
+
* Rails 4.2 Address ArgumentError: wrong number of arguments (1 for 2) at `quote_value` [#511]
|
|
1476
|
+
* Address ORA-00932: inconsistent datatypes: expected NUMBER got DATE [#538]
|
|
1477
|
+
* Remove duplicate alias_method_chain for indexes [#560]
|
|
1478
|
+
* Address RangeError: 6000000000 is out of range for ActiveRecord::Type::Integer
|
|
1479
|
+
with limit 4 [#578]
|
|
1480
|
+
* Return foreign_keys_without_oracle_enhanced when non Oracle database used [#583]
|
|
1481
|
+
* Add missing database_tasks.rb to gemspec [#585]
|
|
1482
|
+
* Fixed typo in the rake tasks load statement [#587]
|
|
1483
|
+
* Call super when column typs is serialized [#563, #591]
|
|
1484
|
+
* Clear query cache on rollback [#592]
|
|
1485
|
+
* Modify default to `false` if database default value is "N" [#596]
|
|
1486
|
+
* refer correct location if filess in gemspec [#606]
|
|
1487
|
+
* Add integer.rb to gemspec [#607]
|
|
1488
|
+
|
|
1489
|
+
* Known Issues
|
|
1490
|
+
* Override aliased_types [#575]
|
|
1491
|
+
* Multi column foreign key is not supported
|
|
1492
|
+
|
|
1493
|
+
## 1.5.6 / 2015-03-30
|
|
1494
|
+
|
|
1495
|
+
* Enhancements
|
|
1496
|
+
* Support Rails 4.1.10 [#530]
|
|
1497
|
+
* Remove warning message when JDK 8 is used [#525]
|
|
1498
|
+
* Support RAW column types [#471]
|
|
1499
|
+
* Properly quote database links [#556]
|
|
1500
|
+
* Grant create view privilege to db user [#528]
|
|
1501
|
+
* Read SYSTEM password from ENV ORACLE_SYSTEM_PASSWORD optionally [#529]
|
|
1502
|
+
* Show original error message when loading ruby-oci8 library fails [#532]
|
|
1503
|
+
* Update README that `OracleEnhancedProcedures` is not auto loaded [#474]
|
|
1504
|
+
* Fix legacy schema support syntax [#507]
|
|
1505
|
+
* Peform all unit test when tested with Oracle 12c [#465]
|
|
1506
|
+
* Add `:if_exists` option to `drop_table` [#541]
|
|
1507
|
+
* Extract OracleEnhancedDatabaseStatements [#449]
|
|
1508
|
+
* Removed self.visitor_for(pool) method [#501]
|
|
1509
|
+
|
|
1510
|
+
* Bug Fix
|
|
1511
|
+
* Fix serialized readonly lobs [#515]
|
|
1512
|
+
* Do not dump schema information during structure dump [#558]
|
|
1513
|
+
* Structure dump generates correct create or replace synonym [#453]
|
|
1514
|
+
* Procedures and functions are created correctly by removing semi-colon [#456]
|
|
1515
|
+
* Show support matrix of Java and JDBC Driver only when java_version >= '1.8' [#455]
|
|
1516
|
+
* Update Gemfile dependencies so specs can run [#472]
|
|
1517
|
+
|
|
1518
|
+
## 1.5.5 / 2014-05-23
|
|
1519
|
+
|
|
1520
|
+
* Enhancements
|
|
1521
|
+
* Oracle NUMBER datatype can be handled as Rails :float datatype [#418]
|
|
1522
|
+
- Default NUMBER datatype handled as :decimal to keep compatibility
|
|
1523
|
+
- Configured by setting `self.number_datatype_coercion = :float`
|
|
1524
|
+
* Add link to supported Oracle database version, JDK and Oracle JDBC Driver version [#438]
|
|
1525
|
+
* Support `without_prepared_statements?` to handle `unprepared_statement` [#447]
|
|
1526
|
+
|
|
1527
|
+
* Bug Fix
|
|
1528
|
+
* Associations with name `record` do not work correctly since Rails 4 [#435]
|
|
1529
|
+
* Skip another Oracle Text test when Oracle 12c used [#437]
|
|
1530
|
+
* Tag bind params with a bind param object [#444]
|
|
1531
|
+
|
|
1532
|
+
## 1.5.4 / 2014-03-25
|
|
1533
|
+
|
|
1534
|
+
* Enhancements
|
|
1535
|
+
* Support Rails 4.1.0.rc2
|
|
1536
|
+
* Allow Java 8 to run with jruby [#383]
|
|
1537
|
+
|
|
1538
|
+
* Bug Fix
|
|
1539
|
+
* Fix db:schema:dump when foreign key column name is not 'id' [#409]
|
|
1540
|
+
* Fix schema dump works when non Oracle adapter used [#428]
|
|
1541
|
+
|
|
1542
|
+
## 1.5.3 / 2014-03-04
|
|
1543
|
+
|
|
1544
|
+
* Enhancements
|
|
1545
|
+
* Supports Rails 4.1.0.rc1
|
|
1546
|
+
* Support rails/rails#13886 by chainging select_rows arguments [#415]
|
|
1547
|
+
|
|
1548
|
+
* Bug Fix
|
|
1549
|
+
* Fix ORA-01008: not all variables bound [#422]
|
|
1550
|
+
|
|
1551
|
+
## 1.5.2 / 2014-01-24
|
|
1552
|
+
|
|
1553
|
+
* Enhancements
|
|
1554
|
+
* Supports Rails 4.1.0.beta1
|
|
1555
|
+
* Support Rails 4 Database Tasks [#404]
|
|
1556
|
+
* Create sequence when add primary_key column [#406]
|
|
1557
|
+
* Move `SchemaCreation` to its own file [#381]
|
|
1558
|
+
* Remove unused OracleEnhancedColumnDefinition [#382]
|
|
1559
|
+
* Log bind variables after they were type casted [#385]
|
|
1560
|
+
* Remove add_order_by_for_association_limiting! [#388]
|
|
1561
|
+
* Support named savepoints [#389]
|
|
1562
|
+
* Support self.extract_value_from_default [#395]
|
|
1563
|
+
* Remove oracle_enhanced_core_ext.rb [#397]
|
|
1564
|
+
* Remove unused to_sql_with_foreign_keys and lob_columns [#398]
|
|
1565
|
+
* Remove ruby-oci8 v1 code [#405]
|
|
1566
|
+
|
|
1567
|
+
* Bug Fix
|
|
1568
|
+
* Move add_column_options! into SchemaCreation class [#384]
|
|
1569
|
+
* Add options_include_default! [#384]
|
|
1570
|
+
* Use OCI8::Metadata::Base#obj_link [#399]
|
|
1571
|
+
|
|
1572
|
+
## 1.5.1 / 2013-11-30
|
|
1573
|
+
|
|
1574
|
+
* Enhancements
|
|
1575
|
+
* Removed set_table_name set_primary_key set_sequence_name from unit tests [#364]
|
|
1576
|
+
* Update README to support assignment methods [#365]
|
|
1577
|
+
* Remove add_limit_offset! method [#369]
|
|
1578
|
+
* Update Gemfile to use `bundle config --local` [#370]
|
|
1579
|
+
* `describe` does not try super when no database link and ORA-4043 returned [#375]
|
|
1580
|
+
* Support `remove_columns` [#377]
|
|
1581
|
+
* Dump views in alphabetical order and add `FORCE` option [#378]
|
|
1582
|
+
|
|
1583
|
+
* Bug Fix
|
|
1584
|
+
* Fixed reverting add_column fails with v1.5.0 [#373]
|
|
1585
|
+
|
|
1586
|
+
## 1.5.0 / 2013-11-01
|
|
1587
|
+
|
|
1588
|
+
* Enhancements
|
|
1589
|
+
* Add license in gemspec and Rakefile [#361]
|
|
1590
|
+
|
|
1591
|
+
## 1.5.0.rc1 / 2013-10-31
|
|
1592
|
+
|
|
1593
|
+
* Update README and HISTORY
|
|
1594
|
+
* No other changes since 1.5.0.beta1
|
|
1595
|
+
|
|
1596
|
+
## 1.5.0.beta1 / 2013-10-28
|
|
1597
|
+
|
|
1598
|
+
* Enhancements and major changes
|
|
1599
|
+
* Support Rails 4.0
|
|
1600
|
+
* Desupport Rails 3.2 and lower version. To support Rails 3.2, use Version 1.4.3
|
|
1601
|
+
* Drop session store support [#219]
|
|
1602
|
+
* Create indexes automatically for references and belongs_to [#183]
|
|
1603
|
+
* Use the index name explicitly provided in a migration when reverting [#296]
|
|
1604
|
+
* Rename indexes when a table or column is renamed [#286]
|
|
1605
|
+
* Support refactored remove_column [#172]
|
|
1606
|
+
* Support allowed_index_name_length method [#285]
|
|
1607
|
+
* Remove schema prefix from sequence name if present before truncating [#155]
|
|
1608
|
+
* Bumped jeweler, ruby-plsql and ruby-oci8 version [#176]
|
|
1609
|
+
* Support also ojdbc6.jar for Java 1.7 [#350]
|
|
1610
|
+
* Support "activerecord-deprecated_finders" [#210]
|
|
1611
|
+
* Prepared statements can be disabled [#295]
|
|
1612
|
+
* Ensure disconnecting or reconnecting resets the transaction state [#220]
|
|
1613
|
+
* Support for specifying transaction isolation level [#226]
|
|
1614
|
+
* Rename the partial_updates config to partial_writes [#234]
|
|
1615
|
+
* Deprecate passing a string as third argument of add_index [#242]
|
|
1616
|
+
* Rename update method to update_record, create method to create_record [#273]
|
|
1617
|
+
* Deprecate #connection in favour of accessing it via the class [#297]
|
|
1618
|
+
* Support SchemaCreation [#298]
|
|
1619
|
+
* Add support for foreign key creation in create_table [#317]
|
|
1620
|
+
* Add virtual columns support for rail4 branch [#329]
|
|
1621
|
+
* Support columns_for_distinct method [#340]
|
|
1622
|
+
* Clear index cache when any table dropped [#200]
|
|
1623
|
+
* Clear index cache when remove_column executed [#269]
|
|
1624
|
+
* Dump schema uses ruby 1.9 style hash [#229]
|
|
1625
|
+
* Support _field_changed? and drop field_changed? [#182 #254]
|
|
1626
|
+
* Use arel nodes instead of raw sql [#198]
|
|
1627
|
+
* Raise an ArgumentError when passing an invalid option to add_index [#242]
|
|
1628
|
+
* Split OracleEnhancedColumnDumper from OracleEnhancedSchemaDumper [#292]
|
|
1629
|
+
* Unit test sets default_timezone = :local [#184]
|
|
1630
|
+
* Support reset_pk_sequence! [#287]
|
|
1631
|
+
* Remove unnecessary pendings in unit tests [#358]
|
|
1632
|
+
|
|
1633
|
+
* Bug Fix
|
|
1634
|
+
* Address ArgumentError: wrong number of arguments (5 for 3) [#166]
|
|
1635
|
+
* Address NoMethodError: undefined method `column_types' [#173]
|
|
1636
|
+
* Schema dumper removes table_name_prefix and table_name_suffix [#191]
|
|
1637
|
+
* Add clear_logger to address ArgumentError: wrong number of arguments (1 for 2) [#193]
|
|
1638
|
+
* Use Relation#to_a as Relation#all is deprecated in Rails [#203]
|
|
1639
|
+
* Address Address test_integer_zero_to_integer_zero_not_marked_as_changed failure [#207]
|
|
1640
|
+
* Address NoMethodError undefined method `default_string' [#221]
|
|
1641
|
+
* Address you can't redefine the primary key column 'id'. To define a custom primary key, pass { id: false } to create_table [#238]
|
|
1642
|
+
* Remove unnecessary DEPRECATION WARNING [#255]
|
|
1643
|
+
* Assigning "0.0" to a nullable numeric column does not make it dirty [#293]
|
|
1644
|
+
* Address `rake spec` abort [#353]
|
|
1645
|
+
* Correct activerecord-deprecated_finders not loaded if ENV['RAILS_GEM_VERSION'] set [#353]
|
|
1646
|
+
|
|
1647
|
+
* Known Issues
|
|
1648
|
+
* Oracle Text features are not fully supported with Oracle 12c [#331]
|
|
1649
|
+
|
|
1650
|
+
### 1.4.3 / 2013-10-24
|
|
1651
|
+
|
|
1652
|
+
* No changes since 1.4.3.rc2
|
|
1653
|
+
|
|
1654
|
+
### 1.4.3.rc2 / 2013-10-23
|
|
1655
|
+
|
|
1656
|
+
* Change build procedures
|
|
1657
|
+
* No other changes since 1.4.3.rc1
|
|
1658
|
+
|
|
1659
|
+
### 1.4.3.rc1 / 2013-10-19
|
|
1660
|
+
|
|
1661
|
+
* Enhancements:
|
|
1662
|
+
* Allow inserting NULL to Oracle Spatial Data Types such as MDSYS.SDO_GEOMETRY [#311]
|
|
1663
|
+
* Support ojdbc7.jar JDBC Driver [#335]
|
|
1664
|
+
|
|
1665
|
+
* Bug fixes:
|
|
1666
|
+
* Fixed Gemfile to bundle update work [#294]
|
|
1667
|
+
* Fixed broken links in README.md and RUNNING_TESTS.md [#303 #306]
|
|
1668
|
+
* Address rename_table works if the source table created with :id => false [#336]
|
|
1669
|
+
* Use expand_path to show VERSION with Windows XP
|
|
1670
|
+
|
|
1671
|
+
### 1.4.2 / 2013-03-18
|
|
1672
|
+
|
|
1673
|
+
* No changes since 1.4.2.rc2
|
|
1674
|
+
|
|
1675
|
+
### 1.4.2.rc2 / 2013-03-01
|
|
1676
|
+
|
|
1677
|
+
* Bug fixes:
|
|
1678
|
+
* Do not consider the numeric attribute as changed if the old value is zero and the new value is not a string [#247]
|
|
1679
|
+
* Removed table_name_prefix and table_name_suffix when schema dumper executed [#248]
|
|
1680
|
+
* Remove_column should raise an ArgumentError when no columns are passed [#246]
|
|
1681
|
+
* Don't dump type for NUMBER virtual columns [#256]
|
|
1682
|
+
* Address :returning_id column should be of type Column [#274]
|
|
1683
|
+
* Migrated versions should be dumped in order [#277]
|
|
1684
|
+
* Always write serialized LOB columns [#275]
|
|
1685
|
+
* Truncate the schema_migrations index [#276]
|
|
1686
|
+
* Split paths on windows machines in the right way [#231]
|
|
1687
|
+
|
|
1688
|
+
### 1.4.2.rc1 / 2012-11-13
|
|
1689
|
+
|
|
1690
|
+
* Enhancements:
|
|
1691
|
+
* Wordlist option for context index [#154]
|
|
1692
|
+
* Fall back to directly connecting via OracleDriver on JRuby [#163]
|
|
1693
|
+
* Allow slash-prefixed database name in database.yml for using a service [#201]
|
|
1694
|
+
* Bug fixes:
|
|
1695
|
+
* Fixed explain plans to work with JDBC and OCI8 [#146]
|
|
1696
|
+
* Fixed various issues with virtual columns [#159]
|
|
1697
|
+
* Fixed SQL structure dump with function indexes [#161]
|
|
1698
|
+
* Fixed broken column remove inside a change_table block [#216]
|
|
1699
|
+
* Dump indexes on virtual columns using the column's name instead of the column expression [#211]
|
|
1700
|
+
* Don't update lobs that haven't changed or are attr_readonly [#212]
|
|
1701
|
+
* Support dirty tracking with rails 3.2.9
|
|
1702
|
+
|
|
1703
|
+
### 1.4.1 / 2012-01-27
|
|
1704
|
+
|
|
1705
|
+
* Enhancements:
|
|
1706
|
+
* Support for Rails 3.2
|
|
1707
|
+
* Support for ActiveRecord 3.2 explain plans [#116]
|
|
1708
|
+
* Support for ActiveRecord 3.1 statement pool, to avoid `ORA-01000` maximum open cursors exceeded (default `statement_limit` is 250 and can be changed in `database.yml`) [#100]
|
|
1709
|
+
* Added error handling for `rename_table` method in migrations [#137]
|
|
1710
|
+
* Bug fixes:
|
|
1711
|
+
* Store primary key as `nil` in cache at first time for table without primary key [#84]
|
|
1712
|
+
* Fixed inserting records with decimal type columns (`ORA-01722` invalid number exceptions) [#130]
|
|
1713
|
+
* Check virtual columns only in models that are using `oracle-enhanced` adapter, to avoid problems when using multiple database adapters [#85]
|
|
1714
|
+
* Don't drop the user in rake `db:create` and `db:drop` tasks [#103]
|
|
1715
|
+
* Don't add `db:create` and `db:drop` when ActiveRecord is not used as the primary datastore [#128]
|
|
1716
|
+
* Quote column names in LOB statements to avoid `ORA-00936` errors [#91]
|
|
1717
|
+
* Don't add the `RETURNING` clause if using `composite_primary_keys` gem [#132]
|
|
1718
|
+
* Added `join_to_update` method that is necessary for ActiveRecord 3.1 to ensure that correct UPDATE statement is generated using `WHERE ... IN` subquery with offset condition
|
|
1719
|
+
|
|
1720
|
+
### 1.4.0 / 2011-08-09
|
|
1721
|
+
|
|
1722
|
+
* Enhancements:
|
|
1723
|
+
* Support for Rails 3.1
|
|
1724
|
+
* Bind parameter support for exec_insert, exec_update and exec_delete (in ActiveRecord 3.1)
|
|
1725
|
+
* Purge recyclebin on rake db:test:purge
|
|
1726
|
+
* Support transactional context index
|
|
1727
|
+
* Require ojdbc6.jar (on Java 6) or ojdbc5.jar (on Java 5) JDBC drivers
|
|
1728
|
+
* Support for RAW data type
|
|
1729
|
+
* rake db:create and db:drop tasks
|
|
1730
|
+
* Support virtual columns (in Oracle 11g) in schema dump
|
|
1731
|
+
* It is possible to specify default tablespaces for tables, indexes, CLOBs and BLOBs
|
|
1732
|
+
* rename_index migrations method
|
|
1733
|
+
* Search for JDBC driver in ./lib directory of Rails application
|
|
1734
|
+
* Bug fixes:
|
|
1735
|
+
* Fixed context index dump when definition is larger than 4000 bytes
|
|
1736
|
+
* Fixed schema dump not to conflict with other database adapters that are used in the same application
|
|
1737
|
+
* Allow $ in table name prefix or suffix
|
|
1738
|
+
|
|
1739
|
+
### 1.3.2 / 2011-01-05
|
|
1740
|
+
|
|
1741
|
+
* Enhancements:
|
|
1742
|
+
* If no :host or :port is provided then connect with :database name (do not default :host to localhost)
|
|
1743
|
+
* Database connection pool support for JRuby on Tomcat and JBoss application servers
|
|
1744
|
+
* NLS connection parameters support via environment variables or database.yml
|
|
1745
|
+
* Support for Arel 2.0 and latest Rails master branch
|
|
1746
|
+
* Support for Rails 3.1 prepared statements (implemented in not yet released Rails master branch version)
|
|
1747
|
+
* Eager loading of included association with more than 1000 records (implemented in not yet released Rails master branch version)
|
|
1748
|
+
* Bug fixes:
|
|
1749
|
+
* Foreign keys are added after table definitions in schema dump to ensure correct order of schema statements
|
|
1750
|
+
* Quote NCHAR and NVARCHAR2 type values with N'...'
|
|
1751
|
+
* Numeric username and/or password in database.yml will be automatically converted to string
|
|
1752
|
+
|
|
1753
|
+
### 1.3.1 / 2010-09-09
|
|
1754
|
+
|
|
1755
|
+
* Enhancements:
|
|
1756
|
+
* Tested with Rails 3.0.0 release
|
|
1757
|
+
* Lexer options for context index creation
|
|
1758
|
+
* Added Bundler for running adapter specs, added RUNNING_TESTS.rdoc with description how to run specs
|
|
1759
|
+
* Connection to database using :host, :port and :database options
|
|
1760
|
+
* Improved loading of adapter in Rails 3 using railtie
|
|
1761
|
+
* Bug fixes:
|
|
1762
|
+
* Fix for custom context index procedure when indexing records with null values
|
|
1763
|
+
* Quote table and column names in write_lobs callback
|
|
1764
|
+
* Fix for incorrect column SQL types when two models use the same table and AR query cache is enabled
|
|
1765
|
+
* Fixes for schema and scructure dump tasks
|
|
1766
|
+
* Fix for handling of zero-length strings in BLOB and CLOB columns
|
|
1767
|
+
* removed String.mb_chars upcase and downcase methods for Ruby 1.9 as Rails 3.0.0 already includes Unicode aware upcase and downcase methods for Ruby 1.9
|
|
1768
|
+
* Fixes for latest ActiveRecord unit tests
|
|
1769
|
+
|
|
1770
|
+
### 1.3.0 / 2010-06-21
|
|
1771
|
+
|
|
1772
|
+
* Enhancements:
|
|
1773
|
+
* Rails 3.0.0.beta4 and Rails 2.3.x compatible
|
|
1774
|
+
* When used with Rails 3 then works together with Oracle SQL compiler included in Arel gem (http://github.com/rails/arel)
|
|
1775
|
+
* Rails 3: Better support for limit and offset (when possible adds just ROWNUM condition in WHERE clause without using subqueries)
|
|
1776
|
+
* Table and column names are always quoted and in uppercase to avoid the need for checking Oracle reserved words
|
|
1777
|
+
* Full text search index creation (add_context_index and remove_context_index methods in migrations and #contains method in ActiveRecord models)
|
|
1778
|
+
* add_index and remove_index give just warnings on wrong index names (new expected behavior in Rails 2.3.8 and 3.0.0)
|
|
1779
|
+
* :tablespace and :options options for create_table and add_index
|
|
1780
|
+
* Workarounds:
|
|
1781
|
+
* Rails 3: set ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter.cache_columns = true in initializer file for all environments
|
|
1782
|
+
(to avoid too many data dictionary queries from Arel)
|
|
1783
|
+
* Rails 2.3: patch several ActiveRecord methods to work correctly with quoted table names in uppercase (see oracle_enhanced_activerecord_patches.rb).
|
|
1784
|
+
These patches are already included in Rails 3.0.0.beta4.
|
|
1785
|
+
* Bug fixes:
|
|
1786
|
+
* Fixes for schema purge (drop correctly materialized views)
|
|
1787
|
+
* Fixes for schema dump and structure dump (use correct statement separator)
|
|
1788
|
+
* Only use Oracle specific schema dump for Oracle connections
|
|
1789
|
+
|
|
1790
|
+
### 1.2.4 / 2010-02-23
|
|
1791
|
+
|
|
1792
|
+
* Enhancements:
|
|
1793
|
+
* rake db:test:purge will drop all schema objects from test schema (including views, synonyms, packages, functions, procedures) -
|
|
1794
|
+
they should be always reloaded before tests run if necessary
|
|
1795
|
+
* added views, synonyms, packages, functions, procedures, indexes, triggers, types, primary, unique and foreign key constraints to structure dump
|
|
1796
|
+
* added :temporary option for create_table to create temporary tables
|
|
1797
|
+
* added :tablespace option for add_index
|
|
1798
|
+
* support function based indexes in schema dump
|
|
1799
|
+
* support JNDI database connections in JRuby
|
|
1800
|
+
* check ruby-oci8 minimum version 2.0.3
|
|
1801
|
+
* added savepoints support (nested ActiveRecord transactions)
|
|
1802
|
+
* Bug fixes:
|
|
1803
|
+
* typecast returned BigDecimal integer values to Fixnum or Bignum
|
|
1804
|
+
(to avoid issues with _before_type_cast values for id attributes because _before_type_cast is used in form helpers)
|
|
1805
|
+
* clear table columns cache after columns definition change in migrations
|
|
1806
|
+
|
|
1807
|
+
### 1.2.3 / 2009-12-09
|
|
1808
|
+
|
|
1809
|
+
* Enhancements
|
|
1810
|
+
* support fractional seconds in TIMESTAMP values
|
|
1811
|
+
* support for ActiveRecord 2.3.5
|
|
1812
|
+
* use ENV['TZ'] to set database session time zone
|
|
1813
|
+
(as a result DATE and TIMESTAMP values are retrieved with correct time zone)
|
|
1814
|
+
* added cache_columns adapter option
|
|
1815
|
+
* added current_user adapter method
|
|
1816
|
+
* added set_integer_columns and set_string_columns ActiveRecord model class methods
|
|
1817
|
+
* Bug fixes:
|
|
1818
|
+
* do not raise exception if ENV['PATH'] is nil
|
|
1819
|
+
* do not add change_table behavior for ActiveRecord 2.0 (to avoid exception during loading)
|
|
1820
|
+
* move foreign key definitions after definition of all tables in schema.rb
|
|
1821
|
+
(to avoid definition of foreign keys before all tables are created)
|
|
1822
|
+
* changed timestamp format mask to use ':' before fractional seconds
|
|
1823
|
+
(workaround to avoid table detection in tables_in_string method in ActiveRecord associations.rb file)
|
|
1824
|
+
* fixed custom create/update/delete methods with ActiveRecord 2.3+ and timestamps
|
|
1825
|
+
* do not call oracle_enhanced specific schema dump methods when using other database adapters
|
|
1826
|
+
|
|
1827
|
+
### 1.2.2 / 2009-09-28
|
|
1828
|
+
|
|
1829
|
+
* Enhancements
|
|
1830
|
+
* improved RDoc documentation of public methods
|
|
1831
|
+
* structure dump optionally (database.yml environment has db_stored_code: yes) extracts
|
|
1832
|
+
packages, procedures, functions, views, triggers and synonyms
|
|
1833
|
+
* automatically generated too long index names are shortened down to 30 characters
|
|
1834
|
+
* create tables with primary key triggers
|
|
1835
|
+
* use 'set_sequence_name :autogenerated' for inserting into legacy tables with trigger populated primary keys
|
|
1836
|
+
* access to tables over database link (need to define local synonym to remote table and use local synonym in set_table_name)
|
|
1837
|
+
* [JRuby] support JDBC connection using TNS_ADMIN environment variable and TNS database alias
|
|
1838
|
+
* changed cursor_sharing option default from 'similar' to 'force'
|
|
1839
|
+
* optional dbms_output logging to ActiveRecord log file (requires ruby-plsql gem)
|
|
1840
|
+
* use add_foreign_key and remove_foreign_key to define foreign key constraints
|
|
1841
|
+
(the same syntax as in http://github.com/matthuhiggins/foreigner and similar
|
|
1842
|
+
to http://github.com/eyestreet/active_record_oracle_extensions)
|
|
1843
|
+
* raise RecordNotUnique and InvalidForeignKey exceptions if caused by corresponding ORA errors
|
|
1844
|
+
(these new exceptions are supported just by current ActiveRecord master branch)
|
|
1845
|
+
* implemented disable_referential_integrity
|
|
1846
|
+
(enables safe loading of fixtures in schema with foreign key constraints)
|
|
1847
|
+
* use add_synonym and remove_synonym to define database synonyms
|
|
1848
|
+
* add_foreign_key and add_synonym are also exported to schema.rb
|
|
1849
|
+
* Bug fixes:
|
|
1850
|
+
* [JRuby] do not raise LoadError if ojdbc14.jar cannot be required (rely on application server to add it to class path)
|
|
1851
|
+
* [JRuby] 'execute' can be used to create triggers with :NEW reference
|
|
1852
|
+
* support create_table without a block
|
|
1853
|
+
* support create_table with Symbol table name
|
|
1854
|
+
* use ActiveRecord functionality to do time zone conversion
|
|
1855
|
+
* rake tasks such as db:test:clone are redefined only if oracle_enhanced is current adapter in use
|
|
1856
|
+
* VARCHAR2 and CHAR column sizes are defined in characters and not in bytes (expected behavior from ActiveRecord)
|
|
1857
|
+
* set_date_columns, set_datetime_columns, ignore_table_columns will work after reestablishing connection
|
|
1858
|
+
* ignore :limit option for :text and :binary columns in migrations
|
|
1859
|
+
* patches for ActiveRecord schema dumper to remove table prefixes and suffixes from schema.rb
|
|
1860
|
+
|
|
1861
|
+
### 1.2.1 / 2009-06-07
|
|
1862
|
+
|
|
1863
|
+
* Enhancements
|
|
1864
|
+
* caching of table indexes query which makes schema dump much faster
|
|
1865
|
+
* Bug fixes:
|
|
1866
|
+
* return Date (and not DateTime) values for :date column value before year 1970
|
|
1867
|
+
* fixed after_create/update/destroy callbacks with plsql custom methods
|
|
1868
|
+
* fixed creation of large integers in JRuby
|
|
1869
|
+
* Made test tasks respect RAILS_ENV
|
|
1870
|
+
* fixed support for composite primary keys for tables with LOBs
|
|
1871
|
+
|
|
1872
|
+
### 1.2.0 / 2009-03-22
|
|
1873
|
+
|
|
1874
|
+
* Enhancements
|
|
1875
|
+
* support for JRuby and JDBC
|
|
1876
|
+
* support for Ruby 1.9.1 and ruby-oci8 2.0
|
|
1877
|
+
* support for Rails 2.3
|
|
1878
|
+
* quoting of Oracle reserved words in table names and column names
|
|
1879
|
+
* emulation of OracleAdapter (for ActiveRecord unit tests)
|
|
1880
|
+
* Bug fixes:
|
|
1881
|
+
* several bug fixes that were identified during running of ActiveRecord unit tests
|
|
1882
|
+
|
|
1883
|
+
### 1.1.9 / 2009-01-02
|
|
1884
|
+
|
|
1885
|
+
* Enhancements
|
|
1886
|
+
* Added support for table and column comments in migrations
|
|
1887
|
+
* Added support for specifying sequence start values
|
|
1888
|
+
* Added :privilege option (e.g. :SYSDBA) to ActiveRecord::Base.establish_connection
|
|
1889
|
+
* Bug fixes:
|
|
1890
|
+
* Do not mark empty decimals, strings and texts (stored as NULL in database) as changed when reassigning them (starting from Rails 2.1)
|
|
1891
|
+
* Create booleans as VARCHAR2(1) columns if emulate_booleans_from_strings is true
|
|
1892
|
+
|
|
1893
|
+
### 1.1.8 / 2008-10-10
|
|
1894
|
+
|
|
1895
|
+
* Bug fixes:
|
|
1896
|
+
* Fixed storing of serialized LOB columns
|
|
1897
|
+
* Prevent from SQL injection in :limit and :offset
|
|
1898
|
+
* Order by LOB columns (by replacing column with function which returns first 100 characters of LOB)
|
|
1899
|
+
* Sequence creation for tables with non-default primary key in create_table block
|
|
1900
|
+
* Do count distinct workaround only when composite_primary_keys gem is used
|
|
1901
|
+
(otherwise count distinct did not work with ActiveRecord 2.1.1)
|
|
1902
|
+
* Fixed rake db:test:clone_structure task
|
|
1903
|
+
(see http://rsim.lighthouseapp.com/projects/11468/tickets/11-rake-dbtestclone_structure-fails-in-117)
|
|
1904
|
+
* Fixed bug when ActiveRecord::Base.allow_concurrency = true
|
|
1905
|
+
(see http://dev.rubyonrails.org/ticket/11134)
|
|
1906
|
+
|
|
1907
|
+
### 1.1.7 / 2008-08-20
|
|
1908
|
+
|
|
1909
|
+
* Bug fixes:
|
|
1910
|
+
* Fixed that adapter works without ruby-plsql gem (in this case just custom create/update/delete methods are not available)
|
|
1911
|
+
|
|
1912
|
+
### 1.1.6 / 2008-08-19
|
|
1913
|
+
|
|
1914
|
+
* Enhancements:
|
|
1915
|
+
* Added support for set_date_columns and set_datetime_columns
|
|
1916
|
+
* Added support for set_boolean_columns
|
|
1917
|
+
* Added support for schema prefix in set_table_name (removed table name quoting)
|
|
1918
|
+
* Added support for NVARCHAR2 column type
|
|
1919
|
+
* Bug fixes:
|
|
1920
|
+
* Do not call write_lobs callback when custom create or update methods are defined
|
|
1921
|
+
|
|
1922
|
+
### 1.1.5 / 2008-07-27
|
|
1923
|
+
|
|
1924
|
+
* Bug fixes:
|
|
1925
|
+
* Fixed that write_lobs callback works with partial_updates enabled (added additional record lock before writing BLOB data to database)
|
|
1926
|
+
* Enhancements:
|
|
1927
|
+
* Changed SQL SELECT in indexes method so that it will execute faster on some large data dictionaries
|
|
1928
|
+
* Support for other date and time formats when assigning string to :date or :datetime column
|
|
1929
|
+
|
|
1930
|
+
### 1.1.4 / 2008-07-14
|
|
1931
|
+
|
|
1932
|
+
* Enhancements:
|
|
1933
|
+
* Date/Time quoting changes to support composite_primary_keys
|
|
1934
|
+
* Added additional methods that are used by composite_primary_keys
|
|
1935
|
+
|
|
1936
|
+
### 1.1.3 / 2008-07-10
|
|
1937
|
+
|
|
1938
|
+
* Enhancements:
|
|
1939
|
+
* Added support for custom create, update and delete methods when working with legacy databases where
|
|
1940
|
+
PL/SQL API should be used for create, update and delete operations
|
|
1941
|
+
|
|
1942
|
+
### 1.1.2 / 2008-07-08
|
|
1943
|
+
|
|
1944
|
+
* Bug fixes:
|
|
1945
|
+
* Fixed after_save callback addition for session store in ActiveRecord version 2.0.2
|
|
1946
|
+
* Changed date column name recognition - now should match regex /(^|_)date(_|$)/i
|
|
1947
|
+
(previously "updated_at" was recognized as :date column and not as :datetime)
|
|
1948
|
+
|
|
1949
|
+
### 1.1.1 / 2008-06-28
|
|
1950
|
+
|
|
1951
|
+
* Enhancements:
|
|
1952
|
+
* Added ignore_table_columns option
|
|
1953
|
+
* Added support for TIMESTAMP columns (without fractional seconds)
|
|
1954
|
+
* NLS_DATE_FORMAT and NLS_TIMESTAMP_FORMAT independent DATE and TIMESTAMP columns support
|
|
1955
|
+
* Bug fixes:
|
|
1956
|
+
* Checks if CGI::Session::ActiveRecordStore::Session does not have enhanced_write_lobs callback before adding it
|
|
1957
|
+
(Rails 2.0 does not add this callback, Rails 2.1 does)
|
|
1958
|
+
|
|
1959
|
+
### 1.1.0 / 2008-05-05
|
|
1960
|
+
|
|
1961
|
+
* Forked from original activerecord-oracle-adapter-1.0.0.9216
|
|
1962
|
+
* Renamed oracle adapter to oracle_enhanced adapter
|
|
1963
|
+
* Added "enhanced" to method and class definitions so that oracle_enhanced and original oracle adapter
|
|
1964
|
+
could be used simultaneously
|
|
1965
|
+
* Added Rails rake tasks as a copy from original oracle tasks
|
|
1966
|
+
* Enhancements:
|
|
1967
|
+
* Improved performance of schema dump methods when used on large data dictionaries
|
|
1968
|
+
* Added LOB writing callback for sessions stored in database
|
|
1969
|
+
* Added emulate_dates_by_column_name option
|
|
1970
|
+
* Added emulate_integers_by_column_name option
|
|
1971
|
+
* Added emulate_booleans_from_strings option
|