Skip to content

Releases: paketo-buildpacks/packit

v0.0.16

25 Jun 19:54
Compare
Choose a tag to compare

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

17 Jun 14:55
Compare
Choose a tag to compare
Updates README

- includes new description of `jam` CLI

v0.0.14

28 May 18:42
Compare
Choose a tag to compare
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

22 May 21:59
Compare
Choose a tag to compare
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

21 May 13:29
256c80a
Compare
Choose a tag to compare
Fixes rendering on godocs (#23)

v0.0.11

21 May 13:18
9a3ead6
Compare
Choose a tag to compare
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

15 May 23:19
Compare
Choose a tag to compare
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

15 May 16:12
89bf78c
Compare
Choose a tag to compare
Merge pull request #21 from paketo-buildpacks/codeowners

Adds CODEOWNERS file

v0.0.8

13 May 13:11
89dd845
Compare
Choose a tag to compare
Merge pull request #19 from paketo-buildpacks/fix-release-assets

Fixes asset names for jam cli

v0.0.7

07 May 14:51
Compare
Choose a tag to compare
Set gomega Eventually timeout to reduce timing issues in tests

- fix setup in summarize unit tests by adding stacks

Signed-off-by: Ryan Moran <[email protected]>