- Allow dashes (
-
) in path parameter identifiers. PR #31731
- Allow
number
path parameters. PR #31352
- Add support for
allowReserved
(in query and path parameters) andexplode
(in query parameters only). PR #31058
- Update serialization to not serialize Uint8Array if the content type is "application/json".
- The
onResponse
callback will now be called when the underlying request results in an error. In this scenario, the error to be thrown will be provided as the second argument to the callback.
- Changed the format accepted for
multipart/form-data
requests.
- Support accept in headers.
- Revert TypeScript output target to ES2017.
- Add top-level
browser
field topackage.json
as fallback for legacy bundlers that do not support theexports
field.
- Allow customers to set request content type by
option.contentType
orcontent-type
request headers.
- Set the content-type as
undefined
if it's a non-json string in the body and we are unknown of the content-type, but remain to beapplication/json
if it's json string.
- Migrated the codebase to ESM. This change is internal and should not affect customers.
- Migrated unit tests to vitest.
- Add a new property endpoint in ClientOptions and mark the baseUri as deprecated to encourage people to use endpoint.
- Fixed an issue where
multipart/form-data
requests with an array of files as a parameter would not work if any of the files were supplied as aUint8Array
.
- Upgrade dependency
@azure/abort-controller
to^2.0.0
.
- Fix serialization of binary data in
multipart/form-data
requests and in binary request bodies. - Fix the issue where onResponse is not called when
asNodeStream
orasBrowserStream
are called.
- Add an overload for
createRestError
to acceptPathUncheckedResponse
only.
- Keeps request body of raw bytes for requests with
application/octet-stream
content type.
- Add
timeout
,onUploadProgress
,onDownloadProgress
,abortSignal
,tracingOptions
,onResponse
in theRequestParameters
for better RLC user experience. - Add
OperationOptions
for better modular user experience. - Correctly handle
allowInsecureConnection
handling whenundefined
is passed inRequestParameters
. See Azure/autorest.typescript#1916 for details.
- Add loggingOptions in ClientOptions for logger support.
- fix unexpected url encoding when apiVersionPolicy applies and even if we have passed the skipUrlEncoding as true in the request.
- Fix issue where multiple parameters within same path segment are not replaced correctly 24997
- Add basic types from cadl azure core.
- Fix the
api-version
precedence issue in apiVersionPolicy. 23990
- Releasing the first stable version of @azure-rest/client
- Fix the duplicate
api-version
issue in apiVersionPolicy
- Fix to avoid skip
JSON.stringify
when the body is already a string. 20753
- Create new pipeline using @azure/core-rest-pipeline's
createPipelineFromOptions
, instead of a custom pipeline. #21949 - Fix URL encoding for query parameters. #20972
- Handle Binary and FormData content. #18753
- Support custom base url with path parameters. #19463
- Added new
ClientOptions
memberadditionalPolicies
to allow passing custom pipeline policies to client constructors. #20175
- Add options skipUrlEncoding to support skip path parameter encoding. #18381
- Adding more robust handling of request and response body. #18478
- Create pipeline from scratch excluding tracingPolicy to decrease bundle size. #17015
- Allow number and boolean as input headers. #17358
- Fixed exported types #15898
- Expose client option to set
allowInsecureConnection
to support http. #15831 - Add new createRestError which takes a response to create a RestError. #15831
- Update @azure/core-rest-pipeline dependency to GA. #15435
- Set Date in query string parameters as ISO string. #15209
- Add CertificateCredential to support client certificate authentication. #15172
- First release of package, see README.md for details.