Releases: WitherredAway/gists.py
Releases · WitherredAway/gists.py
v1.2.6
Changelog
New Features
- Give users an option to pass in URL aswell as ID of a gist when getting, editing or deleting gists from Client
Diff: v1.2.5...v1.2.6
v.1.2.5
Changelog
Changes
- Ability to make changes to gist by making changes to the object's attributes and then calling the
edit
method with no arguments (https://github.com/WitherredAway/gists.py/compare/v1.2.5?expand=1#diff-1abde9d3b5103fb6e8491bcf7eb0d5ca49063d0095f0f09b56fe5bfdaa917251) - New GistException exception
Full Changelog: v1.2.4...v.1.2.5
v1.2.4
v1.2.3
Changelog
New Features
- Better exception raising (some exceptions are raised with more specificity)
Bug fixes
- Fixed a bug introduced in the previous release regarding json conversion which would prevent actions like deleting gists
- Fixed a bug in the [README.md] tutorial where the
files
argument of create_gist should be a keyword argument
Diff: v1.2.2...v1.2.3
v1.2.2
Changelog
New features
- New GistException exception class, which every exception subclasses from.
- New DataFetchError exception class, raised when something goes wrong during requesting data
Patches
- Refactored the code of the requests method of the Client class
- Refactored the code of the HTTPException class
Diff: v1.2.1...v1.2.2
v1.2.1
Full Changelog: v1.2.0...v1.2.1
v1.2.0
Changelog
New features
- Add File object for easier manipulation of files of a gist (See README.md for updated examples)
- Gist attributes are now properly set instead of updating the internal dict
- Gist.files is now a list of File objects representing the files of the gist
- Gist.created_at is now a datetime.datetime object representing the time the gist was created at
- Gist.updated_at is now a datetime.datetime object representing the time the gist was last updated at
Bug fixes
- Fix a missed rename of the
fetch_gist_data
method - Remove
del self
in Gist.delete because deleting self does not work
Diff: v1.1.0...v1.2.0
v1.1.0
Full Changelog: v1.0.3...v1.1.0
v1.0.3
Full Changelog: v1.0.2...v1.0.3
v1.0.2
Full Changelog: v1.0.1...v1.0.2