diff --git a/CHANGELOG.md b/CHANGELOG.md index 17692a1c0..18e9adebc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines. +## [0.51.2](https://github.com/boundaryml/baml/compare/0.51.1..0.51.2) - 2024-07-24 + +### Bug Fixes + +- use chatwoot for feedback, not doorbell (#818) - ([f749f2b](https://github.com/boundaryml/baml/commit/f749f2b19b247de2f050beccd1fe8e50b7625757)) - Samuel Lijin + + +### UNMATCHED +- Minor improvements across docs (#807) - ([bc0c176](https://github.com/boundaryml/baml/commit/bc0c1761699ee2485a0a8ee61cf4fda6b579f974)) - Anish Palakurthi +- Add support for unions / maps / null in TypeBuilder. (#820) - ([8d9e92d](https://github.com/boundaryml/baml/commit/8d9e92d3050a67edbec5ee6056397becbcdb754b)) - hellovai + ## [0.51.1](https://github.com/boundaryml/baml/compare/0.51.0..0.51.1) - 2024-07-21 ### Features diff --git a/engine/Cargo.lock b/engine/Cargo.lock index 656399753..8b5895e93 100644 --- a/engine/Cargo.lock +++ b/engine/Cargo.lock @@ -687,7 +687,7 @@ dependencies = [ [[package]] name = "baml" -version = "0.51.1" +version = "0.51.2" dependencies = [ "anyhow", "baml-lib", @@ -728,7 +728,7 @@ dependencies = [ [[package]] name = "baml-fmt" -version = "0.51.1" +version = "0.51.2" dependencies = [ "anyhow", "baml-lib", @@ -750,7 +750,7 @@ dependencies = [ [[package]] name = "baml-lib" -version = "0.51.1" +version = "0.51.2" dependencies = [ "base64 0.13.1", "dissimilar", @@ -788,7 +788,7 @@ dependencies = [ [[package]] name = "baml-runtime" -version = "0.51.1" +version = "0.51.2" dependencies = [ "ambassador", "anyhow", @@ -868,7 +868,7 @@ dependencies = [ [[package]] name = "baml-schema-build" -version = "0.51.1" +version = "0.51.2" dependencies = [ "anyhow", "baml-runtime", @@ -900,7 +900,7 @@ dependencies = [ [[package]] name = "baml-types" -version = "0.51.1" +version = "0.51.2" dependencies = [ "indexmap 2.2.6", "minijinja", @@ -2278,7 +2278,7 @@ dependencies = [ [[package]] name = "internal-baml-codegen" -version = "0.51.1" +version = "0.51.2" dependencies = [ "anyhow", "askama", @@ -2300,7 +2300,7 @@ dependencies = [ [[package]] name = "internal-baml-core" -version = "0.51.1" +version = "0.51.2" dependencies = [ "anyhow", "baml-types", @@ -2334,7 +2334,7 @@ dependencies = [ [[package]] name = "internal-baml-diagnostics" -version = "0.51.1" +version = "0.51.2" dependencies = [ "anyhow", "colored", @@ -2347,7 +2347,7 @@ dependencies = [ [[package]] name = "internal-baml-jinja" -version = "0.51.1" +version = "0.51.2" dependencies = [ "anyhow", "askama", @@ -2365,7 +2365,7 @@ dependencies = [ [[package]] name = "internal-baml-parser-database" -version = "0.51.1" +version = "0.51.2" dependencies = [ "baml-types", "colored", @@ -2387,7 +2387,7 @@ dependencies = [ [[package]] name = "internal-baml-prompt-parser" -version = "0.51.1" +version = "0.51.2" dependencies = [ "internal-baml-diagnostics", "internal-baml-schema-ast", @@ -2399,7 +2399,7 @@ dependencies = [ [[package]] name = "internal-baml-schema-ast" -version = "0.51.1" +version = "0.51.2" dependencies = [ "baml-types", "either", @@ -2475,7 +2475,7 @@ checksum = "9dbbfed4e59ba9750e15ba154fdfd9329cee16ff3df539c2666b70f58cc32105" [[package]] name = "jsonish" -version = "0.51.1" +version = "0.51.2" dependencies = [ "anyhow", "assert-json-diff", diff --git a/engine/Cargo.toml b/engine/Cargo.toml index b495639b7..74662ff57 100644 --- a/engine/Cargo.toml +++ b/engine/Cargo.toml @@ -60,7 +60,7 @@ internal-baml-core = { path = "baml-lib/baml-core" } internal-baml-jinja = { path = "baml-lib/jinja" } [workspace.package] -version = "0.51.1" +version = "0.51.2" authors = ["Boundary "] description = "BAML Toolchain" diff --git a/engine/language-client-codegen/src/typescript/templates/tracing.ts.j2 b/engine/language-client-codegen/src/typescript/templates/tracing.ts.j2 index 275571706..bfebdabc9 100644 --- a/engine/language-client-codegen/src/typescript/templates/tracing.ts.j2 +++ b/engine/language-client-codegen/src/typescript/templates/tracing.ts.j2 @@ -10,7 +10,7 @@ DO_NOT_USE_DIRECTLY_UNLESS_YOU_KNOW_WHAT_YOURE_DOING_CTX.upsertTags.bind(DO_NOT_ const flush = () => { DO_NOT_USE_DIRECTLY_UNLESS_YOU_KNOW_WHAT_YOURE_DOING_CTX.flush.bind(DO_NOT_USE_DIRECTLY_UNLESS_YOU_KNOW_WHAT_YOURE_DOING_CTX)() } -const onLogEvent = (callback: undefined | (event: BamlLogEvent) => void) => +const onLogEvent = (callback: undefined | ((event: BamlLogEvent) => void)) => DO_NOT_USE_DIRECTLY_UNLESS_YOU_KNOW_WHAT_YOURE_DOING_CTX.onLogEvent(callback) export { traceAsync, traceSync, setTags, flush, onLogEvent } \ No newline at end of file diff --git a/engine/language_client_python/pyproject.toml b/engine/language_client_python/pyproject.toml index b476fc026..ea34c5d6e 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.51.1" +version = "0.51.2" 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 4dc892a43..367c17f47 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.51.1" + spec.version = "0.51.2" 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 0f304169f..f5ffe4661 100644 --- a/engine/language_client_typescript/package.json +++ b/engine/language_client_typescript/package.json @@ -1,6 +1,6 @@ { "name": "@boundaryml/baml", - "version": "0.51.1", + "version": "0.51.2", "description": "BAML typescript bindings (package.json)", "repository": { "type": "git", diff --git a/integ-tests/typescript/baml_client/tracing.ts b/integ-tests/typescript/baml_client/tracing.ts index 75638f124..df2682e13 100644 --- a/integ-tests/typescript/baml_client/tracing.ts +++ b/integ-tests/typescript/baml_client/tracing.ts @@ -27,7 +27,7 @@ DO_NOT_USE_DIRECTLY_UNLESS_YOU_KNOW_WHAT_YOURE_DOING_CTX.upsertTags.bind(DO_NOT_ const flush = () => { DO_NOT_USE_DIRECTLY_UNLESS_YOU_KNOW_WHAT_YOURE_DOING_CTX.flush.bind(DO_NOT_USE_DIRECTLY_UNLESS_YOU_KNOW_WHAT_YOURE_DOING_CTX)() } -const onLogEvent = (callback: undefined | (event: BamlLogEvent) => void) => +const onLogEvent = (callback: undefined | ((event: BamlLogEvent) => void)) => DO_NOT_USE_DIRECTLY_UNLESS_YOU_KNOW_WHAT_YOURE_DOING_CTX.onLogEvent(callback) export { traceAsync, traceSync, setTags, flush, onLogEvent } \ No newline at end of file diff --git a/integ-tests/typescript/tests/integ-tests.test.ts b/integ-tests/typescript/tests/integ-tests.test.ts index dced62fac..2e41c7e76 100644 --- a/integ-tests/typescript/tests/integ-tests.test.ts +++ b/integ-tests/typescript/tests/integ-tests.test.ts @@ -438,8 +438,7 @@ describe('Integ tests', () => { ) console.log('final ', res) - console.log('final ', res.modelDump()) - console.log('final ', res.modelDumpJson()) + expect(res.hair_color).toEqual('black') expect(res.attributes['eye_color']).toEqual('blue') expect(res.attributes['facial_hair']).toEqual('beard') diff --git a/tools/versions/engine.cfg b/tools/versions/engine.cfg index f88738aa0..a82997c56 100644 --- a/tools/versions/engine.cfg +++ b/tools/versions/engine.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.51.1 +current_version = 0.51.2 commit = False tag = False parse = ^(?P\d+)\.(?P\d+).(?P\d+)$ diff --git a/tools/versions/python.cfg b/tools/versions/python.cfg index ee0ebfe63..76bb44223 100644 --- a/tools/versions/python.cfg +++ b/tools/versions/python.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.51.1 +current_version = 0.51.2 commit = False tag = False parse = ^(?P\d+)\.(?P\d+).(?P\d+)$ diff --git a/tools/versions/ruby.cfg b/tools/versions/ruby.cfg index 2a41b00d2..b1302fd3c 100644 --- a/tools/versions/ruby.cfg +++ b/tools/versions/ruby.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.51.1 +current_version = 0.51.2 commit = False tag = False parse = ^(?P\d+)\.(?P\d+).(?P\d+)$ diff --git a/tools/versions/typescript.cfg b/tools/versions/typescript.cfg index d3ff10650..53cd72872 100644 --- a/tools/versions/typescript.cfg +++ b/tools/versions/typescript.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.51.1 +current_version = 0.51.2 commit = False tag = False parse = ^(?P\d+)\.(?P\d+).(?P\d+)$ diff --git a/tools/versions/vscode.cfg b/tools/versions/vscode.cfg index fdef86823..6b8724ef4 100644 --- a/tools/versions/vscode.cfg +++ b/tools/versions/vscode.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.51.1 +current_version = 0.51.2 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 f16b88059..bb5095a02 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.51.1", + "version": "0.51.2", "publisher": "Boundary", "repository": "https://github.com/BoundaryML/baml", "homepage": "https://www.boundaryml.com",