Skip to content

Releases: tesaguri/twitter-stream-rs

Version 0.13.0

17 Jul 09:10
v0.13.0
55f8c62

Choose a tag to compare

  • Remove native gzip support in favor of external client middlewares

If you still want the stream to be gzipped, wrap the HTTP client with tower-http crate's Decompression middleware and pass it to Builder::listen_with_client method as shown in the example code at examples/gzip.rs.

Version 0.12.0

12 Jan 14:19
v0.12.0
5ca441b

Choose a tag to compare

  • Update public dependencies (hyper 0.14, http-body 0.4, bytes 1.0, oauth-credentials 0.3).

Version 0.11.0

20 Oct 00:59
v0.11.0
3dcd124

Choose a tag to compare

  • Token is now a re-export from a new crate oauth-credentials.

As a consequence, Token::new was renamed to from_parts and
Token::from_credentials was renamed to new.

(368cf16)

  • Remove deprecated methods Builder::{filter,sample}.

(6da55e5)

Version 0.10.0: Async/Await!

11 Jul 19:03
v0.10.0
82a5667

Choose a tag to compare

  • Updated to use Stream trait from futures v0.3 (7941356)
  • Renamed TwitterStreamBuilder type to Builder (fc91c28)
  • Introduced Builder::new constructor that automatically determines the API endpoint to use (d117841)
  • Builder::listen_with_client now takes an impl tower_service::Service (38a8f72)
  • Use newly introduced BoundingBox type for locations parameter (af5513e)
  • Use Cow<_>s for possibly borrowed parameters of Builder, so that you can create an "owned" Builder more easily (2b6584b)
  • Replaced the (defective) TwitterStream::filter constructor with TwitterStream::{follow,track,locations} constructors (2b59ad6, 022b13f)
  • Removed Builder::method and made Builder::endpoint take an HTTP request method (a00aace)
  • Renamed crate::types module to builder (56c76a6)
  • Moved builder::StatusCode to error module (a5bc6dd)
  • Removed FilterLevel::Custom variant (d4221de)
  • Removed Error::Custom variant (1a2567f)
  • Removed crate::rt module (42c4c5f)
  • Changed structure of Token type and removed serde support (630e2a3. See examples/echo_bot.rs for an alternative)
  • Removed native support for timeout (c034f76. See examples/timeout.rs for an alternative)
  • Removed egg-mode and tweetust features (4d50fbb)

Version 0.10.0-alpha.6

14 Mar 05:01
v0.10.0-alpha.6
6853641

Choose a tag to compare

  • Renamed crate::types to builder (56c76a6)
  • Introduced Builder::new constructor that automatically determines the API endpoint to use (d117841)
  • Use newly introduced BoundingBox type for locations parameter (af5513e)
  • Use Cow<_>s for possibly borrowed parameters of Builder, so that you can create an "owned" Builder more easily (2b6584b)
  • Removed Builder::method and made Builder::endpoint take an HTTP request method (a00aace)
  • Removed FilterLevel::Custom variant (d4221de)
  • Removed Error::Custom variant (1a2567f)
  • Replaced the (defective) TwitterStream::filter constructor with TwitterStream::{follow,track,locations} constructors (2b59ad6, 022b13f)

Version 0.10.0-alpha.5

02 Jan 04:44
v0.10.0-alpha.5
96c92d7

Choose a tag to compare

  • Response body of the HTTP service no longer need to be Bytes
  • Add convenience reexports under crate::hyper module

Version 0.10.0-alpha.4

21 Dec 23:06
v0.10.0-alpha.4
a8d02a1

Choose a tag to compare

  • Updated public dependencies: futures 0.3, tokio 0.2, bytes 0.5
  • Made Builder::listen_with_client take an impl tower_service::Service
  • Removed timeout support (attach Tower middlewares to HTTP client if you want a timeout)
  • Removed egg-mode and tweetust features
  • Removed crate::rt module

This is virtually a release candidate for v0.10. The author does not plan further drastic changes at the moment until the final release (Edit: uh, this was found to be wrong).

Changes that might be made before the final release include:

  • Updating a public dependency (waiting for carllerche/string#17 to be released)
  • Documentation works (esp. on making use of Tower middlewares to set a timeout)

Version 0.10.0-alpha.2

05 Nov 18:37
v0.10.0-alpha.2
5762880

Choose a tag to compare

  • Update dependencies

Version 0.10.0-alpha.1

05 Sep 20:55
v0.10.0-alpha.1
54cc4cc

Choose a tag to compare

  • Updated public dependencies (futures: 0.3.0-alpha, tokio: 0.2.0-alpha, hyper: 0.13.0-alpha, string: 0.2, egg-mode: 0.13, tweetust: 0.10)
  • Renamed TwitterStreamBuilder to Builder
  • Tweaked structure of Token type

v0.9.0

02 Dec 20:12

Choose a tag to compare

  • Add Token::borrowed convenience method (dc2289f)
  • Set default type params for TwitterStreamBuilder (7c54531)
  • Remove TwitterStreamBuilder::client in favor of new listen_with_client method (f62b3d6)
  • Replace JsonStr with string crate's String<Bytes> (bf27297)
  • Make runtime feature optional (8d276d5)
  • TwitterStreamBuilder::listen now returns a Result<FutureTwitterStream, TlsError> (989befa)
  • Drop native support for TLS implementations other than hyper-tls (9b32ab8)
  • TwitterStreamBuilder now takes Token by-value (cf26992)