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.
- Upgrade dev dependencies.
- Upgrade dev dependencies.
- 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.
PendingRequestBodyinstance within the HTTP Client.
timeoutmethod.
- Replace this trivial promise with "Promise.resolve".
- Useless constructors in custom exceptions.
OPTIONSrequest helper methods.
retryandwithUrlmethods.
PendingRequestUrlinstance within the HTTP Client.
withOptionandwithOptionshelper methods.
- The HTTP Client constructor to accept an optional second parameter as an object for Fetch Options.
replaceHeader,withCredentials,withHeaderandwithTokenmethods to utilize the withOptions method or the options property.replaceHeadersandwithHeadersmethods accept Header instances.
- Missing type for mockedResponse variable.
PendingRequestAuthorization,PendingRequestCredentials, andPendingRequestHeadersinstances 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, andDELETErequest helper methods.withQueryParametersmethod.accept,acceptJson,asJson,asForm, andasUrlEncodedcontent type methods.withHeaders,withHeader,replaceHeaders,replaceHeaderhelper methods.withBasicAuth, andwithTokenauthentication helper methods.fakemethod.