v0.18.5 - 2026-08-21
- fix(deps): update module github.com/michimani/gotwi to v0.18.4 by @renovate[bot] in #361
- chore(deps): update go toolchain directive to v1.26.6 by @renovate[bot] in #363
- fix(deps): update module github.com/stretchr/testify to v1.12.1 by @renovate[bot] in #364
- chore(deps): update go toolchain directive to v1.27.0 by @renovate[bot] in #365
v0.18.4 - 2026-07-16
- fix(deps): update module github.com/michimani/gotwi to v0.18.3 by @renovate[bot] in #354
- chore(deps): update go toolchain directive to v1.26.4 by @renovate[bot] in #356
- chore(deps): update codecov/codecov-action action to v7 by @renovate[bot] in #357
- chore(deps): update actions/checkout action to v7 by @renovate[bot] in #358
- chore(deps): update actions/setup-go action to v7 by @renovate[bot] in #360
- chore(deps): update go toolchain directive to v1.26.5 by @renovate[bot] in #359
v0.18.3 - 2026-05-17
- chore/update go version by @michimani in #345
- chore(deps): update go toolchain directive to v1.26.3 by @renovate[bot] in #347
- fix(deps): update module github.com/michimani/gotwi to v0.18.2 by @renovate[bot] in #348
- chore(deps): update actions/checkout action to v6 by @renovate[bot] in #351
- chore(deps): update actions/setup-go action to v6 by @renovate[bot] in #352
- chore(deps): update codecov/codecov-action action to v6 by @renovate[bot] in #353
- fix(deps): update module github.com/stretchr/testify to v1.11.1 by @renovate[bot] in #350
v0.18.2 - 2026-05-17
- chore: add Contributors section to README using cntrib.rocks by @michimani in #336
- chore: Migrate release flow to tagpr by @michimani in #339
- fix: tagpr config by @michimani in #341
- fix(errors): remove debug print statement from non2XXErrorSummary by @michimani in #343
- fix(client): close response body on non-2XX in ExecStream by @michimani in #344
- Adding tweet parameters by @V0lkanTas in #338
- Fix
Non2XXError.Statusfield type. (#333)
- Support media upload API.
- Support POST /2/media/upload/initialize
- Support POST /2/media/upload/:mediaID/append
- Support POST /2/media/upload/:mediaID/finalize
- Add
CommunityIDfield inTweetstruct. (25c9edc) by @paladin-devops
- Support
MostRecentTweetIDfields inUserstruct. (cf40a01 by @AtakanPehlivanoglu)
- Ability to set API Key & API Key Secret manually. (8abb233 by @EricFrancis12)
- Support
NoteTweetfields inTweetstruct. (370f3eb by @NHypocrite)
- bump Go version 1.22
- bump Go version 1.20
This version is not compatible with v0.12.5 or earlier.
If your application uses the PartialError.ResourceId and Tweet.ConversationId fields, you will need to modify them when updating to this version. PartialError.ResourceID and Tweet.ConversationID instead of them, respectively.
- Fix invalid field names. (635bd32)
- Support
EditHistoryTweetIDsfields inTweetstruct and supportMatchingRulesfor response ofGET /2/tweets/search/stream. (bd569c4)
- Support all fields in
includesfield for response ofGET /2/tweets/search/recentandGET /2/tweets/search/all. (bc396a3)
- Support
media.variantsfield for response ofGET /2/tweets/search/streamand so on. (b453dc2)
- Fix struct of response for
GET /2/users/:id/tweets,GET /2/users/:id/mentionsandGET /2/users/:id/timelines/reverse_chronological. (25c8bf0), (#288) (56f1c42)
- Support
max_resultsandpagination_tokenparameter atGET /2/tweets/:id/liking_users. (#272) (308e2b8) - Support
max_resultsandpagination_tokenparameter atGET /2/tweets/:id/retweeted_by. (#270) (279e364)
- Fix invalid field type. (#279) (f8153fa)
- Remove invalid input fields. (#272) (308e2b8) (#270) (279e364)
- Support
quote_tweet_idparameter atPOST /2/tweets. (#267) (b6de378) - Support
backfill_minutesparameter atGET /2/tweets/sample/stream. (#269) (b77035d) - Support
excludeparameter atGET /2/tweets/:id/quote_tweets. (#271) 6b319d2
filteredstream.SearchStreamsometimes fails with "unexpected end of JSON input" error. (#259)
- TweetEntities struct has some invalid and not enough fields. (#256)
- Media struct does not have URL field. (#252)
- Add debug mode.
- Tweet lookup API response does not include Tweets, Places, Media, and Polls Fields. (#248)
POST /2/tweets/search/stream/rulesGET /2/tweets/search/stream
GET /2/tweets/sample/streamv0.11.0 (2022-04-13) ===
This version is not compatible with v0.10.4 or earlier. The structure of the library has changed significantly in v0.11.0 and later compared to v0.10.4 and earlier. If you are using v0.10.4 or earlier, updating to v0.11.0 or later may result in your application not working properly.
- Change package names, function names, and method names to more descriptive names.
- Update unreleased comment.
GET /2/compliance/jobs/:idGET /2/compliance/jobsPOST /2/compliance/jobs
GET /2/users/:id/bookmarksPOST /2/users/:id/bookmarksDELETE /2/users/:id/bookmarks/:tweet_id
- Generate GotwiClient with access token
GET /2/tweets/:id/quote_tweets
- bump Go version 1.18
- Handling API errors
GET /2/spaces/:id/buyersGET /2/spaces/:id/tweets
- add some tests
- use
io.ReadAllinstead ofioutil.ReadAll - comment for API (
users.UserLookupMe)
GET /2/users/me
- add some tests
- remove some unnecessary processing
- add some tests
- add code coverage tool
- Creating OAuth 1.0 signature
- some tests
- add examples
- add pkg.go badge
DELETE /2/tweetsPOST /2/tweets
GET /2/users/:id/list_membershipsGET /2/users/:id/followed_listsGET /2/lists/:id/followersGET /2/users/:id/pinned_listsGET /2/lists/:id/tweets
GET /2/lists/:id/members
GET /2/users/:id/owned_listsGET /2/lists/:id
- type of resource fields
- name of Lists resources
GET /2/tweets/search/stream/rules
GET /2/spaces/by/creator_idsGET /2/spacesGET /2/spaces/:idGET /2/spaces/search
- some fields
- Call API with context
- Use json decoder
- type of some fields
POST DELETE /2/users/:id/pinned_listsPOST DELETE /2/lists/:id/followsPOST DELETE /2/lists/:id/membersDELETE /2/lists/:idPUT /2/lists/:idPOST /2/listsPUT /2/tweets/:id/hidden
- type of JSON parameters
- not ok error struct
DELETE /2/users/:id/retweets/:source_tweet_idPOST /2/users/:id/retweetsDELETE /2/users/:id/likesPOST /2/users/:id/likesGET /2/tweets/:id/liked_tweetsDELETE /2/users/:source_user_id/muting/:target_user_idPOST /2/users/:id/mutingDELETE /2/users/:source_user_id/blocking/:target_user_idPOST /2/users/:id/blockingDELETE /2/users/:source_user_id/following/:target_user_idPOST /2/users/:id/followingGET /2/tweets/:id/liking_usersGET /2/users/:id/retweeted_byGET /2/users/:id/mutingGET /2/users/:id/mentionsGET /2/users/:id/tweets
- Creating new client
- client method, OAuth 1.0 method
GET /2/users/:id/blockingGET /2/tweets/counts/allGET /2/tweets/counts/recentGET /2/tweets/search/all API
- Support OAuth 1.0a
- Resolving endpoint
- ParameterMap method
- name of some structs
- Handling rate limit error
- Handling not 200 errors
- GET /2/tweets/search/recent
GET /2/users/:id/followersGET /2/users/:id/following
- Name of some files
GET /2/tweets/:idGET /2/tweets
- Support partial error
- Handle non 200 error
- Calling Twitter API
- User Lookup APIs
- Directory struct
- add CREDITS
- add LICENCE
- dev release 🚀