-
Notifications
You must be signed in to change notification settings - Fork 30
/
ChangeLog
538 lines (289 loc) · 11.9 KB
/
ChangeLog
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
== 2023-07-11 version 2.0.0
* v3 core utilization API removal
* add custom cert and cert verification options: cert_path and skip_cert_verify
* Support Ruby v3.2
== 2021-03-03 version 1.0.8
* Ignore elapsed_time #129
* Handle client erros #127
== 2019-06-04 version 1.0.7
* Add TreasureData::Client#change_database #123
* Ruby 1.8.7 compatibility was removed #121
== 2018-03-29 version 1.0.6
* Support Treasure Data's new result export #117 #120
== 2018-01-18 version 1.0.5
* Add TreasureData::Job#auto_update_status=false to prevent API call #115
* Support include_v flag #114
== 2017-09-21 version 1.0.4
* Fix the bug in #112 #113
== 2017-09-15 version 1.0.3
* Handle the case HTTPClient doesn't yield block or body is nil #112
== 2017-07-20 version 1.0.2
* Allow name and sql_alias are equal #111
* Organize HTTP exceptions #110
== 2017-05-22 version 1.0.1
* fix bug on result download if API returns 500 #109
== 2017-01-20 version 1.0.0
* Fix the bug to show the number of records as duration #107
* Support Ruby 2.4.0 or later #108
== 2016-11-29 version 0.8.85
* Support JRuby 1.7 again #98
* Add num records with job api #106
* Add independent result export #105
== 2016-10-17 version 0.8.84
* fix schema validation #93
* Job#wait rescues network error #94
* Change default endpoint #39
* Drop Ruby 2.0.0 support
== 2016-09-23 version 0.8.83
* Support TD table's SQL Column Alias (#87)
* support updating bulk_load session settings (#80)
* Drop Ruby 1.9 support (#90)
== 2016-07-11 version 0.8.82
* Add conflicts_with to AlreadyExistError (#84)
== 2016-06-03 version 0.8.81
* Rewrite job_result_download logic #85
== 2016-05-30 version 0.8.80
* Support resume on more APIs (#81)
== 2016-04-25 version 0.8.79
* Support dummy schedule #78
* Resuming job result downloading #79
== 2016-01-25 version 0.8.78
* Implement Job#wait
* add JRuby to supported list
* Allow MessagePack 0.7
== 2015-12-14 version 0.8.77
* fix inflate post body
* fix response byte size check for multibyte string
* fix TD_CLIENT_DEBUG mode
== 2015-10-29 version 0.8.76
* fix BulkLoad#bulk_load_run with scheduled_time.
* change url encode pattern. ' '(space) -> %20, '+' -> %2b, '.' -> %2E
* fix some typos.
== 2015-08-10 version 0.8.75
* add APIError#api_backtrace.
and exclude API Backtrace from APIError#message
== 2015-08-03 version 0.8.74
* fix Scheduled#run that call client#run_schedule
== 2015-07-29 version 0.8.73
* remove item table support.
* raise TreasureData::IncompleteError if mismatched content-length and response body when GET request.
It occures by combination OpenSSL raise EOFError and use MessagePack::Unpacker.
== 2015-07-27 version 0.8.72
* add new API Job#result_raw
* update httpclient dependency version, because can't work under httpclient 2.5.1
== 2015-07-10 version 0.8.71
* Remove to/from parameter from table/tail API
== 2015-05-19 version 0.8.70
* [experimenta] remove client side validation from bulk_load API.
* Add 'duration' property to Job model.
== 2015-04-17 version 0.8.69
* [experimental] bulk_load API support. The API is subject to change.
* Use HTTPClient's wiredump debugging when TD_CLIENT_DEBUG is set.
* YARD annotations. Thanks uu59!
* Improved test coverage. Thanks to yotii23!
== 2015-02-16 version 0.8.68
* Fix non ASCII & UTF-8 filename issue in bulk_import:upload. API side
requires part_name is to be in UTF-8 encoded so change CES at client side
before sending.
* Allow httpclient version ~= 2.5
* Fix inappropriate error message for POST request. It doesn't retry but error
message stated retry period.
* (internal) Split API definition into several files per API group.
* Fix resulting value of Command#history for ScheduledJobs.
* Fix ScheduledJob crash when scheduled_at == ''
== 2014-12-03 version 0.8.67
* Reset HTTPClient afterward to avoid potential fd exhaustion by keep-alive
connections
== 2014-10-16 version 0.8.66
* Disabled SSLv3 for the server connection as further follow up to the
POODLE vulnerability for SSL v3.
* Make maximum cumulative retry delay configurable through the API's constructor
== 2014-10-14 version 0.8.65
* Upgraded httpclient used by PUT operations. New v2.4.0 enables SSL/TLS
version negotiation
== 2014-09-25 version 0.8.64
* Implemented retrying on all get REST APIs requests excepting
job_result_format with IO, job_result_each and job_result_each_with_compr_size
that lead to certain types of exception thrown: Errno::ECONNREFUSED,
Errno::ECONNRESET, Timeout::Error, EOFError, OpenSSL::SSL::SSLError,
SocketError and HTTP status code greater than 500 (Server errors).
* Implemented retrying on post REST APIs requests if the client options contain
the 'retry_post_requests' option under the same circumstances as the get
requests
== 2014-07-31 version 0.8.63
* Added Job's model 'result_each_with_compr_size' method to expose the
progressive result file compressed size read to the callee
* Added 'ForbiddenError' exception class for HTTP error codes 403
* Added 'permission' field to Database model and made it accessible from the
Database and Table models
* Converted the 'update_schedule' method to using POST instead of GET
* Fixed tests
== 2014-06-18 version 0.8.62
* Fix JSON parsing issue when Pig queries don't alias column values outputted
from Pig functions (e.g. COUNT, SUM)
* Fix database, column, and table validation methods to use max length 255
instead of 256
* Use constants instead of hardcoded status names when handling jobs
== 2014-05-22 version 0.8.61
* Fix bug in raising error when response body is nil
== 2014-04-28 version 0.8.60
* Fix bug in fetching the query/job result schema
== 2014-04-23 version 0.8.59
* Improved client side validation methods for database, table, column, and
result set
* show GET response body in debug mode (enabled with TD_CLIENT_DEBUG environment
variable)
* optimized the job model self updating methods to avoid an update if the job
is in a 'finished' state
* propagate the job show and job list CPU time field
== 2014-03-18 version 0.8.58
* Improved visualization of item tables
* Replace api.treasuredata.com with api-import.treasuredata.com during imports
* Raise AuthError exceptions if the API key failed to authenticate
== 2014-02-21 version 0.8.57
* Remove Aggregation Schema
* show_bulk_import uses new efficient endpoint
* Update SSL certificate
== 2013-11-14 version 0.8.56
* Remove organization, role and ip_limit subcommands
* Change item_table parameter
* Now accept :header option to set custom header
== 2013-09-13 version 0.8.55
* Use httpclient gem for import and bulk_import upload
* connect_timeout / read_timeout / send_timeout options are available.
* these options affect only import and bulk_import upload.
== 2013-08-23 version 0.8.54
* Support table's expire_days API
== 2013-07-22 version 0.8.53
* Add normalized_msgpack method to serialize Bignum type
== 2013-06-24 version 0.8.52
* Add last_log_timestamp to Table model
== 2013-06-17 version 0.8.51
* Relax dependent gem versions
== 2013-05-27 version 0.8.50
* add_user now requires email and passowrd
== 2013-05-06 version 0.8.49
* Add User-Agent header
* VERSION constant moved to under TreasureData::Client
== 2013-04-22 version 0.8.48
* create_schedule now takes :type option
* Fix wrong error messages
* Ues 'api-import' instead of 'api' on data import
== 2013-04-09 version 0.8.47
* Fix HTTP proxy handlig issue which is overwritten with ENV['HTTP_PROXY']
== 2013-03-29 version 0.8.46
* Add IP limitation API
== 2013-01-25 version 0.8.45
* Re-implement Client#job_status using /v3/job/status/job_id
instead of /v3/job/show/job_id to poll the progress of a job
== 2013-01-23 version 0.8.44
* Re-add json gem dependency
== 2013-01-23 version 0.8.43
* Add organization parameter support to create_database, query,
partial_delete, create_bulk_import, create_result
== 2013-01-16 version 0.8.42
* Added retry_limit to job and schedule APIs
* Increased table/database name limit from 32 to 256
== 2013-01-10 version 0.8.41
* Fix API#job_result_format to handle Content-Encoding properly
== 2012-12-27 version 0.8.40
* Add Table#last_import to use counter_updated_at column
== 2012-12-05 version 0.8.39
* Add conditions argument to Client#list_jobs for slow query listing
== 2012-11-21 version 0.8.38
* Add Account#created_at
== 2012-11-16 version 0.8.37
* Remove json gem dependency again (previous version has bug)
== 2012-11-16 version 0.8.36
* Remove json gem dependency
== 2012-10-23 version 0.8.35
* Added Account#account_id
== 2012-10-16 version 0.8.34
* Set Net::HTTP#open_timeout = 60
== 2012-10-10 version 0.8.33
* Supports import_with_id API
* Supports deflate and gzip Content-Encodings and sends Accept-Encoding header
== 2012-10-09 version 0.8.32
* Added Client#swap_table
== 2012-09-21 version 0.8.31
* Added Job#db_name
== 2012-09-21 version 0.8.30
* Fixed Account#storage_size_string and Table#estimated_storage_size_string
== 2012-09-17 version 0.8.29
* Added Client#core_utilization method
* Added Account#guaranteed_cores and #maximum_cores methods
== 2012-09-17 version 0.8.27
* Added Table#estimated_storage_size_string
== 2012-09-13 version 0.8.26
* Added Account model and Table#esetimated_storage_size method
* Name length limit is changed from 32 characters to 256 characters
== 2012-09-04 version 0.8.25
* Added Client#change_my_password(old_password, password)
== 2012-08-30 version 0.8.24
* TreasureData::Client.new supports :http_proxy option
== 2012-08-30 version 0.8.23
* Supports HTTP_PROXY environment variable
== 2012-08-20 version 0.8.22
* Top-level resource models support org_name parameter
== 2012-08-06 version 0.8.21
* Added multiuser features: organizations, users, roles
* Added access control
== 2012-07-23 version 0.8.20
* Implemented Zlib::GzipReader#readpartial for compatibility with ruby 1.8
== 2012-07-03 version 0.8.19
* Added Client#partial_delete
* Client#query and Client#create_schedule support 'priority' option
== 2012-06-26 version 0.8.18
* Client#result_each(&block) uses streaming raed not to read all data into memory
* Client#result_format(format, io=nil) supports second argument not to read
all data into memory
== 2012-06-11 version 0.8.17
* Client#jobs supports status option
== 2012-05-10 version 0.8.16
* Added bulk import feature
== 2012-04-26 version 0.8.15
* Result model replaces ResultSet model
* Removed methods related to ResultSet from Job and Schedule models
* Added methods related to Result to Job and Schedule models
== 2012-04-03 version 0.8.14
* Added Database#count, #created_at and #updated_at
* Added Table#created_at and #updated_at
== 2012-04-03 version 0.8.13
* Added Job#hive_result_schema
== 2012-03-12 version 0.8.12
* Client#run_schedule returns an array of ScheduledJob
== 2012-03-01 version 0.8.11
* Use data/ca-bundle.crt for SSL connections
== 2012-02-22 version 0.8.10
* Added Client#run_schedule and update_schedule
* Added timezone, delay and next_time fields to the Schedule model
* create_aggregation_schema accepts params argument
== 2012-02-12 version 0.8.9
* Added API#normalize_table_name and API#normalize_database_name
== 2012-02-02 version 0.8.8
* Fixed SSL support
== 2012-02-02 version 0.8.7
* Added SSL support
== 2012-01-19 version 0.8.6
* Check JSON format of HTTP responses
== 2011-12-04 version 0.8.5
* added new feature: ResultSet
* added new feature: AggregationSchema
* added Job#rset and Schedule#rset to get associated ResultSet
== 2011-11-11 version 0.8.4
* Added Model#client
* Added Database#query
* Added Table#import
* Increased http.read_timeout on Client#import
== 2011-10-03 version 0.8.3
* Added Client#tail method
== 2011-09-13 version 0.8.2
* Added APIs for scheduled queries
* Set 'Content-Length: 0' header to POST request if no parameters are
provided
== 2011-09-09 version 0.8.1
* Added Client#kill method
* Client.authenticate throws AuthError instead of APIError when
status code is 400
== 2011-08-21 version 0.8.0
* First release