From 03ff62e073441c9ee0952d93f1ef114298d15d4d Mon Sep 17 00:00:00 2001 From: James Lamb Date: Thu, 23 Jan 2025 00:37:39 -0600 Subject: [PATCH] release v4.6.0 --- .appveyor.yml | 2 +- R-package/cran-comments.md | 31 +++++++++++++++++++++++++++++++ R-package/pkgdown/_pkgdown.yml | 2 +- VERSION.txt | 2 +- docs/Parameters.rst | 2 ++ include/LightGBM/config.h | 1 + python-package/pyproject.toml | 2 +- 7 files changed, 38 insertions(+), 4 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 3819447db96b..d3c498b3a3e4 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,4 +1,4 @@ -version: 4.5.0.99.{build} +version: 4.6.0.{build} image: Visual Studio 2015 platform: x64 diff --git a/R-package/cran-comments.md b/R-package/cran-comments.md index ac1cd6096f4a..cf00559cd552 100644 --- a/R-package/cran-comments.md +++ b/R-package/cran-comments.md @@ -1,5 +1,36 @@ # CRAN Submission History +## v4.6.0 - Submission 1 - (TBD) + +### CRAN response + +TBD + +### Maintainer Notes + +This release fixed several issues reported by CRAN. +Bashisms in `configure` + +```text +possible bashism in configure.ac line 63 (should be VAR="${VAR}foo"): + LGB_CPPFLAGS+=" -DMM_PREFETCH=1" +possible bashism in configure.ac line 89 (should be VAR="${VAR}foo"): + LGB_CPPFLAGS+=" -DMM_MALLOC=1" +``` + +Compilation errors on GCC 15. + +```text +io/json11.cpp:97:28: error: 'uint8_t' does not name a type + 97 | } else if (static_cast(ch) == 0xe2 && + | ^~~~~~~ +io/json11.cpp:97:28: note: 'uint8_t' is defined in header ''; this is probably fixable by adding '#include ' +io/json11.cpp:98:28: error: 'uint8_t' does not name a type + 98 | static_cast(value[i + 1]) == 0x80 && +``` + +This release contains fixes for those issues. + ## v4.5.0 - Submission 1 - (July 25, 2024) ### CRAN response diff --git a/R-package/pkgdown/_pkgdown.yml b/R-package/pkgdown/_pkgdown.yml index 258a27a2ea31..89eb181b095f 100644 --- a/R-package/pkgdown/_pkgdown.yml +++ b/R-package/pkgdown/_pkgdown.yml @@ -14,7 +14,7 @@ repo: user: https://github.com/ development: - mode: unreleased + mode: release authors: Yu Shi: diff --git a/VERSION.txt b/VERSION.txt index 8a3976bf507e..6016e8addc4d 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -4.5.0.99 +4.6.0 diff --git a/docs/Parameters.rst b/docs/Parameters.rst index b44d90ecec10..1e9eacf77e8b 100644 --- a/docs/Parameters.rst +++ b/docs/Parameters.rst @@ -417,6 +417,8 @@ Learning Control Parameters - whether to do bagging sample by query + - *New in version 4.6.0* + - ``feature_fraction`` :raw-html:`🔗︎`, default = ``1.0``, type = double, aliases: ``sub_feature``, ``colsample_bytree``, constraints: ``0.0 < feature_fraction <= 1.0`` - LightGBM will randomly select a subset of features on each iteration (tree) if ``feature_fraction`` is smaller than ``1.0``. For example, if you set it to ``0.8``, LightGBM will select 80% of features before training each tree diff --git a/include/LightGBM/config.h b/include/LightGBM/config.h index d5b56f0fd1fb..208f6bc62821 100644 --- a/include/LightGBM/config.h +++ b/include/LightGBM/config.h @@ -359,6 +359,7 @@ struct Config { int bagging_seed = 3; // desc = whether to do bagging sample by query + // desc = *New in version 4.6.0* bool bagging_by_query = false; // alias = sub_feature, colsample_bytree diff --git a/python-package/pyproject.toml b/python-package/pyproject.toml index 8fcc85814db5..8c440c17d590 100644 --- a/python-package/pyproject.toml +++ b/python-package/pyproject.toml @@ -30,7 +30,7 @@ maintainers = [ name = "lightgbm" readme = "README.rst" requires-python = ">=3.7" -version = "4.5.0.99" +version = "4.6.0" [project.optional-dependencies] arrow = [