Release::asset_for
now searches for currentOS
andARCH
insideasset.name
iftarget
failed to match- Update
reqwest
to0.12.0
- Update
hyper
to1.2.0
- Support variable substitutions in
bin_path_in_archive
at runtime
- Add
signatures
feature to support verifying zip/tar.gz artifacts using zipsign
- MSRV = 1.64
- Use
self-replace
to replace the current executable
- Bugfix: use appropriate auth headers for each backend (fix gitlab private repo updates)
- For the gitlab backend, urlencode the repo owner in API calls to handle cases where the repo is owned by a subgroup
- Support selecting from multiple release artifacts by specifying an
identifier
- Update
quick-xml
to0.23.0
- Add
with_url
method toUpdateBuilder
- Support for Gitea / Forgejo
- Support for self hosted gitlab servers
- Support S3 dualstack endpoints
- Update
indicatif
0.16.0 -> 0.17.0
- Bump
semver
0.11 -> 1.0
- Bump
zip
0.5 -> 0.6 - Bump
quick-xml
0.20 -> 0.22
- Bump indicatif 0.15 -> 0.16
- Switch gitlab authorization header prefix from
token
toBearer
- Clean up dangling temporary directories on Windows.
- Fix io error triggered when updating binary contained in a zipped folder.
- Fix issues updating Windows binaries on non-
C:
drives.
UpdateBuilder.bin_name
will add the platform-specific exe suffix on the S3 backend.
- update
reqwest
to0.11
- remove
hyper-old-types
dependency, replace the rel-link-header parsing with a manual parsing function:find_rel_next_link
- bump dependencies
- print out tooling versions in CI
- Add GCS support to S3 backend
- Fixed docs refering to github in s3 backend
- Add DigitalOcean Spaces support to S3 backend
- Add
Download::set_header
for inserting into the download request's headers.
- Update readme example to add
Accept: application/octet-stream
header. Release parsing was updated in 0.7.0 to use the github-api download url instead of the browser url so auth headers can be passed. When using the github-api download url, you need to passAccept: application/octet-stream
in order to get back a 302 redirecting you to the "raw" download url. This was already being handled inReleaseUpdate::update_extended
, but wasn't added to the readme example.
- Allow specifying a custom github api url
- Support for Gitlab
- Gitlab example
UpdateBuilder.bin_name
will add the platform-specific exe suffix (defined bystd::env::consts::EXE_SUFFIX
) to the end of binary names if it's missing. This was a fix for windows.
- switch from
tempdir
totempfile
- Handling for
.tgz
files
- Support version tags with or without leading
v
- S3, support path prefixes that contain directories
- Expose
body
string inRelease
data
- Feature flag
rustls
to enable using rustls instead of native openssl implementations.
- Make all archive and compression dependencies optional, available behind
feature flags, and off by default. The feature flags are listed in the
README. The common github-release use-case (tar.gz) requires the features
archive-tar compression-flate2
- Make the
update
module public
- add rust highlighting tag to doc example
- set executable bits on non-windows
- update reqwest to 0.10, add default user-agent to requests
- update indicatif to 0.13
- support for Amazon S3 as releases backend server
- use
Update
trait in GitHub backend implementation for code re-usability
- use the system temp directory on windows
- accept
auth_token
inUpdate
to allow obtaining releases from private GitHub repos - use GitHub api url instead of browser url to download assets so that auth can be used for private repos
- accept headers in
Download
that can be used in GET request to download url (required for passing in auth token for private GitHub repos)
- use indicatif instead of pbr
- update to rust 2018
- determine target arch at build time
- expose a more detailed
GitHubUpdateStatus
- zip archive support
- option to extract a single file
- renamed github-updater
bin_path_in_tarball
tobin_path_in_archive
- freebsd support
- bump reqwest
- Update readme - mention
trust
for producing releases - Update
version
module docs
macro
module is no longer publiccargo_crate_version!
is still exported
version
module for comparing semver tags more explicitly
- Add deprecation warning for replacing
should_update
withversion::bump_is_compatible
- Update the github
update
method to display the compatibility of new release versions.