Skip to content

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Sep 17, 2025

Automated Release PR

0.11.2 (2025-09-24)

Full Changelog: v0.11.1...v0.11.2

Features

Chores

  • do not install brew dependencies in ./scripts/bootstrap by default (e7e72e6)
  • improve example values (2ecd936)
  • internal: update pydantic dependency (45de860)
  • types: change optional parameter type from NotGiven to Omit (0b85104)

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


TL;DR

This is a maintenance and feature release that introduces a new proxies resource, refactors optional parameter handling for improved type safety, and updates core dependencies like Pydantic.

Why we made these changes

The primary goal was to enhance the SDK's capabilities by adding support for proxies. Additionally, we took the opportunity to improve internal code quality by standardizing how optional parameters are handled, moving from a class-based NotGiven sentinel to a more explicit not_given singleton and a new omit value. This release also includes dependency updates to ensure compatibility and security, notably with Pydantic v2.

What changed?

  • Feature: Added Proxy Resources
    • Introduced kernel.proxies with create, retrieve, and list methods.
    • Added an optional proxy_id to the browsers.create method to associate a browser with a proxy.
  • Refactor: Optional Parameter Handling
    • Replaced the NOT_GIVEN sentinel with a singleton instance not_given throughout the client for consistency.
    • Introduced a new omit sentinel to explicitly exclude optional parameters from API requests.
    • Updated internal utilities (is_given, _transform_typeddict) to correctly handle not_given and omit.
  • Dependencies & Tooling
    • Upgraded Pydantic and updated _models.py to be compatible with Pydantic v2.
    • Modified the scripts/bootstrap script to make Homebrew dependency installation interactive and optional.
    • Added a new CI workflow for Stainless.

Description generated by Mesa. Update settings

@stainless-app
Copy link
Contributor Author

stainless-app bot commented Sep 17, 2025

🧪 Testing

To try out this version of the SDK, run:

pip install 'https://pkg.stainless.com/s/kernel-python/9c8ccbfb59c6e7f9c5b649193ab10580d1d750e9/kernel-0.11.1-py3-none-any.whl'

Expires: Fri, 24 Oct 2025 17:28:28 GMT

Copy link

@mesa-dot-dev mesa-dot-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Performed full review of b63da5f...8341a14

Tip

⚡ Quick Actions

This review was generated by Mesa.

Actions:

Slash Commands:

  • /review - Request a full code review
  • /review latest - Review only changes since the last review
  • /describe - Generate PR description. This will update the PR body or issue comment depending on your configuration
  • /help - Get help with Mesa commands and configuration options

7 files reviewed | 1 comments | Review on Mesa | Edit Reviewer Settings

include: IncEx | None = None,
exclude: IncEx | None = None,
by_alias: bool = False,
by_alias: bool | None = None,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Medium Logic

Changing the default value of by_alias from False to None could introduce breaking changes for users who rely on keyword argument introspection or who expect the parameter to always be a boolean. Consider maintaining backward compatibility by keeping the default as False while still allowing None to be passed explicitly.
Agent: 🤖 General

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 8341a14 to cc2a86c Compare September 19, 2025 02:56
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from cc2a86c to 1aa2644 Compare September 20, 2025 03:02
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 1aa2644 to 1cf67cb Compare September 23, 2025 02:34
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 1cf67cb to f5cb28b Compare September 24, 2025 17:28
@stainless-app stainless-app bot changed the title release: 0.11.2 release: 0.12.0 Sep 24, 2025
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from f5cb28b to fc97983 Compare September 24, 2025 17:28
@rgarcia rgarcia changed the title release: 0.12.0 release: 0.11.2 Sep 24, 2025
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Sep 24, 2025

Release version edited manually

The Pull Request version has been manually set to 0.11.2 and will be used for the release.

If you instead want to use the version number 0.12.0 generated from conventional commits, just remove the label autorelease: custom version from this Pull Request.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from fc97983 to 1965b3b Compare September 24, 2025 17:38
@stainless-app stainless-app bot merged commit 7030d45 into main Sep 24, 2025
7 checks passed
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Sep 24, 2025

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.

2 participants