Releases: paketo-buildpacks/packit
Releases · paketo-buildpacks/packit
v0.1.0
Breaking Change
The Drop
method on cargo.Transport
now takes an extra argument to specify a set of http.Headers
to include when fetching the dependency. All references to this API will need to be updated.
v0.0.16
Changes
Adds support for a WithMessage modifier on packit.Fail
For example, a call to packit.Fail.WithMessage("my error")
will result in an error that triggers the correct fail exit code for the buildpack lifecycle, and also included the given message. This change is backwards compatible and so should not impact any buildpacks currently just using packit.Fail
.
Adds a WithHeader method to cargo.Transport
For example, a call to cargo.NewTransport().WithHeader(http.Header{"Authorization": []string{"token ****"})
will return a Transport that attaches that header on every request made when the Drop
method is called.
v0.0.15
Updates README - includes new description of `jam` CLI
v0.0.14
Include symlinks when packing buildpacks Symlinks were not previous managed correctly when packing buildpacks using `jam`. This meant that for buildpacks that use the single-binary pattern for their executables, those buildpacks were packaging 3 binaries (`bin/build`, `bin/detect`, and `bin/run`). This lead to larger buildpack tarballs instead of smaller ones. This fix handles that symlinking correctly so that buildpacks can benefit from the reduced number of executables included in the tarball.
v0.0.13
Create draft releases of packit It would be nice to have a bit more control over releasing packit. This would allow us to bucket up some changes instead of releasing them on every commit.
v0.0.12
Fixes rendering on godocs (#23)
v0.0.11
Bump github.com/onsi/gomega from 1.10.0 to 1.10.1 (#24) Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.10.0 to 1.10.1. - [Release notes](https://github.com/onsi/gomega/releases) - [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/gomega/compare/v1.10.0...v1.10.1) Signed-off-by: dependabot-preview[bot] <[email protected]> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
v0.0.10
Adds Run Run takes a DetectFunc and a BuildFunc as arguments. Then when compiled into executables called "detect" or "build", it uses the name of the executable to determine which phase to run. This helps simplify buildpacks wishing to combine their detect and build executables into a single executable with symlinking.
v0.0.9
Merge pull request #21 from paketo-buildpacks/codeowners Adds CODEOWNERS file
v0.0.8
Merge pull request #19 from paketo-buildpacks/fix-release-assets Fixes asset names for jam cli