Releases: odrling/peony-twitter
Peony Twitter version 1.1.3
Peony Twitter version 1.1.2
Changes since 1.1.1:
max_id
andsince_id
iterators should now work for every endpoint (issue #20)
Peony Twitter version 1.1.1
Peony Twitter version 1.1.0
Changes since 1.0.4:
- New
ErrorHandler
class to create error handlers - In
PeonyClient
, theuser
andtwitter_configuration
properties are now awaitables - The package now requires aiohttp 2+ to be installed
See this page to find more details about changes that could break applications relying on Peony when updating to this version.
Peony Twitter version 1.0.4
Changes since 1.0.3
- Support for aiohttp 3
- Should work with Python 3.7 (not tested yet)
ClientSession.close
is now a coroutine
Peony Twitter version 1.0.3
Changes since v1.0.2:
- Stream not starting correctly when no session was explicitly created (issue #14)
Peony Twitter version 1.0.2
Changes since 1.0.1:
PeonyClient.upload_media
supports url and aiohttp requests.BasePeonyClient.run
now usesasyncio.gather
instead ofasyncio.wait
. Which results in exceptions being raised as soon as they are raised in a task rather than later on (or even never...)
Peony version 1.0.1
Changes since 1.0.0:
- The
connect
event (or its aliason_connect
) is now an internal event triggered on first connection to a stream. If you need to access the "friends" list use thefriends
event #12. - new
connected
event, triggered on the first connection to the stream. - Some errors were not correctly logged, this should be fixed now.
Peony version 1.0.0
I finally released the 1.0.0 version of Peony.
A lot of things changed everywhere as I tried to create tests for the
main module (peony.commands is still untested when you run the tests) so
Peony is now a bit more reliable.
I tried to keep most existing codes working as expected.
The most problematic change that was made since v0.9.3.1 is that I
removed the auto_convert
and max_sizes
parameters of
PeonyClient.upload_media()
(the original functions that were called
when you used this option are in examples/upload.py).
I just thought that it was actually unnecessary for this feature to be
in Peony and that upload_media()
should just send the file that is
given as an argument.
Some nice features have been added and should now be in the
documentation:
- Accessing the
text
attribute of a tweet should get the full text of
the tweet if thetext
item is truncated upload_media()
accepts the media_type and media_category arguments if
you want to manually specify these parameters for some reasonpeony.events.default
can be used to match any event that wasn't
matched by any other event handler- Custom events can now be easily created using the
peony.events
decorator