Skip to content

whats_new for 2.0: Breaking changes block, corrected PR references, drop_last_window removal moved to 3.0 - #1520

Merged
bruAristimunha merged 3 commits into
braindecode:masterfrom
bruAristimunha:bd2-whats-new-2.0-breaking
Nov 2, 2026
Merged

bruAristimunha merged 3 commits into
braindecode:masterfrom
bruAristimunha:bd2-whats-new-2.0-breaking

Conversation

@bruAristimunha

Copy link
Copy Markdown
Collaborator

Changelog work for 2.0, based on the v1.8.1 → master regression audit. Apart from one deprecation message, only docs/whats_new.rst changes.

Breaking changes in 2.0. A new block at the top of the current section.

Corrections

Entries for #1514–#1519

drop_last_window

  • The deprecation warning and docstrings said "will be removed in version 2.0". They now say 3.0, and the 3 tests that match the message are updated.
  • The parameter is unchanged. An API-changes line records the move.

Checks (Voyager Job prcheck-wn2, against master df00c41): all pass

  • pre-commit run --files on the changed files: exit 0;
  • test_windowers.py: 153 passed, 2 skipped;
  • narrow Sphinx build of whats_new and the touched API pages: both builds exit 0, no warning added.

…rainTokenizer, BrainOmni, Deep4Net, AvgPool2dWithConv, TimeDistributed, Chomp1d, braindecode#1166), BaRISTA braindecode#1175 entry, MIRepNet (braindecode#1146) under the current section
Copilot AI balanced review requested due to automatic review settings November 2, 2026 13:48
@bruAristimunha
bruAristimunha merged commit a2ffe37 into braindecode:master Nov 2, 2026
4 of 6 checks passed

Copilot AI left a comment

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.

🟢 Approval recommended

No active review issues remain for the release-note updates and revised drop_last_window deprecation timeline.

No open issues 🎉

What changed in this PR

Prepares Braindecode’s 2.0 release notes with compatibility guidance and corrected references, and postpones drop_last_window removal to 3.0 without changing its behavior.

Changes:

  • Documents breaking changes, prediction differences, and checkpoint compatibility.
  • Corrects PR references, removes duplicate entries, and adds or relocates release notes.
  • Updates the deprecation warning, docstrings, and matching tests to specify removal in 3.0.
File Description
test/​unit_tests/​preprocessing/​test_windowers.py Updates three warning assertions to expect version 3.0.
docs/​whats_new.rst Adds 2.0 migration guidance and corrects release-note entries and references.
braindecode/​preprocessing/​windowers.py Changes the documented and warned removal version to 3.0.

Review effort: Balanced

@codecov

codecov Bot commented Nov 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.34%. Comparing base (7c25ac0) to head (7912bf0).
⚠️ Report is 7 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1520      +/-   ##
==========================================
+ Coverage   91.33%   91.34%   +0.01%     
==========================================
  Files         170      170              
  Lines       22100    22105       +5     
==========================================
+ Hits        20184    20192       +8     
+ Misses       1916     1913       -3     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants