Releases: sylabs/sif
v2.1.0
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
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
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
Changelog
7d5a07c build(deps): replace golang.org/x/crypto/openpgp with github.com/ProtonMail/go-crypto/openpgp
v2.0.0-beta.5
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
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
v2.0.0-beta.3
v2.0.0-beta.2
Changelog
5440850 ci: set prerelease=auto in GoReleaser config
v2.0.0-beta.1
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