Skip to content

release: 0.6.0#26

Merged
stainless-app[bot] merged 19 commits intomainfrom
release-please--branches--main--changes--next
May 6, 2026
Merged

release: 0.6.0#26
stainless-app[bot] merged 19 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

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

Automated Release PR

0.6.0 (2026-05-06)

Full Changelog: v0.5.1...v0.6.0

Features

Bug Fixes

  • re-export TaskGroup from parallel.types.beta and silence reportDeprecated (dc6119f)
  • scripts: remove unreachable check and redundant type annotation (f63ad0a)
  • scripts: satisfy pyright in alias resolver (892f474)
  • types: preserve back-compat aliases for renamed inline classes (532ee8f)
  • types: use module-level alias instead of import-as (b1b9858)
  • use correct field name format for multipart file arrays (1e34228)

Chores

  • internal: more robust bootstrap script (d4c7737)
  • internal: reformat pyproject.toml (b3c0639)
  • scripts: follow alias and attribute redirections in breaking-change detection (89b1495)
  • stop tracking uv.lock (project uses requirements*.lock from rye) (540471a)

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

@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented Apr 23, 2026

🧪 Testing

To try out this version of the SDK:

pip install 'https://pkg.stainless.com/s/parallel-sdk-python/dc6119f6dccdef75bdbe4ce838dd8ba51cc2428a/parallel_web-0.5.1-py3-none-any.whl'

Expires at: Fri, 05 Jun 2026 04:53:13 GMT
Updated at: Wed, 06 May 2026 04:53:13 GMT

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 3c58380 to 53abd6b Compare April 30, 2026 23:05
@stainless-app stainless-app Bot changed the title release: 0.5.2 release: 0.6.0 Apr 30, 2026
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 53abd6b to 9eb5212 Compare April 30, 2026 23:06
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 9eb5212 to 3b06375 Compare May 1, 2026 04:09
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 3b06375 to 6de987e Compare May 1, 2026 04:16
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 6de987e to 2bf19a2 Compare May 6, 2026 02:56
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 2bf19a2 to 911f2e5 Compare May 6, 2026 03:04
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 911f2e5 to 394e77b Compare May 6, 2026 03:43
Registering schemas as named top-level models in openapi.stainless.yaml
moved several previously-inline class definitions to their own files:
TaskAdvancedSettings(Param), FullContentSettingsParam, FindAllCandidate,
FindAllCandidateMetrics, FindAllRunStatus, MatchCondition(Param),
TaskRunSourceStats, TaskRunProgress*Event. The old inline names disappeared
from their original modules, which Stainless's breaking-change detector
flagged as removals.

Add deprecated aliases at the original import paths so user code that
referenced these names continues to work:

- types/run_input.py::AdvancedSettings
- types/run_input_param.py::AdvancedSettings
- types/task_run_create_params.py::AdvancedSettings
- types/advanced_extract_settings_param.py::FullContentFullContentSettings
- types/task_run_events_response.py::TaskRunProgressStatsEventSourceStats
- types/beta/task_run_create_params.py::AdvancedSettings
- types/beta/findall_candidate_match_status_event.py::Data
- types/beta/findall_create_params.py::MatchCondition
- types/beta/findall_run.py::{Status, StatusMetrics}
- types/beta/findall_run_result.py::Candidate
- types/beta/beta_extract_params.py::FullContentFullContentSettings
- types/beta/task_run_events_response.py::TaskRunProgressStatsEventSourceStats
- types/beta/task_group.py (new — re-export GA TaskGroup)

The TS SDK already handles this implicitly via namespace declaration
merging; Python has no equivalent so we add the aliases manually.
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 394e77b to 748ec35 Compare May 6, 2026 04:13
uv.lock was added on the integrated branch but is not produced by codegen
and is not referenced by any script, CI, or pyproject.toml. The project's
canonical lockfiles are requirements.lock and requirements-dev.lock (managed
by rye). Tracking uv.lock made the custom-code diff balloon by ~1.2k lines
unnecessarily.
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 748ec35 to e99006e Compare May 6, 2026 04:18
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from e99006e to 80656d0 Compare May 6, 2026 04:19
Pyright's reportUnusedImport flags 'from X import Y as Z' as unused even
when Z is intentionally re-exported. Switching to a regular import + a
module-level assignment makes the re-export explicit and pyright-clean.
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 80656d0 to f6b228f Compare May 6, 2026 04:23
…hange detection

The script previously treated griffe.Alias as opaque (returning {} members).
This produced false positives for back-compat re-exports — both:
  * `from .new_path import NewClass` (Alias)
  * `OldName = NewClass` (Attribute with ExprName value)
  * `OldName = module.NewClass` (Attribute with ExprAttribute value)

Resolve each to the underlying class and report members from there. Real
breaking changes (class definition removed, attribute deleted from the
target class) are still flagged; false positives from intentional
back-compat aliases are not.
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from f6b228f to b30186c Compare May 6, 2026 04:29
The previous edits introduced two redundant comparisons that pyright's
strict mode flags as unreachable. Simplify the loop guard and drop the
defensive check on final_target's return type.
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from b30186c to ef78998 Compare May 6, 2026 04:40
Pyright (1.1.399) flagged `final is current` after isinstance(current, Alias)
as unreachable since final_target returns Object. Just return final_target
directly. Mypy flagged the second `next_obj` declaration as a redefinition;
drop the type annotation on the rebinding.
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from ef78998 to 7ebdf52 Compare May 6, 2026 04:46
NormallyGaussian and others added 2 commits May 6, 2026 00:52
…eprecated

Two related fixes for the breaking-change detector against the pre-0.6.0
baseline:

* The new `parallel/types/beta/task_group.py` shim wasn't re-exported from
  `parallel/types/beta/__init__.py`, so baseline tests doing
  `from parallel.types.beta import TaskGroup` failed pyright. Add the
  re-export.

* The `beta.taskgroup` resource is now `@deprecated` (we recommend GA),
  but baseline tests don't have a `# pyright: reportDeprecated=false`
  marker. Promote the per-file marker to project level — deprecation is a
  runtime concern, not a type error.
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 7ebdf52 to a61b60b Compare May 6, 2026 04:53
@stainless-app stainless-app Bot merged commit b9dc5ed into main May 6, 2026
8 checks passed
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented May 6, 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