Skip to content

Releases: PLhery/node-twitter-api-v2

1.9.0 - v2 includes helpers

05 Jan 21:00
Compare
Choose a tag to compare
  • Feat: Helpers for v2 includes
  • Feat: Support for custom debug loggers
  • Fix: Errors accessor to get API errors in paginators #145
  • Fix: Correctly update .includes/.meta/.errors in paginators when using async iterator #142
  • Fix: Incorrect HTTP method for GET lists #147 #148
  • Doc: Better doc & examples for OAuth 2.0 user-context

1.8.1 - GET lists v2

03 Jan 20:36
Compare
Choose a tag to compare
  • Feat: Add every GET lists v2 endpoints

1.8.0 - OAuth2 user-context

19 Dec 19:58
Compare
Choose a tag to compare
  • Feat: Add OAuth2 user-context support
  • Feat: Add users/me v2 endpoint wrapper

1.7.2 - Fix paginators for-await-of

08 Dec 16:51
Compare
Choose a tag to compare
  • Fix: Paginator can return multiple times the same results in some conditions
  • Feat: .done property for paginators, to know when a next page is fetchable

1.7.1

05 Dec 18:17
Compare
Choose a tag to compare
  • Fix: wrong type for optional parameter images in TweetEntityUrlV2

1.7.0 - Post & delete tweets with v2 API

24 Nov 10:34
Compare
Choose a tag to compare
  • Feat: Create tweet v2 endpoint (thanks to @sudo-kaizen) #110
  • Feat: Delete tweet v2 endpoint (thanks to @sudo-kaizen) #111
  • Feat: Tweet thread and reply to a tweet v2
  • Fix: BREAKING: Explicitly specify userId on userMutingUsers (thanks to @mika-f) #114

Migrate

  • userMutingUsers now requires to give current logged user ID in order to correctly work.

This is due to force v2 endpoints to be completely disconnected from v1 API ; v2 API doesn't yet allow to download currently logged user (no alternative to v1.verifyCredentials()).

If you have access to v1 API, you can do the following:

const mutedPaginator = await client.v2.userMutingUsers((await client.currentUser()).id_str);

1.6.5

01 Nov 16:54
Compare
Choose a tag to compare
  • Fix: Increase retry timeout on stream reconnection

1.6.4

22 Oct 19:52
Compare
Choose a tag to compare
  • Fix: Reject stream reconnection if a reconnect process is already started

1.6.3 - Stream bug fixes

21 Oct 07:57
Compare
Choose a tag to compare
  • Fix: Streams will know correctly reject .connect Promise on connection error if autoReconnect is false

1.6.2 - Auto stream reconnect for initial connection

21 Oct 07:40
Compare
Choose a tag to compare
  • Feat: Streams do now support auto-reconnection for the initial connection attempt