pypi / apify-client
apify-client
What changed in apify-client 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-31.
4 breaking12 new APIs and options2 behavior and defaults12 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initapify-client 330 changes
Breaking changes 4
Rental pricing fields were removed from CurrentPricingInfo.
The client requires impit>=0.15.1 to drop the compromised emSign CA.
Unparsable response bodies now consistently raise InvalidResponseBodyError.
The validate_input() parameter was renamed from build_tag to build.
New APIs and options 12
The charge() method accepts X-Actor-Request-ID.
New error types were added.
Collection iterate() methods accept chunk_size.
Resource clients now support additional optional parameters.
A user_agent_suffix option is available for customizing the user agent.
Task call() now accepts max_total_charge_usd.
Actor creation and update now support default_run_force_permission_level.
Run dataset items can now be iterated over live.
Missing Standby fields are now available when creating and updating Actors.
Task start() now accepts max_total_charge_usd.
Dataset stream_items now accepts flatten.
Request bodies can now be streamed from files, iterables, and responses.
Behavior and default changes 2
The default gzip compression quality is now 6.
Starting a run is retried when memory or concurrent-runs limits are reached.
Fixes and other changes 12
Missing fields were added to the Actor definition model.
The client appends /v2 to api_url only when it is missing.
On last_run() clients, get_streamed_log() fetches the Actor from the API root.
Setting max_retries to 0 now disables retries.
The client now supports Python 3.15.
The run log is redirected when the first log stream is empty.
example_run_input_body is now typed as str.
Model names now align with the renamed OpenAPI schemas.
The Profile model now includes the previously missing readme field.
A failing background watcher no longer breaks a successful Actor call.
Dataset iterators no longer skip items when unwind is used.
The JsonSerializable type alias is read-only.