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.
- The URL structure would include an unnecessary trailing slash.
- The
buildUrl()
logic to prevent duplicate slashes in the URL structure. - The detecting Mocked Response URL logic to support the new URL structure.
- Requests that contain form data not sending the data.
- Upgrade dev dependencies.
- Upgrade dev dependencies.
- typescript:S6582
- Upgrade dev dependencies.
- 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.