All notable changes to wolfpackthatcodes/typescript-http-client
will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Types to be more specific.
- Version top-level element in the Docker Compose file.
- Group parts of the regex together to make the intended operator precedence explicit.
- Index file for TypeScript types.
- Missing AbortSignal option to RequestOptions.
- Missing package export for RequestOptions type.
PendingRequestBody
instance within the HTTP Client.
timeout
method.
- Replace this trivial promise with "Promise.resolve".
- Useless constructors in custom exceptions.
OPTIONS
request helper methods.
retry
andwithUrl
methods.
PendingRequestUrl
instance within the HTTP Client.
withOption
andwithOptions
helper methods.
- The HTTP Client constructor to accept an optional second parameter as an object for Fetch Options.
replaceHeader
,withCredentials
,withHeader
andwithToken
methods to utilize the withOptions method or the options property.replaceHeaders
andwithHeaders
methods accept Header instances.
- Missing type for mockedResponse variable.
PendingRequestAuthorization
,PendingRequestCredentials
, andPendingRequestHeaders
instances within the HTTP Client.
- Support higher node versions.
- Upgrade dev dependencies.
- Typo in Readme for FormData example.
- Vite config for generating types entry file.
- Remove invalid type declaration in package.json.
HEAD
,GET
,POST
,PUT
,PATCH
, andDELETE
request helper methods.withQueryParameters
method.accept
,acceptJson
,asJson
,asForm
, andasUrlEncoded
content type methods.withHeaders
,withHeader
,replaceHeaders
,replaceHeader
helper methods.withBasicAuth
, andwithToken
authentication helper methods.fake
method.