odbcsv 1.1.2

Query an ODBC data source and print the result as csv.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
# Changelog

## [1.1.2]https://github.com/pacman82/odbcsv/compare/v1.1.1...v1.1.2 - 2026-01-05

### ⚙️ Miscellaneous Tasks

- Updated dependencies

## [1.1.1]https://github.com/pacman82/odbcsv/compare/v1.1.0...v1.1.1 - 2026-01-05

### Other

- replace cargo_bin! with cargo_bin_cmd!
- Use cargo_bin! macro instead of deprecated function
- *(deps)* bump log from 0.4.28 to 0.4.29
- *(deps)* bump odbc-api from 20.0.0 to 20.1.0
- *(deps)* bump odbc-api from 19.1.0 to 20.0.0
- *(deps)* bump actions/checkout from 5 to 6
- *(deps)* bump clap from 4.5.52 to 4.5.53
- *(deps)* bump clap from 4.5.51 to 4.5.52
- *(deps)* bump clap from 4.5.50 to 4.5.51
- *(deps)* bump assert_cmd from 2.1.0 to 2.1.1
- *(deps)* bump assert_cmd from 2.0.17 to 2.1.0
- *(deps)* bump clap from 4.5.49 to 4.5.50
- *(deps)* bump csv from 1.3.1 to 1.4.0
- *(deps)* bump clap from 4.5.48 to 4.5.49
- *(deps)* bump odbc-api from 19.0.2 to 19.1.0
- *(deps)* bump odbc-api from 19.0.1 to 19.0.2
- *(deps)* bump tempfile from 3.22.0 to 3.23.0

## [1.1.0]https://github.com/pacman82/odbcsv/compare/v1.0.13...v1.1.0 - 2025-09-20

### Added

- Allow for custom delimiters in output

### Other

- Update dependencies
- *(deps)* bump tempfile from 3.21.0 to 3.22.0
- *(deps)* bump odbc-api from 17.0.0 to 19.0.0
- *(deps)* bump log from 0.4.27 to 0.4.28
- *(deps)* bump clap from 4.5.46 to 4.5.47
- *(deps)* bump clap from 4.5.45 to 4.5.46
- *(deps)* bump tempfile from 3.20.0 to 3.21.0
- *(deps)* bump odbc-api from 15.0.0 to 17.0.0
- *(deps)* bump odbc-api from 14.3.0 to 15.0.0
- *(deps)* bump clap from 4.5.44 to 4.5.45
- *(deps)* bump actions/checkout from 4 to 5
- *(deps)* bump anyhow from 1.0.98 to 1.0.99
- *(deps)* bump clap from 4.5.43 to 4.5.44
- *(deps)* bump odbc-api from 14.2.1 to 14.3.0
- *(deps)* bump clap from 4.5.42 to 4.5.43
- *(deps)* bump odbc-api from 14.2.0 to 14.2.1
- *(deps)* bump clap from 4.5.41 to 4.5.42
- *(deps)* bump odbc-api from 14.1.0 to 14.2.0
- *(deps)* bump odbc-api from 14.0.2 to 14.1.0
- *(deps)* bump clap from 4.5.40 to 4.5.41
- *(deps)* bump odbc-api from 14.0.0 to 14.0.2
- *(deps)* bump odbc-api from 13.1.0 to 14.0.0
- *(deps)* bump odbc-api from 13.0.1 to 13.1.0
- *(deps)* bump clap from 4.5.39 to 4.5.40
- *(deps)* bump clap from 4.5.38 to 4.5.39
- *(deps)* bump odbc-api from 13.0.0 to 13.0.1
- *(deps)* bump odbc-api from 12.2.0 to 13.0.0
- *(deps)* bump tempfile from 3.19.1 to 3.20.0
- *(deps)* bump clap from 4.5.37 to 4.5.38
- *(deps)* bump odbc-api from 12.0.2 to 12.2.0
- *(deps)* bump odbc-api from 12.0.1 to 12.0.2
- *(deps)* bump clap from 4.5.36 to 4.5.37
- *(deps)* bump assert_cmd from 2.0.16 to 2.0.17
- *(deps)* bump anyhow from 1.0.97 to 1.0.98
- *(deps)* bump clap from 4.5.35 to 4.5.36
- *(deps)* bump odbc-api from 12.0.0 to 12.0.1
- *(deps)* bump odbc-api from 11.1.1 to 12.0.0
- *(deps)* bump clap from 4.5.34 to 4.5.35
- *(deps)* bump clap from 4.5.32 to 4.5.34
- *(deps)* bump log from 0.4.26 to 0.4.27
- *(deps)* bump tempfile from 3.19.0 to 3.19.1
- *(deps)* bump tempfile from 3.18.0 to 3.19.0
- *(deps)* bump clap from 4.5.31 to 4.5.32
- *(deps)* bump tempfile from 3.17.1 to 3.18.0
- *(deps)* bump clap from 4.5.30 to 4.5.31
- *(deps)* bump anyhow from 1.0.96 to 1.0.97
- Merge branch 'redo-ci' into main
- formatting
- Update to edition 2024
- Change driver name in connection string for maria DB
- Use runner directly without indirection over container

