Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: BoundaryML/baml
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.70.1
Choose a base ref
...
head repository: BoundaryML/baml
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: canary
Choose a head ref
  • 17 commits
  • 47 files changed
  • 6 contributors

Commits on Dec 5, 2024

  1. chore: publish python release (#1221)

    <!-- ELLIPSIS_HIDDEN -->
    
    
    > [!IMPORTANT]
    > Adds GitHub Actions workflow for automating Python package publishing
    to PyPI and updates dependencies.
    > 
    >   - **Workflow Addition**:
    > - Adds `.github/workflows/publish-python-release.yaml` to automate
    publishing to PyPI on push to `sam/py-release3`.
    > - Uses concurrency group `${{ github.workflow }}-${{ github.ref
    }}-build-python` to prevent deadlocks.
    >   - **Job Configuration**:
    > - Runs on `ubuntu-latest` with steps for `actions/checkout@v4`,
    `actions/setup-python@v5` (Python 3.8), and
    `actions/download-artifact@v4`.
    > - Publishes package using `PyO3/maturin-action@v1` with `upload`
    command.
    >   - **Dependencies**:
    >     - Adds `maturin>=1.7.8` to `dependencies` in `pyproject.toml`.
    >   - **Misc**:
    > - Removes pinned `maturin` version `1.7.6` in
    `build-python-release.reusable.yaml`.
    > 
    > <sup>This description was created by </sup>[<img alt="Ellipsis"
    src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup>
    for 5f44944. It will automatically
    update as commits are pushed.</sup>
    
    
    <!-- ELLIPSIS_HIDDEN -->
    sxlijin authored Dec 5, 2024
    Copy the full SHA
    201deab View commit details

Commits on Dec 6, 2024

  1. feat: automate vscode extension releases (both vscode and cursor) (#1222

    )
    
    - add vscode extension release to the pipeline
    - add cursor extension release (open-vsx) to the pipeline
    - allow ad-hoc extension releases via "force publish vscode" for putting
    out the vscode extension (this is half-baked right now, requirement is
    according to aaron)
    sxlijin authored Dec 6, 2024
    Copy the full SHA
    cd5dc4c View commit details
  2. chore: bump the npm_and_yarn group across 2 directories with 2 updates (

    #1217)
    
    Bumps the npm_and_yarn group with 1 update in the
    /engine/language_client_typescript directory:
    [cross-spawn](https://github.com/moxystudio/node-cross-spawn).
    Bumps the npm_and_yarn group with 2 updates in the
    /integ-tests/typescript directory:
    [cross-spawn](https://github.com/moxystudio/node-cross-spawn) and
    [micromatch](https://github.com/micromatch/micromatch).
    
    Updates `cross-spawn` from 7.0.3 to 7.0.6
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a
    href="https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md">cross-spawn's
    changelog</a>.</em></p>
    <blockquote>
    <h3><a
    href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.5...v7.0.6">7.0.6</a>
    (2024-11-18)</h3>
    <h3>Bug Fixes</h3>
    <ul>
    <li>update cross-spawn version to 7.0.5 in package-lock.json (<a
    href="https://github.com/moxystudio/node-cross-spawn/commit/f700743918d901eff92960e15a8dd68f87bd4176">f700743</a>)</li>
    </ul>
    <h3><a
    href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.4...v7.0.5">7.0.5</a>
    (2024-11-07)</h3>
    <h3>Bug Fixes</h3>
    <ul>
    <li>fix escaping bug introduced by backtracking (<a
    href="https://github.com/moxystudio/node-cross-spawn/commit/640d391fde65388548601d95abedccc12943374f">640d391</a>)</li>
    </ul>
    <h3><a
    href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.4">7.0.4</a>
    (2024-11-07)</h3>
    <h3>Bug Fixes</h3>
    <ul>
    <li>disable regexp backtracking (<a
    href="https://redirect.github.com/moxystudio/node-cross-spawn/issues/160">#160</a>)
    (<a
    href="https://github.com/moxystudio/node-cross-spawn/commit/5ff3a07d9add449021d806e45c4168203aa833ff">5ff3a07</a>)</li>
    </ul>
    </blockquote>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/77cd97f3ca7b62c904a63a698fc4a79bf41977d0"><code>77cd97f</code></a>
    chore(release): 7.0.6</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/6717de49ff1e5de49622488dcb9c33fb25370c85"><code>6717de4</code></a>
    chore: upgrade standard-version</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/f700743918d901eff92960e15a8dd68f87bd4176"><code>f700743</code></a>
    fix: update cross-spawn version to 7.0.5 in package-lock.json</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/9a7e3b2165917367f74b8365faad9873b30d7263"><code>9a7e3b2</code></a>
    chore: fix build status badge</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/085268352dcbcad8064c64c5efb25268b4023184"><code>0852683</code></a>
    chore(release): 7.0.5</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/640d391fde65388548601d95abedccc12943374f"><code>640d391</code></a>
    fix: fix escaping bug introduced by backtracking</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/bff0c87c8b627c4e6d04ec2449e733048bebb464"><code>bff0c87</code></a>
    chore: remove codecov</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/a7c6abc6fee79641d45b452fe6217deaa1bd0973"><code>a7c6abc</code></a>
    chore: replace travis with github workflows</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/9b9246e0969e86656d7ccd527716bc3c18842a19"><code>9b9246e</code></a>
    chore(release): 7.0.4</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/5ff3a07d9add449021d806e45c4168203aa833ff"><code>5ff3a07</code></a>
    fix: disable regexp backtracking (<a
    href="https://redirect.github.com/moxystudio/node-cross-spawn/issues/160">#160</a>)</li>
    <li>Additional commits viewable in <a
    href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    Updates `cross-spawn` from 7.0.3 to 7.0.6
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a
    href="https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md">cross-spawn's
    changelog</a>.</em></p>
    <blockquote>
    <h3><a
    href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.5...v7.0.6">7.0.6</a>
    (2024-11-18)</h3>
    <h3>Bug Fixes</h3>
    <ul>
    <li>update cross-spawn version to 7.0.5 in package-lock.json (<a
    href="https://github.com/moxystudio/node-cross-spawn/commit/f700743918d901eff92960e15a8dd68f87bd4176">f700743</a>)</li>
    </ul>
    <h3><a
    href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.4...v7.0.5">7.0.5</a>
    (2024-11-07)</h3>
    <h3>Bug Fixes</h3>
    <ul>
    <li>fix escaping bug introduced by backtracking (<a
    href="https://github.com/moxystudio/node-cross-spawn/commit/640d391fde65388548601d95abedccc12943374f">640d391</a>)</li>
    </ul>
    <h3><a
    href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.4">7.0.4</a>
    (2024-11-07)</h3>
    <h3>Bug Fixes</h3>
    <ul>
    <li>disable regexp backtracking (<a
    href="https://redirect.github.com/moxystudio/node-cross-spawn/issues/160">#160</a>)
    (<a
    href="https://github.com/moxystudio/node-cross-spawn/commit/5ff3a07d9add449021d806e45c4168203aa833ff">5ff3a07</a>)</li>
    </ul>
    </blockquote>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/77cd97f3ca7b62c904a63a698fc4a79bf41977d0"><code>77cd97f</code></a>
    chore(release): 7.0.6</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/6717de49ff1e5de49622488dcb9c33fb25370c85"><code>6717de4</code></a>
    chore: upgrade standard-version</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/f700743918d901eff92960e15a8dd68f87bd4176"><code>f700743</code></a>
    fix: update cross-spawn version to 7.0.5 in package-lock.json</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/9a7e3b2165917367f74b8365faad9873b30d7263"><code>9a7e3b2</code></a>
    chore: fix build status badge</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/085268352dcbcad8064c64c5efb25268b4023184"><code>0852683</code></a>
    chore(release): 7.0.5</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/640d391fde65388548601d95abedccc12943374f"><code>640d391</code></a>
    fix: fix escaping bug introduced by backtracking</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/bff0c87c8b627c4e6d04ec2449e733048bebb464"><code>bff0c87</code></a>
    chore: remove codecov</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/a7c6abc6fee79641d45b452fe6217deaa1bd0973"><code>a7c6abc</code></a>
    chore: replace travis with github workflows</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/9b9246e0969e86656d7ccd527716bc3c18842a19"><code>9b9246e</code></a>
    chore(release): 7.0.4</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/5ff3a07d9add449021d806e45c4168203aa833ff"><code>5ff3a07</code></a>
    fix: disable regexp backtracking (<a
    href="https://redirect.github.com/moxystudio/node-cross-spawn/issues/160">#160</a>)</li>
    <li>Additional commits viewable in <a
    href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    Updates `micromatch` from 4.0.7 to 4.0.8
    <details>
    <summary>Release notes</summary>
    <p><em>Sourced from <a
    href="https://github.com/micromatch/micromatch/releases">micromatch's
    releases</a>.</em></p>
    <blockquote>
    <h2>4.0.8</h2>
    <p>Ultimate release that fixes both CVE-2024-4067 and CVE-2024-4068. We
    consider the issues low-priority, so even if you see automated scanners
    saying otherwise, don't be scared.</p>
    </blockquote>
    </details>
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a
    href="https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md">micromatch's
    changelog</a>.</em></p>
    <blockquote>
    <h2>[4.0.8] - 2024-08-22</h2>
    <ul>
    <li>backported CVE-2024-4067 fix (from v4.0.6) over to 4.x branch</li>
    </ul>
    </blockquote>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/micromatch/micromatch/commit/8bd704ec0d9894693d35da425d827819916be920"><code>8bd704e</code></a>
    4.0.8</li>
    <li><a
    href="https://github.com/micromatch/micromatch/commit/a0e68416a44da10f3e4e30845ab95af4fd286d5a"><code>a0e6841</code></a>
    run verb to generate README documentation</li>
    <li><a
    href="https://github.com/micromatch/micromatch/commit/4ec288484f6e8cccf597ad3d43529c31d0f7a02a"><code>4ec2884</code></a>
    Merge branch 'v4' into hauserkristof-feature/v4.0.8</li>
    <li><a
    href="https://github.com/micromatch/micromatch/commit/03aa8052171e878897eee5d7bb2ae0ae83ec2ade"><code>03aa805</code></a>
    Merge pull request <a
    href="https://redirect.github.com/micromatch/micromatch/issues/266">#266</a>
    from hauserkristof/feature/v4.0.8</li>
    <li><a
    href="https://github.com/micromatch/micromatch/commit/814f5f70efcd100ca9d29198867812a3d6ab91a8"><code>814f5f7</code></a>
    lint</li>
    <li><a
    href="https://github.com/micromatch/micromatch/commit/67fcce6a1077c2faf5ad0c5f998fa70202cc5dae"><code>67fcce6</code></a>
    fix: CHANGELOG about braces &amp; CVE-2024-4068, v4.0.5</li>
    <li><a
    href="https://github.com/micromatch/micromatch/commit/113f2e3fa7cb30b429eda7c4c38475a8e8ba1b30"><code>113f2e3</code></a>
    fix: CVE numbers in CHANGELOG</li>
    <li><a
    href="https://github.com/micromatch/micromatch/commit/d9dbd9a266686f44afb38da26fe016f96d1ec04f"><code>d9dbd9a</code></a>
    feat: updated CHANGELOG</li>
    <li><a
    href="https://github.com/micromatch/micromatch/commit/2ab13157f416679f54e3a32b1425e184bd16749e"><code>2ab1315</code></a>
    fix: use actions/setup-node@v4</li>
    <li><a
    href="https://github.com/micromatch/micromatch/commit/1406ea38f3e24b29f4d4f46908d5cffcb3e6c4ce"><code>1406ea3</code></a>
    feat: rework test to work on macos with node 10,12 and 14</li>
    <li>Additional commits viewable in <a
    href="https://github.com/micromatch/micromatch/compare/4.0.7...4.0.8">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    Dependabot will resolve any conflicts with this PR as long as you don't
    alter it yourself. You can also trigger a rebase manually by commenting
    `@dependabot rebase`.
    
    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits
    that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after
    your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge
    and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating
    it. You can achieve the same result by closing it manually
    - `@dependabot show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@dependabot ignore <dependency name> major version` will close this
    group update PR and stop Dependabot creating any more for the specific
    dependency's major version (unless you unignore this specific
    dependency's major version or upgrade to it yourself)
    - `@dependabot ignore <dependency name> minor version` will close this
    group update PR and stop Dependabot creating any more for the specific
    dependency's minor version (unless you unignore this specific
    dependency's minor version or upgrade to it yourself)
    - `@dependabot ignore <dependency name>` will close this group update PR
    and stop Dependabot creating any more for the specific dependency
    (unless you unignore this specific dependency or upgrade to it yourself)
    - `@dependabot unignore <dependency name>` will remove all of the ignore
    conditions of the specified dependency
    - `@dependabot unignore <dependency name> <ignore condition>` will
    remove the ignore condition of the specified dependency and ignore
    conditions
    You can disable automated security fix PRs for this repo from the
    [Security Alerts
    page](https://github.com/BoundaryML/baml/network/alerts).
    
    </details>
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 6, 2024
    Copy the full SHA
    2974458 View commit details

Commits on Dec 9, 2024

  1. DOCS: deno run instead of dpx (#1225)

    <!-- ELLIPSIS_HIDDEN -->
    
    
    
    > [!IMPORTANT]
    > Update TypeScript setup documentation to use `deno run` instead of
    `dpx` for BAML CLI commands.
    > 
    >   - **Documentation**:
    > - Replace `dpx baml-cli init` with `deno run -A
    npm:@boundaryml/baml/baml-cli init` in `typescript.mdx`.
    > - Add `deno run -A npm:@boundaryml/baml/baml-cli generate` as an
    alternative to `npx baml-cli generate` in `typescript.mdx`.
    > 
    > <sup>This description was created by </sup>[<img alt="Ellipsis"
    src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup>
    for c4842a1. It will automatically
    update as commits are pushed.</sup>
    
    <!-- ELLIPSIS_HIDDEN -->
    jkonowitch authored Dec 9, 2024
    Copy the full SHA
    7c64299 View commit details
  2. chore: bump the npm_and_yarn group across 1 directory with 3 updates (#…

    …1223)
    
    Bumps the npm_and_yarn group with 3 updates in the
    /typescript/fiddle-proxy directory:
    [cross-spawn](https://github.com/moxystudio/node-cross-spawn),
    [path-to-regexp](https://github.com/pillarjs/path-to-regexp) and
    [express](https://github.com/expressjs/express).
    
    Updates `cross-spawn` from 7.0.3 to 7.0.6
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a
    href="https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md">cross-spawn's
    changelog</a>.</em></p>
    <blockquote>
    <h3><a
    href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.5...v7.0.6">7.0.6</a>
    (2024-11-18)</h3>
    <h3>Bug Fixes</h3>
    <ul>
    <li>update cross-spawn version to 7.0.5 in package-lock.json (<a
    href="https://github.com/moxystudio/node-cross-spawn/commit/f700743918d901eff92960e15a8dd68f87bd4176">f700743</a>)</li>
    </ul>
    <h3><a
    href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.4...v7.0.5">7.0.5</a>
    (2024-11-07)</h3>
    <h3>Bug Fixes</h3>
    <ul>
    <li>fix escaping bug introduced by backtracking (<a
    href="https://github.com/moxystudio/node-cross-spawn/commit/640d391fde65388548601d95abedccc12943374f">640d391</a>)</li>
    </ul>
    <h3><a
    href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.4">7.0.4</a>
    (2024-11-07)</h3>
    <h3>Bug Fixes</h3>
    <ul>
    <li>disable regexp backtracking (<a
    href="https://redirect.github.com/moxystudio/node-cross-spawn/issues/160">#160</a>)
    (<a
    href="https://github.com/moxystudio/node-cross-spawn/commit/5ff3a07d9add449021d806e45c4168203aa833ff">5ff3a07</a>)</li>
    </ul>
    </blockquote>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/77cd97f3ca7b62c904a63a698fc4a79bf41977d0"><code>77cd97f</code></a>
    chore(release): 7.0.6</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/6717de49ff1e5de49622488dcb9c33fb25370c85"><code>6717de4</code></a>
    chore: upgrade standard-version</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/f700743918d901eff92960e15a8dd68f87bd4176"><code>f700743</code></a>
    fix: update cross-spawn version to 7.0.5 in package-lock.json</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/9a7e3b2165917367f74b8365faad9873b30d7263"><code>9a7e3b2</code></a>
    chore: fix build status badge</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/085268352dcbcad8064c64c5efb25268b4023184"><code>0852683</code></a>
    chore(release): 7.0.5</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/640d391fde65388548601d95abedccc12943374f"><code>640d391</code></a>
    fix: fix escaping bug introduced by backtracking</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/bff0c87c8b627c4e6d04ec2449e733048bebb464"><code>bff0c87</code></a>
    chore: remove codecov</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/a7c6abc6fee79641d45b452fe6217deaa1bd0973"><code>a7c6abc</code></a>
    chore: replace travis with github workflows</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/9b9246e0969e86656d7ccd527716bc3c18842a19"><code>9b9246e</code></a>
    chore(release): 7.0.4</li>
    <li><a
    href="https://github.com/moxystudio/node-cross-spawn/commit/5ff3a07d9add449021d806e45c4168203aa833ff"><code>5ff3a07</code></a>
    fix: disable regexp backtracking (<a
    href="https://redirect.github.com/moxystudio/node-cross-spawn/issues/160">#160</a>)</li>
    <li>Additional commits viewable in <a
    href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    Updates `path-to-regexp` from 0.1.10 to 0.1.12
    <details>
    <summary>Release notes</summary>
    <p><em>Sourced from <a
    href="https://github.com/pillarjs/path-to-regexp/releases">path-to-regexp's
    releases</a>.</em></p>
    <blockquote>
    <h2>Fix backtracking (again)</h2>
    <p><strong>Fixed</strong></p>
    <ul>
    <li>Improved backtracking protection for 0.1.x, will break some
    previously valid paths (see previous advisory: <a
    href="https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-9wv6-86v2-598j">https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-9wv6-86v2-598j</a>)</li>
    </ul>
    <p><a
    href="https://github.com/pillarjs/path-to-regexp/compare/v0.1.11...v0.1.12">https://github.com/pillarjs/path-to-regexp/compare/v0.1.11...v0.1.12</a></p>
    <h2>Error on bad input</h2>
    <p><strong>Changed</strong></p>
    <ul>
    <li>Add error on bad input values  8f09549</li>
    </ul>
    <p><a
    href="https://github.com/pillarjs/path-to-regexp/compare/v0.1.10...v0.1.11">https://github.com/pillarjs/path-to-regexp/compare/v0.1.10...v0.1.11</a></p>
    </blockquote>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/pillarjs/path-to-regexp/commit/640e694c6fd971f78268439df9cf44040855e669"><code>640e694</code></a>
    0.1.12</li>
    <li><a
    href="https://github.com/pillarjs/path-to-regexp/commit/f01c26a013b1889f0c217c643964513acf17f6a4"><code>f01c26a</code></a>
    Merge commit from fork</li>
    <li><a
    href="https://github.com/pillarjs/path-to-regexp/commit/0c7119248b7cb528a0aea3ba45ed4e2db007cba4"><code>0c71192</code></a>
    0.1.11</li>
    <li><a
    href="https://github.com/pillarjs/path-to-regexp/commit/8f095497d678c2ec3495a99ab3928748731e73ee"><code>8f09549</code></a>
    Add error on bad input values</li>
    <li>See full diff in <a
    href="https://github.com/pillarjs/path-to-regexp/compare/v0.1.10...v0.1.12">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    Updates `express` from 4.21.1 to 4.21.2
    <details>
    <summary>Release notes</summary>
    <p><em>Sourced from <a
    href="https://github.com/expressjs/express/releases">express's
    releases</a>.</em></p>
    <blockquote>
    <h2>4.21.2</h2>
    <h2>What's Changed</h2>
    <ul>
    <li>Add funding field (v4) by <a
    href="https://github.com/bjohansebas"><code>@​bjohansebas</code></a> in
    <a
    href="https://redirect.github.com/expressjs/express/pull/6065">expressjs/express#6065</a></li>
    <li>deps: [email protected] by <a
    href="https://github.com/blakeembrey"><code>@​blakeembrey</code></a> in
    <a
    href="https://redirect.github.com/expressjs/express/pull/5956">expressjs/express#5956</a></li>
    <li>deps: bump [email protected] by <a
    href="https://github.com/jonchurch"><code>@​jonchurch</code></a> in <a
    href="https://redirect.github.com/expressjs/express/pull/6209">expressjs/express#6209</a></li>
    <li>Release: 4.21.2 by <a
    href="https://github.com/UlisesGascon"><code>@​UlisesGascon</code></a>
    in <a
    href="https://redirect.github.com/expressjs/express/pull/6094">expressjs/express#6094</a></li>
    </ul>
    <p><strong>Full Changelog</strong>: <a
    href="https://github.com/expressjs/express/compare/4.21.1...4.21.2">https://github.com/expressjs/express/compare/4.21.1...4.21.2</a></p>
    </blockquote>
    </details>
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a
    href="https://github.com/expressjs/express/blob/4.21.2/History.md">express's
    changelog</a>.</em></p>
    <blockquote>
    <h1>4.21.2 / 2024-11-06</h1>
    <ul>
    <li>deps: [email protected]
    <ul>
    <li>Fix backtracking protection</li>
    </ul>
    </li>
    <li>deps: [email protected]
    <ul>
    <li>Throws an error on invalid path values</li>
    </ul>
    </li>
    </ul>
    </blockquote>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="https://github.com/expressjs/express/commit/1faf228935aa0a13111f92c28ee795be64ce3f0f"><code>1faf228</code></a>
    4.21.2</li>
    <li><a
    href="https://github.com/expressjs/express/commit/2e0fb646d03184dd9a5285813460210c0e7ae654"><code>2e0fb64</code></a>
    deps: bump [email protected] (<a
    href="https://redirect.github.com/expressjs/express/issues/6209">#6209</a>)</li>
    <li><a
    href="https://github.com/expressjs/express/commit/59fc27028ec5d212be653d35d7e3f73a2c3ac3c0"><code>59fc270</code></a>
    deps: [email protected] (<a
    href="https://redirect.github.com/expressjs/express/issues/5956">#5956</a>)</li>
    <li><a
    href="https://github.com/expressjs/express/commit/51fc39ccf834eec44547b0f4fed8027e7c05a009"><code>51fc39c</code></a>
    docs: add funding (<a
    href="https://redirect.github.com/expressjs/express/issues/6065">#6065</a>)</li>
    <li>See full diff in <a
    href="https://github.com/expressjs/express/compare/4.21.1...4.21.2">compare
    view</a></li>
    </ul>
    </details>
    <details>
    <summary>Maintainer changes</summary>
    <p>This version was pushed to npm by <a
    href="https://www.npmjs.com/~jonchurch">jonchurch</a>, a new releaser
    for express since your current version.</p>
    </details>
    <br />
    
    
    Dependabot will resolve any conflicts with this PR as long as you don't
    alter it yourself. You can also trigger a rebase manually by commenting
    `@dependabot rebase`.
    
    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits
    that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after
    your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge
    and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating
    it. You can achieve the same result by closing it manually
    - `@dependabot show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@dependabot ignore <dependency name> major version` will close this
    group update PR and stop Dependabot creating any more for the specific
    dependency's major version (unless you unignore this specific
    dependency's major version or upgrade to it yourself)
    - `@dependabot ignore <dependency name> minor version` will close this
    group update PR and stop Dependabot creating any more for the specific
    dependency's minor version (unless you unignore this specific
    dependency's minor version or upgrade to it yourself)
    - `@dependabot ignore <dependency name>` will close this group update PR
    and stop Dependabot creating any more for the specific dependency
    (unless you unignore this specific dependency or upgrade to it yourself)
    - `@dependabot unignore <dependency name>` will remove all of the ignore
    conditions of the specified dependency
    - `@dependabot unignore <dependency name> <ignore condition>` will
    remove the ignore condition of the specified dependency and ignore
    conditions
    You can disable automated security fix PRs for this repo from the
    [Security Alerts
    page](https://github.com/BoundaryML/baml/network/alerts).
    
    </details>
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 9, 2024
    Copy the full SHA
    2222b0c View commit details

Commits on Dec 10, 2024

  1. Fix reqwest caching images on the playground tests (#1228)

    reqwest caches image requests since the base_url is always empty. Adding
    the path of the original url into the proxy url fixes it.
    aaronvg authored Dec 10, 2024
    Copy the full SHA
    7384ba8 View commit details

Commits on Dec 11, 2024

  1. fix: Support parsing primitive values from single-key objects (#1224)

    # Description
    Fixes #1141
    
    This PR adds support for parsing primitive values from single-key
    objects in unions. When an LLM responds with an object-wrapped primitive
    (e.g., `{"status": 1}`), we now correctly extract and validate the inner
    value.
    
    ## Changes
    - Add support for extracting primitive values (numbers, booleans,
    strings) from single-key objects
    - Track the extracted key name using `ImpliedKey` flag
    - Reject invalid cases:
      - Nested objects (e.g., `{"status": {"code": 1}}`)
      - Arrays (e.g., `{"values": [1]}`)
      - Multi-key objects
    
    ## Test Plan
    Added test cases covering:
    - Basic object extraction: `{"status": 1}` → `1`
    - Multiple primitive types in union
    - Invalid cases (nested objects, arrays)
    
    All tests are passing.
    <!-- ELLIPSIS_HIDDEN -->
    
    ----
    
    > [!IMPORTANT]
    > Adds support for parsing primitive values from single-key objects in
    unions, with tests for valid and invalid cases.
    > 
    >   - **Behavior**:
    > - Supports parsing primitive values from single-key objects in unions
    in `coerce_literal.rs`.
    > - Extracts and validates inner values if they are numbers, booleans,
    or strings.
    >     - Rejects nested objects, arrays, and multi-key objects.
    >   - **Flags**:
    >     - Uses `ImpliedKey` flag to track extracted key names.
    >   - **Tests**:
    > - Added tests in `test_literals.rs` for basic object extraction,
    multiple primitive types, and invalid cases (nested objects, arrays).
    > 
    > <sup>This description was created by </sup>[<img alt="Ellipsis"
    src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup>
    for b4bf23f. It will automatically
    update as commits are pushed.</sup>
    
    <!-- ELLIPSIS_HIDDEN -->
    
    ---------
    
    Co-authored-by: aaronvg <[email protected]>
    revidious and aaronvg authored Dec 11, 2024
    Copy the full SHA
    935a190 View commit details
  2. Fix proxy not returning errors if an image couldnt be fetched (#1229)

    <!-- ELLIPSIS_HIDDEN -->
    
    
    > [!IMPORTANT]
    > Fix proxy error handling for image fetching failures and improve
    logging in Rust and TypeScript code.
    > 
    >   - **Behavior**:
    > - `to_base64_with_inferred_mime_type()` in `mod.rs` now returns an
    error if the response status is not successful, including status and
    response text.
    > - `fetch_with_proxy()` in `mod.rs` ensures URL parsing and path
    extraction are handled correctly.
    >   - **Dependencies**:
    >     - Update `mime_guess` version in `Cargo.toml` to `2.0.5`.
    >   - **Logging**:
    > - Add logging in `extension.ts` to track proxy request handling and
    error scenarios.
    > 
    > <sup>This description was created by </sup>[<img alt="Ellipsis"
    src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup>
    for 5afd5df. It will automatically
    update as commits are pushed.</sup>
    
    
    <!-- ELLIPSIS_HIDDEN -->
    aaronvg authored Dec 11, 2024
    Copy the full SHA
    7bb6df4 View commit details
  3. remove log stateemetns i added in (#1230)

    <!-- ELLIPSIS_HIDDEN -->
    
    
    
    > [!IMPORTANT]
    > Remove debug log statements from `is_allowed()` in `clientspec.rs` and
    `single_call()` in `mod.rs`.
    > 
    >   - **Logging**:
    > - Remove debug log statement from `is_allowed()` in `clientspec.rs`.
    >     - Remove debug log statement from `single_call()` in `mod.rs`.
    > 
    > <sup>This description was created by </sup>[<img alt="Ellipsis"
    src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup>
    for 00f413a. It will automatically
    update as commits are pushed.</sup>
    
    <!-- ELLIPSIS_HIDDEN -->
    hellovai authored Dec 11, 2024
    Copy the full SHA
    4bcdd19 View commit details

Commits on Dec 12, 2024

  1. fix: bad link in docs (#1235)

    <!-- ELLIPSIS_HIDDEN -->
    
    
    
    > [!IMPORTANT]
    > Fix broken link in `upgrade-baml-versions.mdx` documentation file.
    > 
    >   - **Docs**:
    > - Fix broken link in `upgrade-baml-versions.mdx` from
    `/guide/reference/vscode-ext/clipath` to
    `/ref/editor-extension-settings/baml-cli-path`.
    > 
    > <sup>This description was created by </sup>[<img alt="Ellipsis"
    src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup>
    for 54e62d1. It will automatically
    update as commits are pushed.</sup>
    
    <!-- ELLIPSIS_HIDDEN -->
    sxlijin authored Dec 12, 2024
    Copy the full SHA
    859c699 View commit details
  2. More fixes to proxy (#1237)

    <!-- ELLIPSIS_HIDDEN -->
    
    
    > [!IMPORTANT]
    > Improved proxy handling in Rust and TypeScript by refining error
    messages, URL construction, and request routing logic.
    > 
    >   - **Rust Proxy Handling**:
    > - Improved error message in `to_base64_with_inferred_mime_type()` in
    `mod.rs` to include `media_url.url`.
    > - Refactored URL construction in `fetch_with_proxy()` in `mod.rs` to
    use `new_proxy_url` variable.
    >   - **TypeScript Proxy Middleware**:
    > - Added logic in `extension.ts` to handle image GET requests by
    setting path to empty string.
    >     - Removed trailing slashes from paths in `extension.ts`.
    > - Ensured `baml-original-url` header is used to route requests in
    `extension.ts`.
    >   - **Miscellaneous**:
    > - Disabled ESLint rule `@typescript-eslint/no-misused-promises` in
    `extension.ts`.
    > 
    > <sup>This description was created by </sup>[<img alt="Ellipsis"
    src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup>
    for e38f259. It will automatically
    update as commits are pushed.</sup>
    
    
    <!-- ELLIPSIS_HIDDEN -->
    aaronvg authored Dec 12, 2024
    Copy the full SHA
    16054f5 View commit details

Commits on Dec 13, 2024

  1. chore: Bump version to 0.70.2 (#1239)

    Bump version to 0.70.2\n\n❌ Typescript integ tests\n❌ Python integ
    tests\n\nGenerated by bump-version script.
    hellovai authored Dec 13, 2024
    Copy the full SHA
    9c5da2e View commit details
  2. chore: Bump version to 0.70.3 (#1240)

    Bump version to 0.70.3\n\n❌ Typescript integ tests\n❌ Python integ
    tests\n\nGenerated by bump-version script.
    hellovai authored Dec 13, 2024
    Copy the full SHA
    52040dc View commit details
  3. chore: Bump version to 0.70.4 (#1241)

    - **Bump version to 0.70.4**
    - **chore: Bump version to 0.70.4**
    hellovai authored Dec 13, 2024
    Copy the full SHA
    d5209e7 View commit details
  4. chore: Bump version to 0.70.5 (#1242)

    Bump version to 0.70.5
    
    ✅ Typescript integ tests
    ✅ Python integ tests
    
    Generated by bump-version script.
    hellovai authored Dec 13, 2024
    Copy the full SHA
    398cfc8 View commit details
  5. chore: add approval reqs to release workflows (#1243)

    <!-- ELLIPSIS_HIDDEN -->
    
    
    
    > [!IMPORTANT]
    > Add approval requirement to `publish-to-github`,
    `publish-to-open-vsx`, and `publish-to-vscode-marketplace` jobs in
    `release.yml`.
    > 
    >   - **Workflows**:
    > - Add `environment: release` to `publish-to-github`,
    `publish-to-open-vsx`, and `publish-to-vscode-marketplace` jobs in
    `release.yml` to require approval before execution.
    > 
    > <sup>This description was created by </sup>[<img alt="Ellipsis"
    src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup>
    for daea535. It will automatically
    update as commits are pushed.</sup>
    
    <!-- ELLIPSIS_HIDDEN -->
    sxlijin authored Dec 13, 2024
    Copy the full SHA
    d3b9596 View commit details

Commits on Dec 14, 2024

  1. feat: implement format-on-save in vscode and baml-cli fmt (#1246)

    This wires up Dylan's work on setting up a BAML formatter and makes it
    possible to auto-format _some_ BAML code:
    
    - it is now possible to format-on-save BAML code using the vscode
    extension by running `baml.setDefaultFormatter` as a command in vscode
    - `baml-cli fmt` will now work, if run in a dir containing a `baml_src`
    dir; it also supports dry-run (will write to stdout instead) and
    explicitly specifying baml files
    
    The formatter itself is... not quite there yet. So `baml-cli fmt` will
    stay a hidden command.
    
    - there are some syntax rules it barfs on (enums? literals? something in
    integ-tests)
    - it rewrites comments possibly too aggressively (e.g. across multiple
    lines they're concatenated)
    - unclear how useful/useless it is without the ability to format
    template string contents
    - our current grammar can be pretty brittle in some cases (e.g. newlines
    are not allowed in angle brackets, c.f.`"map<\nstring, string>"` is
    invalid)
    sxlijin authored Dec 14, 2024
    Copy the full SHA
    66af7c5 View commit details
Showing with 1,244 additions and 1,291 deletions.
  1. +1 −8 .github/workflows/build-python-release.reusable.yaml
  2. +1 −1 .github/workflows/build-ruby-release.reusable.yaml
  3. +1 −1 .github/workflows/build-typescript-release.reusable.yaml
  4. +77 −0 .github/workflows/build-vscode-release.reusable.yaml
  5. +87 −147 .github/workflows/release.yml
  6. +17 −0 CHANGELOG.md
  7. +16 −16 engine/Cargo.lock
  8. +1 −1 engine/Cargo.toml
  9. +17 −0 engine/baml-lib/jsonish/src/deserializer/coercer/coerce_literal.rs
  10. +134 −0 engine/baml-lib/jsonish/src/tests/test_literals.rs
  11. +0 −8 engine/baml-lib/llm-client/src/clientspec.rs
  12. +1 −1 engine/baml-runtime/Cargo.toml
  13. +29 −13 engine/baml-runtime/src/internal/llm_client/traits/mod.rs
  14. +3 −0 engine/baml-runtime/src/lib.rs
  15. +22 −0 engine/baml-schema-wasm/src/lib.rs
  16. +4 −2 engine/baml-schema-wasm/src/runtime_wasm/mod.rs
  17. +56 −0 engine/baml-schema-wasm/tests/test_file_manager.rs
  18. +6 −1 engine/cli/src/commands.rs
  19. +47 −14 engine/cli/src/format.rs
  20. +1 −1 engine/language_client_python/pyproject.toml
  21. +1 −1 engine/language_client_ruby/baml.gemspec
  22. +3 −2 engine/language_client_typescript/package.json
  23. +9 −6 engine/language_client_typescript/pnpm-lock.yaml
  24. +4 −1 fern/01-guide/02-languages/typescript.mdx
  25. +1 −1 fern/01-guide/03-development/upgrade-baml-versions.mdx
  26. +4 −4 integ-tests/baml_src/generators.baml
  27. +1 −1 integ-tests/python/baml_client/inlinedbaml.py
  28. +404 −304 integ-tests/python/report.html
  29. +1 −1 integ-tests/ruby/baml_client/inlined.rb
  30. +1 −1 integ-tests/typescript/baml_client/inlinedbaml.ts
  31. +42 −36 integ-tests/typescript/pnpm-lock.yaml
  32. +14 −609 integ-tests/typescript/test-report.html
  33. +2 −2 tools/build
  34. +31 −5 tools/bump-version
  35. +1 −1 tools/versions/engine.cfg
  36. +1 −1 tools/versions/integ-tests.cfg
  37. +1 −1 tools/versions/python.cfg
  38. +1 −1 tools/versions/ruby.cfg
  39. +1 −1 tools/versions/typescript.cfg
  40. +1 −1 tools/versions/vscode.cfg
  41. +16 −11 typescript/fiddle-proxy/package-lock.json
  42. +1 −1 typescript/fiddle-proxy/package.json
  43. +80 −80 typescript/pnpm-lock.yaml
  44. +16 −1 typescript/vscode-ext/packages/language-server/src/server.ts
  45. +6 −1 typescript/vscode-ext/packages/package.json
  46. +37 −3 typescript/vscode-ext/packages/vscode/src/extension.ts
  47. +43 −0 typescript/vscode-ext/packages/vscode/src/plugins/language-server/index.ts
9 changes: 1 addition & 8 deletions .github/workflows/build-python-release.reusable.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release language_client_python
name: BAML Release - Build Python

on:
workflow_call: {}
@@ -65,13 +65,6 @@ jobs:
env: ${{ matrix._.env || fromJSON('{}') }}
with:
target: ${{ matrix._.target }}
# TODO: unpin the maturin version
# 1.7.7+ builds wheels that gh-action-pypi-publish can't upload
# see:
# - release failure: https://github.com/BoundaryML/baml/actions/runs/12154379580/job/33894619438
# - maturin changelog: https://github.com/PyO3/maturin/blob/ba4d482809a73669242bd7fe7dd5f9106f42702f/Changelog.md?plain=1#L13
# - gh-action-pypi-publish issue: https://github.com/pypa/gh-action-pypi-publish/issues/310
maturin-version: "1.7.6"
command: build
# building in engine/ ensures that we pick up .cargo/config.toml
working-directory: engine
2 changes: 1 addition & 1 deletion .github/workflows/build-ruby-release.reusable.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release engine/language_client_ruby
name: BAML Release - Build Ruby

on:
workflow_call: {}
2 changes: 1 addition & 1 deletion .github/workflows/build-typescript-release.reusable.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release language_client_typescript
name: BAML Release - Build Typescript

on:
workflow_call: {}
77 changes: 77 additions & 0 deletions .github/workflows/build-vscode-release.reusable.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: BAML Release - Build VSCode Extension

on:
workflow_call: {}

concurrency:
# suffix is important to prevent a concurrency deadlock with the calling workflow
group: ${{ github.workflow }}-${{ github.ref }}-build-vscode
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
targets: wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v2
with:
workspaces: engine
- name: Bindgen
run: cargo install -f wasm-bindgen-cli@0.2.92
working-directory: engine/baml-schema-wasm
# Set up Node.js
- name: Setup Node.js
uses: actions/setup-node@v4
with:
cache: "pnpm"
node-version: 20
cache-dependency-path: |
typescript/**/pnpm-lock.yaml
- name: Install Dependencies
run: pnpm install --frozen-lockfile
working-directory: typescript/
- name: Build Typescript Project
run: pnpm run build
working-directory: typescript/

# Build the VSCode Extension
- name: Build VSCode Extension
id: build
run: pnpm run vscode:package
working-directory: typescript/vscode-ext/packages

# Upload the artifact (helpful for debugging and manual downloads)
- name: Upload VSCode Extension Artifact
uses: actions/upload-artifact@v4
with:
name: baml-vscode-vsix
path: typescript/vscode-ext/packages/*.vsix
if-no-files-found: error

# Upload the artifact (helpful for debugging and manual downloads)
- name: Upload VSCode Extension Artifact
uses: actions/upload-artifact@v4
with:
name: baml-out
path: typescript/vscode-ext/packages/vscode/out
if-no-files-found: error

# upload the lang server artifact
- name: Upload VSCode Lang Server Extension Artifact
uses: actions/upload-artifact@v4
with:
name: language-server
path: typescript/vscode-ext/packages/language-server/out
if-no-files-found: error

- name: VSCode Playground Artifact
uses: actions/upload-artifact@v4
with:
name: vscode-playground
path: typescript/vscode-ext/packages/web-panel/dist
if-no-files-found: error
Loading