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

708 Коммитов

Автор SHA1 Сообщение Дата
Jeremy Meng 1309b8b528
Merge pull request #419 from jeremymeng/dom-shim
Rework the use of lib: ["dom"]
2021-02-09 13:26:47 -08:00
Jeremy Meng 0651df2183 format 2021-02-09 21:03:15 +00:00
Jeremy Meng 6a9c5465c0 Merge remote-tracking branch 'upstream/master' into dom-shim 2021-02-09 21:01:42 +00:00
Jeremy Meng ae135b22c4
Merge pull request #425 from jeremymeng/abort-event-handler-cleanup
Fix abort signal event handler memory leak
2021-02-09 13:00:10 -08:00
Jeremy Meng 079336a476 Merge remote-tracking branch 'upstream/master' into abort-event-handler-cleanup 2021-02-09 20:36:01 +00:00
Jeremy Meng 2b630e97b4
Merge pull request #426 from deyaaeldeen/port-nextLink-issue-fix
port fix from https://github.com/Azure/azure-sdk-for-js/pull/9245
2021-02-09 12:28:04 -08:00
Deyaaeldeen Almahallawi 87f67f072e
Update Changelog.md
Co-authored-by: Jeremy Meng <yumeng@microsoft.com>
2021-02-09 15:15:13 -05:00
deyaaeldeen a719c13744 edit 2021-02-09 19:59:44 +00:00
deyaaeldeen 822510173b prepare for release 2021-02-09 19:58:57 +00:00
deyaaeldeen 9e8a613ce1 port the actual fix 2021-02-09 19:57:18 +00:00
deyaaeldeen a575735d8a port fix from https://github.com/Azure/azure-sdk-for-js/pull/9245 2021-02-09 19:57:18 +00:00
Jeremy Meng a35540f17a update changelog and version number 2021-02-09 00:08:46 +00:00
Jeremy Meng ce4bb14981 Fix abort signal event handler memory leak
The issue is when the same abort signal is passed to multiple requests we keep
adding handlers without releasing them.

Porting fixes from

https://github.com/Azure/azure-sdk-for-js/pull/5649
https://github.com/Azure/azure-sdk-for-js/pull/12038
2021-02-09 00:02:39 +00:00
Jeremy Meng 2523a80a9b Exclude lib/dom.d.ts from the package 2021-02-05 23:08:55 +00:00
Jeremy Meng cc9ba9d3f4 Merge remote-tracking branch 'upstream/master' into dom-shim 2021-02-05 20:28:35 +00:00
Jeremy Meng 54af10f907
Merge pull request #424 from jeremymeng/2.2.x-release
Prepare for 2.2.1 release
2021-02-04 17:04:41 -08:00
Jeremy Meng 309746fe58 Prepare for 2.2.1 release
- combine changes into one unpublished version
- update changelog
2021-02-05 00:17:30 +00:00
Jeremy Meng 84cc877b1d Merge remote-tracking branch 'upstream/master' into dom-shim 2021-02-03 19:51:27 +00:00
Jeremy Meng 447d2f9f75 Add missing file 2021-02-03 18:36:30 +00:00
Jeremy Meng 5cfe6b07ce
Merge pull request #417 from jeremymeng/throttling-retries
Keep retrying on 429 responses
2021-02-03 10:33:17 -08:00
Jeremy Meng 693c8dd43a Merge remote-tracking branch 'upstream/master' into throttling-retries 2021-02-03 01:10:17 +00:00
Jeremy Meng 436a2e0438 Minor tweaks
- set default retry limit to 3
- increase test time out
2021-02-03 01:06:17 +00:00
Jeremy Meng 24424afbab bump version 2021-02-03 00:57:10 +00:00
Jeremy Meng 773a3f053a Rework the use of lib: ["dom"]
Porting changes from @azure/core-http PR
https://github.com/Azure/azure-sdk-for-js/pull/7500.

