Skip to content

release: 0.9.0#24

Merged
stainless-app[bot] merged 6 commits into
mainfrom
release-please--branches--main--changes--next
Aug 8, 2025
Merged

release: 0.9.0#24
stainless-app[bot] merged 6 commits into
mainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app

@stainless-app stainless-app Bot commented Aug 7, 2025

Copy link
Copy Markdown
Contributor

Automated Release PR

0.9.0 (2025-08-07)

Full Changelog: v0.8.2...v0.9.0

Features

  • api: browser instance file i/o (7308fb8)
  • client: support optional json html escaping (7fb83d1)

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

@mesa-dot-dev

mesa-dot-dev Bot commented Aug 7, 2025

Copy link
Copy Markdown

Mesa Description

TL;DR

This is an automated release PR for version 0.9.0, primarily introducing a new internal shimjson package to enable more granular control over JSON HTML escaping throughout the SDK.

Why we made these changes

To support the explicit feature of "optional JSON HTML escaping" as stated in the changelog, allowing for finer control over JSON serialization and enabling specific API requirements or data representations by selectively enabling/disabling HTML escaping.

What changed?

  • .release-please-manifest.json: Updated for the v0.9.0 release tracking.
  • .stats.yml: Updated project statistics configuration.
  • CHANGELOG.md: Added a new 0.9.0 version entry, highlighting the support for optional JSON HTML escaping.
  • README.md: Updated the go get command example to reference version v0.9.0.
  • internal/encoding/json/encode.go: Modified the Marshal function to make default HTML escaping conditional, controlled by the shims.EscapeHTMLByDefault flag.
  • internal/encoding/json/shims/shims.go: Introduced a new boolean constant EscapeHTMLByDefault set to true to control the default HTML escaping behavior.
  • internal/requestconfig/requestconfig.go: Changed JSON serialization for the request body from json.Marshal to json.NewEncoder().SetEscapeHTML(true), explicitly enforcing HTML escaping for outgoing request bodies.
  • internal/version.go: Updated the SDK's internal version number to v0.9.0.
  • packages/param/option.go: Replaced standard json.Marshal with shimjson.Marshal in Opt[T] type's MarshalJSON methods for consistent JSON marshalling.
  • shared/constant/constants.go: Switched from the standard encoding/json package to shimjson for all JSON marshalling operations within constants.

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Performed full review of 4ec7274...d644ae0

10 files reviewed | 0 comments | Review on Mesa | Edit Reviewer Settings

@stainless-app stainless-app Bot force-pushed the release-please--branches--main--changes--next branch from d644ae0 to 7308fb8 Compare August 7, 2025 21:27
@stainless-app stainless-app Bot merged commit 9b8d4c9 into main Aug 8, 2025
4 checks passed
@stainless-app

stainless-app Bot commented Aug 8, 2025

Copy link
Copy Markdown
Contributor Author

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