Skip to content

Commit

Permalink
Bump version to 0.70.4
Browse files Browse the repository at this point in the history
  • Loading branch information
hellovai committed Dec 13, 2024
1 parent 52040dc commit f956f71
Show file tree
Hide file tree
Showing 15 changed files with 64 additions and 48 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.

## [0.70.3](https://github.com/boundaryml/baml/compare/0.70.1..0.70.3) - 2024-12-13
## [0.70.4](https://github.com/boundaryml/baml/compare/0.70.1..0.70.4) - 2024-12-13

### Bug Fixes

Expand Down
32 changes: 16 additions & 16 deletions engine/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ internal-baml-jinja = { path = "baml-lib/jinja" }
internal-baml-schema-ast = { path = "baml-lib/schema-ast" }

[workspace.package]
version = "0.70.3"
version = "0.70.4"
authors = ["Boundary <[email protected]>"]

description = "BAML Toolchain"
Expand Down
2 changes: 1 addition & 1 deletion engine/language_client_python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "baml-py"
version = "0.70.3"
version = "0.70.4"
description = "BAML python bindings (pyproject.toml)"
readme = "README.md"
authors = [["Boundary", "[email protected]"]]
Expand Down
2 changes: 1 addition & 1 deletion engine/language_client_ruby/baml.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "baml"
spec.version = "0.70.3"
spec.version = "0.70.4"
spec.authors = ["BoundaryML"]
spec.email = ["[email protected]"]

Expand Down
2 changes: 1 addition & 1 deletion engine/language_client_typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@boundaryml/baml",
"version": "0.70.3",
"version": "0.70.4",
"description": "BAML typescript bindings (package.json)",
"repository": {
"type": "git",
Expand Down
8 changes: 4 additions & 4 deletions integ-tests/baml_src/generators.baml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
generator lang_python {
output_type python/pydantic
output_dir "../python"
version "0.70.3"
version "0.70.4"
}

generator lang_typescript {
output_type typescript
output_dir "../typescript"
version "0.70.3"
version "0.70.4"
}

generator lang_ruby {
output_type ruby/sorbet
output_dir "../ruby"
version "0.70.3"
version "0.70.4"
}

// generator openapi {
// output_type rest/openapi
// output_dir "../openapi"
// version "0.70.3"
// version "0.70.4"
// on_generate "rm .gitignore"
// }
48 changes: 32 additions & 16 deletions tools/bump-version
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Options:
--vscode Bump patch for vscode
--all Bump all versions [default]
--allow-dirty Allow dirty git status
--no-tests Skip running integ tests
EOF
}

Expand Down Expand Up @@ -51,6 +52,7 @@ _ruby_mode=0
_vscode_mode=0
_all_mode=0
_allow_dirty_mode=0
_no_tests_mode=0

while [ $# -gt 0 ]; do
case "$1" in
Expand Down Expand Up @@ -82,6 +84,10 @@ while [ $# -gt 0 ]; do
_allow_dirty_mode=1
shift
;;
--no-tests)
_no_tests_mode=1
shift
;;
--) # End of all options
shift
break
Expand Down Expand Up @@ -236,23 +242,28 @@ env -u CONDA_PREFIX poetry run maturin develop --manifest-path ${_repo_root}/eng
poetry run baml-cli generate --from ../baml_src


# Now run integ tests for each
cd "${_repo_root}/integ-tests/typescript"
# Echo version and date to integ-tests.log
if pnpm integ-tests:ci; then
ts_tests_status="✅ Typescript integ tests"
if [$_no_tests_mode -eq 1]; then
ts_tests_status="— Typescript integ tests skipped"
python_tests_status="— Python integ tests skipped"
else
ts_tests_status="❌ Typescript integ tests"
echo "Typescript integ tests failed, but continuing..."
fi
# Now run integ tests for each
cd "${_repo_root}/integ-tests/typescript"
# Echo version and date to integ-tests.log
if pnpm integ-tests:ci; then
ts_tests_status="✅ Typescript integ tests"
else
ts_tests_status="❌ Typescript integ tests"
echo "Typescript integ tests failed, but continuing..."
fi

cd "${_repo_root}/integ-tests/python"
# Echo version and date to integ-tests.log
if infisical run --env=test -- poetry run pytest --template=html1/index.html --report=report.html; then
python_tests_status="✅ Python integ tests"
else
python_tests_status="❌ Python integ tests"
echo "Python integ tests failed, but continuing..."
cd "${_repo_root}/integ-tests/python"
# Echo version and date to integ-tests.log
if infisical run --env=test -- poetry run pytest --template=html1/index.html --report=report.html; then
python_tests_status="✅ Python integ tests"
else
python_tests_status="❌ Python integ tests"
echo "Python integ tests failed, but continuing..."
fi
fi

cd "${_repo_root}"
Expand All @@ -262,4 +273,9 @@ git commit -m "Run integ tests for $NEW_VERSION"

echo "All done! Please push the branch $_branch_name and create a PR."

gh pr create --title "chore: Bump version to $NEW_VERSION" --body "Bump version to $NEW_VERSION\n\n$ts_tests_status\n$python_tests_status\n\nGenerated by bump-version script."
gh pr create --title "chore: Bump version to $NEW_VERSION" --body "Bump version to $NEW_VERSION
$ts_tests_status
$python_tests_status
Generated by bump-version script."
2 changes: 1 addition & 1 deletion tools/versions/engine.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.70.3
current_version = 0.70.4
commit = False
tag = False
parse = ^(?P<major>\d+)\.(?P<minor>\d+).(?P<patch>\d+)$
Expand Down
2 changes: 1 addition & 1 deletion tools/versions/integ-tests.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.70.3
current_version = 0.70.4
commit = False
tag = False
parse = ^(?P<major>\d+)\.(?P<minor>\d+).(?P<patch>\d+)$
Expand Down
2 changes: 1 addition & 1 deletion tools/versions/python.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.70.3
current_version = 0.70.4
commit = False
tag = False
parse = ^(?P<major>\d+)\.(?P<minor>\d+).(?P<patch>\d+)$
Expand Down
2 changes: 1 addition & 1 deletion tools/versions/ruby.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.70.3
current_version = 0.70.4
commit = False
tag = False
parse = ^(?P<major>\d+)\.(?P<minor>\d+).(?P<patch>\d+)$
Expand Down
2 changes: 1 addition & 1 deletion tools/versions/typescript.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.70.3
current_version = 0.70.4
commit = False
tag = False
parse = ^(?P<major>\d+)\.(?P<minor>\d+).(?P<patch>\d+)$
Expand Down
2 changes: 1 addition & 1 deletion tools/versions/vscode.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.70.3
current_version = 0.70.4
commit = False
tag = False
parse = ^(?P<major>\d+)\.(?P<minor>\d+).(?P<patch>\d+)$
Expand Down
2 changes: 1 addition & 1 deletion typescript/vscode-ext/packages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "baml-extension",
"displayName": "Baml",
"description": "BAML is a DSL for AI applications.",
"version": "0.70.3",
"version": "0.70.4",
"publisher": "Boundary",
"repository": "https://github.com/BoundaryML/baml",
"homepage": "https://www.boundaryml.com",
Expand Down

0 comments on commit f956f71

Please sign in to comment.