Brian Cristante aa676f3cc7
Update other packages to use http-client v2 (#1082)
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.
2022-05-11 17:14:25 -04:00

2.6 KiB

@actions/tool-cache Releases

2.0.0

  • Update to v2.0.0 of @actions/http-client
  • The type of the headers parameter in the exported function downloadTool has 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 lockfileVersion to v2 in `package-lock.json #1025

1.7.1

1.7.0

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

1.1.2

1.0.0

  • Initial release