diff --git a/CHANGELOG.md b/CHANGELOG.md index 02db853fd..965776eeb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,31 @@ All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines. +## [0.70.0](https://github.com/boundaryml/baml/compare/0.69.0..0.70.0) - 2024-12-04 + +### Bug Fixes + +- Improvements for promptfiddle (#1201) - ([c6fb306](https://github.com/boundaryml/baml/commit/c6fb3067ce74f7864c8e071ed9ea3b3b1f69d00a)) - aaronvg +- Add vscode config to disable proxying (#1197) - ([c593284](https://github.com/boundaryml/baml/commit/c59328479a60847147d7141f0053fb208821d49a)) - aaronvg +- update lezer syntax for tests (#1199) - ([269ad9d](https://github.com/boundaryml/baml/commit/269ad9da5ca1dede5bf3d6a42f11f158cfe57dda)) - aaronvg +- Various playground fixes (#1202) - ([ce4f397](https://github.com/boundaryml/baml/commit/ce4f39737b88d2fcf27851ff8b230eda5a1e714b)) - aaronvg + + +### Documentation + +- Add test-block constraints docs (#1198) - ([b566d4c](https://github.com/boundaryml/baml/commit/b566d4ceadab2bff0ae77765be63aadb4d3660d2)) - Greg Hale + +### Features +- Fix azure client - ([9b57395](https://github.com/boundaryml/baml/commit/9b5739565b684c2179ac2ab24cabaa441a6269a7)) - hellovai +- Add new client paramters: allowed_roles, default_role, finish_reason_allow_list, finish_reason_deny_list (#1209) - ([9b57395](https://github.com/boundaryml/baml/commit/9b5739565b684c2179ac2ab24cabaa441a6269a7)) - hellovai + + +### Miscellaneous Chores +- cargo clippy (#1206) - ([c17e0da](https://github.com/boundaryml/baml/commit/c17e0da45db4188e0b0618d9e69f21220dc2fcff)) - Antonio Sarosi +- add colors to the CLI by default (#1208) - ([eba73c7](https://github.com/boundaryml/baml/commit/eba73c783c7f4e0013c0f128b0f2a7c20af330f0)) - Samuel Lijin +- simplify string formatting for readability (#1072) - ([3ebf08f](https://github.com/boundaryml/baml/commit/3ebf08fe54bcfcc384188296f32efa6a878416ec)) - Hamir Mahal + + ## [0.69.0](https://github.com/boundaryml/baml/compare/0.68.0..0.69.0) - 2024-11-26 ### Documentation diff --git a/engine/Cargo.lock b/engine/Cargo.lock index ff8167eb5..c16889362 100644 --- a/engine/Cargo.lock +++ b/engine/Cargo.lock @@ -779,7 +779,7 @@ dependencies = [ [[package]] name = "baml-cli" -version = "0.69.0" +version = "0.70.0" dependencies = [ "ambassador", "anyhow", @@ -867,7 +867,7 @@ dependencies = [ [[package]] name = "baml-lib" -version = "0.69.0" +version = "0.70.0" dependencies = [ "base64 0.13.1", "dissimilar", @@ -907,7 +907,7 @@ dependencies = [ [[package]] name = "baml-runtime" -version = "0.69.0" +version = "0.70.0" dependencies = [ "ambassador", "anyhow", @@ -1004,7 +1004,7 @@ dependencies = [ [[package]] name = "baml-schema-build" -version = "0.69.0" +version = "0.70.0" dependencies = [ "anyhow", "baml-runtime", @@ -1042,7 +1042,7 @@ dependencies = [ [[package]] name = "baml-types" -version = "0.69.0" +version = "0.70.0" dependencies = [ "anyhow", "clap", @@ -1171,7 +1171,7 @@ dependencies = [ [[package]] name = "bstd" -version = "0.69.0" +version = "0.70.0" dependencies = [ "anyhow", "assert_cmd", @@ -2565,7 +2565,7 @@ dependencies = [ [[package]] name = "internal-baml-codegen" -version = "0.69.0" +version = "0.70.0" dependencies = [ "anyhow", "askama", @@ -2590,7 +2590,7 @@ dependencies = [ [[package]] name = "internal-baml-core" -version = "0.69.0" +version = "0.70.0" dependencies = [ "anyhow", "baml-types", @@ -2627,7 +2627,7 @@ dependencies = [ [[package]] name = "internal-baml-diagnostics" -version = "0.69.0" +version = "0.70.0" dependencies = [ "anyhow", "colored", @@ -2640,7 +2640,7 @@ dependencies = [ [[package]] name = "internal-baml-jinja" -version = "0.69.0" +version = "0.70.0" dependencies = [ "anyhow", "askama", @@ -2661,7 +2661,7 @@ dependencies = [ [[package]] name = "internal-baml-jinja-types" -version = "0.69.0" +version = "0.70.0" dependencies = [ "anyhow", "askama", @@ -2680,7 +2680,7 @@ dependencies = [ [[package]] name = "internal-baml-parser-database" -version = "0.69.0" +version = "0.70.0" dependencies = [ "anyhow", "baml-types", @@ -2705,7 +2705,7 @@ dependencies = [ [[package]] name = "internal-baml-prompt-parser" -version = "0.69.0" +version = "0.70.0" dependencies = [ "internal-baml-diagnostics", "internal-baml-schema-ast", @@ -2717,7 +2717,7 @@ dependencies = [ [[package]] name = "internal-baml-schema-ast" -version = "0.69.0" +version = "0.70.0" dependencies = [ "baml-types", "bstd", @@ -2733,7 +2733,7 @@ dependencies = [ [[package]] name = "internal-llm-client" -version = "0.69.0" +version = "0.70.0" dependencies = [ "anyhow", "baml-types", @@ -2831,7 +2831,7 @@ checksum = "9dbbfed4e59ba9750e15ba154fdfd9329cee16ff3df539c2666b70f58cc32105" [[package]] name = "jsonish" -version = "0.69.0" +version = "0.70.0" dependencies = [ "anyhow", "assert-json-diff", diff --git a/engine/Cargo.toml b/engine/Cargo.toml index a914a70c6..6ad5f59a5 100644 --- a/engine/Cargo.toml +++ b/engine/Cargo.toml @@ -95,7 +95,7 @@ internal-baml-jinja = { path = "baml-lib/jinja" } internal-baml-schema-ast = { path = "baml-lib/schema-ast" } [workspace.package] -version = "0.69.0" +version = "0.70.0" authors = ["Boundary "] description = "BAML Toolchain" diff --git a/engine/language_client_python/pyproject.toml b/engine/language_client_python/pyproject.toml index c45887498..bf65c5124 100644 --- a/engine/language_client_python/pyproject.toml +++ b/engine/language_client_python/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "baml-py" -version = "0.69.0" +version = "0.70.0" description = "BAML python bindings (pyproject.toml)" readme = "README.md" authors = [["Boundary", "contact@boundaryml.com"]] diff --git a/engine/language_client_ruby/baml.gemspec b/engine/language_client_ruby/baml.gemspec index 453c1e388..0721f3a57 100644 --- a/engine/language_client_ruby/baml.gemspec +++ b/engine/language_client_ruby/baml.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |spec| spec.name = "baml" - spec.version = "0.69.0" + spec.version = "0.70.0" spec.authors = ["BoundaryML"] spec.email = ["contact@boundaryml.com"] diff --git a/engine/language_client_typescript/package.json b/engine/language_client_typescript/package.json index 49c03f2d6..0fdbdf66b 100644 --- a/engine/language_client_typescript/package.json +++ b/engine/language_client_typescript/package.json @@ -1,6 +1,6 @@ { "name": "@boundaryml/baml", - "version": "0.69.0", + "version": "0.70.0", "description": "BAML typescript bindings (package.json)", "repository": { "type": "git", diff --git a/fern/snippets/role-selection.mdx b/fern/snippets/role-selection.mdx new file mode 100644 index 000000000..d5957c59b --- /dev/null +++ b/fern/snippets/role-selection.mdx @@ -0,0 +1,17 @@ + + The role to use if the role is not in the allowed_roles. **Default: `"user"` usually, but some models like OpenAI's `gpt-4o` will use `"system"`** + + Picked the first role in `allowed_roles` if not "user", otherwise "user". + + + + Which roles should we forward to the API? **Default: `["system", "user", "assistant"]` usually, but some models like OpenAI's `o1-mini` will use `["user", "assistant"]`** + + Anything not in this list will be set to the `default_role`. + diff --git a/integ-tests/baml_src/generators.baml b/integ-tests/baml_src/generators.baml index 600b98e53..5c11e358b 100644 --- a/integ-tests/baml_src/generators.baml +++ b/integ-tests/baml_src/generators.baml @@ -1,24 +1,24 @@ generator lang_python { output_type python/pydantic output_dir "../python" - version "0.69.0" + version "0.70.0" } generator lang_typescript { output_type typescript output_dir "../typescript" - version "0.69.0" + version "0.70.0" } generator lang_ruby { output_type ruby/sorbet output_dir "../ruby" - version "0.69.0" + version "0.70.0" } // generator openapi { // output_type rest/openapi // output_dir "../openapi" -// version "0.69.0" +// version "0.70.0" // on_generate "rm .gitignore" // } diff --git a/tools/versions/engine.cfg b/tools/versions/engine.cfg index 42b16d121..a4b7964a6 100644 --- a/tools/versions/engine.cfg +++ b/tools/versions/engine.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.69.0 +current_version = 0.70.0 commit = False tag = False parse = ^(?P\d+)\.(?P\d+).(?P\d+)$ diff --git a/tools/versions/integ-tests.cfg b/tools/versions/integ-tests.cfg index 042d42177..a06f6922c 100644 --- a/tools/versions/integ-tests.cfg +++ b/tools/versions/integ-tests.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.69.0 +current_version = 0.70.0 commit = False tag = False parse = ^(?P\d+)\.(?P\d+).(?P\d+)$ diff --git a/tools/versions/python.cfg b/tools/versions/python.cfg index d45a134e6..a4cede0d9 100644 --- a/tools/versions/python.cfg +++ b/tools/versions/python.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.69.0 +current_version = 0.70.0 commit = False tag = False parse = ^(?P\d+)\.(?P\d+).(?P\d+)$ diff --git a/tools/versions/ruby.cfg b/tools/versions/ruby.cfg index 204a2acb3..cd2a67be7 100644 --- a/tools/versions/ruby.cfg +++ b/tools/versions/ruby.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.69.0 +current_version = 0.70.0 commit = False tag = False parse = ^(?P\d+)\.(?P\d+).(?P\d+)$ diff --git a/tools/versions/typescript.cfg b/tools/versions/typescript.cfg index c9621ace0..86ae81030 100644 --- a/tools/versions/typescript.cfg +++ b/tools/versions/typescript.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.69.0 +current_version = 0.70.0 commit = False tag = False parse = ^(?P\d+)\.(?P\d+).(?P\d+)$ diff --git a/tools/versions/vscode.cfg b/tools/versions/vscode.cfg index dd2b61800..9aee5fd9e 100644 --- a/tools/versions/vscode.cfg +++ b/tools/versions/vscode.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.69.0 +current_version = 0.70.0 commit = False tag = False parse = ^(?P\d+)\.(?P\d+).(?P\d+)$ diff --git a/typescript/vscode-ext/packages/package.json b/typescript/vscode-ext/packages/package.json index 58a39c12d..38af40f0c 100644 --- a/typescript/vscode-ext/packages/package.json +++ b/typescript/vscode-ext/packages/package.json @@ -2,7 +2,7 @@ "name": "baml-extension", "displayName": "Baml", "description": "BAML is a DSL for AI applications.", - "version": "0.69.0", + "version": "0.70.0", "publisher": "Boundary", "repository": "https://github.com/BoundaryML/baml", "homepage": "https://www.boundaryml.com",