Skip to content

Releases: sylabs/sif

v2.2.3

04 Nov 22:58
6854e72
Compare
Choose a tag to compare

Changelog

2827ef2 fix: don't panic on CreateContainer error

v2.2.2

04 Nov 15:16
6855f43
Compare
Choose a tag to compare

Changelog

e141d05 ci: check test corpus tidiness
da22008 ci: update golangci-lint and add new linters
3e721c6 fix: use create/add time as data object times
39cce7c refactor: simplify Sign() timestamp handling

v2.2.1

21 Oct 14:03
e0f770a
Compare
Choose a tag to compare

Changelog

07ed165 feat: extend unexpectedDataTypeError to describe multiple want types
3fdc6db refactor: directly usable type for hdrMagic
ab30e73 refactor: enable errorlint linter
8727351 refactor: remove trimZeroBytes
ec7b594 refactor: return usable header type from (SpecVersion).bytes()

v2.2.0

03 Oct 23:07
1989014
Compare
Choose a tag to compare

Sylabs is pleased to announce version 2.2.0 of the SIF module.

This minor release supports reproducible builds of siftool binaries. The semantics and output format of the date field in the version command have also been modified.

Changelog

d66d8b5 build: disable CGO in mage build/install
6237cae build: harmonize mage/goreleaser linker flags
a5e8ccc build: use -trimpath in mage/goreleaser
6f7ca18 build: use commit date in mage linker flags
b97cb95 build: use release-tools package for mage build
fed3b7e ci: bump Codecov Orb version
de51ee2 fix: clarify 'date' semantics in version command

v2.1.1

20 Sep 17:51
606b47c
Compare
Choose a tag to compare

Changelog

3a79108 build(deps): bump github.com/ProtonMail/go-crypto from v0.0.0-20210707164159-52430bf6b52c to v0.0.0-20210920160938-87db9fbc61c7

v1.7.0

14 Sep 13:36
f99a3bf
Compare
Choose a tag to compare

This minor release deprecates the github.com/sylabs/sif module and associated packages in favour of github.com/sylabs/sif/v2 (#117), and improves alignment accounting for data objects (#139).

v2.1.0

13 Sep 20:06
cf8945b
Compare
Choose a tag to compare

Sylabs is pleased to announce version 2.1.0 of the SIF module.

This minor release adds new options for image creation:

  • OptCreateWithDescriptorCapacity allows a user to set the maximum descriptor capacity when an image is created. If not specified, a default value of 48 is used.
  • OptCreateWithLaunchScript allows the user to optionally specify a launch script. If not specified, a launch script is not set in the image.

Changelog

eba3636 feat: add OptCreateWithDescriptorCapacity
26fd648 feat: add OptCreateWithLaunchScript
6c7ed2c refactor: improve DeleteObject redability
ea96cfe refactor: simplify object write code paths
1477ef5 style: use wrapped errors
c5d1579 style: use wrapped errors

v2.0.1

10 Sep 14:02
38e64b1
Compare
Choose a tag to compare

Changelog

85296df fix: consistent object alignment accounting
31bda3c fix: handle zero alignment in nextAligned
e9a10d1 fix: use local location for times
169aa62 refactor: improve header field names
d020350 refactor: improve rawDescriptor field names
5831ad2 refactor: remove unused link/group consts
dfabda9 style: improve readability of siftool output

v2.0.0

31 Aug 18:23
5e65ca4
Compare
Choose a tag to compare

Sylabs is pleased to announce version 2.0.0 of the SIF module. This release is included with SingularityCE as of the 3.8.3 release, and is fully compatible with SIF images generated using the SIF v1 API.

This major release improves usability of the API, is designed with future extension in mind, and removes use of deprecated/unmaintained go packages.

The github.com/sylabs/sif/v2/pkg/sif package contains the most substantial changes. Several functions now utilize the functional options pattern with sensible defaults to provide a simple yet flexible interface. The type ReadWriter interface is dramatically smaller than the v1 equivalent, making it easier to implement a custom SIF storage type. A type Buffer has been introduced that implements this interface to support in-memory creation and/or manipulation of a SIF image.

The github.com/sylabs/sif/v2/pkg/integrity package has received minor updates that reflect the changes in the sif package. In particular, descriptors are now available directly from type VerifyResult.

As of SIF v2.x, SIF no longer depends on the unmaintained github.com/satori/go.uuid module, nor the deprecated golang.org/x/crypto/openpgp package.

SIF v2 is built with Mage, tested by CircleCI, and released using GoReleaser.

Changelog

808b716 build(deps): bump github.com/ProtonMail/go-crypto from v0.0.0-20210428141323-04723f9f07d7 to v0.0.0-20210707164159-52430bf6b52c
9d3190d refactor: move git code to internal package

v2.0.0-beta.6

26 Aug 01:18
aa570ba
Compare
Choose a tag to compare
v2.0.0-beta.6 Pre-release
Pre-release

Changelog

7d5a07c build(deps): replace golang.org/x/crypto/openpgp with github.com/ProtonMail/go-crypto/openpgp