History¶
1.2.2 (2023-04-14)¶
Features and Improvements
Update
keywordsfor the package.Add Python 3.11 to the list of supported versions.
1.2.1 (2023-04-14)¶
Bugfixes
The
Mediaclass did not have thearchived(bool) field, which was resulting in errors whenlist_project()was called.Therefore, moved over this field from
VideotoMediainstead (which is the super-class) so that this issue can be resolved.
1.2.0 (2023-04-07)¶
Features and Improvements
Update model classes to support new populated fields, such as
archived(aboolfield), as otherwise it breaks de-serialization by default – credits to @KaneDM.Upgrade dependencies in
requirements-dev.txt.
Bugfixes
Update to replace plain
dictannotation withdict[str, str], as previously it was resulting in errors when parsing the class annotations.
1.1.0 (2022-01-27)¶
Features and Improvements
Refactor any model classes that would be returned in list API calls to subclass from
JSONListWizardinstead ofJSONWizard, simply so thatContainerobjects will be returned by default.Refactor to import
Containerfrom thedataclass-wizardlibrary instead. For backwards compatibility reasons, themodelsmodule still exports the Container namespace.
1.0.0 (2022-01-14)¶
Breaking Changes
Wystia has officially dropped support for Python versions 3.5 and 3.6. The support for 3.6 needed to be dropped primarily because of the
from __future__ import annotationsusage in the code.Refactored all API helper classes to return model class objects as a result, rather than Python
dictobjects. In the case of any list- related API responses, we now return aContainerobject so that it can be easier to print or display the result for debugging purposes.All inputs to the API helper methods that previously accepted a
dictobject, have in general been refactored to accept a model dataclass instance as an input instead.Renamed some error classes; for example,
NoSuchMediainstead ofNoSuchVideo.Renamed some model classes; for example,
MediaStatusinstead ofVideoStatus.
Features and Improvements
Added
WistiaApito the list of public exports, which is aliased to theWistiaDataApihelper class.Added new methods to the
WistiaDataApiclass for more explicitly interacting with medias instead of videos. For example, alist_mediasmethod is added as an alternative to callinglist_videos.Refactored the CI process to use GitHub Workflows instead of Travis CI.
Added 3.10 to the list of supported Python versions.
Updated the project status from Beta to Production/Stable.
Added an
examples/folder in the project repo on GitHub, which contains Python scripts to demonstrate sample usage.Updated docs and added a new Quickstart section.
0.3.0 (2021-07-21)¶
Features and Improvements
Add compatibility changes to extend support to Python 3.5 and 3.6
WistiaHelper: Add method
project_detailsto retrieve info on a particular Wistia projectWistiaEmbedApi: Update to parse the
.jsonresponse rather than the.jsonpversionMakefile: Add new command
init, which can be used to install Dev dependencies for the projectEnsure the new command is compatible with Python 3.5, which has dependencies on separate package versions; here we should use
requirements-py35-dev.txtinstead.
Makefile: Update
coveragecommand to run unit tests by default
Bugfixes
models.VideoData: The parameter to the
process_captionsmethod is now correctly type-annotated to accept aListofDict
0.2.1 (2021-06-17)¶
WistiaHelper: Add method
enable_captions_and_adRemove
.formatusage in log statementsRemove an unnecessary method
ad_neededfromVideoDataUpdate readme and Sphinx
docs/
0.2.0 (2021-06-16)¶
Fully implement all sections in the Wistia Data API
Add more methods to the
WistiaHelperclassRequest Count and API Token should now be globally shared by all API sub-classes
Lot of code refactoring
Exclude
.mp4files from dist, to reduce total package sizeAdd more test cases
Update docs with better examples
0.1.0 (2021-06-12)¶
First release on PyPI.