Skip to content

chore(main): release 2.5.0#1724

Merged
tswast merged 1 commit intomainfrom
release-please--branches--main
Jun 2, 2025
Merged

chore(main): release 2.5.0#1724
tswast merged 1 commit intomainfrom
release-please--branches--main

Conversation

@release-please
Copy link
Contributor

@release-please release-please bot commented May 12, 2025

🤖 I have created a release beep boop

2.5.0 (2025-05-30)

⚠ BREAKING CHANGES

  • the updated ai.map() parameter list is not backward-compatible

Features

  • Add bpd.options.bigquery.requests_transport_adapters option (#1755) (bb45db8)
  • Add bbq.json_query and warn bbq.json_extract deprecated (#1756) (ec81dd2)
  • Add bpd.options.reset() method (#1743) (36c359d)
  • Add DataFrame.round method (#1742) (3ea6043)
  • Add deferred data uploading (#1720) (1f6442e)
  • Add deprecation warning to Gemini-1.5-X, text-embedding-004, and remove remove legacy models in notebooks and docs (#1723) (80aad9a)
  • Add structured output for ai map, ai filter and ai join (#1746) (133ac6b)
  • Add support for df.loc[list, column(s)] (#1761) (768a757)
  • Include bq schema and query string in dry run results (#1752) (bb51147)
  • Support inplace=True in rename and rename_axis (#1744) (734cc65)
  • Support unique() for Index (#1750) (27fac78)
  • Support astype conversions to and from JSON dtypes (#1716) (8ef4de1)
  • Support dict param for dataframe.agg() (#1772) (f9c29c8)
  • Support dtype parameter in read_csv for bigquery engine (#1749) (50dca4c)
  • Use read api for some peek ops (#1731) (108f4d2)

Bug Fixes

  • Fix clip int series with float bounds (#1739) (d451aef)
  • Fix error with self-merge operations (#1774) (e5fe143)
  • Fix the default value for na_value for numpy conversions (#1766) (0629cac)
  • Include location in Session-based temporary storage manager DDL queries (#1780) (acba032)
  • Prevent creating unnecessary client objects in multithreaded environments (#1757) (1cf9f5e)
  • Reduce bigquery table modification via DML for to_gbq (#1737) (545cdca)
  • Stop ignoring arguments to MatrixFactorization.score(X, y) (#1726) (55c07e9)
  • Support JSON and STRUCT for bbq.sql_scalar (#1754) (190390b)
  • Support str.replace re.compile with flags (#1736) (f8d2cd2)

Performance Improvements

  • Faster local data comparison using idenitity (#1738) (2858b1e)
  • Optimize repr for unordered gbq table (#1778) (2bc4fbc)
  • Use JOB_CREATION_OPTIONAL when allow_large_results=False (#1763) (15f3f2a)

Dependencies

Documentation

  • Add llm output_schema notebook (#1732) (b2261cc)
  • Add MatrixFactorization to the table of contents (#1725) (611e43b)
  • Fix typo for "population" in the GeminiTextGenerator.predict(..., output_schema={...}) sample notebook (#1748) (bd07e05)
  • Integrations notebook extracts token from bqclient._http.credentials instead of bqclient._credentials (#1784) (6e63eca)
  • Updated multimodal notebook instructions (#1745) (1df8ca6)
  • Use partial ordering mode in the quickstart sample (#1734) (476b7dd)

This PR was generated with Release Please. See documentation.

@release-please release-please bot requested a review from a team as a code owner May 12, 2025 23:21
@release-please release-please bot requested a review from a team May 12, 2025 23:21
@release-please release-please bot requested a review from sycai May 12, 2025 23:21
@product-auto-label product-auto-label bot added the size: s Pull request size is small. label May 12, 2025
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels May 12, 2025
@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. label May 12, 2025
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 12, 2025
@bigframes-bot bigframes-bot removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 12, 2025
@release-please release-please bot force-pushed the release-please--branches--main branch from 56b4cd1 to ae86f35 Compare May 13, 2025 19:59
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels May 13, 2025
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 13, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 13, 2025
@release-please release-please bot force-pushed the release-please--branches--main branch from ae86f35 to 0b2a546 Compare May 14, 2025 00:20
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels May 14, 2025
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 14, 2025
@bigframes-bot bigframes-bot removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 14, 2025
@release-please release-please bot force-pushed the release-please--branches--main branch from 0b2a546 to 844afa6 Compare May 14, 2025 01:51
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels May 14, 2025
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 14, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 14, 2025
@release-please release-please bot force-pushed the release-please--branches--main branch from 844afa6 to 262298f Compare May 14, 2025 17:31
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels May 14, 2025
@release-please release-please bot force-pushed the release-please--branches--main branch from 07cf635 to 5ab806c Compare May 16, 2025 17:48
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels May 16, 2025
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 16, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 16, 2025
@release-please release-please bot force-pushed the release-please--branches--main branch from 5ab806c to 89d8331 Compare May 16, 2025 20:52
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels May 16, 2025
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 16, 2025
@bigframes-bot bigframes-bot removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 16, 2025
@release-please release-please bot force-pushed the release-please--branches--main branch from 89d8331 to 9cff486 Compare May 16, 2025 21:13
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels May 16, 2025
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 16, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 16, 2025
@release-please release-please bot force-pushed the release-please--branches--main branch from 9cff486 to ce706b3 Compare May 16, 2025 21:40
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels May 16, 2025
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label May 16, 2025
@bigframes-bot bigframes-bot removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 16, 2025
@release-please release-please bot force-pushed the release-please--branches--main branch from ce706b3 to c9f4be1 Compare May 16, 2025 22:17
@trusted-contributions-gcf trusted-contributions-gcf bot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels May 16, 2025
@tswast
Copy link
Contributor

tswast commented May 19, 2025

This should be 2.5.0 not 3.0.0 because the breaking changes were only in experimental/preview code.

https://github.com/googleapis/release-please?tab=readme-ov-file#how-do-i-change-the-version-number

Edit: I have added a commit override to #1746 Ideally this should have been done when the PR was merged, instead. GitHub provides a dialog to edit the commit message when you squash and merge.

@tswast
Copy link
Contributor

tswast commented May 21, 2025

There's a problem with fsspec==2025.5.0, fsspec==2025.5.0.post1 should fix it. I think we might just need another kokoro:force-run when we're ready to try again.

@tswast
Copy link
Contributor

tswast commented May 21, 2025

Seems like all of the presubmit failures are timeout-related.

FAILED tests/system/small/bigquery/test_vector_search.py::test_create_vector_index_ivf
FAILED tests/system/small/ml/test_llm.py::test_create_load_multimodal_embedding_generator_model
FAILED tests/system/small/ml/test_preprocessing.py::test_label_encoder_default_params_fit_transform
FAILED tests/system/small/ml/test_preprocessing.py::test_max_abs_scaler_series_normalizes
FAILED tests/system/small/ml/test_preprocessing.py::test_one_hot_encoder_default_params_fit_transform
FAILED tests/system/small/ml/test_preprocessing.py::test_standard_scaler_normalizeds_fit_transform
FAILED tests/system/small/ml/test_llm.py::test_gemini_preview_model_warnings[gemini-1.5-flash-preview-0514]
FAILED tests/system/small/ml/test_llm.py::test_text_generator_retry_success[GeminiTextGenerator-options0]
FAILED tests/system/small/ml/test_preprocessing.py::test_label_encoder_series_default_params
FAILED tests/system/small/ml/test_preprocessing.py::test_standard_scaler_series_normalizes
FAILED tests/system/small/ml/test_preprocessing.py::test_label_encoder_params
FAILED tests/system/small/ml/test_preprocessing.py::test_one_hot_encoder_different_data
FAILED tests/system/small/ml/test_preprocessing.py::test_label_encoder_different_data
FAILED tests/system/small/ml/test_preprocessing.py::test_one_hot_encoder_save_load

Do we need to ask folks not to push commits for a while / cancel a bunch of koroko jobs to avoid quota contention?

@tswast
Copy link
Contributor

tswast commented May 28, 2025

Doctest looks like a real failure, but only affects a testing-related module. Probably OK to ignore for this release.

ERROR bigframes/testing/polars_session.py - ModuleNotFoundError: No module na...
ERROR bigframes/testing/polars_session.py - ModuleNotFoundError: No module na...
ERROR bigframes/testing/polars_session.py - ModuleNotFoundError: No module na...
ERROR bigframes/testing/polars_session.py - ModuleNotFoundError: No module na...
ERROR bigframes/testing/polars_session.py - ModuleNotFoundError: No module na...

Edit: Mailed #1775 to fix.

Edit 2: I merged #1767 as a (temporary?) workaround

@release-please
Copy link
Contributor Author

release-please bot commented Jun 2, 2025

🤖 Created releases:

🌻

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

Labels

api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. autorelease: published size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants