Skip to content

release: 0.38.0#111

Open
stainless-app[bot] wants to merge 12 commits intomainfrom
release-please--branches--main--changes--next
Open

release: 0.38.0#111
stainless-app[bot] wants to merge 12 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

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

Automated Release PR

0.38.0 (2026-04-23)

Full Changelog: v0.37.0...v0.38.0

Features

Performance Improvements

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

Chores

  • internal: more robust bootstrap script (d4a39dc)
  • tests: bump steady to v0.22.1 (7d67d91)

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 18, 2026

🧪 Testing

To try out this version of the SDK:

pip install 'https://pkg.stainless.com/s/hyperspell-python/d4a39dc3c6f710bf9b9c481197043eeb4a9f8ac9/hyperspell-0.37.0-py3-none-any.whl'

Expires at: Sat, 23 May 2026 04:07:01 GMT
Updated at: Thu, 23 Apr 2026 04:07:01 GMT

@canaries-inc
Copy link
Copy Markdown

canaries-inc Bot commented Apr 18, 2026

🐤 Canary Summary

This PR is a Python SDK release with no UI/UX changes affecting end users:

  • Version bump to 0.38.0 across all configuration files
  • Added date parameter to memories API for backend ranking/filtering
  • Updated API type definitions and test coverage
  • No user-facing UI components or changes present


View PR tests on Canary

@canaries-inc
Copy link
Copy Markdown

canaries-inc Bot commented Apr 18, 2026

🐤 Canary Proposed Tests

No testable user journeys found for this PR.

@entelligence-ai-pr-reviews
Copy link
Copy Markdown


Confidence Score: 5/5 - Safe to Merge

Safe to merge — this PR is a release bump to version 0.38.0 and the automated review found no issues across the reviewed files. No logic changes, security concerns, or correctness problems were identified, and there are no unresolved pre-existing comments to carry forward. The PR appears to be a standard version release with clean diffs.

Key Findings:

  • No review comments were generated by the automated analysis, indicating no detectable logic, security, or correctness issues in the changed files.
  • Zero critical, significant, or medium-severity issues were flagged by the heuristic analysis, consistent with a version bump or release preparation PR.
  • Coverage of 3/8 changed files leaves some files unreviewed, but for a release PR this is a low-risk gap — typically release commits touch changelogs, version files, and lock files which are low-risk by nature.

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 8517aa7 to 9e83d93 Compare April 18, 2026 08:14
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 9e83d93 to d34485e Compare April 18, 2026 08:16
@entelligence-ai-pr-reviews
Copy link
Copy Markdown

entelligence-ai-pr-reviews Bot commented Apr 18, 2026

EntelligenceAI PR Summary

Release v0.38.0 introduces a date parameter for the memory update API and replaces deepcopy_minimal with a new path-selective deepcopy_with_paths utility for optimized multipart request handling.

  • Added date: Union[str, datetime] field to MemoryUpdateParams TypedDict and both sync/async update methods in memories.py
  • Introduced deepcopy_with_paths / _deepcopy_with_paths in src/hyperspell/_files.py performing selective shallow copy along specified key paths
  • Removed deepcopy_minimal from _utils/_utils.py and its export in _utils/__init__.py; deleted tests/test_deepcopy.py
  • Added TestDeepcopyWithPaths test class in tests/test_files.py with full scenario and integration coverage
  • Updated tests/api_resources/test_memories.py with date parameter in all-params update tests
  • Fixed unbound variable risk in scripts/bootstrap using ${SKIP_BREW:-} shell expansion
  • Bumped @stdy/cli from 0.20.2 to 0.22.1 in scripts/mock and scripts/test
  • Updated MCP badge/install URLs in README.md to scoped package name @hyperspell/hyperspell-mcp
  • Version incremented to 0.38.0 across pyproject.toml, _version.py, and .release-please-manifest.json

Confidence Score: 4/5 - Mostly Safe

