Skip to content

chore: release bigframes 2.40.0#17056

Merged
shuoweil merged 6 commits into
mainfrom
release-bigframes-v2.40.0
May 13, 2026
Merged

chore: release bigframes 2.40.0#17056
shuoweil merged 6 commits into
mainfrom
release-bigframes-v2.40.0

Conversation

@shuoweil
Copy link
Copy Markdown
Contributor

@shuoweil shuoweil commented May 13, 2026

PR created by the Librarian CLI to initialize a release. Merging this PR will auto trigger a release.

Librarian Version: v0.13.0
Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:234b9d1f2ddb057ed7ac6a38db0bf8163d839c65c6cf88ade52530cddebce59e

bigframes: v2.40.0

v2.40.0 (2026-05-13)

Features

Bug Fixes

Performance Improvements

Documentation

@shuoweil shuoweil requested review from a team as code owners May 13, 2026 04:30
@shuoweil shuoweil requested review from TrevorBergeron and removed request for a team May 13, 2026 04:30
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the bigframes library to version 2.40.0, including version bumps across configuration files and the addition of release notes. It also toggles release_only_mode to false in the librarian configuration. Feedback was provided regarding the inclusion of unrelated Babel-related entries in the CHANGELOG.md that should be removed to maintain relevance.

Comment thread packages/bigframes/CHANGELOG.md Outdated
Comment on lines +34 to +35
* correctly parse type assertions in `extends` clause ([@​nicolo-ribaudo](https://redirect.github.com/nicolo-ribaudo)) - [#​17723](https://redirect.github.com/babel/babel/pull/17723) \[7.x backport] fix(parser): improve super type argument parsing ([@​JLHwung](https://redirect.github.com/JLHwung)) - `babel-traverse` - [#​17708](https://redirect.github.com/babel/babel/pull/17708) ([5098df262245fb333ae73fc7eb568f905bc0190a](https://github.com/googleapis/google-cloud-python/commit/5098df262245fb333ae73fc7eb568f905bc0190a))
* provide a hub when traversing a File or Program and no parentPath is given ([@​simbahax](https://redirect.github.com/simbahax)) - `babel-plugin-transform-block-scoping`, `babel-traverse` - [#​17737](https://redirect.github.com/babel/babel/pull/17737) \[7.x backport] fix: Rename switch discriminant references when body creates shadowing variable ([@​magic-akari](https://redirect.github.com/magic-akari)) ([5098df262245fb333ae73fc7eb568f905bc0190a](https://github.com/googleapis/google-cloud-python/commit/5098df262245fb333ae73fc7eb568f905bc0190a))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

These changelog entries appear to be unrelated to the bigframes project. They reference Babel (JavaScript) components and link to the babel/babel repository. These should be removed to maintain a clean and relevant changelog for the Python package.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed

@shuoweil shuoweil requested review from GarrettWu, sycai and tswast May 13, 2026 04:31
@shuoweil shuoweil merged commit bb41e93 into main May 13, 2026
30 of 31 checks passed
@shuoweil shuoweil deleted the release-bigframes-v2.40.0 branch May 13, 2026 18:29
nidhiii-27 pushed a commit that referenced this pull request May 18, 2026
PR created by the Librarian CLI to initialize a release. Merging this PR
will auto trigger a release.

Librarian Version: v0.13.0
Language Image:
us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:234b9d1f2ddb057ed7ac6a38db0bf8163d839c65c6cf88ade52530cddebce59e
<details><summary>bigframes: v2.40.0</summary>

##
[v2.40.0](bigframes-v2.39.0...bigframes-v2.40.0)
(2026-05-13)

### Features

* Add `bigframes.execution_history` API to track BigQuery jobs (#16588)
([fa20a74](fa20a740))
  ```python
  import bigframes.pandas as bpd
  bpd.options.compute.enable_execution_history = True
  df = bpd.read_gbq("my_table")
  # ... perform operations ...
  history = bpd.execution_history
  print(history.jobs) # Access BigQuery job details for executed queries
  ```

* Implement `ai.similarity` and `ai.embed` for text embeddings and
semantic similarity (#16771, #16759)
([d4afa2c](d4afa2c8),
[fcb4579](fcb4579b))
  ```python
  import bigframes.pandas as bpd
  # Generate embeddings
  df["embeddings"] = bpd.bigquery.ai.embed(df["text_col"])
  # Compute similarity
df["similarity"] = bpd.bigquery.ai.similarity(df["embeddings_a"],
df["embeddings_b"])
  ```

* Support `hparam_range` and `hparam_candidates` parameters for
hyperparameter tuning in model creation (#16640)
([ca47835](ca47835c))
* Update `ai.score`, `ai.classify` and `ai.if_` parameters to match
their SQL equivalents (#16919, #16990, #16857)
([9f42fe1](9f42fe14),
[e9c52b1](e9c52b12),
[f3cb4ad](f3cb4ad0))
* Support unstable sorting in `sort_values` and `sort_index` (#16665)
([bbdeb70](bbdeb70f))
* Support loading Avro and ORC data formats (#16555)
([6d46cba](6d46cba3))
* Add NumPy ufunc support directly on column expressions (#16554)
([2f792ab](2f792abd))

### Bug Fixes

* Fix bugs compiling ambiguous ids and in subqueries (#16617)
([479e44d](479e44dd))

* BigFrames respects bq default region (#16933)
([ef9945a](ef9945a5))

* avoid views when querying BigLake tables from SQL cells (#16562)
([fdd3e0d](fdd3e0de))

* avoid `copy` argument warning in `to_pandas` (#16917)
([fe5245b](fe5245b8))

### Performance Improvements

* Improve write api upload throughput (#16641)
([ef856b0](ef856b04))

### Documentation

* Add docs to the to_csv methods of dataframe and series (#16570)
([a8fccef](a8fccefd))

</details>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants