Releases: PLhery/node-twitter-api-v2
Releases · PLhery/node-twitter-api-v2
1.6.1 - Streams settings upgrade
- Feat: New option for creating streams,
autoConnect
that istrue
by default. Setting the value tofalse
will cause theTweetStream
object to be returned immediately (not in aPromise
), because connection isn't awaited. #92 - Fix:
autoReconnectRetries
: Setting this params toInfinity
no longer causes the stream reconnection attempts to be delayed to next event loop turn. #92 - Fix: Use
https.request(options)
instead ofhttps.request(url, options)
, because some people has outdated dependencies that overwrite native Node's exported function and break its signature. #94 #96 - Feat: Next retry timeout computation can be customized by using
.nextRetryTimeout
property ofTweetStream
instance, that is function taking atryOccurence
and returning the number of milliseconds to wait before trying to reconnect.
1.6.0 - Manage lists and list mutes
1.5.2: Rate limit caching fixes & tweet thread helper
1.5.1 - Fix typings in tweets
Fix: Fix return type for v1.1 'tweets' wrapper #72
1.5.0 - List and better rate limit access
- Feat: v1.1 List endpoints, GET and POST, with doc, paginators and typings #70
- Feat: Save rate limit information for last request of each endpoint #70
- Doc: Documentation improvements for uploading media #68 #70 - thanks to @HapLifeMan
- Doc: Fixed parameter name #67 - thanks to @HapLifeMan
1.4.1 - Types fixes & doc improvements
- Fix: Incorrect type union in MessageCreateAttachmentV1 & MessageCreateLocationV1
- Doc: Added real-life examples
- Doc: Add Twitter doc link to .tweet/.reply
1.4.0 - v2 Spaces & Batch — v1 Accounts, users and friendships
- Feat: Add every oauth/authenticate parameters #54 - thanks to @tbhmens
- Fix: Set allowSyntheticDefaultImport to false to improve compat #57 - thanks to @PLhery
- Feat: Add missing tweet.fields items in type enumeration #60 - thanks to @filippkowalski
- Doc: Add info about error handling #61
- Feat: Endpoint wrappers for v2 Spaces endpoints #62
- Feat: Endpoint wrappers for v2 Batch Compliance endpoints #62
- Feat: Types & wrappers for account, friendships, users and tweets v1.1 endpoints #64
- Fix: Incorrect encoding of '*' character in query strings #63 #64
1.3.0 - DMs & v2 wrappers
- Doc: Improve rate-limit documentation #47 #32
- Feat: Public Direct Messages (DMs) 1.1 endpoints support: wrappers, typings, docs and tests #48
- Feat: New 05/06/07-2021 v2 endpoints wrappers #50
- Feat: Paginator mode for .following/.followers for v2 #50
- Fix: Many fixes for tweet streams auto-reconnect, handle connection errors more smoothly #50
- Feat: New events for tweet streams, that includes lost connection and reconnections #50
- Feat: Handle stream errors deliveries in a dedicated .DataError event (for v2 tweet streams) #50
- Fix: Corrections for body-mode auto-detection (mainly for manual API requests) #53
1.2.0 - Misc fixes and improvements
1.1.1 - keep streams alive
- Fix: in streams, the KeepAlive was not emitted #33