Releases: tesaguri/twitter-stream-rs
Releases · tesaguri/twitter-stream-rs
Version 0.13.0
- 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
- Update public dependencies (
hyper0.14,http-body0.4,bytes1.0,oauth-credentials0.3).
Version 0.11.0
Version 0.10.0: Async/Await!
- Updated to use
Streamtrait fromfuturesv0.3 (7941356) - Renamed
TwitterStreamBuildertype toBuilder(fc91c28) - Introduced
Builder::newconstructor that automatically determines the API endpoint to use (d117841) Builder::listen_with_clientnow takes animpl tower_service::Service(38a8f72)- Use newly introduced
BoundingBoxtype forlocationsparameter (af5513e) - Use
Cow<_>s for possibly borrowed parameters ofBuilder, so that you can create an "owned"Buildermore easily (2b6584b) - Replaced the (defective)
TwitterStream::filterconstructor withTwitterStream::{follow,track,locations}constructors (2b59ad6, 022b13f) - Removed
Builder::methodand madeBuilder::endpointtake an HTTP request method (a00aace) - Renamed
crate::typesmodule tobuilder(56c76a6) - Moved
builder::StatusCodetoerrormodule (a5bc6dd) - Removed
FilterLevel::Customvariant (d4221de) - Removed
Error::Customvariant (1a2567f) - Removed
crate::rtmodule (42c4c5f) - Changed structure of
Tokentype and removedserdesupport (630e2a3. Seeexamples/echo_bot.rsfor an alternative) - Removed native support for timeout (c034f76. See
examples/timeout.rsfor an alternative) - Removed
egg-modeandtweetustfeatures (4d50fbb)
Version 0.10.0-alpha.6
- Renamed
crate::typestobuilder(56c76a6) - Introduced
Builder::newconstructor that automatically determines the API endpoint to use (d117841) - Use newly introduced
BoundingBoxtype forlocationsparameter (af5513e) - Use
Cow<_>s for possibly borrowed parameters ofBuilder, so that you can create an "owned"Buildermore easily (2b6584b) - Removed
Builder::methodand madeBuilder::endpointtake an HTTP request method (a00aace) - Removed
FilterLevel::Customvariant (d4221de) - Removed
Error::Customvariant (1a2567f) - Replaced the (defective)
TwitterStream::filterconstructor withTwitterStream::{follow,track,locations}constructors (2b59ad6, 022b13f)
Version 0.10.0-alpha.5
- Response body of the HTTP service no longer need to be
Bytes - Add convenience reexports under
crate::hypermodule
Version 0.10.0-alpha.4
- Updated public dependencies:
futures0.3,tokio0.2,bytes0.5 - Made
Builder::listen_with_clienttake animpl tower_service::Service - Removed timeout support (attach Tower middlewares to HTTP client if you want a timeout)
- Removed
egg-modeandtweetustfeatures - Removed
crate::rtmodule
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
- Update dependencies
Version 0.10.0-alpha.1
- 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
TwitterStreamBuildertoBuilder - Tweaked structure of
Tokentype
v0.9.0
- Add
Token::borrowedconvenience method (dc2289f) - Set default type params for
TwitterStreamBuilder(7c54531) - Remove
TwitterStreamBuilder::clientin favor of newlisten_with_clientmethod (f62b3d6) - Replace
JsonStrwithstringcrate'sString<Bytes>(bf27297) - Make
runtimefeature optional (8d276d5) TwitterStreamBuilder::listennow returns aResult<FutureTwitterStream, TlsError>(989befa)- Drop native support for TLS implementations other than
hyper-tls(9b32ab8) TwitterStreamBuildernow takesTokenby-value (cf26992)