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

802 Коммитов

Автор SHA1 Сообщение Дата
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
Terry Wen 8da65ca1ac 2.3.0 2021-02-04 11:27:17 -08:00
Terry Wen 071a08dfd7 Merge https://github.com/Azure/ms-rest-js 2021-02-04 11:27:08 -08: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
Terry Wen 0b6ef0e593 bump version 2021-02-01 16:32:48 -08: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
Terry Wen 6487ed74b2 Update changelog 2021-02-01 12:01:57 -08:00
Terry Wen de65edb696 2.2.1 2021-02-01 11:59:06 -08:00
Terry Wen 357bc4ce81 Move @types/node-fetch down to devdependencies 2021-02-01 11:58:56 -08:00
Terry Wen 0685f81d9b Move @types/tunnel to devDependencies, not required for building 2021-02-01 11:00:28 -08: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
David Wilson 77c8a7f2bb Add new release pipeline for azure-sdk DevOps org 2020-10-12 17:53:09 -07:00
David Wilson abc4f8f58e
Merge pull request #403 from joshgummersall/master
Add HTTP agent settings and policy
2020-10-08 13:08:13 -07:00
Josh Gummersall 2e999a39e6
Code review fixes 2020-10-08 11:13:56 -07:00
Josh Gummersall ff74cb7ae2
Add extra changelog note 2020-10-08 11:02:01 -07:00
Josh Gummersall 2aa89252f4
Include clone fix
Fixes #405
2020-10-08 10:54:58 -07:00
Josh Gummersall 7ee850a967
Bump minor version, update Changelog 2020-10-08 10:49:49 -07:00