Steve Faulkner
abfa79a430
2.0.2 ( #146 )
...
* Update README.md
Fix links that previously pointed to preview
* Bump version
* Update constant
2018-10-10 10:40:33 -04:00
Christopher Anderson
2dfe39e9c9
Merge pull request #144 from Azure/dev
...
2.0.1
2018-09-24 18:42:25 -07:00
Christopher Anderson
54270cca98
2.0.1 ( #143 )
...
* Retry interface implementation must exactly match
fixes #141
* 2.0.1
2018-09-24 18:26:17 -07:00
Christopher Anderson
7b7afb35de
Retry interface implementation must exactly match ( #142 )
...
fixes #141
2018-09-24 17:59:51 -07:00
Christopher Anderson
766720d8cd
2.0.0
2018-09-24 08:29:04 -07:00
Christopher Anderson
259d5a2809
Update package-lock.json
2018-09-24 08:06:37 -07:00
Christopher Anderson
a33fe3cc21
Package namespace fix
2018-09-24 08:06:12 -07:00
Christopher Anderson
0159448916
Resolve merge conflicts
2018-09-24 08:03:24 -07:00
W. Kevin Hazzard
100eea064d
Added missing example 6 demoing upserts ( #136 )
...
Added the upsert demo which is described in the header but was missing.
2018-09-24 07:50:59 -07:00
Christopher Anderson
d8acf0e32b
Roll version to 2.0.0 ( #134 )
...
* update package version
* Update changelog
2018-09-24 07:48:29 -07:00
Christopher Anderson
ae53dbaaa9
Update response types ( #133 )
...
* Gets rid of ItemBody
* Adds Resource to all response types
* Updates ClientContext to add Resource to all CRUD ops
* Allows upsert/create to pass a second type to union to the response
* Updates query to return T or any, not <ResourceType>Definition
2018-09-24 07:48:06 -07:00
Christopher Anderson
ed8c317472
buffer updates & connection policy fixes ( #135 )
...
* Update buffer to Buffer methods
* Adds support for non-class based ConnectionPolicy
fixes 115
2018-09-22 11:49:32 -07:00
Christopher Anderson
db499e49c3
Multi-Region Write support ( #106 )
2018-09-20 18:27:04 -07:00
Christopher Anderson
aa6e83733e
Update karma to 3.0.0 ( #131 )
2018-09-20 16:50:39 -07:00
Steve Faulkner
b4e2a7c16b
Remove unused npm script ( #128 )
2018-09-19 15:41:55 -04:00
Steve Faulkner
b510e767ae
Pull in all of esnext lib ( #129 )
...
Fixes #127 . I'm not exactly sure why this is necessary, but seeing reports of a similar issue in another lib https://github.com/apollographql/graphql-subscriptions/issues/83
2018-09-19 15:41:41 -04:00
Steve Faulkner
9f9104279e
Enable assertions in session test ( #118 )
...
https://github.com/Azure/azure-cosmos-js/issues/110
2018-09-11 14:58:08 -07:00
Ádám Lippai
2ea0f75d52
Remove sourcemap from the bundle in webpack -p mode. Helps #61 ( #114 )
...
* Remove sourcemap from the bundle in webpack -p mode. Helps #61
* Added tslib and switched to ES6 modules instead of commonjs as webpack source. Helps #61
2018-09-11 14:32:55 -07:00
Steve Faulkner
5bdb2d70cb
Remove extra underscore import ( #112 )
2018-08-29 08:46:32 -04:00
Steve Faulkner
fd8a46efb3
Replace crypto with create-hmac package ( #107 )
...
Decreases the webpacked size by ~1mb
2018-08-28 09:35:28 -04:00
Steve Faulkner
28648b998f
Remove underscore ( #108 )
2018-08-27 23:04:47 -04:00
Steve Faulkner
461299e281
Comment out assertion failing due to upstream session bug ( #111 )
...
* Update session.spec.ts
* Comment out second assertion
2018-08-27 22:16:16 -04:00
John Papa
6259d178b8
quickstart code sample refactoring ( #101 )
2018-08-11 08:32:05 -07:00
Igor Klopov
6d6f9a5e05
Update to Readme.md. Correct call `client.databases.create` ( #99 )
...
Fixes readme file to call `client.databases.create` instead of `client.database.create`. Also fixes test names that may be confusing.
2018-08-09 17:19:31 -04:00
Christopher Anderson
4d9af8d915
Update readme with new links + roll the SDK version ( #97 )
...
* Update readme with new links
* Add version details to PR
2018-08-08 11:22:17 -07:00
Christopher Anderson
bbb7cfc86d
Remove DocumentClient, Base, and all Partition Resolvers ( #92 )
...
* Add ClientContext
* Move network calls to RequestHandler
* Refactor documentClient from client types
* Move getDatabaseAccount to clientContext
* remove Base, ParititonResolvers, and DocumentClient
2018-08-07 10:34:38 -07:00
Christopher Anderson
5a8fccd190
Update readme ( #91 )
2018-08-01 16:01:24 -07:00
Christopher Anderson
b39694287f
TypeScript 3.0 and other random package updates ( #89 )
2018-07-31 12:39:09 -07:00
Steve Faulkner
e0a78b9baf
Bump to version 2.0.0-3 and update changelog ( #88 )
2018-07-31 12:25:49 -07:00
Christopher Anderson
5b5f33a824
Update forEach/Adds AsyncIterator ( #87 )
...
Switches the forEach implementation to be AsyncIterator instead.
Additionally, it changes the forEach implementation to accept a callback
fixes https://github.com/Azure/azure-cosmos-js/issues/73
fixes https://github.com/Azure/azure-cosmos-js/issues/71
2018-07-31 12:24:53 -07:00
Christopher Anderson
a908af7cba
Change all string enum properties to keyof typof enum properties ( #86 )
...
fixes https://github.com/Azure/azure-cosmos-js/issues/72
2018-07-31 11:59:16 -07:00
Christopher Anderson
017f674946
Update the exported types ( #85 )
2018-07-31 11:59:02 -07:00
Steve Faulkner
85d02c6760
Add system generated keys for permissions and items ( #83 )
...
* Add system generated keys for permissions and items
* Add ItemDefinition (#84 )
2018-07-31 00:51:25 +00:00
Christopher Anderson
d44294d40d
Update samples to new OM ( #79 )
...
* Update samples to latest OM
* Makes debugging samples easier
* npm start should run samples now
* Various fixes to make the samples all run fine
* Update samples readme
* Update main readme to make code sample more prominent
2018-07-30 16:39:34 -07:00
Christopher Anderson
636629c2e0
Update config to preserve comments ( #69 )
...
Fixes #68
2018-07-25 16:14:31 -07:00
Christopher Anderson
d4a31837e0
CreateIfNotExists ( #35 ) ( #66 )
...
* Add createIfNotExists for container/db
* Update to use new test method
2018-07-24 09:38:03 -07:00
Steve Faulkner
71edf01f59
Refactor Tests to use Test Helpers ( #64 )
...
* Refactor tests to use helpers for database creation
* More cleanup
* Remove more unused vars and comments
* Refactor getTestContainer
* More cleanup and refactors
* Fix query test
* Remove uneccesary client
2018-07-23 18:06:35 -07:00
Christopher Anderson
266d8c84a9
Update docs for preview release ( #60 )
...
* Initial docs commit
* WIP - Add items docs
* [WIP] Further doc updates + some clean up of types
* Address feedback from steve
* Update generics warning + example
2018-07-20 12:59:26 -07:00
Steve Faulkner
ce37a7ffb7
Refactor of TestHelpers and session.spec test to be less flaky ( #49 )
...
* Refactor test helpers to functions
* Refactor session spec
* Fix formatting
* WIP
* Fix formatting
* Revert old WIP commit
2018-07-17 11:34:06 -04:00
Christopher Anderson
1b8a761844
Feature/#40 2 ( #52 )
...
* Update User
* Add UserResponse to user module exports
* Update Permissiono
* Update Stored Procedure
* Update Trigger
* Update UserDefinedFunction
* Update offer
* Update tests with new response type
* Update readme
* Prettier updates
* More prettier updates
* tslint issues
* Update Conflict
* tslint issues
* Fix missing TestHelper implementations
2018-07-16 14:39:11 -07:00
Steve Faulkner
1bc6783c63
Add Prettier ( #33 )
...
* Add prettier and format files
* Turn off email notifications for builds
2018-07-12 19:30:18 -04:00
Steve Faulkner
b22194817b
Fix dev ( #46 )
...
* Fix dev
* Fix tests
2018-07-11 16:06:33 -04:00
Christopher Anderson
0f253456a5
implements new response type for Database, Container, and Item ( #44 )
2018-07-11 15:08:35 -04:00
Steve Faulkner
270f38312b
Move all .get methods to singular type methods
...
Move all .get methods to singular type methods
2018-07-11 14:21:36 -04:00
Steve Faulkner
370570d9cc
Update HashPartitionResolver.spec.ts
2018-07-10 17:40:57 -04:00
Steve Faulkner
5f2e701956
Move all .get methods to singular type methods
2018-07-10 17:10:12 -04:00
Steve Faulkner
a9ac5f3fe9
Merge pull request #38 from Azure/travis-ci
...
Add Travis to dev branch
2018-07-09 19:51:34 -04:00
Steve Faulkner
83d22762ef
Don't destroy all databases again
2018-07-09 17:42:19 -04:00
Steve Faulkner
44581ef1d3
Empty commit
2018-07-09 17:26:03 -04:00
Steve Faulkner
02b35c9a9e
Use larger timeout
2018-07-09 17:13:01 -04:00