Skip to content

Releases: hashicorp/go-slug

v0.13.0

30 Oct 19:12
fffa1ad
Compare
Choose a tag to compare

This release extends the recently-added sourceaddrs package to include a ParseFinalSource function (#48)

v0.12.1

18 Aug 15:57
7f973de
Compare
Choose a tag to compare

Fixes an issue where go-slug fails to resolve the relative path for symlinked directories.

v0.12.0

13 Jul 20:39
6a7ca7a
Compare
Choose a tag to compare

Two new experimental packages factoring out some of Terraform's module installer functionality so that in future it can be shared between Terraform CLI and Terraform Cloud:

sourcebundle: Given source addresses as would be written in the source argument in a module block in the Terraform language, build a local directory containing the requested module package and all of the other module packages it depends on, using caller-provided fetching and dependency analysis routines.

sourceaddrs: Utilities for parsing, validating, and manipulating module source addresses, as would appear in the source argument in a module block in the Terraform language.

The API in these packages is still experimental and so subject to change even in patch releases. The design will be finalized in a future release after we've gathered implementation experience.

v0.11.1

17 Apr 20:29
66525e4
Compare
Choose a tag to compare

Fixed issue that occurs when archives contain entries without a name.

v0.11.0

07 Apr 19:53
9277946
Compare
Choose a tag to compare

Fixes issues regarding packing symbolic links:

  • If the src is a symbolic link, the packer will resolve the target before creating the tarball.
  • Symbolic link chains are traversed and resolved if their targets lie outside the src directory.

v0.10.1

23 Nov 17:13
2777fe2
Compare
Choose a tag to compare

Lowers the level of compression for slug output. The default level wasn't the best choice for the main use case and single-threaded implementation.

v0.10.0

29 Jul 03:23
3355e73
Compare
Choose a tag to compare
Merge pull request #29 from hashicorp/f-preserve-symlinks

Expose option for explicitly allowing certain symlinks with external targets

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.