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

@boundaryml/baml

Package Overview
Dependencies
Maintainers
0
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boundaryml/baml - npm Package Versions

23
8

0.70.1

Diff

Changelog

Source

0.70.1 - 2024-12-05

Bug Fixes

  • Make baml_py work with playwright/inspect (#1214) - (6741999) - Samuel Lijin
  • Fix Python release pipeline (#1218) - (bde634c) - Samuel Lijin

Documentation

  • Docs for LLM Clients paramaters updated (#1216) - (6f99a28) - hellovai
hellovai-boundary
published 0.70.0 •

Changelog

Source

0.70.0 - 2024-12-04

Bug Fixes

  • Improvements for promptfiddle (#1201) - (c6fb306) - aaronvg
  • Add vscode config to disable proxying (#1197) - (c593284) - aaronvg
  • update lezer syntax for tests (#1199) - (269ad9d) - aaronvg
  • Various playground fixes (#1202) - (ce4f397) - aaronvg

Documentation

  • Add test-block constraints docs (#1198) - (b566d4c) - Greg Hale

Features

  • Fix azure client - (9b57395) - hellovai
  • Add new client paramters: allowed_roles, default_role, finish_reason_allow_list, finish_reason_deny_list (#1209) - (9b57395) - hellovai

Miscellaneous Chores

  • cargo clippy (#1206) - (c17e0da) - Antonio Sarosi
  • add colors to the CLI by default (#1208) - (eba73c7) - Samuel Lijin
  • simplify string formatting for readability (#1072) - (3ebf08f) - Hamir Mahal
hellovai-boundary
published 0.69.0 •

Changelog

Source

0.69.0 - 2024-11-26

Documentation

  • Move documentation link higher in README.md for better visibility (#1190) - (aaa1149) - Dex
  • Update Vertex docs for different publishers (#1191) - (66b2274) - Antonio Sarosi
  • Update TypeScript installation docs to use pnpm exec instead of deprecated pnpx (#1144) - (56194b8) - Manav Bokinala
  • Update LM Studio documentation (#1176) - (7689ce7) - Jeff Winkler

Features

  • Support enums & literals as map keys (#1178) - (39e0271) - Antonio Sarosi
  • Parse triple backtick strings, discarding the info header (#1162) - (353b21e) - Samuel Lijin
  • Add ability to validate types for template strings (#1161) - (a578cc2) - hellovai
  • Support single line quoteless JSON parsing (#1170) - (b1b9cab) - hellovai
  • Generated code includes docstrings from BAML source docstrings (#1177) - (170ece9) - Greg Hale
  • Add ability to parse clients statically whenever possible (#1193) - (03d9475) - hellovai
  • Support setting all env vars for AWS-bedrock (#1179) - (fcdbdfb) - hellovai
  • Add constraints to test blocks (#1185) - (cafd2ea) - Greg Hale
  • Add sum jinja filter (#1174) - (2353862) - Greg Hale
  • Add openrouter key (#1186) - (28d58c0) - aaronvg

Bug Fixes

  • Fix image path in README.md (#1190) - (aaa1149) - Dex
  • Fix template string highlights (#1182) - (60c823a) - aaronvg
  • Fix nextjs and TS server hot-reload (#1183) - (22e6bbb) - aaronvg
  • Fix lang name (#1188) - (8c3d536) - aaronvg
  • Make id optional as gemini doesn't include it in openai generic (#1187) - (97d1cd4) - aaronvg
  • Correctly compute required_env_vars even for shorthand clients (#1164) - (8b51b6e) - hellovai
  • Report wrong keyword errors in type defs (#1166) - (3b1d152) - Antonio Sarosi
  • Remove win32-arm64 support for now to fix yarn and deno builds (#1173) - (c0234d7) - aaronvg
  • Validate fieldnames and types when using pydantic codegen (#1189) - (93b393d) - Greg Hale
hellovai-boundary
published 0.68.0 •

Changelog

Source

0.68.0 - 2024-11-11

Documentation

Features

  • Recursive types! (#1065) - (8100df9) - Antonio Sarosi
  • Support specifying "region" for aws-bedrock (#1150) - (cbe3c92) - Samuel Lijin
  • Add hoisted_class_prefix option in docs (#1154) - (cf2298e) - Antonio Sarosi
  • Make render messages dynamic and use hoisted_class_prefix instead of "schema" (#1155) - (873751b) - Antonio Sarosi
  • Support o1 in playground (allow certain models to disable streaming) (#1157) - (09c6549) - hellovai
  • Add basic grammar for a vs an articles in ctx.output_format (#1158) - (e084130) - Antonio Sarosi

Bug Fixes

  • Improved syntax highlighting for template_strings (#1151) - (8c43e37) - Greg Hale
  • Improved error detection for client<llm> parsing (#1026) - (c6b1167) - hellovai
  • Fix BAML_LOG_JSON logs for py, ruby, and TS (#1153) - (9e08642) - aaronvg
hellovai-boundary
published 0.67.0 •

Changelog

Source

0.67.0 - 2024-11-05

Bug Fixes

  • URGENT: fix generated typescript code (#1147) - (bd9da16) - hellovai

Features

  • Parser improvement: handle code within backticks (`) (#1146) - (3d8ef34) - hellovai
hellovai-boundary
published 0.66.0 •

Changelog

Source

0.66.0 - 2024-11-04

Features

  • BAML_LOG supports JSON mode (#1137) - (f140767) - aaronvg
  • Block-level constraints (#1124) - (e931acb) - Greg Hale
  • Parser improvement! Streaming arrays is much more stable and parsing file paths improved (#1134) - (56570f0) - hellovai

Documentation

  • Improvements to Reference Documentation (#1125) - (12c8fa7) - hellovai
  • README.md: typo/readability fixes (#1092) - (cb67e31) - Prathamesh Pawar
  • README.md: Correct Promptfiddle link (#1108) - (b296c4c) - Sagar Sharma
  • Fix broken links (#1133) - (e0bfc94) - aaronvg

Bug-fix

  • Improve syntax highlighting for template strings (#1130) - (54de4b6) - hellovai
  • Improved static analysis for literals in jinja (#1132) - (b8a221f) - Greg Hale
  • Adds missing imports to the sync_client template (#1131) - (823f74c) - Jesus Lizama
  • Add Checked in baml client typescript (#1135) - (ad759cd) - Greg Hale
  • Produce syntax error when user misses return type on functions (#1129) - (034d6eb) - hellovai
hellovai-boundary
published 0.65.0 •

Changelog

Source

0.65.0 - 2024-10-31

Documentation

  • New Documentation Structure: Introduced version 3 of the documentation, enhancing clarity and organization. (#1118)

Co-authored by: Vaibhav Gupta vbv@boundaryml.com, Antonio Sarosi sarosiantonio@gmail.com

Bug Fixes

  • Python Type Handling: Moved Python Checked and Check types into baml_client for better type management. (#1122)
  • Literal Input Type Checking: Fixed an issue where literal inputs were not being type-checked correctly. (#1121)
hellovai-boundary
published 0.64.0 •

Changelog

Source

0.64.0 - 2024-10-29

Bug Fixes

  • Playground Stability: Prevented crashes in the playground due to malformed vertex credentials (#1107) - Samuel Lijin
  • Union Handling: Addressed an issue with union types in the schema (#1096) - Greg Hale
  • WASM Function Signatures: Resolved stack overflow when computing WASM function signatures (#1100) - aaronvg
  • VSCode Extension: Fixed crashes in the VSCode extension that caused the output panel to open unexpectedly (#1103) - hellovai
  • Static Analysis Improvements: Enhanced static analysis on Jinja expressions and regex_match functions (#1102, #1104) - hellovai
  • Codegen Enhancements: Fixed code generation for Python boolean literals and updated integration tests (#1099) - Antonio Sarosi
  • Enum Handling: Improved substring alias handling for enums (#1098) - Miguel Cárdenas
  • Syntax Highlighting: Refined span calculations for Jinja expressions and improved VSCode syntax highlighting with Lezer (#1110) - hellovai
  • Ruby Support: Fixed literal boolean tests for Ruby (#1109) - Antonio Sarosi

Features

  • Constraint Support: Added the ability to define constraints using Jinja expressions (#1006) - Greg Hale
  • VSCode & Fiddle UI: Introduced a new "Intro to Checks" UI for easier onboarding (#1106) - Samuel Lijin
  • Dev Container Configurations: Added Dev Container configurations for streamlined development environments (#1112) - Antonio Sarosi

Documentation

  • Constraints Documentation: Published new documentation for defining constraints in BAML (#1113) - Greg Hale
  • Dynamic Types Linking: Added cross-links to dynamic types documentation for easier navigation (#1116) - Greg Hale

Miscellaneous

  • Code Quality: Improved style and fixed typos in the codebase (#1115) - Greg Hale
  • Parsing Stability: Added logic to prevent assertions from parsing errors and ensured checks no longer affect parsing (#1101) - hellovai
  • Version Bump: Bumped version to 0.64.0 (#1114, #ff7e152) - Vaibhav Gupta
hellovai-boundary
published 0.63.0 •

Changelog

Source

0.63.0 - 2024-10-23

Bug Fixes

  • Fix dynamic enums which already are defined in BAML (#1080) - (22d0f1c) - hellovai

Features

  • Updated clients.baml to use the latest sonnet model (#1081) - (71df0b7) - aaronvg
  • Improved clients.baml generated via baml init (#1089) - (682dd66) - hellovai
hellovai-boundary
published 0.62.0 •

Changelog

Source

0.62.0 - 2024-10-21

Features

  • Support serializing/deserializing baml_py.Image, baml_py.Audio for pydantic (#1062) - (11cb699) - Samuel Lijin
  • Support rendering input classes with aliases (#1045) - (3824cda) - aaronvg
  • Add unstable_internal_repr on FunctionResult in python (#1068) - (00082e8) - hellovai
  • Add literal support for type_builder (#1069) - (c0085d9) - hellovai

Bug Fixes

  • Surface errors in fallbacks containing only erroneous clients (#1061) - (b69ef79) - Greg Hale
  • Fix parser so that we are able to correctly detect sequences of empty strings. (#1048) - (977e277) - hellovai
  • Make substring match algorithm case insensitive (#1056) - (fa2c477) - Antonio Sarosi
  • Fix vertex-ai citation data being optional (#1058) - (5eae0a7) - aaronvg
  • Fix bug to correctly cast to pydantic types in ambiguous scenarios where BAML knows better (#1059) - (830b0cb) - hellovai
  • Parser: Prefer case sensitive match over case insensitive (#1063) - (cd6b141) - Antonio Sarosi
  • Only popup the vscode env var dialog once (#1066) - (1951474) - aaronvg

Documentation

  • Docs for literal types (#1030) - (55e5964) - Antonio Sarosi
  • Contribution guide (#1055) - (f09d943) - aaronvg

Misc

  • Fix VSCode metrics (#1044) - (a131336) - hellovai
  • Add more test cases for unquoted strings in objects (#1054) - (2d1b700) - hellovai
23
8
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