Skip to content

release: 0.4.0#10

Merged
kriptoburak merged 20 commits intomainfrom
release-please--branches--main--changes--next
Apr 22, 2026
Merged

release: 0.4.0#10
kriptoburak merged 20 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app Bot commented Apr 22, 2026

Automated Release PR

0.4.0 (2026-04-22)

Full Changelog: v0.3.1...v0.4.0

Features

Bug Fixes

  • ensure file data are only sent as 1 parameter (c86dcf1)
  • escape ampersand in OpenAPI summaries for C# XML docs (d2d9141)

Performance Improvements

  • client: optimize file structure copying in multipart requests (eb0688d)

Chores

  • sync OpenAPI spec (e7bfdb7)
  • wire production_repo for all targets (18d4cc3)

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 of the x-twitter-scraper Python SDK

  • Remove integrations resource: client.integrations is removed from all client variants; accessing it will raise AttributeError.
  • Remove follower event types: EventType no longer accepts follower.gained or follower.lost; only tweet.* values are valid.
  • Add media support to tweets.create: text is now optional and a media array parameter is accepted as mutually exclusive with media_ids.
  • Add pagination to radar.retrieve_trending_topics: replaces count with limit and adds an after cursor parameter.
  • Add count/woeid params to x.trends and email/proxy_country to accounts.reauth.
  • Move SearchTweet and UserProfile from types.x to types.shared; old import paths no longer export these models.
  • Fix multipart file uploads in media and profile resources to use deepcopy_with_paths instead of the removed deepcopy_minimal.
  • Update Error literals: adds insufficient_credits and no_credits; removes stream_registration_failed and usage_limit_reached.
  • Risk: multiple breaking changes — removed integrations resource, changed event type literals, renamed error literals, replaced count with limit in radar params, and moved shared types.

Macroscope summarized ae68d9b.

@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented Apr 22, 2026

🧪 Testing

To try out this version of the SDK:

pip install 'https://pkg.stainless.com/s/x-twitter-scraper-python/d2d9141e286e7f032f9aec934e93f33414c7221e/x_twitter_scraper-0.3.1-py3-none-any.whl'

Expires at: Fri, 22 May 2026 21:26:57 GMT
Updated at: Wed, 22 Apr 2026 21:26:57 GMT

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 98f76bf to ae68d9b Compare April 22, 2026 21:26
@kriptoburak kriptoburak merged commit 29437b1 into main Apr 22, 2026
10 of 11 checks passed
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented Apr 22, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant