Skip to content

Releases: odrling/peony-twitter

Peony Twitter version 1.1.3

04 May 15:44
Compare
Choose a tag to compare

Changes since 1.1.2:

  • Fixed MemoryError on stream closed (#24)
  • Removed examples of userstreams that are now unusable in the docs (#23)
  • You can now iterate responses with no data with any iterator, with force=True (#22)

Peony Twitter version 1.1.2

31 Dec 00:48
Compare
Choose a tag to compare

Changes since 1.1.1:

  • max_id and since_id iterators should now work for every endpoint (issue #20)

Peony Twitter version 1.1.1

15 Sep 15:49
Compare
Choose a tag to compare

Changes since 1.1.0:

  • Proxies should work properly for streams now (issue #18)
  • Added retweet and on_retweet aliases for the retweet_statuses event (issue #19)

Peony Twitter version 1.1.0

29 Mar 21:09
Compare
Choose a tag to compare

Changes since 1.0.4:

  • New ErrorHandler class to create error handlers
  • In PeonyClient, the user and twitter_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

25 Feb 14:44
Compare
Choose a tag to compare

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

15 Aug 21:25
Compare
Choose a tag to compare

Changes since v1.0.2:

  • Stream not starting correctly when no session was explicitly created (issue #14)

Peony Twitter version 1.0.2

04 Aug 11:02
Compare
Choose a tag to compare

Changes since 1.0.1:

  • PeonyClient.upload_media supports url and aiohttp requests.
  • BasePeonyClient.run now uses asyncio.gather instead of asyncio.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

30 Jun 21:49
Compare
Choose a tag to compare

Changes since 1.0.0:

  • The connect event (or its alias on_connect) is now an internal event triggered on first connection to a stream. If you need to access the "friends" list use the friends 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

28 Jun 23:41
Compare
Choose a tag to compare

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 the text item is truncated
  • upload_media() accepts the media_type and media_category arguments if
    you want to manually specify these parameters for some reason
  • peony.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