sequel 5.29.0 → 5.30.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (323) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +8 -1922
  3. data/doc/release_notes/5.30.0.txt +20 -0
  4. data/lib/sequel/adapters/shared/sqlite.rb +7 -1
  5. data/lib/sequel/database/transactions.rb +5 -9
  6. data/lib/sequel/version.rb +1 -1
  7. metadata +4 -368
  8. data/Rakefile +0 -151
  9. data/doc/release_notes/4.0.0.txt +0 -262
  10. data/doc/release_notes/4.1.0.txt +0 -85
  11. data/doc/release_notes/4.10.0.txt +0 -226
  12. data/doc/release_notes/4.11.0.txt +0 -147
  13. data/doc/release_notes/4.12.0.txt +0 -105
  14. data/doc/release_notes/4.13.0.txt +0 -169
  15. data/doc/release_notes/4.14.0.txt +0 -68
  16. data/doc/release_notes/4.15.0.txt +0 -56
  17. data/doc/release_notes/4.16.0.txt +0 -36
  18. data/doc/release_notes/4.17.0.txt +0 -38
  19. data/doc/release_notes/4.18.0.txt +0 -36
  20. data/doc/release_notes/4.19.0.txt +0 -45
  21. data/doc/release_notes/4.2.0.txt +0 -129
  22. data/doc/release_notes/4.20.0.txt +0 -79
  23. data/doc/release_notes/4.21.0.txt +0 -94
  24. data/doc/release_notes/4.22.0.txt +0 -72
  25. data/doc/release_notes/4.23.0.txt +0 -65
  26. data/doc/release_notes/4.24.0.txt +0 -99
  27. data/doc/release_notes/4.25.0.txt +0 -181
  28. data/doc/release_notes/4.26.0.txt +0 -44
  29. data/doc/release_notes/4.27.0.txt +0 -78
  30. data/doc/release_notes/4.28.0.txt +0 -57
  31. data/doc/release_notes/4.29.0.txt +0 -41
  32. data/doc/release_notes/4.3.0.txt +0 -40
  33. data/doc/release_notes/4.30.0.txt +0 -37
  34. data/doc/release_notes/4.31.0.txt +0 -57
  35. data/doc/release_notes/4.32.0.txt +0 -132
  36. data/doc/release_notes/4.33.0.txt +0 -88
  37. data/doc/release_notes/4.34.0.txt +0 -86
  38. data/doc/release_notes/4.35.0.txt +0 -130
  39. data/doc/release_notes/4.36.0.txt +0 -116
  40. data/doc/release_notes/4.37.0.txt +0 -50
  41. data/doc/release_notes/4.38.0.txt +0 -67
  42. data/doc/release_notes/4.39.0.txt +0 -127
  43. data/doc/release_notes/4.4.0.txt +0 -92
  44. data/doc/release_notes/4.40.0.txt +0 -179
  45. data/doc/release_notes/4.41.0.txt +0 -77
  46. data/doc/release_notes/4.42.0.txt +0 -221
  47. data/doc/release_notes/4.43.0.txt +0 -87
  48. data/doc/release_notes/4.44.0.txt +0 -125
  49. data/doc/release_notes/4.45.0.txt +0 -370
  50. data/doc/release_notes/4.46.0.txt +0 -404
  51. data/doc/release_notes/4.47.0.txt +0 -56
  52. data/doc/release_notes/4.48.0.txt +0 -293
  53. data/doc/release_notes/4.49.0.txt +0 -222
  54. data/doc/release_notes/4.5.0.txt +0 -34
  55. data/doc/release_notes/4.6.0.txt +0 -30
  56. data/doc/release_notes/4.7.0.txt +0 -103
  57. data/doc/release_notes/4.8.0.txt +0 -175
  58. data/doc/release_notes/4.9.0.txt +0 -190
  59. data/spec/adapter_spec.rb +0 -4
  60. data/spec/adapters/db2_spec.rb +0 -170
  61. data/spec/adapters/mssql_spec.rb +0 -828
  62. data/spec/adapters/mysql_spec.rb +0 -1060
  63. data/spec/adapters/oracle_spec.rb +0 -371
  64. data/spec/adapters/postgres_spec.rb +0 -4476
  65. data/spec/adapters/spec_helper.rb +0 -44
  66. data/spec/adapters/sqlanywhere_spec.rb +0 -97
  67. data/spec/adapters/sqlite_spec.rb +0 -652
  68. data/spec/bin_spec.rb +0 -278
  69. data/spec/core/connection_pool_spec.rb +0 -1250
  70. data/spec/core/database_spec.rb +0 -2915
  71. data/spec/core/dataset_spec.rb +0 -5544
  72. data/spec/core/deprecated_spec.rb +0 -70
  73. data/spec/core/expression_filters_spec.rb +0 -1498
  74. data/spec/core/mock_adapter_spec.rb +0 -722
  75. data/spec/core/object_graph_spec.rb +0 -336
  76. data/spec/core/placeholder_literalizer_spec.rb +0 -166
  77. data/spec/core/schema_generator_spec.rb +0 -214
  78. data/spec/core/schema_spec.rb +0 -1844
  79. data/spec/core/spec_helper.rb +0 -24
  80. data/spec/core/version_spec.rb +0 -14
  81. data/spec/core_extensions_spec.rb +0 -763
  82. data/spec/core_model_spec.rb +0 -2
  83. data/spec/core_spec.rb +0 -1
  84. data/spec/deprecation_helper.rb +0 -30
  85. data/spec/extensions/accessed_columns_spec.rb +0 -51
  86. data/spec/extensions/active_model_spec.rb +0 -99
  87. data/spec/extensions/after_initialize_spec.rb +0 -28
  88. data/spec/extensions/any_not_empty_spec.rb +0 -23
  89. data/spec/extensions/arbitrary_servers_spec.rb +0 -109
  90. data/spec/extensions/association_dependencies_spec.rb +0 -125
  91. data/spec/extensions/association_multi_add_remove_spec.rb +0 -1041
  92. data/spec/extensions/association_pks_spec.rb +0 -423
  93. data/spec/extensions/association_proxies_spec.rb +0 -100
  94. data/spec/extensions/auto_literal_strings_spec.rb +0 -205
  95. data/spec/extensions/auto_validations_spec.rb +0 -229
  96. data/spec/extensions/blacklist_security_spec.rb +0 -95
  97. data/spec/extensions/blank_spec.rb +0 -69
  98. data/spec/extensions/boolean_readers_spec.rb +0 -93
  99. data/spec/extensions/boolean_subsets_spec.rb +0 -47
  100. data/spec/extensions/caching_spec.rb +0 -273
  101. data/spec/extensions/caller_logging_spec.rb +0 -52
  102. data/spec/extensions/class_table_inheritance_spec.rb +0 -750
  103. data/spec/extensions/column_conflicts_spec.rb +0 -75
  104. data/spec/extensions/column_select_spec.rb +0 -129
  105. data/spec/extensions/columns_introspection_spec.rb +0 -90
  106. data/spec/extensions/columns_updated_spec.rb +0 -35
  107. data/spec/extensions/composition_spec.rb +0 -248
  108. data/spec/extensions/connection_expiration_spec.rb +0 -151
  109. data/spec/extensions/connection_validator_spec.rb +0 -144
  110. data/spec/extensions/constant_sql_override_spec.rb +0 -24
  111. data/spec/extensions/constraint_validations_plugin_spec.rb +0 -300
  112. data/spec/extensions/constraint_validations_spec.rb +0 -439
  113. data/spec/extensions/core_refinements_spec.rb +0 -528
  114. data/spec/extensions/csv_serializer_spec.rb +0 -183
  115. data/spec/extensions/current_datetime_timestamp_spec.rb +0 -27
  116. data/spec/extensions/dataset_associations_spec.rb +0 -365
  117. data/spec/extensions/dataset_source_alias_spec.rb +0 -51
  118. data/spec/extensions/date_arithmetic_spec.rb +0 -181
  119. data/spec/extensions/datetime_parse_to_time_spec.rb +0 -169
  120. data/spec/extensions/def_dataset_method_spec.rb +0 -100
  121. data/spec/extensions/defaults_setter_spec.rb +0 -150
  122. data/spec/extensions/delay_add_association_spec.rb +0 -73
  123. data/spec/extensions/dirty_spec.rb +0 -222
  124. data/spec/extensions/duplicate_columns_handler_spec.rb +0 -104
  125. data/spec/extensions/eager_each_spec.rb +0 -62
  126. data/spec/extensions/eager_graph_eager_spec.rb +0 -100
  127. data/spec/extensions/empty_array_consider_nulls_spec.rb +0 -24
  128. data/spec/extensions/empty_failure_backtraces_spec.rb +0 -60
  129. data/spec/extensions/error_splitter_spec.rb +0 -18
  130. data/spec/extensions/error_sql_spec.rb +0 -20
  131. data/spec/extensions/escaped_like_spec.rb +0 -40
  132. data/spec/extensions/eval_inspect_spec.rb +0 -81
  133. data/spec/extensions/exclude_or_null_spec.rb +0 -15
  134. data/spec/extensions/finder_spec.rb +0 -260
  135. data/spec/extensions/force_encoding_spec.rb +0 -126
  136. data/spec/extensions/freeze_datasets_spec.rb +0 -31
  137. data/spec/extensions/graph_each_spec.rb +0 -113
  138. data/spec/extensions/hook_class_methods_spec.rb +0 -402
  139. data/spec/extensions/identifier_mangling_spec.rb +0 -201
  140. data/spec/extensions/implicit_subquery_spec.rb +0 -58
  141. data/spec/extensions/index_caching_spec.rb +0 -66
  142. data/spec/extensions/inflector_spec.rb +0 -183
  143. data/spec/extensions/input_transformer_spec.rb +0 -69
  144. data/spec/extensions/insert_conflict_spec.rb +0 -103
  145. data/spec/extensions/insert_returning_select_spec.rb +0 -72
  146. data/spec/extensions/instance_filters_spec.rb +0 -79
  147. data/spec/extensions/instance_hooks_spec.rb +0 -246
  148. data/spec/extensions/integer64_spec.rb +0 -22
  149. data/spec/extensions/inverted_subsets_spec.rb +0 -33
  150. data/spec/extensions/json_serializer_spec.rb +0 -346
  151. data/spec/extensions/lazy_attributes_spec.rb +0 -183
  152. data/spec/extensions/list_spec.rb +0 -291
  153. data/spec/extensions/looser_typecasting_spec.rb +0 -43
  154. data/spec/extensions/many_through_many_spec.rb +0 -2177
  155. data/spec/extensions/migration_spec.rb +0 -864
  156. data/spec/extensions/modification_detection_spec.rb +0 -93
  157. data/spec/extensions/mssql_optimistic_locking_spec.rb +0 -92
  158. data/spec/extensions/named_timezones_spec.rb +0 -218
  159. data/spec/extensions/nested_attributes_spec.rb +0 -815
  160. data/spec/extensions/null_dataset_spec.rb +0 -85
  161. data/spec/extensions/optimistic_locking_spec.rb +0 -127
  162. data/spec/extensions/pagination_spec.rb +0 -116
  163. data/spec/extensions/pg_array_associations_spec.rb +0 -802
  164. data/spec/extensions/pg_array_ops_spec.rb +0 -144
  165. data/spec/extensions/pg_array_spec.rb +0 -398
  166. data/spec/extensions/pg_auto_constraint_validations_spec.rb +0 -209
  167. data/spec/extensions/pg_enum_spec.rb +0 -118
  168. data/spec/extensions/pg_extended_date_support_spec.rb +0 -126
  169. data/spec/extensions/pg_hstore_ops_spec.rb +0 -238
  170. data/spec/extensions/pg_hstore_spec.rb +0 -219
  171. data/spec/extensions/pg_inet_ops_spec.rb +0 -102
  172. data/spec/extensions/pg_inet_spec.rb +0 -72
  173. data/spec/extensions/pg_interval_spec.rb +0 -103
  174. data/spec/extensions/pg_json_ops_spec.rb +0 -356
  175. data/spec/extensions/pg_json_spec.rb +0 -451
  176. data/spec/extensions/pg_loose_count_spec.rb +0 -23
  177. data/spec/extensions/pg_range_ops_spec.rb +0 -60
  178. data/spec/extensions/pg_range_spec.rb +0 -600
  179. data/spec/extensions/pg_row_ops_spec.rb +0 -61
  180. data/spec/extensions/pg_row_plugin_spec.rb +0 -60
  181. data/spec/extensions/pg_row_spec.rb +0 -363
  182. data/spec/extensions/pg_static_cache_updater_spec.rb +0 -93
  183. data/spec/extensions/pg_timestamptz_spec.rb +0 -17
  184. data/spec/extensions/prepared_statements_safe_spec.rb +0 -66
  185. data/spec/extensions/prepared_statements_spec.rb +0 -177
  186. data/spec/extensions/pretty_table_spec.rb +0 -123
  187. data/spec/extensions/query_spec.rb +0 -94
  188. data/spec/extensions/rcte_tree_spec.rb +0 -387
  189. data/spec/extensions/round_timestamps_spec.rb +0 -39
  190. data/spec/extensions/s_spec.rb +0 -60
  191. data/spec/extensions/schema_caching_spec.rb +0 -64
  192. data/spec/extensions/schema_dumper_spec.rb +0 -870
  193. data/spec/extensions/select_remove_spec.rb +0 -38
  194. data/spec/extensions/sequel_4_dataset_methods_spec.rb +0 -121
  195. data/spec/extensions/serialization_modification_detection_spec.rb +0 -98
  196. data/spec/extensions/serialization_spec.rb +0 -365
  197. data/spec/extensions/server_block_spec.rb +0 -135
  198. data/spec/extensions/server_logging_spec.rb +0 -45
  199. data/spec/extensions/sharding_spec.rb +0 -197
  200. data/spec/extensions/shared_caching_spec.rb +0 -151
  201. data/spec/extensions/single_table_inheritance_spec.rb +0 -347
  202. data/spec/extensions/singular_table_names_spec.rb +0 -22
  203. data/spec/extensions/skip_create_refresh_spec.rb +0 -18
  204. data/spec/extensions/spec_helper.rb +0 -70
  205. data/spec/extensions/split_array_nil_spec.rb +0 -24
  206. data/spec/extensions/split_values_spec.rb +0 -57
  207. data/spec/extensions/sql_comments_spec.rb +0 -33
  208. data/spec/extensions/sql_expr_spec.rb +0 -59
  209. data/spec/extensions/static_cache_cache_spec.rb +0 -35
  210. data/spec/extensions/static_cache_spec.rb +0 -471
  211. data/spec/extensions/string_agg_spec.rb +0 -90
  212. data/spec/extensions/string_date_time_spec.rb +0 -95
  213. data/spec/extensions/string_stripper_spec.rb +0 -68
  214. data/spec/extensions/subclasses_spec.rb +0 -79
  215. data/spec/extensions/subset_conditions_spec.rb +0 -38
  216. data/spec/extensions/symbol_aref_refinement_spec.rb +0 -28
  217. data/spec/extensions/symbol_as_refinement_spec.rb +0 -21
  218. data/spec/extensions/synchronize_sql_spec.rb +0 -124
  219. data/spec/extensions/table_select_spec.rb +0 -83
  220. data/spec/extensions/tactical_eager_loading_spec.rb +0 -402
  221. data/spec/extensions/thread_local_timezones_spec.rb +0 -67
  222. data/spec/extensions/throw_failures_spec.rb +0 -74
  223. data/spec/extensions/timestamps_spec.rb +0 -209
  224. data/spec/extensions/to_dot_spec.rb +0 -153
  225. data/spec/extensions/touch_spec.rb +0 -226
  226. data/spec/extensions/tree_spec.rb +0 -334
  227. data/spec/extensions/typecast_on_load_spec.rb +0 -86
  228. data/spec/extensions/unlimited_update_spec.rb +0 -21
  229. data/spec/extensions/update_or_create_spec.rb +0 -83
  230. data/spec/extensions/update_primary_key_spec.rb +0 -105
  231. data/spec/extensions/update_refresh_spec.rb +0 -59
  232. data/spec/extensions/uuid_spec.rb +0 -101
  233. data/spec/extensions/validate_associated_spec.rb +0 -52
  234. data/spec/extensions/validation_class_methods_spec.rb +0 -1040
  235. data/spec/extensions/validation_contexts_spec.rb +0 -31
  236. data/spec/extensions/validation_helpers_spec.rb +0 -525
  237. data/spec/extensions/whitelist_security_spec.rb +0 -157
  238. data/spec/extensions/xml_serializer_spec.rb +0 -213
  239. data/spec/files/bad_down_migration/001_create_alt_basic.rb +0 -4
  240. data/spec/files/bad_down_migration/002_create_alt_advanced.rb +0 -4
  241. data/spec/files/bad_timestamped_migrations/1273253849_create_sessions.rb +0 -9
  242. data/spec/files/bad_timestamped_migrations/1273253851_create_nodes.rb +0 -9
  243. data/spec/files/bad_timestamped_migrations/1273253853_3_create_users.rb +0 -3
  244. data/spec/files/bad_up_migration/001_create_alt_basic.rb +0 -4
  245. data/spec/files/bad_up_migration/002_create_alt_advanced.rb +0 -3
  246. data/spec/files/convert_to_timestamp_migrations/001_create_sessions.rb +0 -9
  247. data/spec/files/convert_to_timestamp_migrations/002_create_nodes.rb +0 -9
  248. data/spec/files/convert_to_timestamp_migrations/003_3_create_users.rb +0 -4
  249. data/spec/files/convert_to_timestamp_migrations/1273253850_create_artists.rb +0 -9
  250. data/spec/files/convert_to_timestamp_migrations/1273253852_create_albums.rb +0 -9
  251. data/spec/files/double_migration/001_create_sessions.rb +0 -9
  252. data/spec/files/double_migration/002_create_nodes.rb +0 -19
  253. data/spec/files/double_migration/003_3_create_users.rb +0 -4
  254. data/spec/files/duplicate_integer_migrations/001_create_alt_advanced.rb +0 -4
  255. data/spec/files/duplicate_integer_migrations/001_create_alt_basic.rb +0 -4
  256. data/spec/files/duplicate_timestamped_migrations/1273253849_create_sessions.rb +0 -9
  257. data/spec/files/duplicate_timestamped_migrations/1273253853_create_nodes.rb +0 -9
  258. data/spec/files/duplicate_timestamped_migrations/1273253853_create_users.rb +0 -4
  259. data/spec/files/empty_migration/001_create_sessions.rb +0 -9
  260. data/spec/files/empty_migration/002_create_nodes.rb +0 -0
  261. data/spec/files/empty_migration/003_3_create_users.rb +0 -4
  262. data/spec/files/integer_migrations/001_create_sessions.rb +0 -9
  263. data/spec/files/integer_migrations/002_create_nodes.rb +0 -9
  264. data/spec/files/integer_migrations/003_3_create_users.rb +0 -4
  265. data/spec/files/interleaved_timestamped_migrations/1273253849_create_sessions.rb +0 -9
  266. data/spec/files/interleaved_timestamped_migrations/1273253850_create_artists.rb +0 -9
  267. data/spec/files/interleaved_timestamped_migrations/1273253851_create_nodes.rb +0 -9
  268. data/spec/files/interleaved_timestamped_migrations/1273253852_create_albums.rb +0 -9
  269. data/spec/files/interleaved_timestamped_migrations/1273253853_3_create_users.rb +0 -4
  270. data/spec/files/missing_integer_migrations/001_create_alt_basic.rb +0 -4
  271. data/spec/files/missing_integer_migrations/003_create_alt_advanced.rb +0 -4
  272. data/spec/files/missing_timestamped_migrations/1273253849_create_sessions.rb +0 -9
  273. data/spec/files/missing_timestamped_migrations/1273253853_3_create_users.rb +0 -4
  274. data/spec/files/reversible_migrations/001_reversible.rb +0 -5
  275. data/spec/files/reversible_migrations/002_reversible.rb +0 -5
  276. data/spec/files/reversible_migrations/003_reversible.rb +0 -5
  277. data/spec/files/reversible_migrations/004_reversible.rb +0 -5
  278. data/spec/files/reversible_migrations/005_reversible.rb +0 -10
  279. data/spec/files/reversible_migrations/006_reversible.rb +0 -10
  280. data/spec/files/reversible_migrations/007_reversible.rb +0 -10
  281. data/spec/files/timestamped_migrations/1273253849_create_sessions.rb +0 -9
  282. data/spec/files/timestamped_migrations/1273253851_create_nodes.rb +0 -9
  283. data/spec/files/timestamped_migrations/1273253853_3_create_users.rb +0 -4
  284. data/spec/files/transaction_specified_migrations/001_create_alt_basic.rb +0 -4
  285. data/spec/files/transaction_specified_migrations/002_create_basic.rb +0 -4
  286. data/spec/files/transaction_unspecified_migrations/001_create_alt_basic.rb +0 -3
  287. data/spec/files/transaction_unspecified_migrations/002_create_basic.rb +0 -3
  288. data/spec/files/uppercase_timestamped_migrations/1273253849_CREATE_SESSIONS.RB +0 -9
  289. data/spec/files/uppercase_timestamped_migrations/1273253851_CREATE_NODES.RB +0 -9
  290. data/spec/files/uppercase_timestamped_migrations/1273253853_3_CREATE_USERS.RB +0 -4
  291. data/spec/guards_helper.rb +0 -59
  292. data/spec/integration/associations_test.rb +0 -2597
  293. data/spec/integration/database_test.rb +0 -113
  294. data/spec/integration/dataset_test.rb +0 -2037
  295. data/spec/integration/eager_loader_test.rb +0 -687
  296. data/spec/integration/migrator_test.rb +0 -262
  297. data/spec/integration/model_test.rb +0 -203
  298. data/spec/integration/plugin_test.rb +0 -2423
  299. data/spec/integration/prepared_statement_test.rb +0 -405
  300. data/spec/integration/schema_test.rb +0 -903
  301. data/spec/integration/spec_helper.rb +0 -71
  302. data/spec/integration/timezone_test.rb +0 -86
  303. data/spec/integration/transaction_test.rb +0 -603
  304. data/spec/integration/type_test.rb +0 -127
  305. data/spec/model/association_reflection_spec.rb +0 -803
  306. data/spec/model/associations_spec.rb +0 -4738
  307. data/spec/model/base_spec.rb +0 -875
  308. data/spec/model/class_dataset_methods_spec.rb +0 -146
  309. data/spec/model/dataset_methods_spec.rb +0 -198
  310. data/spec/model/eager_loading_spec.rb +0 -2377
  311. data/spec/model/hooks_spec.rb +0 -370
  312. data/spec/model/inflector_spec.rb +0 -26
  313. data/spec/model/model_spec.rb +0 -956
  314. data/spec/model/plugins_spec.rb +0 -429
  315. data/spec/model/record_spec.rb +0 -2118
  316. data/spec/model/spec_helper.rb +0 -46
  317. data/spec/model/validations_spec.rb +0 -220
  318. data/spec/model_no_assoc_spec.rb +0 -1
  319. data/spec/model_spec.rb +0 -1
  320. data/spec/plugin_spec.rb +0 -1
  321. data/spec/sequel_coverage.rb +0 -15
  322. data/spec/sequel_warning.rb +0 -5
  323. data/spec/spec_config.rb +0 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 014f4b025465c81d313d8ea8d5591d47165d84ee0e15906d3591992f63830e08
