Skip to content

Releases: BoundaryML/baml

0.68.0

12 Nov 07:04
f103d52
Compare
Choose a tag to compare

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 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

0.66.0

04 Nov 22:47
bf2b428
Compare
Choose a tag to compare

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

31 Oct 16:04
a7906fd
Compare
Choose a tag to compare

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

  • 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)

0.64.0

29 Oct 05:36
625895d
Compare
Choose a tag to compare

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

0.63.0

23 Oct 21:00
45b91d3
Compare
Choose a tag to compare

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

0.62.0

21 Oct 22:46
b981604
Compare
Choose a tag to compare

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

Misc

  • Fix VSCode metrics (#1044) - (a131336) - hellovai
  • Add more test cases for unquoted strings in objects (#1054) - (2d1b700) - hellovai

0.61.1

15 Oct 00:35
10130b8
Compare
Choose a tag to compare

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

  • Popup settings dialog when no env vars set (#1033) - (b9fa52a) - aaronvg
  • Bump version to 0.61.0 - (ca2242b) - Aaron Villalpando

0.60.0

09 Oct 23:31
1a26dd4
Compare
Choose a tag to compare

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

Docs

  • Add Docs for Jupyter notebook usage (#1008) - (c51d918) - aaronvg

0.59.0

07 Oct 06:33
7ea7dcb
Compare
Choose a tag to compare

0.59.0 - 2024-10-04

Features

  • (vertex) allow specifying creds as JSON object (#1009) - (98868da) - Samuel Lijin
  • Add prompt, raw_output and error message to BamlValidationError in TS and Python (#1005) - (447dbf4) - aaronvg
  • Add BamlValidationError to baml-cli serve (#1007) - (3b8cf16) - aaronvg
  • Include a WYSIWYG UI (Swagger UI) to baml-cli dev (#1011) - (fe9dde4) - imalsogreg

Bugfixes

  • Fix syntax highlight issues and a "use of recursive object" crash 1013
  • Remove some instances where the parser could crash with a rust panic

0.58.0

02 Oct 14:04
87e0f69
Compare
Choose a tag to compare

0.58.0 - 2024-10-02

Features

  • Add client registry support for BAML over Rest (OpenAPI) (#1000) - (abe70bf) - Lorenz Ohly

Bug Fixes

  • Improve performance of parsing escaped characters in strings during streaming. (#1002) - (b35ae2c) - hellovai