mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-11-18 20:01:08 +08:00
We moved `@actions/http-client` to be part of the toolkit in https://github.com/actions/toolkit/pull/1062. We also made some breaking changes to exported types and released v2. The biggest change in terms of lines of code affected was to get rid of the `I-` prefix for interfaces since TypeScript doesn't follow this convention. I bumped the patch version of all packages except for `tool-cache`, where I bumped the major version. The rationale is explained in the release notes for that package.
2.6 KiB
2.6 KiB
@actions/tool-cache Releases
2.0.0
- Update to v2.0.0 of
@actions/http-client - The type of the
headersparameter in the exported functiondownloadToolhas been narrowed from{ [header: string]: any }to{ [header: string]: number | string | string[] | undefined; }(that is,http.OutgoingHttpHeaders). This is strictly a compile-time change for TypeScript consumers. Previous attempts to use a header value of a type other than those now accepted would have resulted in an error at run time.
1.7.2
- Update
lockfileVersiontov2in `package-lock.json #1025
1.7.1
1.7.0
- Allow arbirtary headers when downloading tools to the tc
- Export
isExplicitVersionandevaluateVersionsfunctions - Force overwrite on default when extracted compressed files
1.6.1
1.6.0
1.3.5
1.3.4
Here is the security issue that was fixed in the http-client 1.0.8 release
1.3.3
1.3.2
1.3.1
1.3.0
1.2.0
- Overload downloadTool to accept destination path
- Fix
extractTaron Windows - Add "types" to package.json
1.1.2
1.0.0
- Initial release