4
- data.tar.gz: f0d19f67d618a2e7cbdf67b198f218cc765507d9de093934edfe1e30aa641e41
3
+ metadata.gz: 22c562c1227d83d1425ef6db9d8bd503595cd97e35036cca335aeb588a00f3df
4
+ data.tar.gz: 18c96ea22fe23f65b6f85c6efc17ce9b17e783fc8bfaefa498edb7ada25499aa
5
5
  SHA512:
6
- metadata.gz: c1cda2787c781672dba64847f1524c0ae4120f0ee1eb412a9dbf814336941337b71b4bbc4bb481eb7d9fd847646ca657fcb2309f66030d6d51d28e96f787f073
7
- data.tar.gz: 64a84a203bb795e586ca50f47d9ff865f9162bffae9d5f36c3d3dfc1baa3696f925bd474b2d4c74fc400f77f550c7fb7f74ea29ff4dfac9322db54a3c42a8732
6
+ metadata.gz: 890ae35cd097875a8cab776d7db7760ccb8b21fa0317dd26011a5a49996d378bdd5db68c299967c47c7b066718aca642fb7b606979753a1ac9833ac2d004b02d
7
+ data.tar.gz: bb685f30c7c4db37441f38cc1e6a729e5d87db86996474bbcb18dd551310ff7751e2abc56db146483e319197bb6381cbf12c6e4e2e6a2079da82ff74ae4aadc9
data/CHANGELOG CHANGED
@@ -1,3 +1,11 @@
1
+ === 5.30.0 (2020-03-01)
2
+
3
+ * Remove specs and old release notes from the gem to reduce gem size by over 40% (jeremyevans)
4
+
5
+ * When using Database#transaction :retry_on, call :before_retry option if retrying even if :num_retries is nil (jcmfernandes) (#1678)
6
+
7
+ * Support generated columns on SQLite 3.31+ using :generated_always_as and :generated_type options (jeremyevans)
8
+
1
9
  === 5.29.0 (2020-02-01)
2
10
 
3
11
  * Recognize another disconnect error in the tinytds adapter (jeremyevans)
@@ -676,1928 +684,6 @@
676
684
 
677
685
  * Remove deprecated adapters, extensions, plugins, constants, and features (jeremyevans)
678
686
 