Safe to merge — this release PR introduces well-scoped changes: a date parameter added to MemoryUpdateParams and both sync/async update methods in memories.py, and a new deepcopy_with_paths utility in src/hyperspell/_files.py replacing deepcopy_minimal for path-selective shallow copying in multipart request handling. No review comments were generated and no critical or significant issues were flagged by static analysis. The changes appear conservative and purposeful, though 8 of 17 changed files were not reviewed, leaving some surface area unverified — particularly around any downstream consumers of the removed deepcopy_minimal function.

Key Findings:

  • The replacement of deepcopy_minimal with deepcopy_with_paths / _deepcopy_with_paths is a targeted optimization; if all call sites were updated consistently, there is no regression risk, but unreviewed files leave some uncertainty about complete coverage of the refactor.
  • The new date: Union[str, datetime] field in MemoryUpdateParams is a backward-compatible addition to a TypedDict (optional field), so existing callers are unaffected.
  • No logic bugs, security issues, or null-safety concerns were identified in the reviewed files, and the heuristic analysis returned zero issues at any severity level.
  • 8 out of 17 changed files were not covered by automated review, which is the primary reason for not assigning a score of 5 — the unreviewed files could contain edge cases related to the deepcopy_with_paths path-selection logic or the date parameter serialization.
Files requiring special attention
  • src/hyperspell/_files.py
  • src/hyperspell/resources/memories.py

@entelligence-ai-pr-reviews
Copy link
Copy Markdown

Releases v0.38.0 with a new date field on the memories update endpoint and a targeted deep copy utility replacing the previous full-copy approach in multipart requests.

  • Added date: str | datetime | None parameter to sync/async memories.update() and MemoryUpdateParams
  • Introduced deepcopy_with_paths in src/hyperspell/_files.py for selective container deep copying along specified key paths
  • Removed deepcopy_minimal from src/hyperspell/_utils/_utils.py and its export from src/hyperspell/_utils/__init__.py
  • Updated src/hyperspell/resources/memories.py to use deepcopy_with_paths with ['file'] path in both sync and async upload methods
  • Added 8 new tests in tests/test_files.py covering deepcopy_with_paths and mutation-safety with extract_files
  • Removed tests/test_deepcopy.py along with the deprecated utility
  • Version bumped in pyproject.toml, _version.py, and .release-please-manifest.json; OpenAPI spec hash refreshed in .stats.yml

@entelligence-ai-pr-reviews
Copy link
Copy Markdown

Releases hyperspell v0.38.0 with an API enhancement, a deep copy performance improvement, and a test dependency update.

  • Added optional date field (Union[str, datetime], ISO 8601) to MemoryUpdateParams and sync/async update methods in memories.py
  • Replaced deepcopy_minimal (removed from _utils/_utils.py and _utils/__init__.py) with the new deepcopy_with_paths utility in _files.py, which shallow-copies only containers along specified key paths
  • Updated memories.py upload methods to use deepcopy_with_paths imported from _files instead of _utils
  • Bumped @stdy/cli from 0.20.2 to 0.22.1 in scripts/mock and scripts/test
  • Updated OpenAPI spec URL/hash in .stats.yml
  • Removed tests/test_deepcopy.py; added TestDeepcopyWithPaths tests in tests/test_files.py
  • Version bumped to 0.38.0 in pyproject.toml, _version.py, and .release-please-manifest.json

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from d34485e to 7c5dc69 Compare April 22, 2026 18:30
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 7c5dc69 to 3aee06b Compare April 22, 2026 19:22
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 3aee06b to 4d6e79f Compare April 22, 2026 19:27
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 4d6e79f to 69f3e7d Compare April 22, 2026 19:39
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 69f3e7d to 2b93798 Compare April 22, 2026 19:52
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 2b93798 to 3342428 Compare April 22, 2026 23:12
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 3342428 to 5e40e1e Compare April 23, 2026 04:06
@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from 5e40e1e to 1929ac3 Compare April 23, 2026 22:30
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.

0 participants