This project follows semantic versioning.
Possible header types:
Features
for any new features added, or for backwards-compatible changes to existing functionality.Bug Fixes
for any bug fixes.Breaking Changes
for any backwards-incompatible changes.
- Add
archived
(typebool
) fields toMedia
andUploadResponse
(see wystia#59) - Update project dependency versions in
Cargo.toml
- Relax project dependency versions with
^
- Relax project dependency versions with
- Make
embed_code
field optional inMedia
, as sometimes it is not populated - Fix readme badge, as per badges/shields#8671.
- Make following fields optional in
Asset
, as they are generally not populated in the response for audio files:height
width
- Add new method
DataClient::download_asset()
to download a source asset on a Wistia video. - Add new methods to
Media
:source_url
asset_url
asset_url_insecure
- Add examples to demonstrate how to download an asset for a media.
- Refactor
stream_uploader_with_url
intoStreamUploader::with_url
- Add new helper methods to
StreamUploader
with_url_and_token
with_url_and_client
with_url_and_arc_client
- Expose
https::tls
module as public - Add new examples
- Add new helper function
stream_uploader_with_url
to upload bytes content from a public url or link directly. - Add new struct
StreamUploader
to upload file-like streams via the Upload API - Make all structs derive from
Clone
- Expose
https::get_https_client
as public - Add new examples
- Add new method
DataClient::update_media()
to update info on a Wistia video
- Update examples to use
clap
for parsing arguments - Add new struct
DataClient
(aliased toWistiaClient
) for interacting with the Wistia Data API - Add new method
DataClient::get_media()
to retrieve info on a Wistia video
- Replace usage of
&'static str
with&str
- Add
from()
constructors for API clients so easier to pass in access tokens if needed. - Add new
UrlUploader::url()
fluent method, which can be useful when thefrom()
constructor is used.
- Ensure
examples/assets
directory isn't included when publishing the crate to crates.io.
- Add
thiserror
dependency to simplify the generation of library errors. - Ensure library only raises
RustWistiaError
error types, and does not re-raise errors from any internal dependencies.
- Initial Release on crates.io 🎉