## [1.0.13]https://github.com/pacman82/odbcsv/compare/v1.0.12...v1.0.13 - 2025-02-17

### Other

- Update to odbc-api 11
- *(deps)* bump tempfile from 3.16.0 to 3.17.0
- *(deps)* bump clap from 4.5.28 to 4.5.29
- *(deps)* bump clap from 4.5.27 to 4.5.28
- *(deps)* bump tempfile from 3.15.0 to 3.16.0
- *(deps)* bump log from 0.4.22 to 0.4.25
- *(deps)* bump clap from 4.5.26 to 4.5.27
- *(deps)* bump clap from 4.5.24 to 4.5.26
- *(deps)* bump clap from 4.5.23 to 4.5.24
- *(deps)* bump odbc-api from 10.1.0 to 10.1.1
- *(deps)* bump tempfile from 3.14.0 to 3.15.0
- Remove superfluos workaround for arm macs
- *(deps)* bump anyhow from 1.0.94 to 1.0.95
- *(deps)* bump clap from 4.5.22 to 4.5.23
- *(deps)* bump anyhow from 1.0.93 to 1.0.94
- *(deps)* bump clap from 4.5.21 to 4.5.22
- *(deps)* bump odbc-api from 9.0.0 to 10.0.0

## [1.0.12]https://github.com/pacman82/odbcsv/compare/v1.0.11...v1.0.12 - 2024-11-19

### Fixed

- Another attempt at fixing binary releases

### Other

- revert fix for releasing binaries as it did not fix binary releases
- revert fix which did not fix the problem of releasing binaries

## [1.0.11]https://github.com/pacman82/odbcsv/compare/v1.0.10...v1.0.11 - 2024-11-19

### Fixed

- Binary releases should now be available again on GitHub

## [1.0.10]https://github.com/pacman82/odbcsv/compare/v1.0.9...v1.0.10 - 2024-11-19

### Other

- Rename changelog to uppercase
- Add release-plz workflow
- *(deps)* bump clap from 4.5.20 to 4.5.21
- *(deps)* bump csv from 1.3.0 to 1.3.1
- *(deps)* bump tempfile from 3.13.0 to 3.14.0
- *(deps)* bump anyhow from 1.0.92 to 1.0.93
- *(deps)* bump anyhow from 1.0.91 to 1.0.92
- *(deps)* bump odbc-api from 8.1.4 to 9.0.0
- *(deps)* bump anyhow from 1.0.90 to 1.0.91

## 1.0.6-9

* Test release from new repostitory
* Update repostitory meta information

## 1.0.5

* Fixes an issue causing `list-drivers` subcommand to only list one attribute. Now all attributes are listed.

## 1.0.4

* Updated dependencies

## 1.0.3

* Improved diagnostics in case of truncation. Error now describes, in which column the truncation occurred.

## 1.0.2

* Improved diagnostics in case of truncation. Error now hints and size actually requried for `--max-str-len`

## 1.0.1

* Fixed an issue which could cause errouneous report of truncation in presence of other warnings. This has been fixed in the previous release for variadic binary column buffers but a similar failure had been missed for variadic text columns.

## 1.0.0

* Updated dependencies
* Fixed an issue which could cause errouneous report of truncation in presence of other warnings.

## 0.4.19

* Updated dependencies

## 0.4.18

* Updated dependencies
* Checking for truncations, is now guaranteed to work, even if the query generates 32767 diagnostic records.

## 0.4.17

* Updated dependencies

## 0.4.16

* Updated dependencies

## 0.4.15

* Updated dependencies

## 0.4.14

* Updated dependencies

## 0.4.13

* Updated dependencies

## 0.4.12

* Faliable buffer allocation is only performed if no upper bound for string length is specified.

## 0.4.11

* Updated dependencies

## 0.4.10

* Updated dependencies

## 0.4.9

* Updated dependencies

## 0.4.8

* Updated dependencies

## 0.4.7

* Updated dependencies

## 0.4.6

* Updated dependencies

## 0.4.5

* Performance overhead for insertion per batch has been significantly reduced, by allowing for insertions without rebinding buffers.

## 0.4.4

* Updated dependencies

## 0.4.3

* Updated dependencies

## 0.4.2

* Updated dependencies

## 0.4.1

* Updated dependencies

## 0.4.0

* Default behaviour is now to emit an error in case of truncation.
* Removed subcommand `fetch` which has been replaced by query since version `0.3.50`.

## 0.3.68

* Update dependencies

## 0.3.67

