Skip to content

Commit f4a1701

Browse files
committed
cargo format
2 parents 1567444 + 46f016e commit f4a1701

File tree

206 files changed

+73021
-12920
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

206 files changed

+73021
-12920
lines changed

.envrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,7 @@ else
2121
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc
2222
fi
2323

24+
# we hide subcommands like baml-cli login, baml-cli dump-hir from our users by default
25+
export BAML_INTERNAL=1
26+
2427
git config --local include.path ../.gitconfig

.github/actions/setup-tools/action.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,20 @@ inputs:
1010
runs:
1111
using: "composite"
1212
steps:
13+
- name: Remove unused tools
14+
shell: bash
15+
run: |
16+
# from https://carlosbecker.com/posts/github-actions-disk-space/ and
17+
# https://github.com/marketplace/actions/maximize-build-disk-space-only-remove-unwanted-software
18+
# frees up about ~20G space
19+
# we use rsync instead of rm -rf for faster deletion
20+
set -euxo pipefail
21+
mkdir -p /tmp/empty
22+
sudo rsync -a --delete /tmp/empty/ /usr/share/dotnet/
23+
sudo rsync -a --delete /tmp/empty/ /usr/local/lib/android/
24+
sudo rsync -a --delete /tmp/empty/ /opt/ghc/
25+
sudo rsync -a --delete /tmp/empty/ /opt/hostedtoolcache/CodeQL/
26+
df -h /
1327
- name: Setup mise
1428
uses: jdx/mise-action@v2
1529
with:

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ jobs:
192192
working-directory: baml_language
193193

194194
- name: "Clippy (wasm)"
195-
run: cargo clippy --workspace --target wasm32-unknown-unknown --all-features --locked -- -D warnings
195+
run: cargo clippy --workspace --exclude baml_onionskin --target wasm32-unknown-unknown --all-features --locked -- -D warnings
196196
working-directory: baml_language
197197

198198
cargo-test-linux:
@@ -330,8 +330,8 @@ jobs:
330330

331331
- name: "Build for WASM"
332332
run: |
333-
cargo build --target wasm32-unknown-unknown --no-default-features
334-
cargo build --target wasm32-unknown-unknown --no-default-features --release
333+
cargo build --workspace --target wasm32-unknown-unknown --exclude baml_onionskin --no-default-features
334+
cargo build --workspace --target wasm32-unknown-unknown --exclude baml_onionskin --no-default-features --release
335335
working-directory: baml_language
336336

337337
- name: "Check WASM size"

.github/workflows/publish-zed-release.reusable.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: Publish Zed Release
22

33
on:
4-
workflow_call: {}
4+
workflow_call:
5+
secrets:
6+
SAM_BAML_ZED_GITHUB_TOKEN:
7+
required: true
58

69
permissions: {}
710

@@ -100,4 +103,4 @@ jobs:
100103
[engine/zed]: https://github.com/BoundaryML/baml/tree/canary/engine/zed
101104
[workflow logs]: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/
102105
EOF
103-
)"
106+
)"

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,3 +333,5 @@ jobs:
333333
publish-to-zed-extensions:
334334
needs: [all-builds]
335335
uses: ./.github/workflows/publish-zed-release.reusable.yaml
336+
secrets:
337+
SAM_BAML_ZED_GITHUB_TOKEN: ${{ secrets.SAM_BAML_ZED_GITHUB_TOKEN }}

.github/workflows/rust-coverage.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
name: Rust Coverage
22

3+
# Workflow disabled - uncomment to re-enable
4+
# on:
5+
# push:
6+
# branches: [canary]
7+
# pull_request:
8+
# branches: [canary]
39
on:
4-
push:
5-
branches: [canary]
6-
pull_request:
7-
branches: [canary]
10+
workflow_dispatch: # Only allow manual triggering
811

912
env:
1013
UV_SYSTEM_PYTHON: 1

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.
44

5+
## [0.213.0](https://github.com/boundaryml/baml/compare/0.212.0..0.213.0) - 2025-11-05
6+
7+
### Bug Fixes
8+
9+
- fix bug in baml-cli init not working with claude code (#2697) ([0333467](https://github.com/boundaryml/baml/commit/03334676728ba27704a4e53be062807fb39b2854)) - aaronvg
10+
- select earliest successful LLM call by lexicographic request_id order (#2692) - ([516ef6f](https://github.com/boundaryml/baml/commit/516ef6f76f97774734f4d0a86fc33aae01fa550d)) - Shawn McDonald
11+
- default request timeout is too low (#2698) - ([50c7026](https://github.com/boundaryml/baml/commit/50c7026dc338dedd3b64d3d03129493d40099259)) - aaronvg
12+
- Fix timeout exceptions for streaming LLM calls (#2699) - ([2b751db](https://github.com/boundaryml/baml/commit/2b751db4f97e15dc7afa6b5670b0e4b380eece2c)) - Greg Hale
13+
- [Python] expose BamlAbortError (#2674) - ([1b6efb3](https://github.com/boundaryml/baml/commit/1b6efb3931cd9d5b68de4949f8fff16e3d007a40)) - hellovai
14+
15+
### Features
16+
- expose better error messages out of the runtime so folks can better understand isseus (i/e can plumb cancel messages more correctly) (#2679) - ([af2d872](https://github.com/boundaryml/baml/commit/af2d872cd93ccd4123a79fdcef61a4f5e9989172)) - hellovai
17+
- bedrock video support (#2681) - ([38cfe9b](https://github.com/boundaryml/baml/commit/38cfe9b2eb9196c90558e4461947d270e894f2e0)) - Sam Lijin
18+
19+
### Miscellaneous Chores
20+
21+
- add apache-2 license to engine/zed (#2670) - ([c1ec923](https://github.com/boundaryml/baml/commit/c1ec923b9be2e1f3ac2b3dddb7f7c0acc27d5132)) - Sam Lijin
22+
23+
524
## [0.212.0](https://github.com/boundaryml/baml/compare/0.211.2..0.212.0) - 2025-10-27
625

726
### Bug Fixes

0 commit comments

Comments
 (0)