release: 0.4.0#5
Merged
kriptoburak merged 41 commits intomainfrom Apr 22, 2026
Merged
Conversation
3907056 to
91588fd
Compare
Contributor
Author
|
🤖 Release is at https://github.com/Xquik-dev/x-twitter-scraper-php/releases/tag/v0.4.0 🌻 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated Release PR
0.4.0 (2026-04-22)
Full Changelog: v0.3.0...v0.4.0
Features
Bug Fixes
Chores
This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions
Note
Release v0.4.0 with typed paginated responses, account health, FileParam uploads, and new community/trends APIs
PaginatedTweetsorPaginatedUsersinstead of endpoint-specific response types; user retrieval returnsUserProfileand single-resource endpoints return flattened detail types (e.g.XAccountDetail,DraftDetail,EventDetail)XAccount,XAccountDetail,AccountNewResponse, andAccountReauthResponsenow include a requiredhealthproperty validated against a newHealthenum with six states (healthy, locked, needs_reauth, recovering, suspended, temporary_issue)FileParamclass added to src/Core/FileParam.php enabling file uploads viafromString()orfromResource(); accepted by media upload, avatar/banner update, and profile methodsAccountsService::bulkRetry(),TweetsService::listByCommunity(),XService::getTrends()withcount/woeidparams returning typedXGetTrendsResponseRadarRetrieveTrendingTopicsParamsswitches fromcounttolimit, addsaftercursor, and accepts typedCategory/Sourceenums; response switches fromtotaltohasMore/nextCursorcursor-based paginationClientalways sends both API key and bearer auth headers and no longer accepts a per-request security array;IntegrationsServiceandBotServiceare removed from the clientEventTypeenum removesfollower.gainedandfollower.lostcases;Errorenum replacesstream_registration_failed/usage_limit_reachedwithinsufficient_credits/no_credits$tweetID→$id,$username→$id), and removed response wrapper types require callers to update type hints and construction patternsMacroscope summarized 3907056.