Граф коммитов

617 Коммитов

Автор SHA1 Сообщение Дата
Steve Faulkner 703223f17d 3.0.0-18 2019-05-31 14:08:31 -04:00
Steve Faulkner 04c82b60b0 3.0.0-17 2019-05-31 14:01:38 -04:00
Steve Faulkner 48d2496761
Remove node builtin usage in favor of universal packages/APIs (#328)
* Remove node builtin usage in favor of universal packages/APIs

* make node 8 happy

* Run consumer tests

* Extract build

* Script refactor

* Fix typo

* Add more typescript versions

* Update gitignore

* Add test for getUserAgent
2019-05-31 14:01:13 -04:00
Steve Faulkner 6f80385f17
Remove partitionKey from RequestOptions (#322) 2019-05-29 22:20:17 -04:00
Steve Faulkner bd6b574247
Add dotenv (#324) 2019-05-29 21:41:32 -04:00
Steve Faulkner 3a4fdab388
Azure Pipelines YAML (#298) 2019-05-23 15:53:04 -04:00
Steve Faulkner a88b2f579a 3.0.0-16 2019-05-21 14:53:26 -04:00
Steve Faulkner 9bac54c4ac
Partition Key Changes (#308)
Close #261
2019-05-21 14:50:54 -04:00
Steve Faulkner 9855c8dc4a
Remove forEach from QueryIterator (#316) 2019-05-16 17:26:25 -04:00
Steve Faulkner 049b5bb9db Move package into devDeps 2019-05-09 12:16:53 -07:00
Steve Faulkner c92266ef3c 3.0.0-15 2019-05-03 18:30:43 -04:00
Steve Faulkner 97666a1b92
Add DISTINCT query support (#307)
* WIP

* Add another test case. Cleanup more test code

* Remove comments

* Switch arg order

* Add TODO

* Add DISTINCT query support

* Change comment

* Add more tests

* Remove only
2019-05-03 18:30:17 -04:00
Steve Faulkner 8ad3d5c0bb
Add support for LIMIT and OFFSET in queries (#306) 2019-05-03 18:00:10 -04:00
Steve Faulkner 47fcaa4093 3.0.0-14 2019-05-02 19:12:44 -04:00
Steve Faulkner 2b25e5c2d5
Fix CP query metrics (#311) 2019-05-02 19:12:06 -04:00
Steve Faulkner fd2f420259 3.0.0-13 2019-05-02 13:34:15 -04:00
Steve Faulkner 24c2e9b181
Add version to PartitionKey type (#310)
* Add version to PartitionKey type

* Make version optional
2019-05-02 10:56:47 -04:00
Steve Faulkner 07d9ada29c
Remove semaphore from PartitionKeyRangeCache (#305) 2019-04-11 17:31:55 -04:00
Steve Faulkner 98b721dad9 3.0.0-12 2019-04-08 16:48:31 -04:00
Steve Faulkner ee7c49fa3a
Add activityId to FeedResponse (#293) 2019-04-08 16:46:28 -04:00
Christopher Anderson 62861c22ac Remove test catch all for .gitignore (#299) 2019-04-08 15:43:12 -04:00
Christopher Anderson ae2d172853
Plugin implementation (#297)
* Plugin implementation
2019-04-08 12:42:34 -07:00
Steve Faulkner 7a294729b1
Remove type overloads (#291) 2019-04-05 20:50:45 -04:00
Steve Faulkner 5dee87a593
Switch to node-abort-controller (#294)
* Switch to node-abort-controller

* Use abort-controller in tests to verify interop

* node-abort-controller 1.0.3
2019-04-05 20:50:09 -04:00
Steve Faulkner 00f58453ce
Switch _ts type from string to number (#252) (#295) 2019-04-05 20:31:57 -04:00
Steve Faulkner f6097b7d1d 3.0.0-11 2019-04-03 18:17:37 -04:00
Christopher Anderson 0aafee26ed
Add scripts to OM (#292)
* add scripts (move sproc, trigger, udf)
2019-04-03 15:07:52 -07:00
Steve Faulkner 6b4d2e5049 3.0.0-10 2019-04-01 16:46:52 -04:00
Steve Faulkner 946d695d25
Fix Request Charge Aggregation (#289)
* Fix request charge aggregation

* Remove comment

* Fix lint
2019-04-01 16:46:18 -04:00
Steve Faulkner 73db86281f
Upgrade to typescript 3.4. Close #274 (#288) 2019-04-01 14:55:27 -04:00
Christopher Anderson 5312504c11
bump karma forward (#287) 2019-03-31 17:47:49 -07:00
Steve Faulkner a1c6617508 Merge branch 'v3' of https://github.com/Azure/azure-cosmos-js into v3 2019-03-28 19:03:05 -04:00
Steve Faulkner f278ecb854
Remove Extra JSON.parse. Clean up PartitionedQueryExecutionInfo parsing and types (#285) 2019-03-28 17:53:02 -04:00
Steve Faulkner 79e8c03289
Cleanup some unecessary args in retry utility (#286) 2019-03-28 17:39:04 -04:00
Steve Faulkner 5aeb785f49 3.0.0-9 2019-03-28 16:16:56 -04:00
Steve Faulkner 9a47c709d1
Allow blank string partition keys. Fixes #249 (#277) 2019-03-28 13:25:14 -04:00
Steve Faulkner 290e09be8f
User Cancellation of Requests (#263)
* Redo on top of v3 branch

* Move down http call
2019-03-28 12:06:52 -04:00
Steve Faulkner 0453975450
Enable noUnusedLocals and noUnusedParameters (#275)
* Enable noUnusedLocals and noUnusedParameters

* Fix tests
2019-03-27 22:58:41 -04:00
Steve Faulkner 9e8ea2490d
Refactor to Unified RequestContext (#272) 2019-03-27 22:51:45 -04:00
Steve Faulkner c235b2a312
Replace cross-fetch with node-fetch (#280) 2019-03-27 20:44:42 -04:00
Steve Faulkner cf61b8ac4e Update npmignore 2019-03-21 23:10:11 -07:00
Steve Faulkner 0e1a03cbda 3.0.0-8 2019-03-21 23:05:26 -07:00
Steve Faulkner dbbec3be65
Convert to TS project references. Extract test folder (#270) 2019-03-19 10:29:27 -07:00
Christopher Anderson c336b9e1ae
port #247 (#267) 2019-03-15 13:31:03 -07:00
Christopher Anderson b4029195e4
v3 merge conflicts (#266) 2019-03-15 12:21:05 -07:00
Steve Faulkner 00f027f7c0 Remove MediaOptions (#262)
* Remove MediaOptions. No longer used

* Remove abortSignal
2019-03-15 11:28:35 -07:00
Steve Faulkner 23fa977518
Refactor ConnectionPolicy and RetryOptions to interface (#246)
* Refactor ConnectionPolicy to interface

* Fix lint

* Copy default connection policy

* Freeze object

* Fix typo in interface

* Bring along RetryOptions

* instance -> interface

* Remove .only

* snakeCase

* Fix formatting

* Typo
2019-03-12 21:16:46 -07:00
Steve Faulkner ebe85d8071
Replace request internals with fetch (#245)
* Replace internals with cross-fetch

* Remove comments

* Fix container tests

* Remove only

* Remove old files

* Accept agent

* Add timeout

* IREtryPolicy -> RetryPolicy

* Refactor interfaces

* More cleanup

* More WIP

* Fix error response

* Add timeout

* 304 -> don't parse response body

* Add href

* OperationType and ResourceType enums

* Refactor out constants

* Switch to enums

* Refactor retryUtility

* Add code to TimeoutError and use in defaultRetryPolicy

* Add back newUrl
2019-03-12 19:38:09 -07:00
Christopher Anderson 10fdf15356 Breaking API changes for v3 (#238) 2019-03-07 15:32:56 -05:00
Steve Faulkner 99041b5c81 Pull test fixes from master into v3 (#247)
* Cherrypick test fixes from master

* Format
2019-03-05 13:43:04 -08:00