- Keep lib: ["dom"] for ./scripts/ as it depends on a dev common tool which
depends on v10 @azure/storage-blob which depends on an older version of
ms-rest-js. Attempting to remove it resulting in compile errors. This folder is
only used in dev/CI.  It's not part of the shipping library.
2021-02-02 22:27:31 +00:00
Jeremy Meng 4debbc0129
Merge pull request #414 from jeremymeng/global-fetch-port-pr9880
Avoid mutating global fetch
2021-02-02 12:05:31 -08:00
Jeremy Meng d92dc45a26 Bump version to 2.2.2 2021-02-02 19:42:08 +00:00
Jeremy Meng a35708407d Merge remote-tracking branch 'upstream/master' into global-fetch-port-pr9880 2021-02-02 19:40:13 +00:00
Jeremy Meng ba4c46001f
Merge pull request #413 from jeremymeng/port-core-http-pr8803
Fix issue of SystemErrorRetryPolicy not retrying
2021-02-02 11:35:23 -08:00
Jeremy Meng 9eebbf47c8 Update Changelog 2021-02-02 19:12:01 +00:00
Jeremy Meng 5c5e2d73c5 Merge remote-tracking branch 'upstream/master' into port-core-http-pr8803 2021-02-02 18:26:47 +00:00
Jeremy Meng 4208098ab1
Add Prettier and format code (#415)
* Add prettier and configs

* npm run format

* Fix tslint error

- Prettier broke lines but the // tslint:disable-next-line comments remains in
the old position. They should be before the applicable lines.

- Enforce `SwitchCase` indentation level of 1 to match prettier behavior.
2021-02-01 17:54:34 -08:00
Jeremy Meng 1f5ac124b1 Keep retrying on 429 responses
up to a limit in ThrottlingRetryPolicy.

- Remove `_handleResponse` callback that is used for testing. Use `sinon`
instead to verify that `retry()` has been called.

Addresses #394
2021-02-02 01:03:02 +00:00
Jeremy Meng 5506fa4c63 Address CR feedback
rename `err` to `error` in catch block to avoid shadowing
2021-02-01 23:40:46 +00:00
Jeremy Meng be3aeefd95 Merge remote-tracking branch 'upstream/master' into port-core-http-pr8803 2021-01-29 22:49:34 +00:00
Jeremy Meng 43a03bc758
Update sample instructions (#411) 2021-01-29 12:09:24 -08:00
Jeremy Meng 763f66cda6 Avoid mutating global fetch
Porting fix from https://github.com/Azure/azure-sdk-for-js/pull/9880.
Use import node_fetch from "node-fetch" instead of import "node-fetch".

Resolves #383
2021-01-29 01:47:03 +00:00
Jeremy Meng 38b2115ad8 Fix issue of SystemErrorRetryPolicy not retrying
by porting fix from https://github.com/Azure/azure-sdk-for-js/pull/8803
2021-01-28 22:03:08 +00:00
Deyaaeldeen Almahallawi 1daaea523f
Merge pull request #410 from deyaaeldeen/add-identity-adapter
Add TokenCredential adapter
2021-01-26 16:38:01 -05:00
Ramya Rao 977d5db945
Merge branch 'master' into add-identity-adapter 2021-01-25 17:50:23 -08:00
Jose Manuel Heredia Hidalgo 7ca0e990bd
Allow = character in parameter value (#408)
* Allow = character as parameter value

* Add trigger to PR validation

* Reset PR pipeline

* Fix test

* 2.1.1

* reset package version
2021-01-25 10:45:32 -06:00
deyaaeldeen 4d81e22e0b fix tests 2021-01-25 15:32:38 +00:00
deyaaeldeen 6cdf430ec5 update version in lib/util/constants.ts 2021-01-25 15:25:01 +00:00
deyaaeldeen dcb00d1085 update version 2021-01-22 20:59:36 +00:00
deyaaeldeen 2a9b864a12 bump version number 2021-01-22 20:53:14 +00:00
deyaaeldeen c49d531c05 Adding TokenResponse 2021-01-22 20:48:09 +00:00
deyaaeldeen 4a1c627466 address feedback 2021-01-22 20:48:09 +00:00
deyaaeldeen 24a61110f5 edit 2021-01-22 20:48:09 +00:00
deyaaeldeen 212668350d Add TokenCredential adapter 2021-01-22 20:48:09 +00:00
Deyaaeldeen Almahallawi 144ee5528c
Merge pull request #409 from deyaaeldeen/fix-build
Fix a build error involving xml2js
2021-01-22 15:46:43 -05:00
deyaaeldeen 3804556144 fix a build error involving xml2js 2021-01-22 16:01:56 +00:00