Skip to content

release: prepare baml_language 0.18.0 release - #4629

Merged
sxlijin merged 1 commit into
canaryfrom
sxlijin/release-baml-language-0.18.0
Aug 29, 2026
Merged

release: prepare baml_language 0.18.0 release#4629
sxlijin merged 1 commit into
canaryfrom
sxlijin/release-baml-language-0.18.0

Conversation

@sxlijin

@sxlijin sxlijin commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Synchronize the canonical BAML language version and all governed SDK/runtime version surfaces to 0.18.0.
  • Bump baml_language/release.toml from 0.17.0 to 0.18.0.

Release safety

Merging this PR into canary will dispatch the production baml_language 0.18.0 release workflow. No release, tag, package, artifact, or workflow was triggered while preparing this PR.

Testing

  • scripts/baml-language-version check
  • scripts/baml-language-version show
  • scripts/baml-language-version compute --channel canary
  • scripts/baml-language-version compute --channel canary --pypi
  • python3 -m unittest scripts.tests.test_baml_language_version scripts.tests.test_release_pipeline_contract
  • cargo test --manifest-path baml_language/Cargo.toml -p baml_version
  • mise run validate-markdown (from baml_language)
  • git diff --check

Summary by CodeRabbit

  • Release
    • Bumped the BAML product, toolchain, bridge runtime, SDK, package, and VS Code extension versions from 0.17.0 to 0.18.0.
    • Updated version metadata consistently across supported language integrations and distribution channels.
    • Canary release remains enabled.

@vercel

vercel Bot commented Aug 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
beps Ready Ready Preview Aug 28, 2026 11:49pm
promptfiddle2 Ready Ready Preview Aug 28, 2026 11:49pm

Request Review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 28, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-28T23:42:47.083351Z 5cafa7f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown

⏭️ Performance benchmarks were skipped

Perf benchmarks (CodSpeed) are opt-in on pull requests — they no longer run on every push. They always run automatically after merge to canary/main.

To run them on this PR, do any of the following, then push a commit (or re-run CI):

  • Add RUN_CODSPEED=1 to the PR description, or
  • Include run-perf or /perf in the PR title or any commit message.

@coderabbitai

coderabbitai Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 6b1f7320-b2ff-4984-a821-537de93802a6

📥 Commits

Reviewing files that changed from the base of the PR and between 8e8d886 and 5cafa7f.

