diff --git a/.release-please-manifest.json b/.release-please-manifest.json index da59f99..3e2bf49 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.4.0" + ".": "0.4.1" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index cf3227f..d470135 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 110 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik%2Fx-twitter-scraper-4a12c672870ee7282ad1d00f262e20fb360a8296b64a774628d1d0252e12694a.yml -openapi_spec_hash: 2e298ff704f550c80c2d07d9adadba6d +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik%2Fx-twitter-scraper-2adc33156b4b42a4be18cc20c0205b38f0432d7958da99c65ee9b3f6a555ea0e.yml +openapi_spec_hash: be760f5620a268521d6793f65576a61f config_hash: 320a9cb2f1293d1a7b73c63ab5865af5 diff --git a/CHANGELOG.md b/CHANGELOG.md index dbd7eb2..191c854 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 0.4.1 (2026-04-25) + +Full Changelog: [v0.4.0...v0.4.1](https://github.com/Xquik-dev/x-twitter-scraper-php/compare/v0.4.0...v0.4.1) + +### Bug Fixes + +* escape ampersand in OpenAPI summaries for C# XML docs ([210ef0f](https://github.com/Xquik-dev/x-twitter-scraper-php/commit/210ef0f5474ce59757f40de783503d6ca8e6bb4b)) + + +### Documentation + +* add Contributor Covenant 2.1 Code of Conduct ([#2192](https://github.com/Xquik-dev/x-twitter-scraper-php/issues/2192)) ([9b5a580](https://github.com/Xquik-dev/x-twitter-scraper-php/commit/9b5a580eb39c479709602e6be3dc9c83bdb57cef)) + ## 0.4.0 (2026-04-22) Full Changelog: [v0.3.0...v0.4.0](https://github.com/Xquik-dev/x-twitter-scraper-php/compare/v0.3.0...v0.4.0) diff --git a/src/Services/TrendsRawService.php b/src/Services/TrendsRawService.php index 838e2af..29a52b6 100644 --- a/src/Services/TrendsRawService.php +++ b/src/Services/TrendsRawService.php @@ -28,7 +28,7 @@ public function __construct(private Client $client) {} /** * @api * - * Get trending hashtags & topics by region (alias) + * Get trending hashtags and topics by region (alias) * * @param array{count?: int, woeid?: int}|TrendListParams $params * @param RequestOpts|null $requestOptions diff --git a/src/Services/TrendsService.php b/src/Services/TrendsService.php index 733535f..799a466 100644 --- a/src/Services/TrendsService.php +++ b/src/Services/TrendsService.php @@ -34,7 +34,7 @@ public function __construct(private Client $client) /** * @api * - * Get trending hashtags & topics by region (alias) + * Get trending hashtags and topics by region (alias) * * @param int $count Number of trending topics to return (1-50, default 30) * @param int $woeid Region WOEID (1=Worldwide, 23424977=US, 23424975=UK, 23424969=Turkey) diff --git a/src/Services/X/CommunitiesRawService.php b/src/Services/X/CommunitiesRawService.php index 090da17..b5fc669 100644 --- a/src/Services/X/CommunitiesRawService.php +++ b/src/Services/X/CommunitiesRawService.php @@ -102,7 +102,7 @@ public function delete( /** * @api * - * Get community name, description & member count + * Get community name, description and member count * * @param string $id Community ID * @param RequestOpts|null $requestOptions diff --git a/src/Services/X/CommunitiesService.php b/src/Services/X/CommunitiesService.php index 2b830e9..5c394f8 100644 --- a/src/Services/X/CommunitiesService.php +++ b/src/Services/X/CommunitiesService.php @@ -106,7 +106,7 @@ public function delete( /** * @api * - * Get community name, description & member count + * Get community name, description and member count * * @param string $id Community ID * @param RequestOpts|null $requestOptions diff --git a/src/Services/X/MediaRawService.php b/src/Services/X/MediaRawService.php index f05bab7..8e59ab3 100644 --- a/src/Services/X/MediaRawService.php +++ b/src/Services/X/MediaRawService.php @@ -31,7 +31,7 @@ public function __construct(private Client $client) {} /** * @api * - * Download images & videos from tweets + * Download images and videos from tweets * * @param array{ * tweetIDs?: list, tweetInput?: string diff --git a/src/Services/X/MediaService.php b/src/Services/X/MediaService.php index 92d591d..931aa71 100644 --- a/src/Services/X/MediaService.php +++ b/src/Services/X/MediaService.php @@ -36,7 +36,7 @@ public function __construct(private Client $client) /** * @api * - * Download images & videos from tweets + * Download images and videos from tweets * * @param list $tweetIDs Array of tweet URLs or IDs (bulk, max 50) * @param string $tweetInput Tweet URL or ID (single tweet) diff --git a/src/Services/X/TweetsRawService.php b/src/Services/X/TweetsRawService.php index ff8c15c..71172dd 100644 --- a/src/Services/X/TweetsRawService.php +++ b/src/Services/X/TweetsRawService.php @@ -79,7 +79,7 @@ public function create( /** * @api * - * Get tweet with full text, author, metrics & media + * Get tweet with full text, author, metrics and media * * @param string $id Tweet ID * @param RequestOpts|null $requestOptions @@ -337,7 +337,7 @@ public function getThread( /** * @api * - * Search tweets with X query operators & pagination + * Search tweets with X query operators and pagination * * @param array{ * q: string, diff --git a/src/Services/X/TweetsService.php b/src/Services/X/TweetsService.php index 842a754..8e59334 100644 --- a/src/Services/X/TweetsService.php +++ b/src/Services/X/TweetsService.php @@ -94,7 +94,7 @@ public function create( /** * @api * - * Get tweet with full text, author, metrics & media + * Get tweet with full text, author, metrics and media * * @param string $id Tweet ID * @param RequestOpts|null $requestOptions @@ -303,7 +303,7 @@ public function getThread( /** * @api * - * Search tweets with X query operators & pagination + * Search tweets with X query operators and pagination * * @param string $q Search query (keywords, * @param string $cursor Pagination cursor from previous response diff --git a/src/Services/X/UsersRawService.php b/src/Services/X/UsersRawService.php index 772963c..ff0fbc0 100644 --- a/src/Services/X/UsersRawService.php +++ b/src/Services/X/UsersRawService.php @@ -39,7 +39,7 @@ public function __construct(private Client $client) {} /** * @api * - * Get user profile with follower counts & verification + * Get user profile with follower counts and verification * * @param string $id X username (without @) or user ID * @param RequestOpts|null $requestOptions diff --git a/src/Services/X/UsersService.php b/src/Services/X/UsersService.php index c4633fc..5a919af 100644 --- a/src/Services/X/UsersService.php +++ b/src/Services/X/UsersService.php @@ -43,7 +43,7 @@ public function __construct(private Client $client) /** * @api * - * Get user profile with follower counts & verification + * Get user profile with follower counts and verification * * @param string $id X username (without @) or user ID * @param RequestOpts|null $requestOptions diff --git a/src/Services/XRawService.php b/src/Services/XRawService.php index 85b49be..4720354 100644 --- a/src/Services/XRawService.php +++ b/src/Services/XRawService.php @@ -127,7 +127,7 @@ public function getNotifications( /** * @api * - * Get trending hashtags & topics from X by region + * Get trending hashtags and topics from X by region * * @param array{count?: int, woeid?: int}|XGetTrendsParams $params * @param RequestOpts|null $requestOptions diff --git a/src/Services/XService.php b/src/Services/XService.php index 30bea5d..b865bd4 100644 --- a/src/Services/XService.php +++ b/src/Services/XService.php @@ -176,7 +176,7 @@ public function getNotifications( /** * @api * - * Get trending hashtags & topics from X by region + * Get trending hashtags and topics from X by region * * @param int $count Number of trending topics to return (1-50, default 30) * @param int $woeid Region WOEID (1=Worldwide, 23424977=US, 23424975=UK, 23424969=Turkey) diff --git a/src/Trends/TrendListParams.php b/src/Trends/TrendListParams.php index 389ee1a..1607a7f 100644 --- a/src/Trends/TrendListParams.php +++ b/src/Trends/TrendListParams.php @@ -10,7 +10,7 @@ use XTwitterScraper\Core\Contracts\BaseModel; /** - * Get trending hashtags & topics by region (alias). + * Get trending hashtags and topics by region (alias). * * @see XTwitterScraper\Services\TrendsService::list() * diff --git a/src/Version.php b/src/Version.php index 92b12a1..6a1e302 100644 --- a/src/Version.php +++ b/src/Version.php @@ -5,5 +5,5 @@ namespace XTwitterScraper; // x-release-please-start-version -const VERSION = '0.4.0'; +const VERSION = '0.4.1'; // x-release-please-end diff --git a/src/X/Media/MediaDownloadParams.php b/src/X/Media/MediaDownloadParams.php index 7bad49a..665b389 100644 --- a/src/X/Media/MediaDownloadParams.php +++ b/src/X/Media/MediaDownloadParams.php @@ -10,7 +10,7 @@ use XTwitterScraper\Core\Contracts\BaseModel; /** - * Download images & videos from tweets. + * Download images and videos from tweets. * * @see XTwitterScraper\Services\X\MediaService::download() * diff --git a/src/X/Tweets/TweetSearchParams.php b/src/X/Tweets/TweetSearchParams.php index 2e0fd27..afb937e 100644 --- a/src/X/Tweets/TweetSearchParams.php +++ b/src/X/Tweets/TweetSearchParams.php @@ -12,7 +12,7 @@ use XTwitterScraper\X\Tweets\TweetSearchParams\QueryType; /** - * Search tweets with X query operators & pagination. + * Search tweets with X query operators and pagination. * * @see XTwitterScraper\Services\X\TweetsService::search() * diff --git a/src/X/XGetTrendsParams.php b/src/X/XGetTrendsParams.php index ed4f3e1..b2a1960 100644 --- a/src/X/XGetTrendsParams.php +++ b/src/X/XGetTrendsParams.php @@ -10,7 +10,7 @@ use XTwitterScraper\Core\Contracts\BaseModel; /** - * Get trending hashtags & topics from X by region. + * Get trending hashtags and topics from X by region. * * @see XTwitterScraper\Services\XService::getTrends() *