Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@boundaryml/baml

Package Overview
Dependencies
Maintainers
3
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boundaryml/baml - npm Package Versions

1
9

0.57.0

Diff

Changelog

Source

0.57.0 - 2024-09-27

Documentation

  • Fix Python dynamic types example (#979) - (eade116) - lorenzoh

Features

  • teach vscode/fiddle to explain when we drop information (#897) - (93e2b9b) - Samuel Lijin
  • Add ability for users to reset env vars to their desire. (#984) - (69e6c29) - hellovai

Bug Fixes

  • Fixed panic during logging for splitting on UTF-8 strings. (#987) - (c27a64f) - hellovai
  • Improve SAP for triple quoted strings along with unions (#977) - (44202ab) - hellovai
  • Add more unit tests for parsing logic inspired by user (#980) - (48dd09f) - hellovai
  • Improve syntax errors e.g. class / enum parsing and also update pestmodel to handle traling comments (#981) - (adbb6ae) - hellovai
  • Updating docs for env vars (#985) - (305d6b3) - hellovai
  • When using openai-generic, use a string as the content type in the api request if theres no media (#988) - (e8fa739) - aaronvg
hellovai-boundary
published 0.56.1 •

Changelog

Source

0.56.1 - 2024-09-21

Bug Fixes

  • Improved parser for unions (#975) - (b390521) - hellovai
  • [syntax] Allow lists to contain trailing comma (#974) - (9e3dc6c) - Greg Hale
hellovai-boundary
published 0.56.0 •

Changelog

Source

0.56.0 - 2024-09-20

Shout outs to Nico for fixing some internal Rust dependencies, and to Lorenz for correcting our documentation! We really appreciate it :)

Features

  • use better default for openapi/rust client (#958) - (b74ef15) - Samuel Lijin

Bug Fixes

  • push optional-list and optional-map validation to post-parse (#959) - (c0480d5) - Samuel Lijin
  • improve OpenAPI instructions for windows/java (#962) - (6010efb) - Samuel Lijin
  • assorted fixes: unquoted strings, openai-generic add api_key for bearer auth, support escape characters in quoted strings (#965) - (847f3a9) - hellovai
  • serde-serialize can cause a package dependency cycle (#967) - (109ae09) - Nico
  • make anthropic work in fiddle/vscode (#970) - (32eccae) - Samuel Lijin
  • make dynamic enums work as outputs in Ruby (#972) - (7530402) - Samuel Lijin

Documentation

  • suggest correct python init command in vscode readme (#954) - (e99c5dd) - Samuel Lijin
  • add more vscode debugging instructions (#955) - (342b657) - Samuel Lijin
  • NextJS hook needs to be bound to the correct context (#957) - (ee80451) - aaronvg
  • update nextjs hooks and docs (#952) - (01cf855) - aaronvg
  • Fix some documentation typos (#966) - (5193cd7) - Greg Hale
  • Keywords AI router (#953) - (1c6f975) - aaronvg
  • Fix post_generate comment (#968) - (919c79f) - lorenzoh

Bug Fixes

  • show actionable errors for string[]? and map<...>? type validation (#946) - (48879c0) - Samuel Lijin

Documentation

  • add reference docs about env vars (#945) - (dd43bc5) - Samuel Lijin
hellovai-boundary
published 0.55.3 •

Changelog

Source

0.56.0 - 2024-09-20

Shout outs to Nico for fixing some internal Rust dependencies, and to Lorenz for correcting our documentation! We really appreciate it :)

Features

  • use better default for openapi/rust client (#958) - (b74ef15) - Samuel Lijin

Bug Fixes

  • push optional-list and optional-map validation to post-parse (#959) - (c0480d5) - Samuel Lijin
  • improve OpenAPI instructions for windows/java (#962) - (6010efb) - Samuel Lijin
  • assorted fixes: unquoted strings, openai-generic add api_key for bearer auth, support escape characters in quoted strings (#965) - (847f3a9) - hellovai
  • serde-serialize can cause a package dependency cycle (#967) - (109ae09) - Nico
  • make anthropic work in fiddle/vscode (#970) - (32eccae) - Samuel Lijin
  • make dynamic enums work as outputs in Ruby (#972) - (7530402) - Samuel Lijin

Documentation

  • suggest correct python init command in vscode readme (#954) - (e99c5dd) - Samuel Lijin
  • add more vscode debugging instructions (#955) - (342b657) - Samuel Lijin
  • NextJS hook needs to be bound to the correct context (#957) - (ee80451) - aaronvg
  • update nextjs hooks and docs (#952) - (01cf855) - aaronvg
  • Fix some documentation typos (#966) - (5193cd7) - Greg Hale
  • Keywords AI router (#953) - (1c6f975) - aaronvg
  • Fix post_generate comment (#968) - (919c79f) - lorenzoh

Bug Fixes

  • show actionable errors for string[]? and map<...>? type validation (#946) - (48879c0) - Samuel Lijin

Documentation

  • add reference docs about env vars (#945) - (dd43bc5) - Samuel Lijin
hellovai-boundary
published 0.55.2 •

Changelog

Source

0.55.2 - 2024-09-11

Bug Fixes

  • use correct locking strategy inside baml-cli serve (#943) - (fcb694d) - Samuel Lijin

Features

  • allow using DANGER_ACCEPT_INVALID_CERTS to disable https verification (#901) - (8873fe7) - Samuel Lijin
hellovai-boundary
published 0.55.1 •

Changelog

Source

0.55.1 - 2024-09-10

Bug Fixes

  • in generated TS code, put eslint-disable before ts-nocheck - (16d04c6) - Sam Lijin
  • baml-cli in python works again - (b57ca0f) - Sam Lijin

Documentation

  • update java install instructions (#933) - (b497003) - Samuel Lijin

Miscellaneous Chores

  • add version headers to the openapi docs (#931) - (21545f2) - Samuel Lijin
hellovai-boundary
published 0.55.0 •

Changelog

Source

0.55.0 - 2024-09-09

With this release, we're announcing support for BAML in all languages: we now allow you to call your functions over an HTTP interface, and will generate an OpenAPI specification for your BAML functions, so you can now generate a client in any language of your choice, be it Golang, Java, PHP, Ruby, Rust, or any of the other languages which OpenAPI supports.

Start here to learn more: https://docs.boundaryml.com/docs/get-started/quickstart/openapi

Features

  • implement BAML-over-HTTP (#908) - (484fa93) - Samuel Lijin
  • Add anonymous telemetry about playground actions (#925) - (6f58c9e) - hellovai
hellovai-boundary
published 0.54.2 •

Changelog

Source

0.54.2 - 2024-09-05

Features

  • Add a setting to disable restarting TS server in VSCode (#920) - (628f236) - aaronvg
  • Add prompt prefix for map types in ctx.output_format and add more type validation for map params (#919) - (4d304c5) - hellovai

Bug fixes

  • Fix glibC issues for python linux-x86_64 (#922) - (9161bec) - Samuel Lijin

Documentation

  • Add nextjs hooks (#921) - (fe14f5a) - aaronvg
hellovai-boundary
published 0.54.1 •

Changelog

Source

0.54.1 - 2024-09-03

BREAKING CHANGE

  • Fix escape characters in quoted strings (#905) - (9ba6eb8) - hellovai

Prior "\n" was interpreted as "\\n" in quoted strings. This has been fixed to interpret "\n" as newline characters and true for other escape characters.

Documentation

  • updated dead vs-code-extension link (#914) - (b12f164) - Christian Warmuth
  • Update docs for setting env vars (#904) - (ec1ca94) - hellovai
  • Add docs for LMStudio (#906) - (ea4c187) - hellovai
  • Fix docs for anthropic (#910) - (aba2764) - hellovai
  • Update discord links on docs (#911) - (927357d) - hellovai

Features

  • BAML_LOG will truncate messages to 1000 characters (modify using env var BOUNDARY_MAX_LOG_CHUNK_SIZE) (#907) - (d266e5c) - hellovai

Bug Fixes

  • Improve parsing parsing when there are initial closing ] or } (#903) - (46b0cde) - hellovai
  • Update build script for ruby to build all platforms (#915) - (df2f51e) - hellovai
  • Add unit-test for openai-generic provider and ensure it compiles (#916) - (fde7c50) - hellovai
hellovai-boundary
published 0.54.0 •

Changelog

Source

0.54.0 - 2024-08-27

BREAKING CHANGE

  • Update Default Gemini Base URL to v1beta (#891) - (a5d8c58) - gleed

The default base URL for the Gemini provider has been updated to v1beta. This change is should have no impact on existing users as v1beta is the default version for the Gemini python library, we are mirroring this change in BAML.

Bug Fixes

  • Allow promptfiddle to talk to localhost ollama (#886) - (5f02b2a) - Samuel Lijin
  • Update Parser for unions so they handle nested objects better (#900) - (c5b9a75) - hellovai

Documentation

  • Add ollama to default prompt fiddle example (#888) - (49146c0) - Samuel Lijin
  • Adding improved docs + unit tests for caching (#895) - (ff7be44) - hellovai

Features

  • Allow local filepaths to be used in tests in BAML files (image and audio) (#871) - (fa6dc03) - Samuel Lijin
  • Add support for absolute file paths in the file specifier (#881) - (fcd189e) - hellovai
  • Implement shorthand clients (You can now use "openai/gpt-4o" as short for creating a complete client.) (#879) - (ddd15c9) - Samuel Lijin
  • Add support for arbritrary metadata (e.g. cache_policy for anthropic) (#893) - (0d63a70) - hellovai
  • Expose Exceptions to user code: BamlError, BamlInvalidArgumentError, BamlClientError, BamlClientHttpError, BamlValidationError (#770) - (7da14c4) - hellovai

Internal

  • AST Restructuring (#857) - (75b51cb) - Anish Palakurthi
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc