Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: release v4.6.0 #6796

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 4.5.0.99.{build}
version: 4.6.0.{build}

image: Visual Studio 2015
platform: x64
Expand Down
31 changes: 31 additions & 0 deletions R-package/cran-comments.md
Original file line number Diff line number Diff line change
@@ -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<uint8_t>(ch) == 0xe2 &&
| ^~~~~~~
io/json11.cpp:97:28: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
io/json11.cpp:98:28: error: 'uint8_t' does not name a type
98 | static_cast<uint8_t>(value[i + 1]) == 0x80 &&
```

This release contains fixes for those issues.

## v4.5.0 - Submission 1 - (July 25, 2024)

### CRAN response
Expand Down
2 changes: 1 addition & 1 deletion R-package/pkgdown/_pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repo:
user: https://github.com/

development:
mode: unreleased
mode: release

authors:
Yu Shi:
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.5.0.99
4.6.0
2 changes: 2 additions & 0 deletions docs/Parameters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,8 @@ Learning Control Parameters

- whether to do bagging sample by query

- *New in version 4.6.0*

- ``feature_fraction`` :raw-html:`<a id="feature_fraction" title="Permalink to this parameter" href="#feature_fraction">&#x1F517;&#xFE0E;</a>`, 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
Expand Down
1 change: 1 addition & 0 deletions include/LightGBM/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion python-package/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
Loading