- fix issue with file attachments as image attachments in the gallery (thanks to Bryce Corbitt)
- bump requests dependency to
~=2.20.0
(CVE-2018-18074)
- fix incorrect return type in the documentation for Message methods (thanks to Zach Hardesty)
- allow missing fields in
Mention
objects in support of very old message attachments - update documentation to warn users of HTTP 429 responses when creating chat messages with non-application API tokens
- update development status to Production/Stable in
setup.py
- fix image attachment creation
- support pickling/unpickling of
Resource
objects
- fix travis CD
- add
Block
equality byuser_id
andblocked_user_id
- add
Bot
equality bybot_id
- add
Message
equality byid
- add
Member
equality byid
- add
Group
equality bygroup_id
- fix bug when converting stange/invalid timestamps to datetimes
- add missing
created_at
andupdated_at
inChat
resources
This version represents a significant, backwards-incompatible change! The old API was brittle, poorly designed, and very difficult to test.
- No more global api key; create clients using a specific api key instead
- Added missing group functionality:
- joining with a share token
- rejoining a former group
- changing group ownership
- Added additional endpoints:
- leaderboard
- blocks
- Reverse engineered the undocumented gallery endpoint
- has all known supported listing methods
- supports before, after, and since with UTC
datetime
s
- Added paging control for endpoints that support it
- Message paging now maintains the order in which they come from the API:
- "before" messages go back in time
- "after" messages go forward in time
- much more grandular exceptions and no layer violations
- removal of Pillow depenedency for images; simply upload/download image bytes and do with them as you please
- result filtering has been moved and improved
- can now make and reuse a filter
- can create arbitrary sets of tests and use them in a filter
- now uses the Apache license instead of GPLv3
- Fixed an issue serializing attachments posted by the user (not a bot) (thanks to a-vilmin for reporting the issue)
- Fixed an issue with attachments not being serializable. Now an attempt to call their
as_dict
method is made (thank you to awctomlinson for pointing it out) - Fixed problem with
is_liked_by_me
,is_from_me
andmetions_me
when used onDirectMessages
(thank you to mmigrate) - Added attachment support to
Bot
'spost
method (thank you again to mmigrate) - Fixed a mispelling in the
mentions_me
method name (thank you adelq)
- Fixed a typo in the docs regarding the type of the
group
parameter of theBot
class (kudos to JCDJulian) - Fixed the
Group.update
method signature to include thegroup_id
(kudos to mmirate) - Fixed
Member.identification
such that it usesMember.guid
rather thanMember._guid
(kudos to mmirate) - Fixed the uncaught exception chain that occurred when a 304 was returned in
Recipient.messages
(thanks to dvmorris and sbonds for pointing it out) - Updated the list of contributors
- Fixed typo the
Bot
class that caused the bots to have a "gorup_id" (kudos to JCDJulian) - All modules except
object/listers.py
andobject/responses.py
now have full test coverage - Updated AUTHORS.rst with all contributors to date (feel free to PR with an email address added to your username)
- Fixed leftover markdown formatting in the CHANGELOG.rst file
- Fixed bugs with creating bots (kudos to qlyoung)
- Fixed bugs with posting messages as bots (kudos again to qlyoung)
- Fixed typo bugs in
Group
class (kudos to t3zla) - Fixed missing Python 3 trove classifier
- Added documentation for contributions
- Updated documentation for setup and installation
- Added a couple more unit tests
- Reconfigured tox test results to not clobber results from other environments
- Added support for
tox
(envs py34,py35) - Added support for
bumpversion
- Added
make
file for handy development - Moved to
nosetests
andcoverage
- Split requirements into regular and testing
- Updated some of the installation/troubleshooting docs
- Merged in open pull-requests for various oversights (kudos to ScufyfNrdHrdr, rAntonioH, and JacobAMason)
- Fixed problem when posting messages as a bot
- Added
refresh
option for automatically updating group information after addition/removal of members - Updated documentation
- Fixed code in
responses.py
that was still using the old exception class name - Changed the
Member.remove()
method to correctly use theid
of the member rather than theuser_id
- Slight beefing up of some documentation
- Fixed problems with
requirements.txt
andsetup.py
that caused problems installing frompip
- Re-wrote many of the unittests (still in progress)
- Added Travis-CI and PyPI badges to the readme
- Bumped requirement for dropbox's
responses
to 0.3.0 - Now uses
setup
fromsetuptools
rather thandistutils.core
- Fix packaging bug that caused inner packages to not be installed via
pip3
Now installable via
pip3
:$ pip3 install GroupyAPI
Groups
- Added a class method for creating a new group
- Added an instance method for destroying a group
Members
- Fixed member identification on dictionaries
User
- Fixed the enable/disable SMS methods (now class methods as they should be)
Documentation
- Added some module docstrings
- Added API docs for all attachment classes
- Added docs for split attachments
- Moved FilterList docs into the Advanced Usage section
- Rewrote API docs for enabling SMS mode
- Fixed bad sphinx references
- Fixed typos
- Added miscellaneous sections to the README
- Updated feature list
- Added support for downloaded the image of an image attachment
- Reorganized modules and project structure
- Updated documentation
- Added ability to list all known members
- Re-wrote attachments classes
- Fixed bug when adding members to a group
- Many additions to the documentation
- Added post and messages methods to members
- Added after_id parameter for direct messages
- Fixed liking and unliking direct messages
- Fixed listing former groups
- Fixed group lists being limited to a max of 500 items
- Documentation now available on Read the Docs!
- Added MessagePager class for returning lists of messages
- Added attachment class
- Added basic documentation
- Fixed the automatic splitting of long texts
- Fixed invalid response error issue
- Initial release