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 (
hyper
0.14,http-body
0.4,bytes
1.0,oauth-credentials
0.3).
Version 0.11.0
Version 0.10.0: Async/Await!
- Updated to use
Stream
trait fromfutures
v0.3 (7941356) - Renamed
TwitterStreamBuilder
type toBuilder
(fc91c28) - Introduced
Builder::new
constructor that automatically determines the API endpoint to use (d117841) Builder::listen_with_client
now takes animpl tower_service::Service
(38a8f72)- Use newly introduced
BoundingBox
type forlocations
parameter (af5513e) - Use
Cow<_>
s for possibly borrowed parameters ofBuilder
, so that you can create an "owned"Builder
more easily (2b6584b) - Replaced the (defective)
TwitterStream::filter
constructor withTwitterStream::{follow,track,locations}
constructors (2b59ad6, 022b13f) - Removed
Builder::method
and madeBuilder::endpoint
take an HTTP request method (a00aace) - Renamed
crate::types
module tobuilder
(56c76a6) - Moved
builder::StatusCode
toerror
module (a5bc6dd) - Removed
FilterLevel::Custom
variant (d4221de) - Removed
Error::Custom
variant (1a2567f) - Removed
crate::rt
module (42c4c5f) - Changed structure of
Token
type and removedserde
support (630e2a3. Seeexamples/echo_bot.rs
for an alternative) - Removed native support for timeout (c034f76. See
examples/timeout.rs
for an alternative) - Removed
egg-mode
andtweetust
features (4d50fbb)
Version 0.10.0-alpha.6
- Renamed
crate::types
tobuilder
(56c76a6) - Introduced
Builder::new
constructor that automatically determines the API endpoint to use (d117841) - Use newly introduced
BoundingBox
type forlocations
parameter (af5513e) - Use
Cow<_>
s for possibly borrowed parameters ofBuilder
, so that you can create an "owned"Builder
more easily (2b6584b) - Removed
Builder::method
and madeBuilder::endpoint
take an HTTP request method (a00aace) - Removed
FilterLevel::Custom
variant (d4221de) - Removed
Error::Custom
variant (1a2567f) - Replaced the (defective)
TwitterStream::filter
constructor 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::hyper
module
Version 0.10.0-alpha.4
- Updated public dependencies:
futures
0.3,tokio
0.2,bytes
0.5 - Made
Builder::listen_with_client
take animpl tower_service::Service
- Removed timeout support (attach Tower middlewares to HTTP client if you want a timeout)
- Removed
egg-mode
andtweetust
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
- 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
TwitterStreamBuilder
toBuilder
- Tweaked structure of
Token
type
v0.9.0
- Add
Token::borrowed
convenience method (dc2289f) - Set default type params for
TwitterStreamBuilder
(7c54531) - Remove
TwitterStreamBuilder::client
in favor of newlisten_with_client
method (f62b3d6) - Replace
JsonStr
withstring
crate'sString<Bytes>
(bf27297) - Make
runtime
feature optional (8d276d5) TwitterStreamBuilder::listen
now returns aResult<FutureTwitterStream, TlsError>
(989befa)- Drop native support for TLS implementations other than
hyper-tls
(9b32ab8) TwitterStreamBuilder
now takesToken
by-value (cf26992)