aptly v1.4.0 Release Notes

Release Date: 2019-07-05 // almost 2 years ago
  • ๐Ÿš€ This is regular release of aptly.

    GnuPG 2.x compatibility

    ๐Ÿ‘ aptly should support transparently GnuPG 1.x and 2.x via gpg PGP provider. Internal PGP provider only supports GnuPG 1.x keyring format (as openpgp Go library doesn't support GnuPG 2.1+ kerying format).

    • aptly can sign and verify without issues with GnuPG 1.x and 2.x
    • aptly auto-detects GnuPG version and adapts accordingly
    • aptly automatically finds suitable GnuPG version

    ๐Ÿ”ง Configuration parameter gpgProvider now supports three values for GnuPG:

    • 0๏ธโƒฃ gpg (same as before, default): use GnuPG 1.x if available (checks gpg, gpg1), otherwise uses GnuPG 2.x; for aptly users who already have GnuPG 1.x environment (as it was the only supported version) nothing should change; new users might start with GnuPG 2.x if that's their installed version
    • gpg1 looks for GnuPG 1.x only, fails otherwise
    • gpg2 looks for GnuPG 2.x only, fails otherwise

    (#779 and related issues)

    ๐Ÿ‘Œ Support for mirroring non-package installer files

    ๐Ÿ†• New -with-installer flag was introduced for aptly mirror create. When updating and publishing mirror it will include installer files.

    (#680)

    Repo include API

    ๐Ÿ“ฆ aptly repo include command is now available via included packages from uploaded directory API.

    (#751)

    ๐ŸŽ Performance improvements

    ๐ŸŽ Performance improvements around loading collections of snapshots, mirrros, repos, etc. Now aptly does lazy loading which should improve both performance and memory footprint, which should be noticeable in commands which load whole contents of the db (aptly db cleanup).

    (#762, #765, #766)

    ๐Ÿ”„ Changes

    ๐Ÿ— aptly is now build with Go 1.12, support for Go 1.9 was dropped (#842)

    Stanza.WriteTo: Sort extra fields alphabetically (#803)

    ๐Ÿ‘Œ Support for non-armored detached signatures (#780, #773)

    ๐Ÿš€ Nightly builds, release builds moved to Travis CI and fully automated.

    ๐Ÿ›  Bugfixes

    ๐Ÿšš Don't remove API file socket if it exists and usable (#806, #807)

    ๐Ÿ›  Fix apt-file on newer distributions to work with aptly-published repositories (#756, #760)

    Download

    ๐Ÿ“ฆ Debian packages and binary distributions for various platforms are available at https://www.aptly.info/download/


Previous changes from v1.3.0

  • ๐Ÿš€ This is regular release of aptly.

    ๐Ÿ‘Œ Support for "legacy" Contents indexes

    ๐Ÿ“ฆ Ubuntu up to and including 16.04 is using "old" layout for Contents indexes for package repositories, while Debian has already switched to the new layout. Now aptly generates both "old" and "new" Contents indexes to allow apt-file to work with repositories published with Ubuntu <= 16.04 (#667, #729)

    Fall back to gpg1

    0๏ธโƒฃ aptly has two ways to sign published repositories: via external gpg command and using internal openpgp provider. Both of them support only GPG v1.x. To make it easier to support modern systems with GPG 2.x being installed by default, aptly tries to find GPG v1.x distribution by attempting to launch gpg1 binary if gpg is version 2.x (#734).

    ๐Ÿ”„ Changes

    ๐Ÿšš aptly repository has been moved to the org aptly-dev, and it's now being maintained by a team (https://github.com/orgs/aptly-dev/teams/maintainers/members)

    repo.aptly.info repository key has been rotated (#717)

    โฌ†๏ธ AWS SDK & other libraries were upgraded (#728)

    Speed up Contents indexes generation (#707)

    ๐Ÿ‘ aptly binaries are built with Go 1.10, aptly drops support for Go 1.7

    Shell completion function for zsh was added to the repo (#703)

    ๐Ÿ›  Bugfixes

    ๐Ÿ›  Fix error message truncating endpoint name in aptly publish drop (#711, #713)

    ๐Ÿ›  Fix Acquire-by-Hash index cleanup (#705, #706)

    ๐Ÿ›  Fix setting Acquire-by-Hash in the publishing API (#696)

    ๐Ÿ›  Fix Acquire-by-Hash in S3 publishing mode (#692, #697)

    ๐Ÿ›  Fix data race in API mode (#686, #688)

    ๐Ÿ›  Fix reading of long fields in Package stanzas (#738)

    Download

    ๐Ÿ“ฆ Debian packages and binary distributions for various platforms are available at https://www.aptly.info/download/