Skip to content

Releases: sylabs/sif

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

v2.0.0-beta.5

24 Aug 21:29
f811a64
Compare
Choose a tag to compare
v2.0.0-beta.5 Pre-release
Pre-release

Changelog

3c3be56 build: bump language version to Go 1.17
6cac235 chore(ci): bump golangci-lint to 1.42
40da914 ci: bump Go version to 1.17
2720dad ci: enable errname linter
4422f5f feat: add OptSignWithTime
6535cd5 fix: ErrNoObjects from GetDescriptor(s)
26cff39 fix: replace usage of deprecated ioutil package
ed685b2 refactor: pass concrete type to VerifyCallback
b842110 refactor: use struct to accumulate sign options
665eac1 refactor: use struct to accumulate verify options
62860b7 style: add new build constraint format messages

v1.6.0

20 Aug 18:34
9af8c2f
Compare
Choose a tag to compare

This minor release bumps the go.mod language version to 1.17 to take advantage of lazy loading, and removes usage of the io/ioutil package, which was deprecated in Go 1.16.

v2.0.0-beta.4

13 Aug 14:11
f82b8e7
Compare
Choose a tag to compare
v2.0.0-beta.4 Pre-release
Pre-release

Changelog

1976318 build(deps): bump golang.org/x/crypto to v0.0.0-20210711020723-a769d52b0f97
9394d0f ci: test against latest two major versions of Go
f85ecd8 feat: add OptCreateWithCloseOnUnload
af8f4f0 feat: add OptLoadWithCloseOnUnload
45a51d0 fix: go 1.15 compatibility in unit tests

v2.0.0-beta.3

09 Aug 19:56
9c920fc
Compare
Choose a tag to compare
v2.0.0-beta.3 Pre-release
Pre-release

Changelog

76000d7 feat: add const DefaultObjectGroup
8373fda feat: remove Signed in result callback
7f25735 feat: return signature Descriptor in result callback
b2b5024 feat: return verified Descriptors in result callback

v2.0.0-beta.2

30 Jul 19:52
dc1896a
Compare
Choose a tag to compare
v2.0.0-beta.2 Pre-release
Pre-release

Changelog

5440850 ci: set prerelease=auto in GoReleaser config

v2.0.0-beta.1

30 Jul 18:31
7cb03fa
Compare
Choose a tag to compare
v2.0.0-beta.1 Pre-release
Pre-release

Changelog

e4431b3 build: add magefile
e953c82 build: replace shell script with mage
a9cedf7 ci: add release-test job
d0f48dd ci: add tagged-release workflow with publish-release job
f271843 ci: rename build_and_test workflow for consistency
e0e23b6 feat: improve siftool version command
555da03 release: initial GoReleaser config