rom-sql 3.2.0 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1b112ea9690e7cc6292907784ff4a1fa4b5104156b49f15ce7aa8e5b0f7ffac
4
- data.tar.gz: 2812251110ba0677d9187564f199a6d28e0f61b198f36f4c241455132e789123
3
+ metadata.gz: ebefd305a48798084f71eeb8d0551eff441417c71f7c448bfe077ef237c73ffc
4
+ data.tar.gz: eb8fe285974460c33a381238c0ab13ace1dd20b5f25f5d6dd11caef1d5542d6e
5
5
  SHA512:
6
- metadata.gz: 72d567632369f93fed528c8bc469532f14d564054f85ef24f8a9a5dc23c57979f12345e54e3a44b2a2ef2db33d6a468489fa9d65ca006532b1c4ca04354ac545
7
- data.tar.gz: 35703da2994cd323a3af2980ca624b2fdced01593f0a06aa78cafc0b9d8670e8c11129d38894b3df4d65063e1d62b4fdc5a7515e9ee4281e483d86acdda4a73c
6
+ metadata.gz: e6a301cc31f1bff16d9771c4bdb7feb195af75f0f4a8d36a34f794c00157efe0766dffe726f9ae8246b10d7b747f02a457341d19cf453ff0871e57c2e56095ef
7
+ data.tar.gz: 59e0c0cdf1218a6070b4e9faae3a51479c9b20ede232e40ab667c25c51dafe4d2f2a578b3d3077ec0158f168aae1039d5621bf55e2becc282f0c41479905b643
@@ -1,13 +1,42 @@
1
+ <!--- DO NOT EDIT THIS FILE - IT'S AUTOMATICALLY GENERATED VIA DEVTOOLS --->
2
+
3
+ ## 3.3.0 2020-12-28
4
+
5
+
6
+ ### Added
7
+
8
+ - `Relation#full_text_search` that provides an API for [PostgreSQL's Full Text Search](https://www.postgresql.org/docs/9.5/textsearch.html) (@ianks)
9
+
10
+ ```ruby
11
+ # Don't forget to activate the plugin
12
+ conf.plugin(:sql, relations: :pg_full_text_search)
13
+
14
+ posts.full_text_search([:title], 'tutorials', language: 'english')
15
+ # => [{ title: 'A Tutorial about SQL', ... }]
16
+ ```
17
+ - Support for `:pg_streaming` extension (@ianks)
18
+
19
+ ### Fixed
20
+
21
+ - `Relation#join` no longer crashes when aliased relation is used with a block (issue #369) (@abrthel)
22
+ - Attributes aliases are properly handled when constructing queries with SQL functions (issue #370 fixed via #373) (@abrthel)
23
+
24
+
25
+ [Compare v3.2.0...v3.3.0](https://github.com/rom-rb/rom-sql/compare/v3.2.0...v3.3.0)
26
+
1
27
  ## 3.2.0 2020-01-11
2
28
 
29
+
3
30
  ### Fixed
4
31
 
5
32
  - Keyword warnings on Ruby 2.7 (@flash-gordon)
6
33
 
34
+
7
35
  [Compare v3.1.0...v3.2.0](https://github.com/rom-rb/rom-sql/compare/v3.1.0...v3.2.0)
8
36
 
9
37
  ## 3.1.0 2019-12-16
10
38
 
39
+
11
40
  ### Added
12
41
 
13
42
  - `.nullify` that turns the result set of any relation into an empty set. Analogue of `ActiveRecord#none` (@ianks + @flash-gordon)
@@ -29,18 +58,22 @@
29
58
  - Properly qualify relations when in `Relation#union` (@ianks)
30
59
  - `Relation#query` no longer removes order in the relation (@DNNX)
31
60
 
61
+
32
62
  [Compare v3.0.1...v3.1.0](https://github.com/rom-rb/rom-sql/compare/v3.0.1...v3.1.0)
33
63
 
34
64
  ## 3.0.1 2019-05-05
35
65
 
66
+
36
67
  ### Fixed
37
68
 
38
69
  - Using joins with a relation object as the target and a block-based conditions produces correct query now (issue #331) (solnic)
39
70
 
71
+
40
72
  [Compare v3.0.0...v3.0.1](https://github.com/rom-rb/rom-sql/compare/v3.0.0...v3.0.1)
41
73
 
42
74
  ## 3.0.0 2019-04-24
43
75
 
76
+
44
77
  ### Added
45
78
 
46
79
  - Join DSL so that you can use arbitrary conditions when joining relations (flash-gordon)
@@ -66,7 +99,6 @@
66
99
  # searching for `true` result
67
100
  users.select_append { string::case(id.is(1) => 'one', else: 'else').as(:one_or_else) }
68
101
  ```
69
-
70
102
  - Relations can be accessed in DSLs with keyword arguments (flash-gordon)
71
103
  ```ruby
72
104
  users.join(posts).select_append { |posts: | posts[:title] }
@@ -79,30 +111,29 @@
79
111
  ```
80
112
  - `Relation#unfiltered` returns an unrestricted relation (removes restrictions from `WHERE` and `HAVING`) (flash-gordon)
81
113
  - Support for `WITHIN GROUP` in the function DSL has been enhanced with block syntax (flash-gordon)
82
-
83
- ```ruby
84
- # previously available version
85
- households.project { float::percentile_cont(0.5).within_group(income).as(:percentile) }
86
- # using the new syntax
87
- households.project { float::percentile_cont(0.5).within_group { income }.as(:percentile) }
88
- ```
89
-
114
+ - ```ruby
115
+ - # previously available version
116
+ - households.project { float::percentile_cont(0.5).within_group(income).as(:percentile) }
117
+ - # using the new syntax
118
+ - households.project { float::percentile_cont(0.5).within_group { income }.as(:percentile) }
119
+ - ```
90
120
  - Support for migrator options ie `ROM::Configuration.new(:sql, migrator: { path: "my_migrations" })` (rawburt)
91
121
  - `Relation#pluck` works with multiple args too (timriley)
92
122
 
93
- ### Changed
94
-
95
- - [BREAKING] Updated to work with `dry-types 1.0.0` (flash-gordon)
96
- - [BREAKING] `Types::Int` is now `Types::Integer` (GustavoCaso)
97
-
98
123
  ### Fixed
99
124
 
100
125
  - Using `Relation#inner_join` with has-many-through produces correct query (issue #279) (doriantaylor + solnic)
101
126
  - Aliased attributes are handled correctly in `Relation#where` (waiting-for-dev)
102
127
 
128
+ ### Changed
129
+
130
+ - [BREAKING] Updated to work with `dry-types 1.0.0` (flash-gordon)
131
+ - [BREAKING] `Types::Int` is now `Types::Integer` (GustavoCaso)
132
+
103
133
  [Compare v2.5.0...v3.0.0](https://github.com/rom-rb/rom-sql/compare/v2.5.0...v3.0.0)
104
134
 
105
- ## v2.5.0 2018-06-08
135
+ ## 2.5.0 2018-06-08
136
+
106
137
 
107
138
  ### Added
108
139
 
@@ -111,22 +142,26 @@
111
142
  tasks = relations[:tasks]
112
143
  users = relations[:users]
113
144
  user_tasks = tasks.where(tasks[:user_id].is(users[:id])
114
- tasks_count = user_tasks.select { integer::count(id) }
145
+ tasks_count = user_tasks.select { integer::count(id) }.query
115
146
  users.select_append(tasks_count.as(:tasks_count))
116
147
  ```
117
148
 
149
+
118
150
  [Compare v2.4.0...v2.5.0](https://github.com/rom-rb/rom-sql/compare/v2.4.0...v2.5.0)
119
151
 
120
- ## v2.4.0 2018-02-18
152
+ ## 2.4.0 2018-02-18
153
+
121
154
 
122
155
  ### Added
123
156
 
124
157
  - Support for functions with `Any` return type (GustavoCaso)
125
158
  - New `Relation#as_hash` method (GustavoCaso)
126
159
 
160
+
127
161
  [Compare v2.3.0...v2.4.0](https://github.com/rom-rb/rom-sql/compare/v2.3.0...v2.4.0)
128
162
 
129
- ## v2.3.0 2017-11-17
163
+ ## 2.3.0 2017-11-17
164
+
130
165
 
131
166
  ### Added
132
167
 
@@ -138,23 +173,22 @@
138
173
  - Aliased attributes are handled correctly in PG's commands (cflipse)
139
174
  - Command extensions are properly applied in multi-adapter setups (solnic)
140
175
 
141
- ### Internal
142
-
143
- - Custom SQL-specific mapper compiler was added, which is used starting from rom-core 4.1.0 (solnic)
144
- - Command's `:timestamp` plugin was removed, as it was moved to rom-core (GustavoCaso)
145
176
 
146
177
  [Compare v2.2.1...v2.3.0](https://github.com/rom-rb/rom-sql/compare/v2.2.1...v2.3.0)
147
178
 
148
- ## v2.2.1 2017-11-10
179
+ ## 2.2.1 2017-11-10
180
+
149
181
 
150
182
  ### Fixed
151
183
 
152
184
  - Instrumentation works with all db interactions (not just queries that materialize relations) (solnic)
153
185
  - Typo in `MissingEnv` exception message (romatr)
154
186
 
187
+
155
188
  [Compare v2.2.0...v2.2.1](https://github.com/rom-rb/rom-sql/compare/v2.2.0...v2.2.1)
156
189
 
157
- ## v2.2.0 2017-11-02
190
+ ## 2.2.0 2017-11-02
191
+
158
192
 
159
193
  ### Added
160
194
 
@@ -167,9 +201,11 @@
167
201
  - Custom schema is used correctly in command results (solnic)
168
202
  - Schemas no longer finalize PKs (this is done in core schema already) (solnic)
169
203
 
204
+
170
205
  [Compare v2.1.0...v2.2.0](https://github.com/rom-rb/rom-sql/compare/v2.1.0...v2.2.0)
171
206
 
172
- ## v2.1.0 2017-10-23
207
+ ## 2.1.0 2017-10-23
208
+
173
209
 
174
210
  ### Added
175
211
 
@@ -183,9 +219,11 @@
183
219
  - Schema inference works with primary keys that have custom types (ie an enum PK column) (v-kolesnikov)
184
220
  - Ruby warnings are gone (solnic)
185
221
 
222
+
186
223
  [Compare v2.0.0...v2.1.0](https://github.com/rom-rb/rom-sql/compare/v2.0.0...v2.1.0)
187
224
 
188
- ## v2.0.0 2017-10-18
225
+ ## 2.0.0 2017-10-18
226
+
189
227
 
190
228
  ### Added
191
229
 
@@ -203,7 +241,6 @@
203
241
  end
204
242
  end
205
243
  ```
206
-
207
244
  - Support for composite indexes in the auto-restrictions plugin (flash-gordon)
208
245
  - `SQL::Gateway#call` calls a SQL function (flash-gordon)
209
246
 
@@ -211,19 +248,16 @@
211
248
  gateway.(:upper, 'foo') # => "FOO"
212
249
  gateway.(:pg_advisory_xact_lock, 1234) # => nil
213
250
  ```
214
-
215
251
  - `SQL::Gateway#run` executes a SQL string, e.g. a DDL statement (flash-gordon)
216
252
 
217
253
  ```ruby
218
254
  gateway.run('set session IntervalStyle to default')
219
255
  ```
220
-
221
256
  - `SQL::Relation#exists` joins a relation with the `EXISTS` operator (flash-gordon)
222
257
 
223
258
  ```ruby
224
259
  users.exists(posts) # => users with posts
225
260
  ```
226
-
227
261
  - Support for processing a relation in batches (flash-gordon)
228
262
 
229
263
  ```ruby
@@ -233,26 +267,22 @@
233
267
  call(name: users[:first_name].concat(users[:last_name])
234
268
  end
235
269
  ```
236
-
237
270
  - `SQL::Relation#import` inserts data from another relation using the `INSERT ... AS SELECT` syntax which is often far more effective than row-by-row processing and an ordinary multi-insert. Relations defined on another gateway are also supported, and in this case, the implementation falls back to the multi-insert strategy (flash-gordon)
238
271
 
239
272
  ```ruby
240
273
  users.import(authors.select { first_name.concat(last_name).as(:name) })
241
274
  ```
242
-
243
275
  - Support for `tinytext`, `text`, `mediumtext`, and `longtext data types in MySQL (panthomakos)
244
276
  - The new `pg_explain` plugin for getting query plans on PostgreSQL (flash-gordon)
245
277
 
246
278
  ```ruby
247
279
  users.by_pk(1).explain(format: :json, analyze: true)
248
280
  ```
249
-
250
281
  - Support for window function calls
251
282
 
252
283
  ```ruby
253
284
  employees.select { [dep_no, salary, integer::avg(salary).over(partition: dep_no, order: id).as(:avg_salary)] }
254
285
  ```
255
-
256
286
  - Function result can be negated, also `ROM::SQL::Function#not` was added (flash-gordon)
257
287
 
258
288
  ```ruby
@@ -260,6 +290,13 @@
260
290
  users.where { lower(name).not('John') }
261
291
  ```
262
292
 
293
+ ### Fixed
294
+
295
+ - Self-ref associations work correctly with custom FKs (solnic)
296
+ - Aliased associations with custom FKs work correctly (solnic)
297
+ - Defining a custom dataset block no longer prevents default views like `by_pk` to be defined (solnic)
298
+ - `Relation#group` uses canonical schema now (solnic)
299
+
263
300
  ### Changed
264
301
 
265
302
  - [BREAKING] based on rom 4.0 now (flash-gordon + solnic)
@@ -273,16 +310,10 @@
273
310
  - Schemas are qualified by default (solnic)
274
311
  - `PG::JSON`, `PG::JSONB`, and `PG::Array` now all have read types so that they return plain Hash/Array values instead of Sequel's wrappers (flash-gordon)
275
312
 
276
- ### Fixed
277
-
278
- - Self-ref associations work correctly with custom FKs (solnic)
279
- - Aliased associations with custom FKs work correctly (solnic)
280
- - Defining a custom dataset block no longer prevents default views like `by_pk` to be defined (solnic)
281
- - `Relation#group` uses canonical schema now (solnic)
313
+ [Compare v1.3.3...v2.0.0](https://github.com/rom-rb/rom-sql/compare/v1.3.3...v2.0.0)
282
314
 
283
- [Compare v1.3.3...master](https://github.com/rom-rb/rom-sql/compare/v1.3.3...master)
315
+ ## 1.3.3 2017-05-30
284
316
 
285
- ## v1.3.3 2017-05-30
286
317
 
287
318
  ### Added
288
319
 
@@ -293,7 +324,6 @@
293
324
  ```ruby
294
325
  users.select { string::cast(id, 'varchar').as(:id_str) }
295
326
  ```
296
-
297
327
  - Support for`EXISTS` (v-kolesnikov)
298
328
 
299
329
  ```ruby
@@ -305,9 +335,11 @@
305
335
 
306
336
  - Fixed a regression introduced in v1.3.2 caused by doing way more work processing the default dataset (flash-gordon)
307
337
 
338
+
308
339
  [Compare v1.3.2...v1.3.3](https://github.com/rom-rb/rom-sql/compare/v1.3.2...v1.3.3)
309
340
 
310
- ## v1.3.2 2017-05-13
341
+ ## 1.3.2 2017-05-13
342
+
311
343
 
312
344
  ### Added
313
345
 
@@ -319,9 +351,11 @@
319
351
 
320
352
  - A bunch of warnings from Sequel 4.46
321
353
 
354
+
322
355
  [Compare v1.3.1...v1.3.2](https://github.com/rom-rb/rom-sql/compare/v1.3.1...v1.3.2)
323
356
 
324
- ## v1.3.1 2017-05-05
357
+ ## 1.3.1 2017-05-05
358
+
325
359
 
326
360
  ### Changed
327
361
 
@@ -329,7 +363,8 @@
329
363
 
330
364
  [Compare v1.3.0...v1.3.1](https://github.com/rom-rb/rom-sql/compare/v1.3.0...v1.3.1)
331
365
 
332
- ## v1.3.0 2017-05-02
366
+ ## 1.3.0 2017-05-02
367
+
333
368
 
334
369
  ### Added
335
370
 
@@ -361,7 +396,8 @@
361
396
 
362
397
  [Compare v1.2.2...v1.3.0](https://github.com/rom-rb/rom-sql/compare/v1.2.2...v1.3.0)
363
398
 
364
- ## v1.2.2 2017-03-25
399
+ ## 1.2.2 2017-03-25
400
+
365
401
 
366
402
  ### Changed
367
403
 
@@ -369,15 +405,18 @@
369
405
 
370
406
  [Compare v1.2.1...v1.2.2](https://github.com/rom-rb/rom-sql/compare/v1.2.1...v1.2.2)
371
407
 
372
- ## v1.2.1 2017-03-09
408
+ ## 1.2.1 2017-03-09
409
+
373
410
 
374
411
  ### Fixed
375
412
 
376
413
  - Allow for joining by a `RelationProxy` instance from `rom-repository` (davydovanton)
377
414
 
415
+
378
416
  [Compare v1.2.0...v1.2.1](https://github.com/rom-rb/rom-sql/compare/v1.2.0...v1.2.1)
379
417
 
380
- ## v1.2.0 2017-03-07
418
+ ## 1.2.0 2017-03-07
419
+
381
420
 
382
421
  ### Added
383
422
 
@@ -385,25 +424,31 @@
385
424
  - Support for passing parent tuple(s) as `parent` option in `Command#with_association` (solnic)
386
425
  - Support for join using assocation name (flash-gordon)
387
426
 
427
+
388
428
  [Compare v1.1.2...v1.2.0](https://github.com/rom-rb/rom-sql/compare/v1.1.2...v1.2.0)
389
429
 
390
- ## v1.1.2 2017-03-02
430
+ ## 1.1.2 2017-03-02
431
+
391
432
 
392
433
  ### Fixed
393
434
 
394
435
  - Fix grouping by a function in the block DSL (flash-gordon)
395
436
 
437
+
396
438
  [Compare v1.1.1...v1.1.2](https://github.com/rom-rb/rom-sql/compare/v1.1.1...v1.1.2)
397
439
 
398
- ## v1.1.1 2017-03-01
440
+ ## 1.1.1 2017-03-01
441
+
399
442
 
400
443
  ### Fixed
401
444
 
402
445
  - Restriction conditions with an array as a value are handled correctly by attribute types (solnic)
403
446
 
447
+
404
448
  [Compare v1.1.0...v1.1.1](https://github.com/rom-rb/rom-sql/compare/v1.1.0...v1.1.1)
405
449
 
406
- ## v1.1.0 2017-03-01
450
+ ## 1.1.0 2017-03-01
451
+
407
452
 
408
453
  ### Added
409
454
 
@@ -417,29 +462,34 @@
417
462
  - Missing `group` method was added to legacy `SequelAPI` module (solnic)
418
463
  - Associations properly maintain `order` if it was set (solnic)
419
464
 
420
- [Compare v1.0.3...v1.1.0](https://github.com/rom-rb/rom-sql/compare/v1.0.3...v1.1.0)
421
465
 
422
- ## v1.0.3 2017-02-23
466
+ [Compare v1.0.3...v1.1.0](https://github.com/rom-rb/rom-sql/compare/v1.0.3...v1.1.0)
423
467
 
424
- ### Changed
468
+ ## 1.0.3 2017-02-23
425
469
 
426
- - `AutoCombine#preload` uses better restriction for `ManyToOne` association which greatly speeds up loading bigger amounts of data (solnic + flash-gordon)
427
470
 
428
471
  ### Fixed
429
472
 
430
473
  - Fix the usage of timestamp in command chains (cflipse)
431
474
 
475
+ ### Changed
476
+
477
+ - `AutoCombine#preload` uses better restriction for `ManyToOne` association which greatly speeds up loading bigger amounts of data (solnic + flash-gordon)
478
+
432
479
  [Compare v1.0.2...v1.0.3](https://github.com/rom-rb/rom-sql/compare/v1.0.2...v1.0.3)
433
480
 
434
- ## v1.0.2 2017-02-16
481
+ ## 1.0.2 2017-02-16
482
+
435
483
 
436
484
  ### Added
437
485
 
438
486
  - Support for selecting literal strings via `` select { `'foo'`.as(:bar) } `` (solnic)
439
487
 
488
+
440
489
  [Compare v1.0.1...v1.0.2](https://github.com/rom-rb/rom-sql/compare/v1.0.1...v1.0.2)
441
490
 
442
- ## v1.0.1 2017-02-09
491
+ ## 1.0.1 2017-02-09
492
+
443
493
 
444
494
  ### Added
445
495
 
@@ -452,11 +502,10 @@
452
502
 
453
503
  - Missing primary key now leads to a more meaningful error (flash-gordon)
454
504
 
455
- [Compare v1.0.0...v1.0.1](https://github.com/rom-rb/rom-sql/compare/v1.0.0...v1.0.1)
456
505
 
457
- ## v1.0.0 2017-01-29
506
+ [Compare v1.0.0...v1.0.1](https://github.com/rom-rb/rom-sql/compare/v1.0.0...v1.0.1)
458
507
 
459
- This release is based on rom core 3.0.0 with its improved Schema API, which is extended with SQL-specific features.
508
+ ## 1.0.0 2017-01-29
460
509
 
461
510
  Please refer to [the upgrading guide](https://github.com/rom-rb/rom-sql/wiki/Upgrading-from-0.9.x-to-1.0.0) if you're moving from 0.9.x to 1.0.0.
462
511
 
@@ -496,16 +545,19 @@ Please refer to [the upgrading guide](https://github.com/rom-rb/rom-sql/wiki/Upg
496
545
 
497
546
  [Compare v0.9.1...v1.0.0](https://github.com/rom-rb/rom-sql/compare/v0.9.1...v1.0.0)
498
547
 
499
- ## v0.9.1 2016-12-23
548
+ ## 0.9.1 2016-12-23
549
+
500
550
 
501
551
  ### Added
502
552
 
503
553
  - Support for PG enums in schema inferrer (flash-gordon)
504
554
  - `ROM::SQL::Relation#read` method which accepts an SQL string and returns a new relation (solnic)
505
555
 
556
+
506
557
  [Compare v0.9.0...v0.9.1](https://github.com/rom-rb/rom-sql/compare/v0.9.0...v0.9.1)
507
558
 
508
- ## v0.9.0 2016-11-08
559
+ ## 0.9.0 2016-11-08
560
+
509
561
 
510
562
  ### Added
511
563
 
@@ -515,6 +567,10 @@ Please refer to [the upgrading guide](https://github.com/rom-rb/rom-sql/wiki/Upg
515
567
  - Automatically infer PG arrays and JSON(B) types (jodosha + flash-gordon)
516
568
  - Support for `Relation#having` (cflipse)
517
569
 
570
+ ### Fixed
571
+
572
+ - Floats are inferred by schemas (cflipse)
573
+
518
574
  ### Changed
519
575
 
520
576
  - Inferred types in schemas **are no longer strict** (flash-gordon)
@@ -522,13 +578,10 @@ Please refer to [the upgrading guide](https://github.com/rom-rb/rom-sql/wiki/Upg
522
578
  - Make `OneToOne` inherit from `OneToMany` (beauby)
523
579
  - Default dataset will use column names from schema if it's available (solnic)
524
580
 
525
- ### Fixed
526
-
527
- - Floats are inferred by schemas (cflipse)
528
-
529
581
  [Compare v0.8.0...v0.9.0](https://github.com/rom-rb/rom-sql/compare/v0.8.0...v0.9.0)
530
582
 
531
- ## v0.8.0 2016-07-27
583
+ ## 0.8.0 2016-07-27
584
+
532
585
 
533
586
  ### Added
534
587
 
@@ -544,19 +597,20 @@ Please refer to [the upgrading guide](https://github.com/rom-rb/rom-sql/wiki/Upg
544
597
  - Support for arbitrary dataset and FK names in schemas (flash-gordon)
545
598
  - Support for native upserts in PostgreSQL >= 9.5 via `Commands::Postgres::Upsert` (gotar + flash-gordon)
546
599
 
600
+ ### Fixed
601
+
602
+ - `Create` command properly materialize result when `:one` is set (AMHOL)
603
+
547
604
  ### Changed
548
605
 
549
606
  - `Create` and `Update` commands have `:schema` plugin enabled by default which sets input handler based on schema definition automatically (solnic)
550
607
  - `associates` command plugin uses schema associations now (solnic)
551
608
  - Dropped MRI 2.0.x support
552
609
 
553
- ### Fixed
554
-
555
- - `Create` command properly materialize result when `:one` is set (AMHOL)
556
-
557
610
  [Compare v0.7.0...v0.8.0](https://github.com/rom-rb/rom-sql/compare/v0.7.0...v0.8.0)
558
611
 
559
- ## v0.7.0 2016-01-06
612
+ ## 0.7.0 2016-01-06
613
+
560
614
 
561
615
  ### Added
562
616
 
@@ -583,37 +637,42 @@ Please refer to [the upgrading guide](https://github.com/rom-rb/rom-sql/wiki/Upg
583
637
 
584
638
  [Compare v0.6.1...v0.7.0](https://github.com/rom-rb/rom-sql/compare/v0.6.1...v0.7.0)
585
639
 
586
- ## v0.6.1 2015-09-23
640
+ ## 0.6.1 2015-09-23
641
+
587
642
 
588
643
  ### Added
589
644
 
590
645
  - `Gateway` accepts `:extensions` as an option (c0)
591
646
 
647
+
592
648
  [Compare v0.6.0...v0.6.1](https://github.com/rom-rb/rom-sql/compare/v0.6.0...v0.6.1)
593
649
 
594
- ## v0.6.0 2015-08-19
650
+ ## 0.6.0 2015-08-19
595
651
 
596
652
  Internal updates to fix deprecation warnings from ROM 0.9.0.
597
653
 
654
+
598
655
  [Compare v0.5.3...v0.6.0](https://github.com/rom-rb/rom-sql/compare/v0.5.3...v0.6.0)
599
656
 
600
- ## v0.5.3 2015-07-23
657
+ ## 0.5.3 2015-07-23
658
+
601
659
 
602
660
  ### Added
603
661
 
604
662
  - `Relation#multi_insert` (draxxxeus)
605
663
 
606
- ### Changed
607
-
608
- - Command that receives many tuples will use `multi_insert` now (draxxxeus)
609
-
610
664
  ### Fixed
611
665
 
612
666
  - Relation name and join key fixes for `many_to_one` macro (jamesmoriarty)
613
667
 
668
+ ### Changed
669
+
670
+ - Command that receives many tuples will use `multi_insert` now (draxxxeus)
671
+
614
672
  [Compare v0.5.2...v0.5.3](https://github.com/rom-rb/rom-sql/compare/v0.5.2...v0.5.3)
615
673
 
616
- ## v0.5.2 2015-06-22
674
+ ## 0.5.2 2015-06-22
675
+
617
676
 
618
677
  ### Added
619
678
 
@@ -626,19 +685,21 @@ Internal updates to fix deprecation warnings from ROM 0.9.0.
626
685
 
627
686
  [Compare v0.5.1...v0.5.2](https://github.com/rom-rb/rom-sql/compare/v0.5.1...v0.5.2)
628
687
 
629
- ## v0.5.1 2015-05-25
688
+ ## 0.5.1 2015-05-25
630
689
 
631
- ### Changed
632
-
633
- - Relations won't be finalized when table(s) is/are missing (solnic)
634
690
 
635
691
  ### Fixed
636
692
 
637
693
  - Wrap errors when calling commands with `[]`-syntax (kwando)
638
694
 
695
+ ### Changed
696
+
697
+ - Relations won't be finalized when table(s) is/are missing (solnic)
698
+
639
699
  [Compare v0.5.0...v0.5.1](https://github.com/rom-rb/rom-sql/compare/v0.5.0...v0.5.1)
640
700
 
641
- ## v0.5.0 2015-05-22
701
+ ## 0.5.0 2015-05-22
702
+
642
703
 
643
704
  ### Added
644
705
 
@@ -657,17 +718,20 @@ Internal updates to fix deprecation warnings from ROM 0.9.0.
657
718
  - `Commands::Update#set` has been deprecated (solnic)
658
719
  - `Commands::Update#to` has been deprecated (solnic)
659
720
 
660
- [Compare v0.4.3...v0.5.0](https://github.com/rom-rb/rom-sql/compare/v0.4.2...v0.5.0)
721
+ [Compare v0.4.3...v0.5.0](https://github.com/rom-rb/rom-sql/compare/v0.4.3...v0.5.0)
722
+
723
+ ## 0.4.3 2015-05-17
661
724
 
662
- ## v0.4.3 2015-05-17
663
725
 
664
726
  ### Fixed
665
727
 
666
728
  - `transaction` doesn't swallow errors now other than CommandError (solnic)
667
729
 
730
+
668
731
  [Compare v0.4.2...v0.4.3](https://github.com/rom-rb/rom-sql/compare/v0.4.2...v0.4.3)
669
732
 
670
- ## v0.4.2 2015-05-17
733
+ ## 0.4.2 2015-05-17
734
+
671
735
 
672
736
  ### Added
673
737
 
@@ -687,16 +751,19 @@ Internal updates to fix deprecation warnings from ROM 0.9.0.
687
751
 
688
752
  [Compare v0.4.1...v0.4.2](https://github.com/rom-rb/rom-sql/compare/v0.4.1...v0.4.2)
689
753
 
690
- ## v0.4.1 2015-04-04
754
+ ## 0.4.1 2015-04-04
755
+
691
756
 
692
757
  ### Added
693
758
 
694
759
  - Database error handling for update and delete commands (kwando + solnic)
695
760
  - Migration interface as a repository plugin (gotar + solnic)
696
761
 
762
+
697
763
  [Compare v0.4.0...v0.4.1](https://github.com/rom-rb/rom-sql/compare/v0.4.0...v0.4.1)
698
764
 
699
- ## v0.4.0 2015-03-22
765
+ ## 0.4.0 2015-03-22
766
+
700
767
 
701
768
  ### Added
702
769
 
@@ -707,34 +774,39 @@ Internal updates to fix deprecation warnings from ROM 0.9.0.
707
774
  - Pagination plugin (solnic)
708
775
  - Allow reuse of established Sequel connections (splattael)
709
776
 
710
- ### Changed
711
-
712
- - Use ROM's own inflector which uses either ActiveSupport or Inflecto backends (mjtko)
713
-
714
777
  ### Fixed
715
778
 
716
779
  - Indentation in Rails logger (morgoth)
717
780
 
781
+ ### Changed
782
+
783
+ - Use ROM's own inflector which uses either ActiveSupport or Inflecto backends (mjtko)
784
+
718
785
  [Compare v0.3.2...v0.4.0](https://github.com/rom-rb/rom-sql/compare/v0.3.2...v0.4.0)
719
786
 
720
- ## v0.3.2 2015-01-01
787
+ ## 0.3.2 2015-01-01
788
+
721
789
 
722
790
  ### Fixed
723
791
 
724
792
  - Checking tuple count in commands (solnic)
725
793
 
794
+
726
795
  [Compare v0.3.1...v0.3.2](https://github.com/rom-rb/rom-sql/compare/v0.3.1...v0.3.2)
727
796
 
728
- ## v0.3.1 2014-12-31
797
+ ## 0.3.1 2014-12-31
798
+
729
799
 
730
800
  ### Added
731
801
 
732
802
  - `Adapter#disconnect` (solnic)
733
803
  - Support for extra connection options (solnic)
734
804
 
805
+
735
806
  [Compare v0.3.0...v0.3.1](https://github.com/rom-rb/rom-sql/compare/v0.3.0...v0.3.1)
736
807
 
737
- ## v0.3.0 2014-12-19
808
+ ## 0.3.0 2014-12-19
809
+
738
810
 
739
811
  ### Changed
740
812
 
@@ -743,7 +815,8 @@ Internal updates to fix deprecation warnings from ROM 0.9.0.
743
815
 
744
816
  [Compare v0.2.0...v0.3.0](https://github.com/rom-rb/rom-sql/compare/v0.2.0...v0.3.0)
745
817
 
746
- ## v0.2.0 2014-12-06
818
+ ## 0.2.0 2014-12-06
819
+
747
820
 
748
821
  ### Added
749
822
 
@@ -751,9 +824,11 @@ Internal updates to fix deprecation warnings from ROM 0.9.0.
751
824
  - Support for ActiveSupport::Notifications with a log subscriber (solnic)
752
825
  - New `ROM::SQL::Adapter#dataset?(name)` checking if a given table exists (solnic)
753
826
 
827
+
754
828
  [Compare v0.1.1...v0.2.0](https://github.com/rom-rb/rom-sql/compare/v0.1.1...v0.2.0)
755
829
 
756
- ## v0.1.1 2014-11-24
830
+ ## 0.1.1 2014-11-24
831
+
757
832
 
758
833
  ### Fixed
759
834
 
@@ -765,6 +840,6 @@ Internal updates to fix deprecation warnings from ROM 0.9.0.
765
840
 
766
841
  [Compare v0.1.0...v0.1.1](https://github.com/rom-rb/rom-sql/compare/v0.1.0...v0.1.1)
767
842
 
768
- ## v0.1.0 2014-11-24
843
+ ## 0.1.0 2014-11-24
769
844
 
770
845
  First release powered by Sequel