Releases: BoundaryML/baml
Releases · BoundaryML/baml
0.70.1
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
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
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
0.69.0
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 deprecatedpnpx
(#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
0.68.0
0.68.0 - 2024-11-11
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
vsan
articles in ctx.output_format (#1158) - (e084130) - Antonio Sarosi
Bug Fixes
0.66.0
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
0.65.0
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 [email protected], Antonio Sarosi [email protected]
Bug Fixes
0.64.0
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
0.63.0
0.62.0
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
0.61.1
Features
- Implement literal types (#978) - (9e7431f) - Antonio Sarosi
- allow installing the TS library on node-alpine (#1029) - (1c37a0d) - Samuel Lijin
- Add WYSIWYG UI (Swagger UI) to baml-cli dev (#1019) - (0c73cab) - Greg Hale
- Suppress streaming for Numbers (#1032) - (3f4621b) - Greg Hale
Bug Fixes
- Add limit on connection pool to prevent stalling issues in pyo3 and other ffi boundaries (#1027) - (eb90e62) - hellovai
- Update docs (#1025) - (2dd1bb6) - Farookh Zaheer Siddiqui
- Fix parsing for streaming of objects more stable (#1031) - (8aa9c00) - hellovai
- Fix python BamlValidationError type (#1036) - (59a9510) - aaronvg
Miscellaneous
0.60.0
0.60.0 - 2024-10-09
Miscellaneous Chores
- update Dockerfile (#1017) - (51539b7) - Ikko Eltociear Ashimine
- Revert "feat: add a WYSIWYG UI (Swagger UI) to
baml-cli dev
(#1011)" (#1018) - (f235050) - Greg Hale
Bug fixes
- Fix python types for BamlValidationError (#1020) - (520a09c) - aaronvg
- coerce floats and ints with commas and other special cases (#1023) - (904492e) - aaronvg