Summary
This release adds Python 3.15 support, drops Python 3.9, speeds up plot_contour and plot_pareto_front, and includes many bug fixes.
What's Changed
Breaking Changes
Enhancements
- Use incremental indexing for GA generation tracking by @yen-0 in #6819
- Allow Python list for reference_points in NSGAIIISampler by @yen-0 in #6878
- Add Python 3.15 support by @gen740 in #6897
- Remove
lru_cachefrom_FanovaTreeby @not522 in #6900 - Speed up
plot_contourby replacingO(N^2)list.indexlookups with dict lookups by @deep1blue in #6925 - Speed up
GridSamplersearch-space comparison by @deep1blue in #6931 - Restore infeasible trial markers in
plot_contourmatrices by @vicmcorrea in #6934 - Speed up
plot_pareto_frontby replacingO(N * |P|)list lookup in_get_non_pareto_front_trialsby @deep1blue in #6938 - Prevent
download_artifactfrom overwriting late-created destinations by @HuaTNA in #6904
Bug Fixes
- Fix gRPC trial datetime serialization by @gen740 in #6832
- Propagate exceptions from final parallel trials in
Study.optimizeby @EmanueleCornaggia in #6842 - Avoid zero-sum normalization in GP initial-point selection by @tandede in #6817
- Fix repeated artifact removal in
Backoffby @EmanueleCornaggia in #6843 - Filter feasible trials when selecting best_trial in get_all_study_summaries by @taran-dev4u in #6879
- Compare integer parameters exactly in
enqueue_trialby @aalquwayfili in #6889 - Avoid All-NaN RuntimeWarning in percentile pruner best-value lookup by @825pranav in #6873
- Align constraint observations by name in
GPSamplerby @aswanth-07 in #6887 - Avoid phantom metadata in
upload_artifactfor missing sources by @INo-xious in #6880 - Avoid all-NaN warnings when computing percentile reference by @Ganesh1729-ui in #6893
- Fix
GridSamplercrashing on enqueued trials with one grid remaining by @EmanueleCornaggia in #6844 - Normalize GCS download
NotFoundtoArtifactNotFoundby @CLCK0622 in #6917 - fix(visualization): skip NaN targets in plot_rank instead of raising ZeroDivisionError by @inchang-ing in #6913
- Keep infeasible categorical trials in
plot_sliceby @kokyouu in #6932 - fix(study): honor an explicitly empty destination name in copy_study by @feiiiiii5 in #6951
Documentation
- Fix outdated failure and NaN reporting examples in FAQ by @bodapatisaikrishna in #6850
- Remove obsolete
ChainerMNStudynote and fix Sphinx roles in FAQ by @bodapatisaikrishna in #6858 - Pin sphinx-gallery to fix docs CI error by @y0z in #6863
- docs: combine visualization backend examples by @gen740 in #6833
- Updated documentation related to arguments of PatientPruner and WilcoxonPruner by @bidyut18 in #6944
- Fix imports in the artifact tutorial
Boto3ArtifactStoreexample by @ZainnQureshii in #6953 - docs: fix duplicated word in hyperopt docstring by @ddlw in #6955
Tests
- Simplify Study.enqueue_trial skip_if_exists tests by @gen740 in #6822
- Remove the kaleido dependency for unit tests by @c-bata in #6830
- Fix EDF figure type narrowing for mypy by @yen-0 in #6906
Code Fixes
- Fix/ Add TypeVar generic typing to NamedTemporaryFilePool and remove unnecessary cast by @yen-0 in #6838
- Fix native float output from parameter untransform by @yen-0 in #6869
- Skip studies without finite observations in
plot_edfby @aswanth-07 in #6882 - Clarify why TPE excludes running trials from the gamma calculation by @kAIto47802 in #6888
- Remove dead codes in GP by @nabenabe0928 in #6916
- Refactor acqf selection routine by @nabenabe0928 in #6918
Continuous Integration
- Fix unused mypy ignore in GP QMC sampling by @c-bata in #6848
- Fix for mypy error by @y0z in #6851
- Pinned every GitHub actions to commit SHA by @c-bata in #6852
- Remove obsolete NumPy 1.x constraint from Windows CI by @taran-dev4u in #6862
- Annotate RDB model columns with
Mappedto fix mypy errors with SQLAlchemy 2.1 by @not522 in #6877 - Exempt certifi from the dependency cooldown by @gen740 in #6928
- Add
timeoutargument for gRPC server by @not522 in #6930 - Bump reviewdog/action-suggester from 1.24.3 to 1.25.0 by @dependabot[bot] in #6857
- Bump reviewdog/action-suggester from 1.25.0 to 1.26.1 by @dependabot[bot] in #6866
- Bump astral-sh/setup-uv from 10.1.0 to 10.2.0 by @dependabot[bot] in #6875
- Bump astral-sh/setup-uv from 10.2.0 to 10.3.0 by @dependabot[bot] in #6910
- Bump actions/upload-artifact from 7.0.1 to 7.0.2 by @dependabot[bot] in #6909
- Bump reviewdog/action-suggester from 1.26.1 to 1.26.2 by @dependabot[bot] in #6908
- Bump reviewdog/action-suggester from 1.26.2 to 1.26.3 by @dependabot[bot] in #6927
- Bump pypa/gh-action-pypi-publish from 1.14.2 to 1.14.3 by @dependabot[bot] in #6935
- Bump astral-sh/setup-uv from 10.3.0 to 10.3.2 by @dependabot[bot] in #6936
- Bump astral-sh/setup-uv from 10.3.2 to 10.3.3 by @dependabot[bot] in #6947
- Bump reviewdog/action-suggester from 1.26.3 to 1.27.0 by @dependabot[bot] in #6962
Other
- Bump up version to 5.1.0.dev by @y0z in #6841
- Update news by @y0z in #6846
- Add
dependabot.ymlto keep actions up-to-date by @c-bata in #6853 - Revise README and Overview by @c-bata in #6937
- Bump up version to 5.1.0 by @y0z in #6966
- Add
.github/release.ymlto the release v5.1.0 branch. by @c-bata in #6968
New Contributors
- @bodapatisaikrishna made their first contribution in #6850
- @taran-dev4u made their first contribution in #6862
- @EmanueleCornaggia made their first contribution in #6842
- @tandede made their first contribution in #6817
- @aswanth-07 made their first contribution in #6882
- @aalquwayfili made their first contribution in #6889
- @825pranav made their first contribution in #6873
- @INo-xious made their first contribution in #6880
- @Ganesh1729-ui made their first contribution in #6893
- @deep1blue made their first contribution in #6925
- @CLCK0622 made their first contribution in #6917
- @vicmcorrea made their first contribution in #6934
- @bidyut18 made their first contribution in #6944
- @HuaTNA made their first contribution in #6904
- @inchang-ing made their first contribution in #6913
- @ZainnQureshii made their first contribution in #6953
- @ddlw made their first contribution in #6955
- @kokyouu made their first contribution in #6932
- @feiiiiii5 made their first contribution in #6951
Full Changelog: v5.0.0...v5.1.0