* Do not panic if allocation of column buffers fails. Gracefully abort instead, freeing allocated resources.
* Update dependencies

## 0.3.66

* Updated dependencies

## 0.3.65

* Updated dependencies

## 0.3.64

* Updated dependencies

## 0.3.63

* Updated dependencies

## 0.3.62

* Updated dependencies

## 0.3.61

* Updated dependencies

## 0.3.60

* Updated dependencies

## 0.3.59

* Updated dependencies

## 0.3.58

* Updated dependencies
* Fix: Out of memory then listing columns for a MariaDB source on Windows

## 0.3.57

* Updated dependencies

## 0.3.56

* Updated dependencies

## 0.3.55

* Updated dependencies

## 0.3.54

* Passwords containing `+` are now also escaped, if passed via the `--password` parameter.

## 0.3.53

* Updated dependencies

## 0.3.52

* Updated dependencies

## 0.3.51

* Fixed an issue which caused the wrong text to be rendered in the help message.

## 0.3.50

* Introduced new subcommand `fetch`. It replaces `query` and allows for reading the SQL query text from a file.

## 0.3.49

* Updated dependencies

## 0.3.48

* Updated dependencies

## 0.3.47

* Add new subcommand `list-columns`.

## 0.3.46

* Add new subcommand `list-tables`.

## 0.3.45

* Updated dependencies

## 0.3.44

* Updated dependencies

## 0.3.43

* Updated dependencies

## 0.3.42

* Updated dependencies

## 0.3.41

* Updated dependencies

## 0.3.40

* Updated dependencies

## 0.3.39

* Updated dependencies

## 0.3.38

* Updated dependencies

## 0.3.37

* Updated dependencies

## 0.3.36

* Updated depnedencies

## 0.3.35

* Updated dependencies

## 0.3.34

* Updated dependencies

## 0.3.33

* Updated dependencies

## 0.3.32

* Updated dependencies

## 0.3.31

* Updated dependencies

## 0.3.30

* Update dependencies

## 0.3.29

* Update dependencies

## 0.3.28

* Update dependencies

## 0.3.27

* Update dependencies

## 0.3.26

* Windows version only: Add `--prompt` flag to allow for completion of connection string via GUI.

## 0.3.25

* Update dependencies

## 0.3.24

* Command line parameters `user` and `password` will no longer be ignored then passed together with a connection string. Instead their values will be appended as `UID` and `PWD` attributes at the end.

## 0.3.23

* Update dependencies

## 0.3.22

* Update dependencies

## 0.3.21

* Update dependencies

## 0.3.20

* Update dependencies

## 0.3.19

* Update dependencies

## 0.3.18

* Update dependencies

## 0.3.17

* Update dependencies
* Fix: A panic could happen during insert due to an out of bounds access to an input buffer.

## 0.3.16

* Update dependencies

## 0.3.15

* New optional parameter `max-str-len` can be used to limit memory consumption.

## 0.3.14

* Insert now logs batch number and rows

## 0.3.13

* Update dependencies

## 0.3.12

* Fix: Interior nuls in the values of a VARCHAR columns cause no longer a panic.

## 0.3.11

* Updated dependencies

## 0.3.10

* Updated dependencies

## 0.3.9

* Updated dependencies

## 0.3.8

* Updated dependencies

## 0.3.7

* Fix: Allocated buffer sizes, now account for multi byte characters.

## 0.3.6

* Fix: There has been an integer overflow causing a panic if an ODBC API call generated more than 2 ^ 15 warnings at once.

## 0.3.5

* Add command `list-data-sources`

## 0.3.4

* Updated dependencies

## 0.3.3

* Add command `list-drivers`, to list drivers and attributes.

## 0.3.2

* Updated dependencies

## 0.3.1

* Fix: Commandline argument shorthand for `--input` is now `-i` instead of `o`.

## 0.3.0

* Command line interface now takes a subcommand.

## 0.2.5

* Runtime is now statically linked for windows executables.

## 0.2.4

* Updated dependencies

## 0.2.3

* Updated dependencies

## 0.2.2

* Fix release of 64 bit Windows binary

## 0.2.1

* Binary GitHub Releases

## 0.2.0

* Default bulk size increased to 5000 rows.
* Support for positional parameters in SQL query
* Support for opening connections with Data Source Name (`dsn`) instead of connection string.

## 0.1.7

* Updated Dependencies

## 0.1.6

* Column aliases are for headlines are no more reliably retrieved, even for ODBC data sources with drivers not reporting the column name length.

## 0.1.5

* Use column attributes instead of describe column to deduce names.

## 0.1.4

* Updated `odbc-api` version. This fixes a bug there data might be truncated.

## 0.1.3

* Updated metadata
* Updated dependencies

## 0.1.2

Use column display size to determine column buffer size.

## 0.1.1

Varchar typed columns have their size more accurately buffered.

## 0.1.0

Initial release