⛔ Files ignored due to path filters (2)
  • baml_language/Cargo.lock is excluded by !**/*.lock
  • baml_language/sdks/typescript/bridge_typescript/dist/native.js is excluded by !**/dist/**
📒 Files selected for processing (18)
  • baml_language/crates/baml_version/src/lib.rs
  • baml_language/release.toml
  • baml_language/sdks/cpp/bridge_cpp/include/baml/version.h
  • baml_language/sdks/csharp/bridge_csharp/src/Baml.Bridge.csproj
  • baml_language/sdks/csharp/bridge_csharp/src/RuntimeIdentity.cs
  • baml_language/sdks/go/baml_go/version.go
  • baml_language/sdks/java/baml_bridge/src/main/java/baml_bridge/BamlVersion.java
  • baml_language/sdks/python/pyproject.toml
  • baml_language/sdks/python/src/baml_bridge/__init__.py
  • baml_language/sdks/ruby/bridge_ruby/lib/baml/bridge/version.rb
  • baml_language/sdks/rust/bridge_rust/Cargo.toml
  • baml_language/sdks/rust/bridge_rust/src/version.rs
  • baml_language/sdks/swift/Sources/BamlBridge/RuntimeIdentity.swift
  • baml_language/sdks/typescript/bridge_typescript/package.json
  • baml_language/sdks/typescript/bridge_typescript/src/version.rs
  • baml_language/sdks/typescript/bridge_typescript_web/package.json
  • baml_language/sdks/typescript/bridge_typescript_web/src/version.rs
  • typescript2/app-vscode-ext/package.json

Included review availability: Your plan provides up to 8 included reviews per hour; 5 remain after this review.


📝 Walkthrough

Walkthrough

The release configuration, SDK runtime identities, package metadata, and VS Code extension version are updated from 0.17.0 to 0.18.0.

Changes

Version alignment

Layer / File(s) Summary
Release version sources
baml_language/crates/baml_version/src/lib.rs, baml_language/release.toml
Canonical and canary release versions now use 0.18.0. The release channel remains canary.
SDK runtime identities
baml_language/sdks/{cpp,csharp,go,java,ruby,rust,swift,typescript}/...
Toolchain and bridge runtime version constants now report 0.18.0.
Package metadata
baml_language/sdks/csharp/..., baml_language/sdks/python/..., baml_language/sdks/rust/..., baml_language/sdks/typescript/..., typescript2/app-vscode-ext/package.json
SDK packages and the VS Code extension now use version 0.18.0.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to 5cafa

This PR synchronizes the BAML language and SDK/runtime identities to 0.18.0 and is covered by the listed validation checks; no actionable merge-blocking risk remains beyond normal release approval.

Suggested reviewers: codeshaunted

Poem

A rabbit checks the version line,
From seventeen to eighteen fine.
The bridges shine in matching hue,
Each package hops to point-oh-two—
No, point-oh-eight, fresh and new!

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 5 functions across 11 files. (7 skipped: 7… Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the primary change: preparing the baml_language 0.18.0 release.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 5 functions across 11 files. (7 skipped: 7 unsupported.)

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch sxlijin/release-baml-language-0.18.0

Warning

Some tools did not complete. Review the errors below.

🔧 RuboCop (1.89.0)
baml_language/sdks/ruby/bridge_ruby/lib/baml/bridge/version.rb

invalid byte sequence in US-ASCII
/usr/local/lib/ruby/gems/3.4.0/gems/rubocop-1.90.0/lib/rubocop/target_ruby.rb:181:in 'Regexp#match'
/usr/local/lib/ruby/gems/3.4.0/gems/rubocop-1.90.0/lib/rubocop/target_ruby.rb:181:in 'String#match'
/usr/local/lib/ruby/gems/3.4.0/gems/rubocop-1.90.0/lib/rubocop/target_ruby.rb:181:in 'RuboCop::TargetRuby::RubyVersionFile#find_version'
/usr/local/lib/ruby/gems/3.4.0/gems/rubocop-1.90.0/lib/rubocop/target_ruby.rb:31:in 'RuboCop::TargetRuby::Source#initialize'
/usr/local/lib/ruby/gems/3.4.0/gems/rubocop-1.90.0/lib/rubocop/target_ruby.rb:295:in 'Class#new'
/usr/local/lib/ruby/gems/3.4.0/gems/rubocop-1.90.0/lib/rubocop/target_ruby.rb:295:in 'block in RuboCop::TargetRuby#source'
/usr/local/lib/ruby/gems/3.4.0/gems/rubocop-1.90.0/lib/rubocop/target_ruby.rb:295:in 'Array#each'
/usr/local/lib/ruby/gems/3.4.0/gems/rubocop-1.90.0/lib/rubocop/target_ruby.rb:295:in 'Enumerator#each'
/usr/local/lib/ruby/gems/3.4.0/gems/rubocop-1.90.0/lib/rubocop/target_ruby.rb:295:i

... [truncated 2433 characters] ...

ems/3.4.0/gems/rubocop-1.90.0/lib/rubocop/config_store.rb:29:in 'RuboCop::ConfigStore#apply_options!'
/usr/local/lib/ruby/gems/3.4.0/gems/rubocop-1.90.0/lib/rubocop/cli.rb:167:in 'RuboCop::CLI#act_on_options'
/usr/local/lib/ruby/gems/3.4.0/gems/rubocop-1.90.0/lib/rubocop/cli.rb:49:in 'block in RuboCop::CLI#run'
/usr/local/lib/ruby/gems/3.4.0/gems/rubocop-1.90.0/lib/rubocop/cli.rb:88:in 'RuboCop::CLI#profile_if_needed'
/usr/local/lib/ruby/gems/3.4.0/gems/rubocop-1.90.0/lib/rubocop/cli.rb:45:in 'RuboCop::CLI#run'
/usr/local/lib/ruby/gems/3.4.0/gems/rubocop-1.90.0/exe/rubocop:15:in '<top (required)>'
/usr/local/lib/ruby/site_ruby/3.4.0/rubygems.rb:305:in 'Kernel#load'
/usr/local/lib/ruby/site_ruby/3.4.0/rubygems.rb:305:in 'Gem.activate_and_load_bin_path'
/usr/local/bin/rubocop:25:in '

'


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5cafa7fd03

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


pub const CANONICAL_VERSION: &str = "0.17.0";
pub const PYPI_VERSION: &str = "0.17.0";
pub const CANONICAL_VERSION: &str = "0.18.0";

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Refresh the program identity golden for 0.18.0

When the canonical version becomes 0.18.0, bex_vm_types/src/identity.rs still gates its cross-platform golden assertion on CANONICAL_VERSION == "0.17.0", so the assertion is skipped in every 0.18.0 test run. That test explicitly says its expected hash must be regenerated on a version bump; update its version guard and expected digest so changes to the program-identity framing remain covered.

Useful? React with 👍 / 👎.

@github-actions

Copy link
Copy Markdown

Binary size checks passed

7 passed

Artifact Platform File Gzip Gated on Baseline Delta Status
baml-cli Linux 🔒 72.7 MB 27.4 MB file 72.9 MB -167.8 KB (-0.2%) OK
packed-program Linux 🔒 28.6 MB 10.9 MB file 28.6 MB +19.2 KB (+0.1%) OK
baml-cli macOS 🔒 63.2 MB 25.1 MB file 63.3 MB -132.3 KB (-0.2%) OK
packed-program macOS 🔒 25.8 MB 10.2 MB file 25.8 MB +38.5 KB (+0.1%) OK
baml-cli Windows 🔒 82.9 MB 27.8 MB file 83.0 MB -167.2 KB (-0.2%) OK
packed-program Windows 🔒 30.9 MB 10.7 MB file 30.9 MB -23.9 KB (-0.1%) OK
bridge_wasm WASM 22.2 MB 🔒 5.7 MB gzip 5.7 MB +13.0 KB (+0.2%) OK

🔒 = the size this artifact is GATED on (ceiling + delta). Binaries gate on file size (installed binary); WASM gates on gzip (download size). The other size is shown for information only.


Generated by cargo size-gate · workflow run

@sxlijin
sxlijin added this pull request to the merge queue Aug 29, 2026
Merged via the queue into canary with commit 7622555 Aug 29, 2026
79 of 97 checks passed
@sxlijin
sxlijin deleted the sxlijin/release-baml-language-0.18.0 branch August 29, 2026 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant