Skip to content

Releases: hashicorp/go-slug

v0.9.1

23 Jun 17:01
0be483f
Compare
Choose a tag to compare

Fixes a bug which disallowed inclusion of any absolute symlinks during Pack(), regardless of the target. Targets which land within the source directory are allowed and are automatically converted to relative symlinks.

v0.9.0

21 Jun 17:01
049f407
Compare
Choose a tag to compare

Fixes support for dangling symlinks during the Pack() function.

v0.8.1

25 Apr 21:03
246e536
Compare
Choose a tag to compare

Ignores pax headers during slug unpack.

Add terraform.tfstate to the default exclusions list

02 Mar 16:06
28b9dce
Compare
Choose a tag to compare

The slug does not need terraform.tfstate because we read state from the TFE/TFC instance. This release adds that file to the default exclusions list.

v0.7.0

26 Feb 14:41
447e7f0
Compare
Choose a tag to compare

Adds a new struct for handling Pack options. In particular, adds a new option that toggles whether the .terraformignore rules will be applied.

The existing package level Pack function is unchanged, and will still follow the same rules as before.

v0.6.0

11 Dec 18:39
34fbf61
Compare
Choose a tag to compare

Updates error message text and classifies errors caused by invalid user input for handling via Go 1.13 style errors.

Adds CI configuration.

Upgrades required Go version to 1.15.

v0.5.0

03 Dec 17:24
28cafc5
Compare
Choose a tag to compare

Change the Unpack function to better protect against Zip Slip attacks while unpacking the tarball, addressing CVE-2020-29529.

v0.4.3

10 Jun 16:56
Compare
Choose a tag to compare

Fixes an error message to not include the full path of an irrelevant temporary directory.

v0.4.2

09 Jun 21:12
02b3564
Compare
Choose a tag to compare

Bug fixes when calling Unpack() on a slug with external or absolute symlink references.

v0.4.1: Merge pull request #9 from hashicorp/b-windows-tfignore

15 Nov 18:04
6f44f1c
Compare
Choose a tag to compare

Updates default paths for .terraformignore to be cross-platform (i.e. Windows) friendly.