Skip to content

v0.2.1

Choose a tag to compare

@thaJeztah thaJeztah released this 23 Jul 20:52
v0.2.1
0bfb096

What's Changed

  • reject out-of-range device numbers in layer #36
  • createImpliedDirectories: fix directory detection and path handling #44
  • createImpliedDirectories: honor NoLchown for implied directories #70
  • createTarFile: use switch for timestamp updates #67
  • drop redundant ExcludePatterns initialization #62
  • ExportChanges: use POSIX / Unix conventions for Tar operations #41
  • getInodeFromStat: return error on failure #50
  • overlayWhiteoutConverter.ConvertRead: avoid redundant chown #55
  • overlayWhiteoutConverter.ConvertWrite: explicitly use POSIX / Unix #38
  • overlayWhiteoutConverter.ConvertWrite: simplify directory check #34
  • overlayWhiteoutConverter: fixes and cleanups #52
  • RebaseArchiveEntries: use POSIX / Unix paths #42
  • tarAppender.addTarFile: normalize archivePath to POSIX #40
  • tarAppender.addTarFile: return error before writing header #51
  • TarOptions: document IncludeFiles, ExcludePatterns #61
  • Unpack: prevent nil-pointer if nil-options are passed #66
  • remove some intermediate vars #53
  • rename some vars to prevent shadowing "path" import #35
  • rename vars to prevent shadowing and for clarity #39
  • fix typos in comments #59
  • modernize code #30

Test and CI changes

  • ci: don't fail fast #74
  • ci: update golangci-lint to v2.12 for compatibility with go1.26 #46
  • ci: pin actions by sha #22
  • ci: use go.mod for "minimum" Go version, and use custom name #29
  • golangci-lint: enable gosec linter #47
  • fix some linting issues and use t.TempDir() in more places #31
  • add test to verify symlinks targets are preserved (skipped) #48
  • archive: add regression tests for tar path-traversal containment #68
  • archive: Add test for implied directories through symlinks #76
  • archive: fix breakout error type assertions in tests #69
  • archive: Test extracted file modes with process umask #65
  • chrootarchive: fix "non-root" skips on Windows #71
  • Reduce shelling out in tests #64
  • test: use current user for archive ownership in breakout tests #72
  • make toUnixPath more generic, and long-path aware #58
  • testBreakout: pre-create implied victim directory in breakout test #73
  • TestImpliedDirectoryPermissions: test with umask #57

Dependency updates

  • build: bump minimum Go version to 1.24 #27
  • build: bump minimum Go version to 1.25 #28
  • update github.com/moby/sys/sequential v0.7.0 #75
  • update github.com/klauspost/compress v1.18.7 #78
  • update moby/patternmatcher v0.6.1, klauspost/compress v1.18.3, sirupsen/logrus v1.9.4 #23
  • update moby/sys dependencies #77

Full Changelog: v0.2.0...v0.2.1