679
- === 4.49.0 (2017-08-01)
680
-
681
- * Make dataset_associations plugin automatically alias tables when using many_through_many associations that join the same table multiple times (jeremyevans)
682
-
683
- * Deprecate using a :pool_class Database that is not a class or a symbol for a supported pool class (jeremyevans)
684
-
685
- * Deprecate :eager_loading_predicate_key association option and association reflection method (jeremyevans)
686
-
687
- * Deprecate Model.serialized_columns in the serialization plugin (jeremyevans)
688
-
689
- * Deprecate Model.cti_columns in the class_table_inheritance plugin (jeremyevans)
690
-
691
- * Deprecate SQL::AliasedExpression#aliaz, use #alias instead (jeremyevans)
692
-
693
- * Deprecate SQL::Function#f, use #name instead (jeremyevans)
694
-
695
- * Deprecate treating cross join with conditions as inner join on MySQL (jeremyevans)
696
-
697
- * Deprecate ConnectionPool#created_count, use #size instead (jeremyevans)
698
-
699
- * Deprecate ConnectionPool::CONNECTION_POOL_MAP, use the :pool_class option to specify a non-default connection pool (jeremyevans)
700
-
701
- * Deprecate Sequel::IBMDB::Connection#prepared_statements= in the ibmdb adapter (jeremyevans)
702
-
703
- * Deprecate DEFAULT_OPTIONS in validation_helpers, override default_validation_helpers_options private method instead (jeremyevans)
704
-
705
- * Deprecate model association before callbacks returning false to cancel the action (jeremyevans)
706
-
707
- * Support native offset syntax on Oracle 12 (timon) (#1397)
708
-
709
- * Deprecate Dataset#nullify! in the null_dataset extension (jeremyevans)
710
-
711
- * Deprecate Dataset#autoid=, #_fetch=, and #numrows= in the mock adapter (jeremyevans)
712
-
713
- * Deprecate loading plugins by requiring sequel_#{plugin} (jeremyevans)
714
-
715
- * Add Model.sti_class_from_sti_key in the single_table_inheritance plugin to get the appropriate class to use (Aryk) (#1396)
716
-
717
- * Make Sequel::Error#cause use #wrapped_exception if it exists on ruby 2.1+ (jeremyevans)
718
-
719
- * Make Dataset#where_all, #where_each, #where_single_value core dataset methods instead of just model dataset methods (jeremyevans)
720
-
721
- * Make Database#extend_datasets and Dataset#with_extend now use a Dataset::DatasetModule instance if given a block (jeremyevans)
722
-
723
- * Add Sequel::Dataset::DatasetModule, now a superclass of Sequel::Model::DatasetModule (jeremyevans)
724
-
725
- * Make composition plugin with :mapping option work correctly if Model#get_column_value is overridden (jeremyevans)
726
-
727
- * Support Dataset#paged_each :stream => false option on mysql2 to disable streaming (Aryk) (#1395)
728
-
729
- * Make datetimeoffset handling in the jdbc/sqlserver adapter work on more drivers (jeremyevans)
730
-
731
- * Make alter_table add_primary_key work correctly on H2 1.4+ (jeremyevans)
732
-
733
- * Support :sslrootcert Database option in the postgres adapter (dleavitt) (#1391)
734
-
735
- === 4.48.0 (2017-07-01)
736
-
737
- * Deprecate Model.<< (jeremyevans)
738
-
739
- * Deprecate Dataset#{and,exclude_where,range,interval}, move to sequel_4_dataset_methods extension (jeremyevans)
740
-
741
- * Make Database#indexes not include partial indexes on SQLite 3.8.8+ (jeremyevans)
742
-
743
- * Make Database#indexes include indexes created automatically from unique constraints on SQLite 3.8.8+ (jeremyevans)
744
-
745
- * Deprecate Sequel::Postgres::PG_TYPES, conversion procs should not be registered per-Database (jeremyevans)
746
-
747
- * Add Database#add_conversion_proc method on PostgreSQL for registering conversion procs (jeremyevans)
748
-
749
- * Deprecate unexpected values passed to Dataset#insert_conflict on SQLite (jeremyevans)
750
-
751
- * Deprecate Sequel::SqlAnywhere::Dataset#convert_smallint_to_bool= method (jeremyevans)
752
-
753
- * Deprecate Sequel::SqlAnywhere.convert_smallint_to_bool accessor (jeremyevans)
754
-
755
- * Use savepoints around index creation if creating table inside transaction if ignore_index_errors is used (jeremyevans)
756
-
757
- * Deprecate treating :natrual_inner join type on MySQL as NATURAL LEFT JOIN (jeremyevans)
758
-
759
- * Deprecate Dataset#mssql_unicode_strings= on Microsoft SQL Server (jeremyevans)
760
-
761
- * Preserve encoding when parsing PostgreSQL arrays (jeltz) (#1387)
762
-
763
- * Deprecate external modification of Sequel::JDBC::TypeConvertor (jeremyevans)
764
-
765
- * Deprecate Sequel::DB2.use_clob_as_blob accessor (jeremyevans)
766
-
767
- * Add Database#use_clob_as_blob accessor on DB2 (jeremyevans)
768
-
769
- * Deprecate SEQUEL_POSTGRES_USES_PG constant (jeremyevans)
770
-
771
- * Do not swallow original exception if exception is raised inside Database#copy_table on PostgreSQL (jeremyevans)
772
-
773
- * Deprecate Sequel::Postgres.client_min_messages and force_standard_strings accessors (jeremyevans)
774
-
775
- * Deprecate Sequel::Postgres.use_iso_date_format accessor (jeremyevans)
776
-
777
- * Do not allow connection in postgres adapter if postgres-pr driver is used and force_standard_strings is false (jeremyevans)
778
-
779
- * Drop support for ancient postgres driver in postgres adapter, now only pg and postgres-pr drivers are supported (jeremyevans)
780
-
781
- * Deprecate Sequel::MySQL.convert_invalid_date_time accessor (jeremyevans)
782
-
783
- * Deprecate Sequel::MySQL.convert_tinyint_to_bool accessor (jeremyevans)
784
-
785
- * Deprecate Sequel::MySQL.default_{charset,collate,engine} accessors (jeremyevans)
786
-
787
- * Add Database#default_{charset,collate,engine} accessors on MySQL (jeremyevans)
788
-
789
- * Make mock adapter thread safe (jeremyevans)
790
-
791
- * Deprecate Sequel::JDBC::Dataset#convert_types accessor (jeremyevans)
792
-
793
- * Add Dataset#with_convert_types in jdbc adapter (jeremyevans)
794
-
795
- * Deprecate Sequel::IBMDB::Dataset#convert_smallint_to_bool= method (jeremyevans)
796
-
797
- * Deprecate Sequel::IBMDB.convert_smallint_to_bool accessor (jeremyevans)
798
-
799
- * Add Database#convert_smallint_to_bool accessor in the ibmdb adapter (jeremyevans)
800
-
801
- * Deprecate sequel_3_dataset_methods extension (jeremyevans)
802
-
803
- * Deprecate query_literals extension (jeremyevans)
804
-
805
- * Deprecate using subtype conversion procs added after registering composite type in the pg_row extension (jeremyevans)
806
-
807
- * Don't try canceling copy in Database#copy_into if copier is not created yet (aakashAu) (#1384)
808
-
809
- * Deprecate global conversion procs added by pg_* extensions, when extension isn't loaded into Database instance (jeremyevans)
810
-
811
- * Deprecate Sequel::Postgres::PGRange.register in the pg_range extension (jeremyevans)
812
-
813
- * Deprecate Sequel::Postgres::PGArray.register in the pg_array extension (jeremyevans)
814
-
815
- * Deprecate Database#copy_conversion_procs (private method) on PostgreSQL (jeremyevans)
816
-
817
- * Deprecate Database#reset_conversion_procs on PostgreSQL (jeremyevans)
818
-
819
- * Deprecate meta_def extension (jeremyevans)
820
-
821
- * Make class_table_inheritance plugin with :alias option not use subquery for datasets that don't join (jeremyevans)
822
-
823
- * Deprecate hash_aliases extension (jeremyevans)
824
-
825
- * Deprecate filter_having extension (jeremyevans)
826
-
827
- * Deprecate empty_array_ignore_nulls extension (jeremyevans)
828
-
829
- * Deprecate Array#sql_array in the core_extensions extension (jeremyevans)
830
-
831
- * Make validation_helpers plugin :allow_blank option work correctly when the blank extension is not loaded (jeremyevans)
832
-
833
- * Make validation_class_methods plugin no longer require the blank extension (jeremyevans)
834
-
835
- * Clear cached associations when touching associations in the touch plugin (jeremyevans)
836
-
837
- * Make pg_array_associations model plugin load pg_array extension into database (jeremyevans)
838
-
839
- * Remove support for :strict option in nested_attributes plugin, use :unmatched_pk option instead (jeremyevans)
840
-
841
- * Make to_json class/dataset method in json_serializer plugin accept :instance_block option to pass block to Model#to_json (jeremyevans)
842
-
843
- * Make to_json methods in json_serializer plugin accept blocks that are used to transform values before serializing to JSON (jeremyevans)
844
-
845
- * Make Sequel.object_to_json pass block to #to_json (jeremyevans)
846
-
847
- * Deprecate identifier_columns plugin, not needed with Sequel.split_symbols = false (jeremyevans)
848
-
849
- * Make reloading column_conflicts plugin not remove existing conflict markings (jeremyevans)
850
-
851
- * Deprecate cti_base_model, cti_key, and cti_model_map class methods in class_table_inheritance plugin (jeremyevans)
852
-
853
- * Make Model.skip_auto_validations(:not_null) in the auto_validations plugin skip not null checks for columns with default values (jeremyevans)
854
-
855
- * Make Database#copy_into in jdbc/postgresql adapter respect :server option (jeremyevans)
856
-
857
- * Make #to_hash and #to_hash_groups handle options in the static_cache plugin, and add rename #to_hash to #as_hash (jeremyevans)
858
-
859
- * Rename Dataset#to_hash to #as_hash, and add #to_hash as an alias, to allow undefing #to_hash to fix ruby calling it implicitly (jeremyevans) (#1375)
860
-
861
- * Handle PG* constants deprecated in pg 0.21.0 in the postgres adapter (jeremyevans) (#1377, #1378)
862
-
863
- * Support :association_pks_use_associated_table association option in association_pks plugin (jeremyevans)
864
-
865
- * Make pg_hstore extension reset hstore conversion proc when running Database#reset_conversion_procs (jeremyevans)
866
-
867
- * Fix incorrect SQL used for inserting into a CTI subclass sharing the primary table when using the :alias option (jeremyevans)
868
-
869
- === 4.47.0 (2017-06-01)
870
-
871
- * Deprecate pg_typecast_on_load plugin, only useful on deprecated do and swift adapters (jeremyevans)
872
-
873
- * Deprecate association_autoreloading and many_to_one_pk_lookup plugins, which were made the default model behavior in Sequel 4 (jeremyevans)
874
-
875
- * Deprecate setting invalid datasets for models unless required_valid_table = false (jeremyevans)
876
-
877
- * Make Model.require_valid_table = true not raise for datasets where Database#schema raises an error but Dataset#columns works (jeremyevans)
878
-
879
- * Make Database#with_server in the server_block extension accept a second argument for a different read_only shard (jeremyevans) (#1355)
880
-
881
- * Make schema_dumper extension handle Oracle 11g XE inclusion of not null in the db_type (StevenCregan, jeremyevans) (#1351)
882
-
883
- * Add Model.default_association_type_options for changing default association options per association type (jeremyevans)
884
-
885
- * Add :materialized option to Database#views on PostgreSQL to return materialized views (Blargel) (#1348)
886
-
887
- * Make defaults_setter plugin inherit custom default values when subclassing (jeremyevans)
888
-
889
- === 4.46.0 (2017-05-01)
890
-
891
- * Recognize additional disconnect error on MySQL (jeremyevans)
892
-
893
- * Deconstantize dataset SQL generation, speeding up ruby 2.3+, slowing down earlier versions (jeremyevans)
894
-
895
- * Deprecate calling Dataset#set_graph_aliases before Dataset#graph (jeremyevans)
896
-
897
- * Don't swallow exception if there is an exception when rolling back a transaction when using :rollback=>:always option (jeremyevans)
898
-
899
- * Deprecate passing 2 arguments to Database#alter_table (jeremyevans)
900
-
901
- * Deprecate passing Schema::CreateTableGenerator instance as second argument to Database#create_table (jeremyevans)
902
-
903
- * Deprecate Database::DatasetClass as a way for getting default dataset classes for datasets (jeremyevans)
904
-
905
- * Deprecate SQLite pragma getting and setting methods (jeremyevans)
906
-
907
- * Remove handling of EMULATED_FUNCTION_MAP from adapter dataset classes, overide Dataset#native_function_name instead (jeremyevans)
908
-
909
- * Deprecate {Integer,Timestamp}Migrator::DEFAULT_SCHEMA_{COLUMN,TABLE} (jeremyevans)
910
-
911
- * Deprecate Database#jdbc_* methods for jdbc/db2 adapter Database instances (jeremyevans)
912
-
913
- * Remove addition of Database#jdbc_* to JDBC::Database in jdbc/db2 adapter (jeremyevans)
914
-
915
- * Deprecate many internal Database and Dataset string/regexp constants in core and included adapters (jeremyevans)
916
-
917
- * Remove use of Fixnum in sqlanywhere shared adapter (jeremyevans)
918
-
919
- * Deprecate Sequel::Schema::Generator constant, use Sequel::Schema::CreateTableGenerator instead (jeremyevans)
920
-
921
- * Deprecate Database#log_yield (jeremyevans)
922
-
923
- * Deprecate the set_overrides extension (jeremyevans)
924
-
925
- * If passing an empty array or hash and a block to a filtering method, ignore the array or hash and just use the block (jeremyevans)
926
-
927
- * Deprecate ignoring explicit nil argument when there is no existing filter (jeremyevans)
928
-
929
- * Deprecate ignoring explicit nil argument to filtering methods when passing a block (jeremyevans)
930
-
931
- * Deprecate ignoring empty strings and other empty? arguments passed to the filtering methods without a block (jeremyevans)
932
-
933
- * Deprecate calling filtering methods without an argument or a block (jeremyevans)
934
-
935
- * Deprecate Sequel::VirtualRow#` to create literal SQL, use Sequel.lit instead (jeremyevans)
936
-
937
- * Add auto_literal_strings extensions for treating plain strings passed to filtering/update methods as literal SQL (jeremyevans)
938
-
939
- * Deprecate automatically treating plain strings passed to filtering/update methods as literal SQL (jeremyevans)
940
-
941
- * Passing a PlaceholderLiteralString to a filtering method now uses parentheses around the expression (jeremyevans)
942
-
943
- * Make Dataset#full_text_search work on Microsoft SQL Server when no_auto_literal_strings extension is used (jeremyevans)
944
-
945
- * Fix Database#disconnect when using the single connection pool without an active connection (jeremyevans) (#1339)
946
-
947
- * Handle conversion of datetimeoffset values when using the jdbc/sqlserver adapter in some configurations (iaddict, jeremyevans) (#1338)
948
-
949
- * Fix conversion of some time values when using the jdbc/sqlserver adapter in some configurations (iaddict, jeremyevans) (#1337)
950
-
951
- * Use microsecond precision for time values on Microsoft SQL Server, instead of millisecond precision (jeremyevans)
952
-
953
- * Add Dataset#sqltime_precision private method for adapters to use different precision for Sequel::SQLTime than Time and Date (jeremyevans)
954
-
955
- * Use utc timezone in Sequel::SQLTime.create if Sequel.application_timezone is :utc (jeremyevans) (#1336)
956
-
957
- * Include migration filename in message about migration file without a single migration (jmettraux) (#1334)
958
-
959
- * Deprecate conversion of - to _ in adapter schemes (jeremyevans)
960
-
961
- * Don't quote function names that are SQL::Identifiers, unless SQL::Function#quoted is used (jeremyevans)
962
-
963
- * Deprecate splitting virtual row method names (jeremyevans)
964
-
965
- * Deprecate passing blocks to virtual row methods, move to virtual_row_method_block extension (jeremyevans)
966
-
967
- * Deprecate Sequel::SQL::Expression#sql_literal and #lit (jeremyevans)
968
-
969
- * Don't issue deprecation warnings on ruby 1.8.7, as Sequel 5 is dropping support for it (jeremyevans)
970
-
971
- * Deprecate Sequel::BasicObject#remove_methods! (jeremyevans)
972
-
973
- * Deprecate sequel/no_core_ext file (jeremyevans)
974
-
975
- * Deprecate model dataset #insert_sql accepting model instances (jeremyevans)
976
-
977
- * Deprecate model dataset #join_table and #graph accepting model classes (jeremyevans)
978
-
979
- * Support :alias option to class_table_inheritance plugin, wrapping subclass datasets in a subquery to fix ambiguous column issues (jeremyevans)
980
-
981
- * Deprecate Model.set_allowed_columns and Model#{set_all,set_only,update_all,update_only}, move to whitelist security plugin (jeremyevans)
982
-
983
- * Do not raise MassAssignmentRestriction when setting nested attributes and using the :fields option, only check for fields given (jeremyevans)
984
-
985
- * Do not add class methods for private methods definined in dataset_module (jeremyevans)
986
-
987
- * Deprecate Model.def_dataset_method and Model.subset, move to def_dataset_method plugin (jeremyevans)
988
-
989
- * Deprecate Model.finder and Model.prepared_finder, move to finder plugin (jeremyevans)
990
-
991
- * Deprecate calling Model.db= on a model with a dataset (jeremyevans)
992
-
993
- * Deprecate splitting symbols to look for qualified/aliased identifiers (e.g. :table__column) (jeremyevans)
994
-
995
- * Allow optimized lookups and deletes for models using SQL::Identifier and SQL::QualifiedIdentifier values as the FROM table (jeremyevans)
996
-
997
- === 4.45.0 (2017-04-01)
998
-
999
- * Correctly handle datasets with offsets but no limits used in compound datasets on MSSQL <2012 (jeremyevans)
1000
-
1001
- * Correctly handle false values in the split_values plugin (bananarne) (#1333)
1002
-
1003
- * Deprecate Dataset#dup/clone and Model.dup/clone (jeremyevans)
1004
-
1005
- * Deprecate the schema and scissors plugins (jeremyevans)
1006
-
1007
- * Deprecate Model.{lazy_attributes,nested_attributes,composition,serialization}_module accessors (jeremyevans)
1008
-
1009
- * Deprecate Database#database_name on MySQL (jeremyevans)
1010
-
1011
- * Deprecate Database#use on MySQL (jeremyevans)
1012
-
1013
- * Make pg_hstore extension no longer update PG_NAMED_TYPES (jeremyevans)
1014
-
1015
- * Deprecate Sequel::PG_NAMED_TYPES (jeremyevans)
1016
-
1017
- * Add columns_updated plugin for making updated columns hash available in after_update and after_save hooks (jeremyevans)
1018
-
1019
- * Deprecate accessing @columns_updated directly in model after_update and after_save hooks (jeremyevans)
1020
-
1021
- * Deprecate Database#{add,remove}_servers when not using a sharded connection pool (jeremyevans)
1022
-
1023
- * Deprecate Database#each_server (jeremyevans)
1024
-
1025
- * Make Model#_valid? private method accept only an options hash (jeremyevans)
1026
-
1027
- * Deprecate returning false from model before hooks to cancel the action, use Model#cancel_action (jeremyevans)
1028
-
1029
- * Handle Model#cancel_action correctly in before hooks when Model#valid? is called (jeremyevans)
1030
-
1031
- * Deprecate Sequel::BeforeHookFailed (jeremyevans)
1032
-
1033
- * Deprecate passing multiple arguments as filter arguments when not using a conditions specifier (jeremyevans)
1034
-
1035
- * Deprecate passing Procs as filter arguments, require they be passed as blocks (jeremyevans)
1036
-
1037
- * Deprecate Sequel::Error::* exception class aliases (jeremyevans)
1038
-
1039
- * Deprecate prepared_statements_associations and prepared_statements_with_pk plugins (jeremyevans)
1040
-
1041
- * Deprecate Sequel::Unbinder, Sequel::UnbindDuplicate, and Dataset#unbind (jeremyevans)
1042
-
1043
- * Deprecating calling Sequel::Qualifier with two arguments (jeremyevans)
1044
-
1045
- * Add validation_contexts plugin for supporting custom contexts when validating (jeremyevans)
1046
-
1047
- * Deprecate Sequel::Database.single_threaded singleton accessor (jeremyevans)
1048
-
1049
- * Deprecate treating unrecognized prepared statement type as :select (jeremyevans)
1050
-
1051
- * Deprecate Sequel.identifier_{in,out}put_method= and .quote_identifiers= singleton setters (jeremyevans)
1052
-
1053
- * Deprecate Sequel::Database.identifier_{in,out}put_method and .quote_identifiers singleton accessors (jeremyevans)
1054
-
1055
- * Deprecate loading the identifier_mangling by default, require it be loaded explicitly if needed (jeremyevans)
1056
-
1057
- * Make Database#dump_{table_schema,schema_migration} in schema_dumper extension support :schema option (dadario) (#1328)
1058
-
1059
- * Make Dataset#delete respect an existing limit on Microsoft SQL Server (jeremyevans)
1060
-
1061
- * Add Dataset#skip_limit_check to mark a dataset as skipping the limit/offset check for updates and deletes (jeremyevans)
1062
-
1063
- * Deprecate calling Dataset#{update/delete/truncate} on datasets with limits or offsets unless the database supports it (jeremyevans)
1064
-
1065
- * Add deprecation message for using association_pks setter method with :delay_pks=>true association option (jeremyevans)
1066
-
1067
- * Add deprecation message for using association_pks setter method without :delay_pks association option (jeremyevans)
1068
-
1069
- * Deprecate having duplicate column names in subclass tables when using the class_table_inheritance plugin (jeremyevans)
1070
-
1071
- * Deprecate do (DataObjects), swift, and jdbc/as400 adapters (jeremyevans)
1072
-
1073
- * Deprecate support for Cubrid, Firebird, Informix, and Progress databases (jeremyevans)
1074
-
1075
- * The :proxy_argument option passed to association_proxies plugin block is now an empty hash if no arguments are passed to the association method (jeremyevans)
1076
-
1077
- * Deprecate passing non-hash arguments to association methods (jeremyevans)
1078
-
1079
- * Deprecate passing multiple arguments to association methods (jeremyevans)
1080
-
1081
- * Deprecate model transaction hook methods (jeremyevans)
1082
-
1083
- * Drop support for pg <0.8.0 in the postgres adapter (jeremyevans)
1084
-
1085
- * Deprecate passing a block to Database#from (jeremyevans)
1086
-
1087
- * Deprecate Sequel::Model::ANONYMOUS_MODEL_CLASSES{,_MUTEX} (jeremyevans)
1088
-
1089
- * Deprecate Sequel.cache_anonymous_models and Sequel.cache_anonymous_models= (jeremyevans)
1090
-
1091
- * Automatically use from_self when using a dataset as part of a compound if it has an offset but no limit (jeremyevans)
1092
-
1093
- * Drop order on existing datasets when using Dataset#union/intersect/except on Microsoft SQL Server unless a limit or offset is used (jeremyevans)
1094
-
1095
- * Deprecate dataset mutation (jeremyevans)
1096
-
1097
- * Handle dumping of autoincrementing 64-bit integer primary key columns correctly when using :same_db option in the schema dumper (jeremyevans) (#1324)
1098
-
1099
- * Add Model.dataset_module_class accessor, allowing plugins to support custom behavior in dataset_module blocks (jeremyevans)
1100
-
1101
- * Make ORDER BY come after UNION/INTERSECT/EXCEPT on Microsoft SQL Server and SQLAnywhere (jeremyevans)
1102
-
1103
- * Make Database#indexes on MySQL handle qualified identifiers (jeremyevans) (#1316)
1104
-
1105
- * Add oracle support to the odbc adapter (samuel02) (#1315)
1106
-
1107
- === 4.44.0 (2017-03-01)
1108
-
1109
- * Add where_all, where_each, where_single_value model dataset methods, optimized for frozen datasets (jeremyevans)
1110
-
1111
- * Add eager method to dataset_module (jeremyevans)
1112
-
1113
- * Add implicit_subquery extension, for implicitly using a subquery for datasets using raw SQL when calling dataset methods that modify SQL (jeremyevans)
1114
-
1115
- * Make Dataset#from_self keep the columns from the current dataset if present (jeremyevans)
1116
-
1117
- * Add implicit_subquery extension, implicitly using subqueries for dataset methods if the current dataset uses raw SQL (jeremyevans)
1118
-
1119
- * Make SQL::ValueList#inspect show that it is a value list (jeremyevans)
1120
-
1121
- * Make LiteralString#inspect show that it is a literal string (jeremyevans)
1122
-
1123
- * Make Model::Associations::AssociationReflection#inspect show reflection class and guess at association definition line (jeremyevans)
1124
-
1125
- * Make SQLTime#inspect show it is an SQLTime instance, and only the time component (jeremyevans)
1126
-
1127
- * Make SQL::Blob#inspect show that it is a blob, the number of bytes, and some or all of the content (jeremyevans)
1128
-
1129
- * Make plugins not modify the constant namespace for the model class that uses them (jeremyevans)
1130
-
1131
- * Do not modify encoding of SQL::Blob instances in force_encoding plugin (jeremyevans)
1132
-
1133
- * Add Model.freeze_descendents to subclasses plugin, for easier finalizing associations/freezing of descendent classes (jeremyevans)
1134
-
1135
- * Add Model.finalize_associations method for finalizing associations, speeding up some association reflections methods almost 10x (jeremyevans)
1136
-
1137
- * Implement Model.freeze such that it can be used in production (jeremyevans)
1138
-
1139
- * Recognize another disconnect error in the jdbc/as400 adapter (perlun) (#1300)
1140
-
1141
- * Correctly handle conversion of false values when typecasting PostgreSQL arrays (mistoo) (#1299)
1142
-
1143
- * Raise error if the postgres adapter attempts to load an incompatible version of sequel_pg (mahlonsmith) (#1298)
1144
-
1145
- * Fix jdbc adapter so basic_type_convertor_map is not shared between instances, work with Database#freeze (jeremyevans)
1146
-
1147
- === 4.43.0 (2017-02-01)
1148
-
1149
- * Make jdbc/postgresql adapter work if pg_hstore extension is loaded first (jeremyevans) (#1296)
1150
-
1151
- * Make prepared_statements_associations plugin work correctly on some instance specific associations (jeremyevans)
1152
-
1153
- * Make prepared_statements plugin not use prepared statements in cases where it is probably slower (jeremyevans)
1154
-
1155
- * Optimize Model#refresh similar to Model.with_pk (jeremyevans)
1156
-
1157
- * Make Database#extension not attempt to load the same extension more than once (jeremyevans)
1158
-
1159
- * Implement Database#freeze such that it can be used in production (jeremyevans)
1160
-
1161
- * Freeze enum_labels in the pg_enum extension (jeremyevans)
1162
-
1163
- * Handle Database#type_supported? thread-safely on PostgreSQL (jeremyevans)
1164
-
1165
- * Handle primary_key_sequences thread-safely on Oracle (jeremyevans)
1166
-
1167
- * Handle sharding better when using mysql2 native prepared statements (jeremyevans)
1168
-
1169
- * Use thread-safe incrementor for mock adapter autoid handling (jeremyevans)
1170
-
1171
- * Make Model#freeze not freeze associations hash until after validating the model instance (jeremyevans)
1172
-
1173
- * Make prepared_statements_associations plugin work correctly when model object explicitly specifies server to use when also using sharding plugin (jeremyevans)
1174
-
1175
- * Make prepared_statements_with_pk plugin work correctly when dataset explicitly specifies server to use (jeremyevans)
1176
-
1177
- * Make prepared_statements plugin work correctly when model object explicitly specifies server to use (jeremyevans)
1178
-
1179
- * Make dataset_module inherited to subclasses when using the single_table_inheritance plugin (jeremyevans) (#1284)
1180
-
1181
- * Support use of SQLite result codes in the jdbc-sqlite adapter, if the jdbc sqlite driver supports them (flash-gordon, jeremyevans) (#1283)
1182
-
1183
- * Make timestamp migrator handle key length limitations when using MySQL with InnoDB engine and utf8mb4 charset default (jeremyevans) (#1282)
1184
-
1185
- === 4.42.0 (2017-01-01)
1186
-
1187
- * Handle eager load callbacks correctly for one_to_one associations with orders or offsets when window functions are not supported (jeremyevans)
1188
-
1189
- * Raise Sequel::Error if using an :eager_limit dataset option when eager loading a singular association (jeremyevans)
1190
-
1191
- * Replace internal uses of Dataset#select_more with #select_append to save a method call (jeremyevans)
1192
-
1193
- * Make Dataset#order_append the primary method, and #order_more the alias, for similarity to #select_append and #select_more (jeremyevans)
1194
-
1195
- * Replace internal uses of Dataset#filter with #where to save a method call (jeremyevans)
1196
-
1197
- * Do not set :auto_increment in the schema information for integer columns that are part of a composite primary key on SQLite (jeremyevans)
1198
-
1199
- * Use autoincrement setting on integer primary key columns when emulating table modification methods on SQLite (thenrio, jeremyevans) (#1277, #1278)
1200
-
1201
- * Make the pagination extension work on frozen datasets (jeremyevans)
1202
-
1203
- * Make Dataset#server work for frozen model datasets using the sharding plugin (jeremyevans)
1204
-
1205
- * Make Dataset#nullify in the null_dataset extension work on frozen datasets (jeremyevans)
1206
-
1207
- * Make Model#set_server work when using a frozen model dataset (jeremyevans)
1208
-
1209
- * Make Dataset#ungraphed work on a frozen model dataset (jeremyevans)
1210
-
1211
- * Add Dataset#with_{autoid,fetch,numrows} to the mock adapter, returning cloned datasets with the setting changed (jeremyevans)
1212
-
1213
- * Make looser_typecasting extension handle the strict BigDecimal parsing introduced in ruby 2.4rc1 (jeremyevans)
1214
-
1215
- * Make Database#{db,opts}= in the sequel_3_dataset_methods extension raise for frozen datasets (jeremyevans)
1216
-
1217
- * Speed up repeated calls to Dataset#{interval,range} for frozen datasets using a cached placeholder literalizer (jeremyevans)
1218
-
1219
- * Speed up repeated calls to Dataset#get with a single argument for frozen datasets using a cached placeholder literalizer (jeremyevans)
1220
-
1221
- * Speed up repeated calls to Dataset#{first,last} with arguments/blocks for frozen datasets using a cached placeholder literalizer (jeremyevans)
1222
-
1223
- * Speed up repeated calls to Dataset#{avg,min,max,sum} for frozen datasets using a cached placeholder literalizer (jeremyevans)
1224
-
1225
- * Cache dataset returned by Dataset#skip_locked for frozen datasets (jeremyevans)
1226
-
1227
- * Cache dataset returned by Dataset#for_update for frozen datasets (jeremyevans)
1228
-
1229
- * Cache dataset returned by Dataset#un{filtered,grouped,limited,ordered} for frozen datasets (jeremyevans)
1230
-
1231
- * Cache dataset returned by Dataset#reverse (no args) for frozen datasets (jeremyevans)
1232
-
1233
- * Cache dataset returned by Dataset#invert for frozen datasets (jeremyevans)
1234
-
1235
- * Speed up repeated calls to Dataset#count with an argument or block for frozen datasets using a cached placeholder literalizer (jeremyevans)
1236
-
1237
- * Using :on_duplicate_columns=>:warn Database option with duplicate_columns_handler now prepends file/line to the warning message (jeremyevans)
1238
-
1239
- * Move identifier mangling code to identifier_mangling extension, load by default unless using :identifier_mangling=>false Database option (jeremyevans)
1240
-
1241
- * Allow Dataset#with_extend to accept a block and create a module with that block that the object is extended with (jeremyevans)
1242
-
1243
- * Speed up repeated calls to with_pk on the same frozen model dataset using a cached placeholder literalizer (jeremyevans)
1244
-
1245
- * Add dataset_module methods such as select and order that define dataset methods which support caching for frozen datasets (jeremyevans)
1246
-
1247
- * Cache subset datasets if they don't use blocks or procs for frozen model datasets (jeremyevans)
1248
-
1249
- * Cache intermediate dataset used in Dataset#{last,paged_each} for frozen model datasets without an order (jeremyevans)
1250
-
1251
- * Cache dataset returned by Dataset#naked for frozen datasets (jeremyevans)
1252
-
1253
- * Cache intermediate dataset used in Dataset#last (no args) for frozen datasets (jeremyevans)
1254
-
1255
- * Cache intermediate dataset used in Dataset#first (no args) and #single_record for frozen datasets (jeremyevans)
1256
-
1257
- * Cache intermediate dataset used in Dataset#empty? for frozen datasets (jeremyevans)
1258
-
1259
- * Cache intermediate dataset used in Dataset#count (no args) for frozen datasets (jeremyevans)
1260
-
1261
- * Warn if :conditions option may be unexpectedly ignored during eager_graph/association_join (jeremyevans) (#1272)
1262
-
1263
- * Cache SELECT and DELETE SQL for most frozen datasets (jeremyevans)
1264
-
1265
- * Freeze most SQL::Expression objects and internal state by default (jeremyevans)
1266
-
1267
- * Freeze Dataset::PlaceholderLiteralizer and Dataset::PlaceholderLiteralizer::Argument instances (jeremyevans)
1268
-
1269
- * Freeze most dataset opts values to avoid unintentional modification (jeremyevans)
1270
-
1271
- * Add Dataset#with_convert_smallint_to_bool on DB2, returning a clone with convert_smallint_to_bool set (jeremyevans)
1272
-
1273
- * Make Dataset#freeze actually freeze the dataset on ruby 2.4+ (jeremyevans)
1274
-
1275
- * Avoid using instance variables other than @opts for dataset data storage (jeremyevans)
1276
-
1277
- * Add freeze_datasets extension, making all datasets for a given Database frozen (jeremyevans)
1278
-
1279
- * Refactor prepared statement internals, using opts instead of instance variables (jeremyevans)
1280
-
1281
- * Model.set_dataset now operates on a clone of the dataset given instead of modifying it, so it works with frozen datasets (jeremyevans)
1282
-
1283
- === 4.41.0 (2016-12-01)
1284
-
1285
- * Add Dataset#with_mssql_unicode_strings on Microsoft SQL Server, returning a clone with mssql_unicode_strings set (jeremyevans)
1286
-
1287
- * Add Dataset#with_identifier_output_method, returning a clone with identifier_output_method set (jeremyevans)
1288
-
1289
- * Add Dataset#with_identifier_input_method, returning a clone with identifier_input_method set (jeremyevans)
1290
-
1291
- * Add Dataset#with_quote_identifiers, returning a clone with quote_identifiers set (jeremyevans)
1292
-
1293
- * Add Dataset#with_extend, returning a clone extended with given modules (jeremyevans)
1294
-
1295
- * Add Dataset#with_row_proc, returning a clone with row_proc set (jeremyevans)
1296
-
1297
- * Support use of SQL::AliasedExpressions as Model#to_json :include option keys in the json_serializer plugin (sensadrome) (#1269)
1298
-
1299
- * Major improvements to type conversion in the ado adapter (vais, jeremyevans) (#1265)
1300
-
1301
- * Avoid memory leak in ado adapter by closing result sets after yielding them (vais, jeremyevans) (#1259)
1302
-
1303
- * Fix hook_class_methods plugin handling of commit hooks (jeremyevans)
1304
-
1305
- * Make association dataset method correctly handle cases where key fields are nil (jeremyevans)
1306
-
1307
- * Handle pure java exceptions that don't support message= when reraising the exception in the jdbc adapter (jeremyevans)
1308
-
1309
- * Add support for :offset_strategy Database option on DB2, with :limit_offset and :offset_fetch values, to disable OFFSET emulation (#1254) (jeremyevans)
1310
-
1311
- * Remove deprecated support for using Bignum class as a generic type (jeremyevans)
1312
-
1313
- === 4.40.0 (2016-10-28)
1314
-
1315
- * Make column_select plugin not raise an exception if the model's table does not exist (jeremyevans)
1316
-
1317
- * Make dataset_associations plugin correctly handle (many|one)_through_many associations with single join table (jeremyevans) (#1253)
1318
-
1319
- * Add s extension, with adds Sequel::S module that includes private #S method for calling Sequel.expr, including use as refinement (jeremyevans)
1320
-
1321
- * Add symbol_as and symbol_as_refinement extensions so that :column.as(:alias) is treated as Sequel.as(:column, :alias) (jeremyevans)
1322
-
1323
- * Add symbol_aref and symbol_aref_refinement extensions so that :table[:column] is treated as Sequel.qualify(:table, :column) (jeremyevans)
1324
-
1325
- * Add Sequel.split_symbols=, to support the disabling of splitting symbols with double/triple underscores (jeremyevans)
1326
-
1327
- * Make SQL::QualifiedIdentifier convert SQL::Identifier arguments to strings, fixing Sequel[:schema][:table] usage in schema methods (jeremyevans)
1328
-
1329
- * Do not attempt to combine non-associative operators (jeremyevans) (#1246)
1330
-
1331
- * Automatically add NOT NULL to columns when adding primary keys if the database doesn't handle it (jeremyevans)
1332
-
1333
- * Make prepared_statements plugin correctly handle lookup on joined datasets (jeremyevans) (#1244)
1334
-
1335
- * Make Database#tables with :qualify=>true option handle table names with double underscores correctly (jeremyevans) (#1241)
1336
-
1337
- * Add SQL::Identifier#[] and SQL::QualifiedIdentifier#[] for creating qualified identifiers (jeremyevans)
1338
-
1339
- * Add support for Dataset#insert_conflict :conflict_where option, for a predicate to use in ON CONFLICT clauses (chanks) (#1240)
1340
-
1341
- * Freeze Dataset::NON_SQL_OPTIONS, add private Dataset#non_sql_options, fixing thread safety issues during require (jeremyevans)
1342
-
1343
- * Make the callable returned by Database#rollback_checker thread safe (jeremyevans)
1344
-
1345
- * Make lazy_attributes and dataset_associations plugins work if insert_returning_select plugin is loaded before on model with no dataset (jeremyevans)
1346
-
1347
- === 4.39.0 (2016-10-01)
1348
-
1349
- * Make active_model plugin use rollback_checker instead of after_rollback hook (jeremyevans)
1350
-
1351
- * Add Database#rollback_checker, which returns a proc that returns whether the in progress transaction is rolled back (jeremyevans)
1352
-
1353
- * Add Sequel::Database.set_shared_adapter_scheme to allow external adapters to support the mock adapter (jeremyevans)
1354
-
1355
- * Make hook_class_methods plugin not use after commit/rollback model hooks (jeremyevans)
1356
-
1357
- * Support add_column :after and :first options on MySQL (AnthonyBobsin, jeremyevans) (#1234)
1358
-
1359
- * Support ActiveSupport 5 in pg_interval extension when weeks/hours are used in ActiveSupport::Duration objects (chanks) (#1233)
1360
-
1361
- * Support IntegerMigrator :relative option, for running only the specified number of migrations up or down (jeremyevans)
1362
-
1363
- * Make the touch plugin also touch associations on create in addition to update and delete (jeremyevans)
1364
-
1365
- * Add :allow_manual_update timestamps plugin option for not overriding a manually set update timestamp (jeremyevans)
1366
-
1367
- * Add Sequel.[] as an alias to Sequel.expr, for easier expression creation (jeremyevans)
1368
-
1369
- * Add PostgreSQL full_text_search :to_tsquery=>:phrase option, for using PostgreSQL 9.6+ full text search phrase searching (jeremyevans)
1370
-
1371
- * Add JSONBOp#insert in pg_json_ops extension, for jsonb_insert support on PostgreSQL 9.6+ (jeremyevans)
1372
-
1373
- * Support add_column :if_not_exists option on PostgreSQL 9.6+ (jeremyevans)
1374
-
1375
- === 4.38.0 (2016-09-01)
1376
-
1377
- * Support :driver_options option when using the postgres adapter with pg driver (jeremyevans)
1378
-
1379
- * Don't use after commit/rollback database hooks if the model instance methods are not overridden (jeremyevans)
1380
-
1381
- * Add SQL::NumericMethods#coerce, allowing code such as Sequel.expr{1 - x} (jeremyevans)
1382
-
1383
- * Support ** operator for exponentiation on expressions, similar to +, -, *, and / (jeremyevans)
1384
-
1385
- * Add Sequel::SQLTime.date= to set the date used for SQLTime instances (jeremyevans)
1386
-
1387
- === 4.37.0 (2016-08-01)
1388
-
1389
- * Add support for regular expression matching on Oracle 10g+ using REGEXP_LIKE (johndcaldwell) (#1221)
1390
-
1391
- * Recognize an additional disconnect error in the postgres adapter (jeremyevans)
1392
-
1393
- * Make connection pool remove connections for disconnect errors not raised as DatabaseDisconnectError (jeremyevans)
1394
-
1395
- * Support mysql2 0.4+ native prepared statements and bound variables (jeremyevans)
1396
-
1397
- * Add Database#values for VALUES support on SQLite 3.8.3+ (jeremyevans)
1398
-
1399
- * Support create_view :columns option on SQLite 3.9.0+ (jeremyevans)
1400
-
1401
- * Make migration reverser handle alter_table add_constraint using a hash as the first argument (soupmatt) (#1215)
1402
-
1403
- * Make ASTTransformer handle Sequel.extract (jeremyevans) (#1213)
1404
-
1405
- === 4.36.0 (2016-07-01)
1406
-
1407
- * Deprecate use of Bignum class as generic type, since the behavior will change in ruby 2.4 (jeremyevans)
1408
-
1409
- * Don't hold connection pool mutex while disconnecting connections (jeremyevans)
1410
-
1411
- * Don't hold references to disconnected connections in the connection_validator extension (jeremyevans)
1412
-
1413
- * Don't overwrite existing connection_validation_timeout when loading connection_validator extension multiple times (jeremyevans)
1414
-
1415
- * Add connection_expiration extension, for automatically removing connections open for too long (pdrakeweb) (#1208, #1209)
1416
-
1417
- * Handle disconnection errors raised during string literalization in mysql2 and postgres adapters (jeremyevans)
1418
-
1419
- * Add string_agg extension for aggregate string concatenation support on many databases (jeremyevans)
1420
-
1421
- * Add SQL::Function#order for ordered aggregate functions (jeremyevans)
1422
-
1423
- * Support operator validation in constraint_validations for <, <=, >, and >= operators with string and integer arguments (jeremyevans)
1424
-
1425
- * Make validates_operator validation consider nil values invalid unless :allow_nil or similar option is used (jeremyevans)
1426
-
1427
- * Close cursors for non-SELECT queries in the oracle adapter after execution, instead of waiting until GC (jeremyevans) (#1203)
1428
-
1429
- * Add :class_namespace association option for setting default namespace for :class option given as symbol/string (jeremyevans)
1430
-
1431
- * Add Sequel::Model.cache_anonymous_models accessor for changing caching on a per-model basis (jeremyevans)
1432
-
1433
- * Add Sequel::Model.def_Model for adding a Model() method to a module, for easier use of namespaced models (jeremyevans)
1434
-
1435
- * Add Sequel::Model::Model() for creating subclasses of Sequel::Model subclasses, instead of just Sequel::Model itself (jeremyevans)
1436
-
1437
- === 4.35.0 (2016-06-01)
1438
-
1439
- * Add :headline option to PostgreSQL Dataset#full_text_search for adding an extract of the matched text to the SELECT list (jeremyevans)
1440
-
1441
- * Make :rollback=>:always inside a transaction use a savepoint automatically if supported (jeremyevans) (#1193)
1442
-
1443
- * Recognize bool type as boolean in the schema dumper (jeremyevans) (#1192)
1444
-
1445
- * Make Dataset#to_hash and #to_hash_groups work correctly for model datasets doing eager loading (jeremyevans)
1446
-
1447
- * Make delay_add_association plugin handle hashes and primary keys passed to add_* association methods (jeremyevans) (#1187)
1448
-
1449
- * Treat :Bignum as a generic type, to support 64-bit integers on ruby 2.4+, where Bignum == Integer (jeremyevans)
1450
-
1451
- * Add server_logging extension for including server/shard information when logging queries (jeremyevans)
1452
-
1453
- * Add Database#log_connection_info, for including connection information when logging queries (jeremyevans)
1454
-
1455
- * Add Dataset#skip_locked for skipping locked rows on PostgreSQL 9.5+, MSSQL, and Oracle (jeremyevans)
1456
-
1457
- * Allow Sequel::Model#lock! to accept an optional lock style (petedmarsh) (#1183)
1458
-
1459
- * Add sql_comments extension for setting SQL comments on queries (jeremyevans)
1460
-
1461
- * Make Postgres::PGRange#cover? handle empty, unbounded, and exclusive beginning ranges (jeremyevans)
1462
-
1463
- * Fix frozen string literal issues on JRuby 9.1.0.0 (jeremyevans)
1464
-
1465
- * Allow json_serializer :include option with cascaded values to work correctly when used with association_proxies (jeremyevans)
1466
-
1467
- === 4.34.0 (2016-05-01)
1468
-
1469
- * Add support for :dataset_associations_join association option to dataset_associations plugin, for making resulting datasets have appropriate joins (jeremyevans)
1470
-
1471
- * Log server connection was attempted to in PoolTimeout exception messages in sharded connection pool (jeremyevans)
1472
-
1473
- * Log Database :name option in PoolTimeout exception messages (bigkevmcd, jeremyevans) (#1176)
1474
-
1475
- * Add duplicate_columns_handler extension, for raising or warning if a dataset returns multiple columns with the same name (TSMMark, jeremyevans) (#1175)
1476
-
1477
- * Support registering per-Database custom range types in the pg_range extension (steveh) (#1174)
1478
-
1479
- * Support :preconnect=>:concurrently Database option for preconnecting in separate threads (kch, jeremyevans) (#1172)
1480
-
1481
- * Make prepared_statements_safe plugin work correctly with CURRENT_DATE/CURRENT_TIMESTAMP defaults (jeremyevans) (#1168)
1482
-
1483
- * Add validates_operator validation helper (petedmarsh) (#1170)
1484
-
1485
- * Recognize additional unique constraint violation on Microsoft SQL Server (jeremyevans)
1486
-
1487
- * Add :hash option to Dataset#(select|to)_hash(_groups)? methods for choosing object to populate (mwpastore) (#1167)
1488
-
1489
- === 4.33.0 (2016-04-01)
1490
-
1491
- * Handle arbitrary objects passed as arguments to the association method (jeremyevans) (#1166)
1492
-
1493
- * Handle array with multiple columns as Dataset#insert_conflict :target value on PostgreSQL (chanks) (#1165)
1494
-
1495
- * Add Database#transaction :savepoint=>:only option, for only creating a savepoint if already inside a transaction (jeremyevans)
1496
-
1497
- * Make Database#sequence_for_table on Oracle handle cases where the schema for a table cannot be determined (jeremyevans)
1498
-
1499
- * The boolean_readers, boolean_subsets, and class_table_inheritance plugins no longer do blind rescues (jeremyevans) (#1162)
1500
-
1501
- * Add Model.require_valid_table setting, if set to true doesn't swallow any errors for invalid tables (jeremyevans)
1502
-
1503
- * Creating model classes inside a transaction when the table doesn't exist no longer rolls back the transaction on PostgreSQL (jeremyevans) (#1160)
1504
-
1505
- * Sequel::Model no longer swallows many errors when subclassing or setting datasets (jeremyevans) (#1160)
1506
-
1507
- * Handle altering column NULL settings for varchar(max) and text columns on MSSQL (Ilja Resch)
1508
-
1509
- * Remove Sequel.firebird and Sequel.informix adapter methods (jeremyevans)
1510
-
1511
- * Make graph_each extension handle result set splitting when using Dataset#first (jeremyevans)
1512
-
1513
- * Allow raising Sequel::ValidationFailed and Sequel::HookFailed without an argument (jeremyevans)
1514
-
1515
- * Allow schema_dumper to handle :qualify=>true option on PostgreSQL (jeremyevans)
1516
-
1517
- * Allow foreign_key schema method to handle SQL::Identifier and SQL::QualifiedIdentifier as 2nd argument (jeremyevans)
1518
-
1519
- === 4.32.0 (2016-03-01)
1520
-
1521
- * Use mutex for synchronizing access to association reflection cache on MRI (jeremyevans)
1522
-
1523
- * Add Dataset#delete_from on MySQL, allowing deletions from multiple tables in a single query (jeremyevans) (#1146)
1524
-
1525
- * Add no_auto_literal_strings extension, which makes SQL injection vulnerabilities less likely (jeremyevans)
1526
-
1527
- * Add Model.default_association_options, for setting option defaults for all future associations (jeremyevans)
1528
-
1529
- * Support :association_pks_nil association option in association_pks setter for determining how to handle nil (jeremyevans)
1530
-
1531
- * Make association_pks setter handle empty array correctly when :delay_pks is set (jeremyevans)
1532
-
1533
- * Add a setter method for one_through_one associations (jeremyevans)
1534
-
1535
- * Include :remarks entry in JDBC schema parsing output, containing comments on the column (olleolleolle) (#1143)
1536
-
1537
- * Support :eager_reload and :eager options to associations in tactical_eager_loading plugin (jeremyevans)
1538
-
1539
- * Make tactical_eager_loading not eager load if passing proc or block to association method (jeremyevans)
1540
-
1541
- * Make eager_each plugin handle eager loading for Dataset#first and similar methods (jeremyevans)
1542
-
1543
- === 4.31.0 (2016-02-01)
1544
-
1545
- * Convert types in association_pks setters before saving them, instead of just before running queries (jeremyevans)
1546
-
1547
- * Use getField and getOID instead of field and oid in the jdbc/postgresql adapter to work around JRuby 9.0.5.0 regression (jeremyevans) (#1137)
1548
-
1549
- * Support using PostgreSQL-specific types in bound variables in the jdbc/postgresql adapter (jeremyevans)
1550
-
1551
- * Add support for running with --enable-frozen-string-literal on ruby 2.3 (jeremyevans)
1552
-
1553
- * Make Database#disconnect in the oracle adapter work correctly on newer versions of oci8 (jeremyevans)
1554
-
1555
- * Support parsing PostgreSQL arrays with explicit bounds (jeremyevans) (#1131)
1556
-
1557
- * Raise an error if attempting to use a migration file not containing a single migration (jeremyevans) (#1127)
1558
-
1559
- * Automatically set referenced key for self referential foriegn key constraint for simple non-autoincrementing primary key on MySQL (jeremyevans) (#1126)
1560
-
1561
- === 4.30.0 (2016-01-04)
1562
-
1563
- * Add Dataset#insert_conflict and #insert_ignore on SQLite for handling uniqueness violations (Sharpie) (#1121)
1564
-
1565
- * Make Database#row_type in pg_row extension handle different formats of schema-qualified types (jeremyevans) (#1119)
1566
-
1567
- * Add identifier_columns plugin for handling column names containing 2 or more consecutive underscores when saving (jeremyevans) (#1117)
1568
-
1569
- * Support :eager_limit and :eager_limit_strategy dataset options in model eager loaders for per-call limits and strategies (chanks) (#1115)
1570
-
1571
- * Allow IPv6 addresses in database URLs on ruby 1.9+ (hellvinz, jeremyevans) (#1113)
1572
-
1573
- * Make Database#schema :db_type entries include sizes for string types on DB2 (jeremyevans)
1574
-
1575
- * Make Database#schema :db_type entries include sizes for string and decimal types in the jdbc adapter's schema parsing (jeremyevans)
1576
-
1577
- * Recognize another disconnect error in the tinytds adapter (jeremyevans)
1578
-
1579
- === 4.29.0 (2015-12-01)
1580
-
1581
- * Add Model#json_serializer_opts method to json_serializer plugin, allowing for setting to_json defaults on per-instance basis (jeremyevans)
1582
-
1583
- * Add uuid plugin for automatically setting UUID column when creating a model object (pdrakeweb, jeremyevans) (#1106)
1584
-
1585
- * Allow the sqlanywhere adapter to work with sharding (jeremyevans)
1586
-
1587
- * Support blobs as bound variables in the oracle adapter (jeremyevans) (#1104)
1588
-
1589
- * Order by best results first when using the Database#full_text_search :rank option on PostgreSQL (chanks) (#1101)
1590
-
1591
- * Run Database#table_exists? inside a savepoint if currently in a transaction and the database supports savepoints (jeremyevans) (#1100)
1592
-
1593
- * Allow Database#transaction :retry_on option to work when using savepoints (jeremyevans)
1594
-
1595
- * Allow for external adapters to implement Dataset#date_add_sql_append to integrate with the date_arithmetic extension (jeremyevans)
1596
-
1597
- * Add Dataset#insert_empty_columns_values private method for easy overriding for databases that don't support INSERT with DEFAULT VALUES (jeremyevans)
1598
-
1599
- === 4.28.0 (2015-11-02)
1600
-
1601
- * Add boolean_subsets plugin, which adds a subset for each boolean column (jeremyevans)
1602
-
1603
- * Add subset_conditions plugin, which adds a method for each subset returning the filter conditions for the subset (jeremyevans)
1604
-
1605
- * Make the list plugin work better with the auto_validations plugin when there is a validation on the position column (jeremyevans)
1606
-
1607
- * Make to_csv for model datasets call instance methods, just like Model#to_csv, in the csv_serializer plugin (skrobul) (#1088)
1608
-
1609
- * Raise Sequel::NoExistingObject instead of generic error if Model#refresh can't find the related row (jeremyevans)
1610
-
1611
- === 4.27.0 (2015-10-01)
1612
-
1613
- * Don't stub Sequel.synchronize on MRI (YorickPeterse) (#1083)
1614
-
1615
- * Make bin/sequel warn if given arguments that it doesn't use (jeremyevans)
1616
-
1617
- * Fix the order of referenced composite keys returned by Database#foreign_key_list on PostgreSQL (jeremyevans) (#1081)
1618
-
1619
- * Recognize another disconnect error in the jdbc/postgresql adapter (jeremyevans)
1620
-
1621
- * In the active model plugin, make Model#persisted? return false if the transaction used for creation is rolled back (jeremyevans) (#1076)
1622
-
1623
- * Use primary_key :keep_order option in the schema dumper if the auto incrementing column is not the first column in the table (jeremyevans)
1624
-
1625
- * Set :auto_increment option correctly in the schema parser when the auto incrementing column is not the first column in the table (jeremyevans)
1626
-
1627
- * Support :keep_order option to primary_key in schema generator, to not automatically make the primary key the first column (jeremyevans)
1628
-
1629
- * Add new jsonb/json functions and operators supported in PostgreSQL 9.5+ (jeremyevans)
1630
-
1631
- * Add before_after_save plugin, for refreshing created objects and resetting modified flag before calling after_create/update/save hooks (jeremyevans)
1632
-
1633
- * Add Dataset#single_record! and #single_value! which don't require cloning the receiver (jeremyevans)
1634
-
1635
- * Dataset#with_sql_single_value now works correctly for model datasets (jeremyevans)
1636
-
1637
- * Optimize Dataset#single_value and #with_sql_single_value to not create an unnecessary array (jeremyevans)
1638
-
1639
- * Make postgres adapter work with postgres-pr 0.7.0 (jeremyevans) (#1074)
1640
-
1641
- === 4.26.0 (2015-09-01)
1642
-
1643
- * Make Dataset#== not consider frozen status in determining equality (jeremyevans)
1644
-
1645
- * Support :if_exists option to drop_column on PostgreSQL (jeremyevans)
1646
-
1647
- * Add Dataset#grouping_sets to support GROUP BY GROUPING SETS on PostgreSQL 9.5+, MSSQL 2008+, Oracle, DB2, and SQLAnywhere (jeremyevans)
1648
-
1649
- * Fix handling of Class.new(ModelClass){set_dataset :table} on ruby 1.8 (jeremyevans)
1650
-
1651
- * Use range function constructors instead of casts for known range types in pg_range (jeremyevans) (#1066)
1652
-
1653
- * Make class_table_inheritance plugin work without sti_key (jeremyevans)
1654
-
1655
- * Detect additional disconnect errors when using the tinytds adapter (jeremyevans)
1656
-
1657
- * Make offset emulation without order but with explicit selection handle ambiguous column names (jeremyevans)
1658
-
1659
- * Allow preparing already prepared statements when emulating limits and/or offsets (jeremyevans)
1660
-
1661
- * Have Sequel::NoMatchingRow exceptions record the dataset related to the exception (pedro, jeremyevans) (#1060)
1662
-
1663
- === 4.25.0 (2015-08-01)
1664
-
1665
- * Add Dataset#insert_conflict on PostgreSQL 9.5+, for upsert/insert ignore support using INSERT ON CONFLICT (jeremyevans)
1666
-
1667
- * Support Dataset#group_rollup and #group_cube on PostgreSQL 9.5+ (jeremyevans)
1668
-
1669
- * Automatically REORG tables when altering when using jdbc/db2 (karlhe) (#1054)
1670
-
1671
- * Recognize constraint violation exceptions on swift/sqlite (jeremyevans)
1672
-
1673
- * Recognize another check constraint violation exception message on SQLite (jeremyevans)
1674
-
1675
- * Allow =~ and !~ to be used on ComplexExpressions (janko-m) (#1050)
1676
-
1677
- * Support case sensitive SQL Server 2012 in MSSQL metadata queries (knut2) (#1049)
1678
-
1679
- * Add Dataset#group_append, for appending to the existing GROUP BY clause (YorickPeterse) (#1047)
1680
-
1681
- * Add inverted_subsets plugin, for creating an inverted subset method for each subset (celsworth) (#1042)
1682
-
1683
- * Make Dataset#for_update not use the :read_only database when the dataset is executed (jeremyevans) (#1041)
1684
-
1685
- * Add singular_table_names plugin, for changing Sequel to not pluralize table names by default (jeremyevans)
1686
-
1687
- * PreparedStatement#prepare now raises an Error (jeremyevans)
1688
-
1689
- * Clear delayed association pks when refreshing an object (jeremyevans)
1690
-
1691
- * Add empty_array_consider_nulls extension to make Sequel consider NULL values when using IN/NOT IN with an empty array (jeremyevans)
1692
-
1693
- * Make Sequel default to ignoring NULL values when using IN/NOT IN with an empty array (jeremyevans)
1694
-
1695
- * Remove the deprecated firebird and informix adapters (jeremyevans)
1696
-
1697
- * Make :collate option when creating columns literalize non-String values on PostgreSQL (jeremyevans) (#1040)
1698
-
1699
- * Make dirty plugin notice when serialized column is changed (celsworth) (#1039)
1700
-
1701
- * Allow prepared statements to use RETURNING (jeremyevans) (#1036)
1702
-
1703
- === 4.24.0 (2015-07-01)
1704
-
1705
- * Allow class_table_inheritance plugin to support subclasses that don't add additional columns (QuinnHarris, jeremyevans) (#1030)
1706
-
1707
- * Add :columns option to update_refresh plugin, specifying the columns to include in the RETURNING clause (celsworth) (#1029)
1708
-
1709
- * Use column symbol key for auto validation unique errors if the unique index is on a single column (jeremyevans)
1710
-
1711
- * Allow :timeout option to Database#listen in the postgres adapter to be a callable object (celsworth) (#1028)
1712
-
1713
- * Add pg_inet_ops extension, for DSL support for PostgreSQL inet/cidr operators and functions (celsworth, jeremyevans) (#1024)
1714
-
1715
- * Support :*_opts options in auto_validations plugin, for setting options for the underlying validation methods (celsworth, jeremyevans) (#1026)
1716
-
1717
- * Support :delay_pks association option in association_pks to delay setting of associated_pks until after saving (jeremyevans)
1718
-
1719
- * Make jdbc subadapters work if they issue queries while the subadapter is being loaded (jeremyevans) (#1022)
1720
-
1721
- * Handle 64-bit auto incrementing primary keys in jdbc subadapters (DougEverly) (#1018, #1019)
1722
-
1723
- * Remove the deprecated db2 and dbi adapters (jeremyevans)
1724
-
1725
- * Make auto_validation plugin use :from=>:values option to setup validations on the underlying columns (jeremyevans)
1726
-
1727
- * Add :from=>:values option to validation_helpers methods, for getting values from the values hash instead of a method call (jeremyevans)
1728
-
1729
- === 4.23.0 (2015-06-01)
1730
-
1731
- * Make dataset.call_sproc(:insert) work in the jdbc adapter (flash-gordon) (#1013)
1732
-
1733
- * Add update_refresh plugin, for refreshing a model instance when updating (jeremyevans)
1734
-
1735
- * Add delay_add_association plugin, for delaying add_* method calls on new objects until after saving the object (jeremyevans)
1736
-
1737
- * Add validate_associated plugin, for validating associated objects when validating the current object (jeremyevans)
1738
-
1739
- * Make Postgres::JSONBOp#[] and #get_text return JSONBOp instances (jeremyevans) (#1005)
1740
-
1741
- * Remove the fdbsql, jdbc/fdbsql, and openbase adapters (jeremyevans)
1742
-
1743
- * Database#transaction now returns block return value if :rollback=>:always is used (jeremyevans)
1744
-
1745
- * Allow postgresql:// connection strings as aliases to postgres://, for compatibility with libpq (jeremyevans) (#1004)
1746
-
1747
- * Make Model#move_to in the list plugin handle out-of-range targets without raising an exception (jeremyevans) (#1003)
1748
-
1749
- * Make Database#add_named_conversion_proc on PostgreSQL handle conversion procs for enum types (celsworth) (#1002)
1750
-
1751
- === 4.22.0 (2015-05-01)
1752
-
1753
- * Deprecate the db2, dbi, fdbsql, firebird, jdbc/fdbsql, informix, and openbase adapters (jeremyevans)
1754
-
1755
- * Avoid hash allocations and rehashes (jeremyevans)
1756
-
1757
- * Don't silently ignore :jdbc_properties Database option in jdbc adapter (jeremyevans)
1758
-
1759
- * Make tree plugin set reciprocal association for children association correctly (lpil, jeremyevans) (#995)
1760
-
1761
- * Add Sequel::MassAssignmentRestriction exception, raised for mass assignment errors in strict mode (jeremyevans) (#994)
1762
-
1763
- * Handle ODBC::SQL_BIT type as boolean in the odbc adapter, fixing boolean handling on odbc/mssql (jrgns) (#993)
1764
-
1765
- * Make :auto_validations plugin check :default entry instead of :ruby_default entry for checking existence of default value (jeremyevans) (#990)
1766
-
1767
- * Adapters should now set :default schema option to nil when adapter can determine that the value is nil (jeremyevans)
1768
-
1769
- * Do not add a schema :max_length entry for a varchar(max) column on MSSQL (jeremyevans)
1770
-
1771
- * Allow :default value for PostgreSQL array columns to be a ruby array when using the pg_array extension (jeremyevans) (#989)
1772
-
1773
- * Add csv_serializer plugin for serializing model objects to and from csv (bjmllr, jeremyevans) (#988)
1774
-
1775
- * Make Dataset#to_hash and #to_hash_groups handle single array argument for model datasets (jeremyevans)
1776
-
1777
- * Handle Model#cancel_action in association before hooks (jeremyevans)
1778
-
1779
- * Use a condition variable instead of busy waiting in the threaded connection pools on ruby 1.9+ (jeremyevans)
1780
-
1781
- * Use Symbol#to_proc instead of explicit blocks (jeremyevans)
1782
-
1783
- === 4.21.0 (2015-04-01)
1784
-
1785
- * Support :tsquery and :tsvector options in Dataset#full_text_search on PostgreSQL, for using existing tsquery/tsvector expressions (jeremyevans)
1786
-
1787
- * Fix TinyTds::Error being raised when trying to cancel a query on a closed connection in the tinytds adapter (jeremyevans)
1788
-
1789
- * Add GenericExpression#!~ for inverting =~ on ruby 1.9 (similar to inverting a hash) (jeremyevans) (#979)
1790
-
1791
- * Add GenericExpression#=~ for equality, inclusion, and pattern matching (similar to using a hash) (jeremyevans) (#979)
1792
-
1793
- * Add Database#add_named_conversion_proc on PostgreSQL to make it easier to add conversion procs for types by name (jeremyevans)
1794
-
1795
- * Make Sequel.pg_jsonb return JSONBOp instances instead of JSONOp instances when passed other than Array or Hash (jeremyevans) (#977)
1796
-
1797
- * Demodulize default root name in json_serializer plugin (janko-m) (#968)
1798
-
1799
- * Make Database#transaction work in after_commit/after_rollback blocks (jeremyevans)
1800
-
1801
- === 4.20.0 (2015-03-03)
1802
-
1803
- * Restore the use of AUTOINCREMENT on SQLite (jeremyevans) (#965)
1804
-
1805
- * Duplicate the associations hash when duplicating a model object (jeremyevans)
1806
-
1807
- * Correctly apply association limit when eager loading with an eager block using default limit strategy on some databases (jeremyevans)
1808
-
1809
- * Fix eager loading when using the :window_function limit strategy with an eager block and cascaded associations (jeremyevans)
1810
-
1811
- * Add support for set_column_type :auto_increment=>true to add AUTO_INCREMENT to existing column on MySQL (jeremyevans) (#959)
1812
-
1813
- * Add support for overridding the :instance_specific association option (jeremyevans)
1814
-
1815
- * Recognize MSSQL bit type as boolean in the schema_dumper (jeremyevans)
1816
-
1817
- * Skip eager loading queries if there are no matching keys (jeremyevans) (#952)
1818
-
1819
- * Dataset#paged_each now returns an enumerator if not passed a block (jeremyevans)
1820
-
1821
- * Use to_json :root option with string value as the JSON object key in the json_serializer plugin (jeremyevans)
1822
-
1823
- * Allow create_enum in the pg_enum extension be reversible in migrations (celsworth) (#951)
1824
-
1825
- * Have swift adapter respect database and application timezone settings (asppsa, jeremyevans) (#946)
1826
-
1827
- * Don't have the static cache plugin attempt to validate objects (jeremyevans)
1828
-
1829
- * Make freeze not validate objects if their errors are already frozen (jeremyevans)
1830
-
1831
- * Only use prepared statements for associations if caching association metadata (jeremyevans)
1832
-
1833
- * Set parent association when loading descendants in the rcte_tree plugin (jeremyevans)
1834
-
1835
- * Add Database#transaction :before_retry option, specifying a proc to call before retrying (uhoh-itsmaciek) (#941)
1836
-
1837
- === 4.19.0 (2015-02-01)
1838
-
1839
- * Make jdbc/sqlanywhere correctly set :auto_increment entry in schema hashes (jeremyevans)
1840
-
1841
- * Add Model#cancel_action for canceling actions in before hooks, instead of having the hooks return false (jeremyevans)
1842
-
1843
- * Support not setting @@wait_timeout on MySQL via :timeout=>nil Database option (jeremyevans)
1844
-
1845
- * Add accessed_columns plugin, recording which columns have been accessed for a model instance (jeremyevans)
1846
-
1847
- * Use correct migration version when using IntegerMigrator with :allow_missing_migration_files (blerins) (#938)
1848
-
1849
- * Make Dataset#union, #intersect, and #except automatically handle datasets with raw SQL (jeremyevans) (#934)
1850
-
1851
- * Add column_conflicts plugin to automatically handle columns that conflict with method names (jeremyevans) (#929)
1852
-
1853
- * Add Model#get_column_value and #set_column_value to get/set column values (jeremyevans) (#929)
1854
-
1855
- === 4.18.0 (2015-01-02)
1856
-
1857
- * Make Dataset#empty? work when the dataset is ordered by a non-column expression (pete) (#923)
1858
-
1859
- * Fix passing a hash value to :eager association option (jeremyevans)
1860
-
1861
- * Treat all PG::ConnectionBad exceptions as disconnect errors in the postgres adapter (jeremyevans)
1862
-
1863
- * Add :auto_increment key to schema information for primary key columns (jeremyevans) (#919)
1864
-
1865
- * Fix handling of schema qualified tables in many_through_many associations (jeremyevans)
1866
-
1867
- === 4.17.0 (2014-12-01)
1868
-
1869
- * Fix handling of Sequel::SQL::Blob instances in bound variables in the postgres adapter (jeremyevans) (#917)
1870
-
1871
- * Add :preconnect Database option for immediately creating the maximum number of connections (jeremyevans)
1872
-
1873
- * Support DB.pool.max_size for the single connection pools (jeremyevans)
1874
-
1875
- * Work around regression in jdbc-sqlite3 3.8.7 where empty blobs are returned as nil (jeremyevans)
1876
-
1877
- * Work around regression in jdbc-sqlite3 3.8.7 when using JDBC getDate method for date parsing (jeremyevans)
1878
-
1879
- * Make Model#update_or_create return object if existing object exists but updates are not necessary (contentfree) (#916)
1880
-
1881
- * Add Dataset#server? for conditionally setting a default server to use if no default is present (jeremyevans)
1882
-
1883
- * Add Database#sharded? for determining if database uses sharding (jeremyevans)
1884
-
1885
- * Fix server used by Dataset#insert_select on PostgreSQL (jeremyevans)
1886
-
1887
- * Fix server used for deleting model instances when using sharding (jeremyevans)
1888
-
1889
- === 4.16.0 (2014-11-01)
1890
-
1891
- * Make Database#create_table? and #create_join_table? not use IF NOT EXISTS if indexes are being added (jeremyevans) (#904)
1892
-
1893
- * Dataset#distinct now accepts virtual row blocks (chanks) (#901)
1894
-
1895
- * Recognize disconnect errors in the postgres adapter when SSL is used (jeremyevans) (#900)
1896
-
1897
- * Stop converting '' default values to nil default values on MySQL (jeremyevans)
1898
-
1899
- * Add Model#qualified_pk_hash, for returning a hash with qualified pk keys (jeremyevans)
1900
-
1901
- * Make validates_unique use a qualified primary key if the dataset is joined (jeremyevans) (#895)
1902
-
1903
- * Make Sequel::Model.cache_associations = false skip the database's schema cache when loading the schema (jeremyevans)
1904
-
1905
- * Make Database#foreign_key_list work on Microsoft SQL Server 2005 (jeremyevans)
1906
-
1907
- * Make create_table with :foreign option reversible on PostgreSQL (jeremyevans)
1908
-
1909
- * Make drop_table with :foreign option on PostgreSQL drop a foreign table (johnnyt) (#892)
1910
-
1911
- === 4.15.0 (2014-10-01)
1912
-
1913
- * Make AssociationReflection#reciprocal not raise error if associated class contains association with invalid associated class (jeremyevans)
1914
-
1915
- * Make create_view(:view_name, dataset, :materialized=>true) reversible on PostgreSQL (jeremyevans)
1916
-
1917
- * Add support for creating foreign tables on PostgreSQL using :foreign and :options create_table options (jeremyevans)
1918
-
1919
- * Raise Error if a primary key is necessary to use an association, but the model doesn't have a primary key (jeremyevans)
1920
-
1921
- * Make tactical_eager_loading plugin work for limited associations (jeremyevans)
1922
-
1923
- * Add PlaceholderLiteralizer#with_dataset, for returning a new literalizer using a modified dataset (jeremyevans)
1924
-
1925
- * Support active_model 4.2.0beta1 in the active_model plugin (jeremyevans)
1926
-
1927
- * Make Dataset#insert in the informix adapter return last inserted id (jihwans) (#887)
1928
-
1929
- * Support :nolog option in the informix adapter to disable transactions (jihwans) (#887)
1930
-
1931
- * Remove optional argument for Postgres::{JSON,JSONB}Op#to_record and #to_recordset (jeremyevans)
1932
-
1933
- * Add support for FoundationDB SQL Layer, via fdbsql and jdbc/fdbsql adapters (ScottDugas, jeremyevans) (#884)
1934
-
1935
- * Work around bug in old versions of MySQL when schema dumping a table with multiple timestamp columns (jeremyevans) (#882)
1936
-
1937
- * Support more array types by default in the pg_array extension, such as xml[] and uuid[] (jeremyevans)
1938
-
1939
- * Add Sequel::Model.cache_associations accessor, which can be set to false to not cache association metadata (jeremyevans)
1940
-
1941
- * Add split_values plugin, for moving noncolumn entries from the values hash into a separate hash (jeremyevans) (#868)
1942
-
1943
- === 4.14.0 (2014-09-01)
1944
-
1945
- * Raise original exception if there is an exception raised when rolling back transaction/savepoint (jeremyevans) (#875)
1946
-
1947
- * Allow delayed evaluation blocks to take dataset as an argument (jeremyevans)
1948
-
1949
- * Allow more types as filter expressions, only specifically disallow Numeric/String expressions (jeremyevans)
1950
-
1951
- * Remove objects from cached association array at time of nested_attributes call instead of waiting until save (jeremyevans)
1952
-
1953
- * Handle composite primary keys when working around validation issues for one_to_(one|many) associations in nested_attributes plugin (jeremyevans) (#870)
1954
-
1955
- * Recognize additional disconnect error in jdbc/jtds adapter (jeremyevans)
1956
-
1957
- * Have association_join work with existing model selections (jeremyevans)
1958
-
1959
- * Fix regression in class_table_inheritance plugin when lazily loading column in middle table (jeremyevans) (#862)
1960
-
1961
- * Add cache_key_prefix method to caching plugin, which can be overridden for custom handling (pete) (#861)
1962
-
1963
- * Add :when option to PostgreSQL create_trigger method, for adding a filter to the trigger (aschrab) (#860)
1964
-
1965
- * Recognize an additional serialization failure on PostgreSQL (tmtm) (#857)
1966
-
1967
- === 4.13.0 (2014-08-01)
1968
-
1969
- * Use copy constructors instead of overriding Model#dup and #clone (ged, jeremyevans) (#852)
1970
-
1971
- * Fix handling of MySQL create_table foreign_key calls using :key option (mimperatore, jeremyevans) (#850)
1972
-
1973
- * Handle another disconnection error in the postgres adapter (lbosque) (#848)
1974
-
1975
- * Make list plugin update remaining positions after destroying an instance (ehq, jeremyevans) (#847)
1976
-
1977
- * Unalias aliased tables in Dataset#insert (jeremyevans)
1978
-
1979
- * Add insert_returning_select plugin, for setting up RETURNING for inserts for models selecting explicit columns (jeremyevans)
1980
-
1981
- * Make Model#save use insert_select if the dataset used for inserting already uses returning (jeremyevans)
1982
-
1983
- * Add Dataset#unqualified_column_for helper method, returning unqualified version of possibly qualified column (jeremyevans)
1984
-
1985
- * Calling Dataset#returning when the Database does not support or emulate RETURNING now raises an Error (jeremyevans)
1986
-
1987
- * Emulate RETURNING on Microsoft SQL Server using OUTPUT, as long as only simple column references are used (jeremyevans)
1988
-
1989
- * Switch class_table_inheritance plugin to use JOIN ON instead of JOIN USING (jeremyevans)
1990
-
1991
- * Qualify primary keys for models with joined datasets when looking up model instances by primary key (jeremyevans)
1992
-
1993
- * Fix qualification of columns when Dataset#graph automatically wraps the initially graphed dataset in a subselect (jeremyevans)
1994
-
1995
- * Make Dataset#joined_dataset? a public method (jeremyevans)
1996
-
1997
- * Allow external jdbc, odbc, and do subadapters to be loaded automatically (jeremyevans)
1998
-
1999
- * Recognize another disconnect error in the jdbc/mysql adapter (jeremyevans)
2000
-
2001
- * Set primary keys correctly for models even if datasets select specific columns (jeremyevans)
2002
-
2003
- * Add dataset_source_alias extension, for automatically aliasing datasets to their first source (jeremyevans)
2004
-
2005
- * Use qualified columns in the lazy_attributes plugin (jeremyevans)
2006
-
2007
- * Add column_select plugin, for using explicit column selections in model datasets (jeremyevans)
2008
-
2009
- * Use associated model's existing selection for join associations if it consists solely of explicitly quailfied columns (jeremyevans)
2010
-
2011
- * Add round_timestamps extension for automatically rounding timestamp values to database precision before literalizing (jeremyevans)
2012
-
2013
- * Make rake default task run plugin specs as well as core/model specs (jeremyevans)
2014
-
2015
- * Use all_tables and all_views for Database#tables and #views on Oracle (jeremyevans)
2016
-
2017
- * Use all_tab_cols instead of user_tab cols for defaults parsing in the oracle adapter (jeremyevans)
2018
-
2019
- * Fix recursive mutex locking issue on JRuby when using Sequel::Model(dataset) (jeremyevans) (#841)
2020
-
2021
- * Make composition and serialization plugins support validations on underlying columns (jeremyevans)
2022
-
2023
- * Fix regression in timestamps and table inheritance plugin where column values would not be saved if validation is skipped (jeremyevans) (#839)
2024
-
2025
- * Add pg_enum extension, for dealing with PostgreSQL enums (jeremyevans)
2026
-
2027
- * Add modification_detection plugin, for automatic detection of in-place column value modifications (jeremyevans)
2028
-
2029
- * Speed up using plain strings, numbers, true, false, and nil in json columns if underlying json library supports them (jeremyevans) (#834)
2030
-
2031
- === 4.12.0 (2014-07-01)
2032
-
2033
- * Support :readonly Database option in sqlite adapter (ippeiukai, jeremyevans) (#832)
2034
-
2035
- * Automatically setup max_length validations for string columns in the auto_validations plugin (jeremyevans)
2036
-
2037
- * Add :max_length entry to column schema hashes for string types (jeremyevans)
2038
-
2039
- * Add :before_thread_exit option to Database#listen_for_static_cache_updates in pg_static_cache_updater extension (jeremyevans)
2040
-
2041
- * Add Database#values on PostgreSQL to create a dataset that uses VALUES instead of SELECT (jeremyevans)
2042
-
2043
- * Add Model#set_nested_attributes to nested_attributes, allowing setting nested attributes options per-call (jeremyevans)
2044
-
2045
- * Use explicit columns when using automatically prepared SELECT statements in the prepared statement plugins (jeremyevans)
2046
-
2047
- * Make Dataset#insert_select on PostgreSQL respect existing RETURNING clause (jeremyevans)
2048
-
2049
- * Fix eager loading limited associations via a UNION when an association block is used (jeremyevans)
2050
-
2051
- * Associate reciprocal object before saving associated object when creating new objects in nested_attributes (chanks, jeremyevans) (#831)
2052
-
2053
- * Handle intervals containing more than 100 hours in the pg_interval extension's parser (will) (#827)
2054
-
2055
- * Remove methods/class deprecated in 4.11.0 (jeremyevans)
2056
-
2057
- * Allow Dataset#natural_join/cross_join and related methods to take a options hash passed to join_table (jeremyevans)
2058
-
2059
- * Add :reset_implicit_qualifier option to Dataset#join_table, to set false to not reset the implicit qualifier (jeremyevans)
2060
-
2061
- * Support :notice_receiver Database option when postgres adapter is used with pg driver (jeltz, jeremyevans) (#825)
2062
-
2063
- === 4.11.0 (2014-06-03)
2064
-
2065
- * Add :model_map option to class_table_inheritance plugin so class names don't need to be stored in the database (jeremyevans)
2066
-
2067
- * Set version when using for MySQL/SQLite emulation in the mock adapter (jeremyevans)
2068
-
2069
- * Add support for CUBRID/SQLAnywhere emulation to the mock adapter (jeremyevans)
2070
-
2071
- * Add support for the jsonb operators added in PostgreSQL 9.4 to the pg_json_ops extension (jeremyevans)
2072
-
2073
- * Add support for new json/jsonb functions added in PostgreSQL 9.4 to the pg_json_ops extension (jeremyevans)
2074
-
2075
- * Add support for the PostgreSQL 9.4+ jsonb type to the pg_json_ops extension (jeremyevans)
2076
-
2077
- * Add support for derived column lists to Sequel.as and SQL::AliasMethods#as (jeremyevans)
2078
-
2079
- * Support connecting to a DB2 catalog name in the ibmdb adapter (calh) (#821)
2080
-
2081
- * Fix warnings in some cases in the ibmdb adapter (calh) (#820)
2082
-
2083
- * Add SQL::Function#with_ordinality for creating set returning functions WITH ORDINALITY (jeremyevans)
2084
-
2085
- * Add SQL::Function#filter for creating filtered aggregate function calls (jeremyevans)
2086
-
2087
- * Add SQL::Function#within_group for creating ordered-set and hypothetical-set aggregate functions (jeremyevans)
2088
-
2089
- * Add SQL::Function#lateral, for creating set returning functions that will be preceded by LATERAL (jeremyevans)
2090
-
2091
- * Add SQL::Function#quoted and #unquoted methods, to enable/disable quoting of function names (jeremyevans)
2092
-
2093
- * Deprecate Dataset#{window,emulated,}_function_sql_append (jeremyevans)
2094
-
2095
- * Deprecate SQL::WindowFunction and SQL::EmulatedFunction classes, switch to using options on SQL::Function (jeremyevans)
2096
-
2097
- * Only modify changed_columns if deserialized value changes in the serialization plugin (jeremyevans) (#818)
2098
-
2099
- * Support PostgreSQL 9.4+ jsonb type in the pg_json extension (jeremyevans)
2100
-
2101
- * Allow Postgres::ArrayOp#unnest to accept arguments in the pg_array_ops extension (jeremyevans)
2102
-
2103
- * Add Postgres::ArrayOp#cardinality to the pg_array_ops extension (jeremyevans)
2104
-
2105
- * Add :check option to Database#create_view for WITH [LOCAL] CHECK OPTION support (jeremyevans)
2106
-
2107
- * Add :concurrently option to Database#refresh_view on PostgreSQL to support concurrent refresh of materialized views (jeremyevans)
2108
-
2109
- * Call the :after_connect Database option proc with both the connection and server/shard if it accepts 2 arguments (pedro, jeremyevans) (#813)
2110
-
2111
- * Make multiple plugins set values before validation instead of before create, works better with auto_validations (jeremyevans)
2112
-
2113
- * Support a default Dataset#import slice size, set to 500 on SQLite (jeremyevans) (#810)
2114
-
2115
- * Make :read_only transaction option be per-savepoint on PostgreSQL (jeremyevans) (#807)
2116
-
2117
- * Add :rank option to Dataset#full_text_search on PostgreSQL, to order by the ranking (jeremyevans) (#809)
2118
-
2119
- * Remove methods deprecated in 4.10.0 (jeremyevans)
2120
-
2121
- === 4.10.0 (2014-05-01)
2122
-
2123
- * Make Model.include API same as Module.include (ged) (#803)
2124
-
2125
- * Dataset::PlaceholderLiteralizer now handles DelayedEvaluations correctly (jeremyevans)
2126
-
2127
- * Refactor type conversion in the jdbc adapter, for up to a 20% speedup (jeremyevans)
2128
-
2129
- * Add Dataset#with_fetch_size to jdbc adapter, for setting fetch size for JDBC ResultSets (jeremyevans)
2130
-
2131
- * Default to a fetch_size of 100 in the jdbc/oracle adapter, similar to the oci8-based oracle adapter (jeremyevans)
2132
-
2133
- * Add Database#fetch_size accessor and :fetch_size option to jdbc adapter, for setting JDBC Statement fetch size (jeremyevans)
2134
-
2135
- * Automatically determine array type in pg_array_associations plugin, explicitly cast arrays in more places (jeremyevans, maccman) (#800)
2136
-
2137
- * Speed up Dataset#literal for symbols 60% by caching results, speeding up dataset literalization up to 40% or more (jeremyevans)
2138
-
2139
- * Speed up Sequel.split_symbol 10-20x by caching results, speeding up dataset literalization up to 80% or more (jeremyevans)
2140
-
2141
- * Speed up dataset literalization for simple datasets by up to 100% (jeremyevans)
2142
-
2143
- * Support :fractional_seconds Database option on MySQL 5.6.5+ to support fractional seconds by default (jeremyevans) (#797)
2144
-
2145
- * Work around MySQL 5.6+ bug when combining DROP FOREIGN KEY and DROP INDEX in same ALTER TABLE statement (jeremyevans)
2146
-
2147
- * Make auto_validations plugin handle models that select from subqueries (jeremyevans)
2148
-
2149
- * Recognize additional disconnect errors in the postgres adapter (jeremyevans)
2150
-
2151
- * Make import/multi_insert insert multiple rows in a single query using a UNION on Oracle, DB2, and Firebird (jeremyevans)
2152
-
2153
- * Speed up association_pks many_to_many setter method by using Dataset#import (jeremyevans)
2154
-
2155
- * Add Model.prepared_finder, similar to .finder but using a prepared statement (jeremyevans)
2156
-
2157
- * Model.def_{add_method,association_dataset_methods,remove_methods} are now deprecated (jeremyevans)
2158
-
2159
- * Model.eager_loading_dataset and Model.apply_association_dataset_opts are now deprecated (jeremyevans)
2160
-
2161
- * Make prepared_statement_associations plugin handle one_through_one and one_through_many associations (jeremyevans)
2162
-
2163
- * Use placeholder literalizer for regular association loading for up to 85% speedup (jeremyevans)
2164
-
2165
- * Use placeholder literalizer for eager association loading for up to 20% speedup (jeremyevans)
2166
-
2167
- * Make Model#marshallable! work correctly when using the tactical_eager_loading plugin (jeremyevans)
2168
-
2169
- * Respect :foreign_key_constraint_name option when adding columns to existing table on MySQL (noah256) (#795)
2170
-
2171
- * AssociationReflection#association_dataset now handles joining tables if necessary (jeremyevans)
2172
-
2173
- * Support drop_view :if_exists option on SQLite, MySQL, H2, and HSQLDB (jeremyevans) (#793)
2174
-
2175
- * Support drop_table :if_exists option on HSQLDB (jeremyevans)
2176
-
2177
- * Add Database#transaction :auto_savepoint option, for automatically using a savepoint in nested transactions (jeremyevans)
2178
-
2179
- * Add :server_version Database option on Microsoft SQL Server, instead of querying the database for it (jeremyevans)
2180
-
2181
- * Support :correlated_subquery as an eager_graph and filter by associations limit strategy for one_to_* associations (jeremyevans)
2182
-
2183
- * Support named paramters in call_mssql_sproc on Microsoft SQL Server (y.zemlyanukhin, jeremyevans) (#792)
2184
-
2185
- * Handle placeholder literalizer arguments when emulating offsets (jeremyevans)
2186
-
2187
- * Don't attempt to emulate offsets if the dataset uses literal SQL (jeremyevans)
2188
-
2189
- * Use a UNION-based strategy by default to eagerly load limited associations (jeremyevans)
2190
-
2191
- * Support offsets without limits on MySQL, SQLite, H2, SQLAnywhere and CUBRID (jeremyevans)
2192
-
2193
- * Remove the install/uninstall rake tasks (jeremyevans)
2194
-
2195
- * Use INSERT VALUES with multiple rows for Dataset#import and #multi_insert on more databases (jeremyevans)
2196
-
2197
- * Support common table expressions (WITH clause) on SQLite >=3.8.3 (jeremyevans)
2198
-
2199
- === 4.9.0 (2014-04-01)
2200
-
2201
- * Recognize CHECK constraint violations on newer versions of SQLite (jeremyevans)
2202
-
2203
- * Do not attempt to eager load when calling Dataset#columns in the eager_each plugin (jeremyevans)
2204
-
2205
- * Support :driver option for jdbc adapter, for specifying driver class for cases where getConnection doesn't work (jeremyevans) (#785)
2206
-
2207
- * Massive speedup for PostgreSQL array parser (jeremyevans) (#788)
2208
-
2209
- * Add current_datetime_timestamp extension, for current Time/DateTime instances that are literalized as CURRENT_TIMESTAMP (jeremyevans)
2210
-
2211
- * Recognize additional unique constraint violations on SQLite (jeremyevans) (#782)
2212
-
2213
- * Don't remove column value when validating nested attributes for one_to_* association where association foreign key is the model's primary key (jeremyevans)
2214
-
2215
- * Add Dataset#disable_insert_returning on PostgreSQL for skipping implicit use of RETURNING (jeremyevans)
2216
-
2217
- * Automatically optimize Model.[], .with_pk, and .with_pk! for models with composite keys (jeremyevans)
2218
-
2219
- * Automatically optimize Model.[] when called with a hash (jeremyevans)
2220
-
2221
- * Automatically optimize Model.find, .first, and .first! when called with a single argument (jeremyevans)
2222
-
2223
- * Add Model.finder for creating optimized finder methods using Dataset::PlaceholderLiteralizer (jeremyevans)
2224
-
2225
- * Add Dataset::PlaceholderLiteralizer optimization framework (jeremyevans)
2226
-
2227
- * Add Dataset#with_sql_{each,all,first,single_value,insert,update} optimized methods (jeremyevans)
2228
-
2229
- * Make pg_array extension use correct type when typecasting column values for smallint, oid, real, character, and varchar arrays (jeremyevans)
2230
-
2231
- * Make Database#column_schema_to_ruby_default a public method in the schema_dumper extension (jeremyevans) (#776)
2232
-
2233
- * Fix multiple corner cases in the eager_graph support (jeremyevans) (#771)
2234
-
2235
- * Use streaming to implement paging for Dataset#paged_each in the mysql2 adapter (jeremyevans)
2236
-
2237
- * Use a cursor to implement paging for Dataset#paged_each in the postgres adapter (jeremyevans)
2238
-
2239
- * Add Database#create_join_table? and #create_join_table! for consistency (jeremyevans)
2240
-
2241
- * Add Dataset#where_current_of to the postgres adapter for supporting updating rows based on a cursor's current position (jeremyevans)
2242
-
2243
- * Add Dataset#use_cursor :hold option in the postgres adapter for supporting cursor use outside of a transaction (jeremyevans)
2244
-
2245
- * Add Dataset#paged_each :strategy=>:filter option for increased performance (jeremyevans)
2246
-
2247
- === 4.8.0 (2014-03-01)
2248
-
2249
- * Add SQL::AliasedExpression#alias alias for #aliaz (jeremyevans)
2250
-
2251
- * Handle SQL::Identifier, SQL::QualifiedIdentifier, and SQL::AliasedExpression objects as first argument to Dataset#graph (jeremyevans)
2252
-
2253
- * Respect qualification and aliases in symbols passed as first argument to Dataset#graph (dividedmind) (#769)
2254
-
2255
- * Recognize new constraint violation error messages in SQLite 3.8.2+ (itswindtw) (#766)
2256
-
2257
- * Use limit strategy to correctly handle limited associations in the dataset_associations plugin (jeremyevans)
2258
-
2259
- * Handle issues in dataset_associations plugin when dataset uses unqualified identifiers for associations requiring joins (jeremyevans)
2260
-
2261
- * Handle fractional seconds in input timestamps in the odbc/mssql adapter (Ross Attrill, jeremyevans)
2262
-
2263
- * Return fractional seconds in timestamps in the odbc adapter (jeremyevans)
2264
-
2265
- * Support :plain and :phrase options to Dataset#full_text_search on PostgreSQL (jeremyevans)
2266
-
2267
- * Use limit strategy to correctly handle filtering by limited associations (jeremyevans)
2268
-
2269
- * Simplify queries used for filtering by associations with conditions (jeremyevans)
2270
-
2271
- * Use an eager limit strategy by default for *_one associations with orders (jeremyevans)
2272
-
2273
- * Support :limit_strategy eager_graph option, for specifying strategy used for limited associations in that eager graph (jeremyevans)
2274
-
2275
- * Add eager_graph_with_options to model datasets, for specifying options specific to the eager_graph call (jeremyevans)
2276
-
2277
- * Handle offsets on *_many associations when eager graphing when there are no associated results (jeremyevans)
2278
-
2279
- * Make Database#register_array_type work without existing scalar conversion proc in the pg_array extension (jeremyevans)
2280
-
2281
- * Handle presence validations on foreign keys in associated objects when creating new associated objects in the nested_attributes plugin (jeremyevans)
2282
-
2283
- * Respect offsets when eager graphing *_one associations (jeremyevans)
2284
-
2285
- * Add association_join to model datasets, for setting up joins based on associations (jeremyevans)
2286
-
2287
- * Add one_through_many association to many_through_many plugin, for only returning a single record (jeremyevans)
2288
-
2289
- * Add :graph_order association option, useful when :order needs to contain qualified identifiers (jeremyevans)
2290
-
2291
- * Add one_through_one association, similar to many_to_many but only returning a single record (jeremyevans)
2292
-
2293
- === 4.7.0 (2014-02-01)
2294
-
2295
- * Don't swallow underlying exception if there is an exception closing the cursor on PostgreSQL (jeremyevans) (#761)
2296
-
2297
- * Recognize primary key unique constraint violations on MSSQL and SQLAnywhere (jeremyevans)
2298
-
2299
- * Recognize composite unique constraint violations on SQLite (timcraft) (#758)
2300
-
2301
- * Make #* method without arguments on SQL::Function return a Function with * prepended to the arguments (jeremyevans)
2302
-
2303
- * Add #function to SQL::Identifier and SQL::QualifiedIdentifier, allowing for easy use of schema qualified functions or functions names that need quoting (jeremyevans)
2304
-
2305
- * Add SQL::Function#distinct for easier creation of aggregate functions using DISTINCT (jeremyevans)
2306
-
2307
- * Add SQL::Function#over for easier creation of window functions (jeremyevans)
2308
-
2309
- * Don't clear validation instance_hooks until after a successful save (jeremyevans)
2310
-
2311
- * Support :raise_on_save_failure option for one_to_many, pg_array_to_many, and many_to_pg_array associations (jeremyevans)
2312
-
2313
- * Make SQLTime#to_s return a string in HH:MM:SS format, since it shouldn't include date information (jeremyevans)
2314
-
2315
- * Support the Database#tables :schema option in the jdbc adapter (robbiegill, jeremyevans) (#755)
2316
-
2317
- * Automatically rollback transactions in killed threads in ruby 2.0+ (chanks) (#752)
2318
-
2319
- * Add update_or_create plugin, for updating an object if it exists, or creating such an object if it does not (jeremyevans)
2320
-
2321
- * Make auto_validations uniqueness validations work correctly for STI subclasses (jeremyevans)
2322
-
2323
- * Support :dataset option to validates_unique vaildation (jeremyevans)
2324
-
2325
- === 4.6.0 (2014-01-02)
2326
-
2327
- * Add Database#call_mssql_sproc on MSSQL for calling stored procedures and handling output parameters (jrgns, jeremyevans) (#748)
2328
-
2329
- * Handle RuntimeErrors raised by oci8 in the oracle adapter (jeremyevans)
2330
-
2331
- * Support OFFSET/FETCH on Microsoft SQL Server 2012 (jeremyevans)
2332
-
2333
- * Support :server option for Database#{commit,rollback}_prepared_transaction on PostgreSQL, MySQL, and H2 (jeremyevans) (#743)
2334
-
2335
- * Do not attempt to eager load and raise an exception when doing Model.eager(...).naked.all (jeremyevans)
2336
-
2337
- * Recognize a couple additional disconnect errors in the jdbc/postgresql adapter (jeremyevans) (#742)
2338
-
2339
- === 4.5.0 (2013-12-02)
2340
-
2341
- * Support :on_commit=>(:drop|:delete_rows|:preserve_rows) options when creating temp tables on PostgreSQL (rosenfeld) (#737)
2342
-
2343
- * Make Dataset#insert work on PostgreSQL if the table name is a SQL::PlaceholderLiteralString (jeremyevans) (#736)
2344
-
2345
- * Copy unique constraints when emulating alter_table operations on SQLite (jeremyevans) (#735)
2346
-
2347
- * Don't return clob column values as SQL::Blob instances in the db2 and ibmdb adapters unless use_clob_as_blob is true (jeremyevans)
2348
-
2349
- * Make use_clob_as_blob false by default on DB2 (jeremyevans)
2350
-
2351
- * Fix usage of Sequel::SQL::Blob objects as prepared statement arguments in jdbc/db2 adapter when use_clob_as_blob is false (jeremyevans)
2352
-
2353
- * Add mssql_optimistic_locking plugin, using a timestamp/rowversion column to protect against concurrent updates (pinx, jeremyevans) (#731)
2354
-
2355
- * Make Model.primary_key array immutable for composite keys (chanks) (#730)
2356
-
2357
- === 4.4.0 (2013-11-01)
2358
-
2359
- * Make Database#tables not show tables in the recycle bin on Oracle (jeremyevans) (#728)
2360
-
2361
- * Don't automatically order on all columns when emulating offsets for unordered datasets on DB2 (jeremyevans)
2362
-
2363
- * Improve PostgreSQL type support in the jdbc/postgresql adapter (jeremyevans)
2364
-
2365
- * Make offset emulation on Oracle work when using columns that can't be ordered (jeremyevans, sdeming) (#724, #725)
2366
-
2367
- * Make filter by associations support handle associations with :conditions or block (jeremyevans)
2368
-
2369
- * Make association cloning handle :block correctly for clones of clones (jeremyevans)
2370
-
2371
- * Make association cloning handle :eager_block option correctly (jeremyevans)
2372
-
2373
- * Make add_primary_key work on h2 (jeremyevans)
2374
-
2375
- * Add support for foreign key parsing on Oracle (jeremyevans)
2376
-
2377
- * Add support for foreign key parsing to the jdbc adapter (jeremyevans)
2378
-
2379
- * Make add_foreign_key work on HSQLDB (jeremyevans)
2380
-
2381
- * Add table_select plugin for selecting table.* instead of * for model datasets (jeremyevans)
2382
-
2383
- * Issue constraint_validation table deletes before inserts, so modifying constraint via drop/add in same alter_table block works (jeremyevans)
2384
-
2385
- * Support add_*/remove_*/remove_all_* pg_array_to_many association methods on unsaved model objects (jeremyevans)
2386
-
2387
- * Add Sybase SQLAnywhere support via new sqlanywhere and jdbc/sqlanywhere adapters (gditrick, jeremyevans)
2388
-
2389
- * Add Dataset#offset for setting the offset separately from the limit (Paul Henry, jeremyevans) (#717)
2390
-
2391
- === 4.3.0 (2013-10-02)
2392
-
2393
- * Fix literalization of empty blobs on MySQL (jeremyevans) (#715)
2394
-
2395
- * Ensure Dataset#page_count in pagination extension is at least one (jeremyevans) (#714)
2396
-
2397
- * Recognize another disconnect error in the jdbc/as400 adapter (jeremyevans)
2398
-
2399
- * Make Dataset#qualify and Sequel.delay work together (jeremyevans)
2400
-
2401
- * Recognize citext type as string on PostgreSQL (isc) (#710)
2402
-
2403
- * Support composite keys in the rcte_tree plugin (jeremyevans)
2404
-
2405
- * Support composite keys in the tree plugin (jeremyevans)
2406
-
2407
- * Make Migrator.migrator_class public (robertjpayne, jeremyevans) (#708)
2408
-
2409
- * Make PostgreSQL empty array literalization work correctly on PostgreSQL <8.4 (jeremyevans)
2410
-
2411
- * Add Sequel extensions guide (jeremyevans)
2412
-
2413
- * Add model plugins guide (jeremyevans)
2414
-
2415
- * Add error_sql Database extension, allowing DatabaseError#sql to return SQL query that caused underlying exception (jeremyevans)
2416
-
2417
- * Make Dataset#each_page in pagination extension return enumerator if no block is given (justinj) (#702)
2418
-
2419
- === 4.2.0 (2013-09-01)
2420
-
2421
- * Support custom :flags option in mysql2 adapter (jeremyevans) (#700)
2422
-
2423
- * Add implementations of Dataset#freeze and Dataset#dup (jeremyevans)
2424
-
2425
- * Add implementations of Model#dup and Model#clone (jeremyevans)
2426
-
2427
- * Don't have partial_indexes returned by Database#indexes on MSSQL 2008+ (jeremyevans)
2428
-
2429
- * Support partial indexes on SQLite 3.8.0+ (jeremyevans)
2430
-
2431
- * Add Database#supports_partial_indexes? to check for partial index support (mluu, jeremyevans) (#698)
2432
-
2433
- * The static_cache plugin now disallows saving/destroying if the :frozen=>false option is not used (jeremyevans)
2434
-
2435
- * Support :frozen=>false option in static_cache plugin, for having new instances returned instead of frozen cached instances (jeremyevans)
2436
-
2437
- * Add pg_static_cache_updater Database extension for listening for changes to tables and updating static_cache caches automatically (jeremyevans)
2438
-
2439
- * Add mssql_emulate_lateral_with_apply extension for emulating LATERAL queries using CROSS/OUTER APPLY (jeremyevans)
2440
-
2441
- * Support LATERAL queries via Dataset#lateral (jeremyevans)
2442
-
2443
- * Add pg_loose_count Database extension, for fast approximate counts of PostgreSQL tables (jeremyevans)
2444
-
2445
- * Add from_block Database extension, for having Database#from block affect FROM instead of WHERE (jeremyevans)
2446
-
2447
- * Support :cursor_name option in postgres adapter Dataset#use_cursor (heeringa, jeremyevans) (#696)
2448
-
2449
- * Fix placeholder literal strings when used with an empty placeholder hash (trydionel, jeremyevans) (#695)
2450
-
2451
- === 4.1.1 (2013-08-01)
2452
-
2453
- * Fix select_map, select_order_map, and single_value methods on eager_graphed datasets (jeremyevans)
2454
-
2455
- === 4.1.0 (2013-08-01)
2456
-
2457
- * Support :inherits option in Database#create_table on PostgreSQL, for table inheritance (jeremyevans)
2458
-
2459
- * Handle dropping indexes for schema qualified tables on PostgreSQL (jeremyevans)
2460
-
2461
- * Add Database#error_info on PostgreSQL 9.3+ if pg-0.16.0+ is used, to get a hash of metadata for a given database exception (jeremyevans)
2462
-
2463
- * Allow prepared_statements plugin to work with instance_filters and update_primary_key plugins (jeremyevans)
2464
-
2465
- * Support deferrable exclusion constraints on PostgreSQL using the :deferrable option (mfoody) (#687)
2466
-
2467
- * Make Database#run and #<< accept SQL::PlaceholderLiteralString values (jeremyevans)
2468
-
2469
- * Deprecate :driver option in odbc adapter since it appears to be broken (jeremyevans)
2470
-
2471
- * Support :drvconnect option in odbc adapter for supplying the ODBC connection string directly (jeremyevans)
2472
-
2473
- * Support mysql2 0.3.12+ result streaming via Dataset#stream (jeremyevans)
2474
-
2475
- * Convert Java::JavaUtil::HashMap to ruby Hash in jdbc adapter, for better handling of PostgreSQL hstore type (jeremyevans) (#686)
2476
-
2477
- * Raise NoMatchingRow if calling add_association with a primary key value that doesn't match an existing row (jeremyevans)
2478
-
2479
- * Allow PostgreSQL add_constraint to support :not_valid option (jeremyevans)
2480
-
2481
- * Allow CHECK constraints to have options by using an options hash as the constraint name (jeremyevans)
2482
-
2483
- * Correctly raise error when using an invalid virtual row block function call (jeremyevans)
2484
-
2485
- * Support REPLACE on SQLite via Dataset#replace and #multi_replace (etehtsea) (#681)
2486
-
2487
- === 4.0.0 (2013-07-01)
2488
-
2489
- * Correctly parse composite primary keys on SQLite 3.7.16+ (jeremyevans)
2490
-
2491
- * Recognize another disconnect error in the jdbc/oracle adapter (jeremyevans)
2492
-
2493
- * Add pg_json_ops extension for calling JSON functions and operators in PostgreSQL 9.3+ (jeremyevans)
2494
-
2495
- * Handle non-JSON plain strings, integers, and floats in PostgreSQL JSON columns in pg_json extension (jeremyevans)
2496
-
2497
- * Dataset#from now accepts virtual row blocks (jeremyevans)
2498
-
2499
- * Add Database#refresh_view on PostgreSQL to support refreshing materialized views (jeremyevans)
2500
-
2501
- * Support the Database#drop_view :if_exists option on PostgreSQL (jeremyevans)
2502
-
2503
- * Support the Database#{create,drop}_view :materialized option for creating materialized views in PostgreSQL 9.3+ (jeremyevans)
2504
-
2505
- * Support the Database#create_view :recursive option for creating recursive views in PostgreSQL 9.3+ (jeremyevans)
2506
-
2507
- * Support the Database#create_view :columns option for using explicit columns (jeremyevans)
2508
-
2509
- * Support the Database#create_schema :owner and :if_not_exists options on PostgreSQL (jeremyevans)
2510
-
2511
- * Support :index_type=>:gist option to create GIST full text indexes on PostgreSQL (jeremyevans)
2512
-
2513
- * Add Postgres::ArrayOp#replace for the array_replace function in PostgreSQL 9.3+ (jeremyevans)
2514
-
2515
- * Add Postgres::ArrayOp#remove for the array_remove function in PostgreSQL 9.3+ (jeremyevans)
2516
-
2517
- * Add Postgres::ArrayOp#hstore for creating hstores from arrays (jeremyevans)
2518
-
2519
- * Make Postgres::ArrayOp#[] return ArrayOp if given a range (jeremyevans)
2520
-
2521
- * Ensure that CHECK constraints are surrounded with parentheses (jeremyevans)
2522
-
2523
- * Ensure Dataset#unbind returned variable hash uses symbol keys (jeremyevans)
2524
-
2525
- * Add pg_array_associations plugin, for associations based on PostgreSQL arrays containing foreign keys (jeremyevans)
2526
-
2527
- * Add Sequel.deep_qualify, for easily doing a deep qualification (jeremyevans)
2528
-
2529
- * Enable use of window functions for limited eager loading by default (jeremyevans)
2530
-
2531
- * Handle offsets correctly when eager loading one_to_one associations (jeremyevans)
2532
-
2533
- * Raise exception for infinite and NaN floats on MySQL (jeremyevans) (#677)
2534
-
2535
- * Make dataset string literalization that requires database connection use dataset's chosen server (jeremyevans)
2536
-
2537
- * Make sure an offset without a limit is handled correctly when eager loading (jeremyevans)
2538
-
2539
- * Allow providing ranges as subscripts for array[start:end] (jeremyevans)
2540
-
2541
- * Prepare one_to_one associations in the prepared_statements_associations plugin (jeremyevans)
2542
-
2543
- * Use prepared statements when the association has :conditions in the prepared_statements_associations plugin (jeremyevans)
2544
-
2545
- * Fix prepared statement usage in some additional cases in the prepared_statements_associations plugin (jeremyevans)
2546
-
2547
- * Hex escape blob input on MySQL (jeremyevans)
2548
-
2549
- * Handle more disconnect errors when using the postgres adapter with the postgres-pr driver (jeremyevans)
2550
-
2551
- * Model#setter_methods private method now accepts 1 argument instead of 2 (jeremyevans)
2552
-
2553
- * Model#set_restricted and #update_restricted private methods now accept 2 arguments instead of 3 (jeremyevans)
2554
-
2555
- * ungraphed on an eager_graph dataset now resets the original row_proc (jeremyevans)
2556
-
2557
- * eager_graph now returns a naked dataset (jeremyevans)
2558
-
2559
- * All behavior deprecated in Sequel 3.48.0 has been removed (jeremyevans)
2560
-
2561
- * Make adapter/integration spec environment variables more consistent (jeremyevans)
2562
-
2563
- * Sequel no longer provides default databases for adapter/integration specs (jeremyevans)
2564
-
2565
- * Model#save no longer calls #_refresh internally (jeremyevans)
2566
-
2567
- * Model#set_all and #update_all can now update the primary key (jeremyevans)
2568
-
2569
- * Integrate many_to_one_pk_lookup and association_autoreloading plugins into main associations plugin (jeremyevans)
2570
-
2571
- * Make defaults_setter plugin operate in a lazy manner (jeremyevans)
2572
-
2573
- * Plugins now extend the model class with ClassMethods before including InstanceMethods (jeremyevans)
2574
-
2575
- * Remove Model::EMPTY_INSTANCE_VARIABLES (jeremyevans)
2576
-
2577
- * Model.raise_on_typecast_failure now defaults to false (jeremyevans)
2578
-
2579
- * Model#_save private method now only takes a single argument (jeremyevans)
2580
-
2581
- * Remove Dataset#columns_without_introspection from columns_introspection extension (jeremyevans)
2582
-
2583
- * Make boolean prepared statement arguments work on sqlite adapter when integer_booleans is true (jeremyevans)
2584
-
2585
- * Make Database#tables and #views reflect search_path on PostgreSQL (jeremyevans)
2586
-
2587
- * SQLite now defaults to true for integer_booleans and false for use_timestamp_timezones (jeremyevans)
2588
-
2589
- * Make the default value for most option hashes a shared frozen hash (jeremyevans)
2590
-
2591
- * Remove Sequel::NotImplemented exception (jeremyevans)
2592
-
2593
- * Automatically alias single expressions in Dataset#get, #select_map, and #select_order_map, to work around possible DoS issues (jeremyevans)
2594
-
2595
- * Use a connection queue instead of stack by default for threaded connection pools (jeremyevans)
2596
-
2597
- * Remove SQL::SQLArray alias for SQL::ValueList (jeremyevans)
2598
-
2599
- * Remove SQL::NoBooleanInputMethods empty module (jeremyevans)
2600
-
2601
687
  === Older
2602
688
 
2603
689
  See doc/CHANGELOG.old