Repository navigation
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 intoNov 2, 2026
Conversation
…t_window removal moves to 3.0
…rainTokenizer, BrainOmni, Deep4Net, AvgPool2dWithConv, TimeDistributed, Chomp1d, braindecode#1166), BaRISTA braindecode#1175 entry, MIRepNet (braindecode#1146) under the current section
Contributor
There was a problem hiding this comment.
🟢 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 Report✅ All modified and coverable lines are covered by tests. 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:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog work for 2.0, based on the v1.8.1 → master regression audit. Apart from one deprecation message, only
docs/whats_new.rstchanges.Breaking changes in 2.0. A new block at the top of the current section.
MaxNormLinear(FIX MaxNormLinear constraining input columns instead of output units #1476);use_mean_pooling=Falseto restore the 1.x readout (LaBraM: keep the pretrained time embedding at every window length, restore mean pooling #1155);on_non_divisible="crop"to restore 1.x (on_non_divisible='pad' by default for every patch-based model #1399); REVE still crops (REVE: default on_non_divisible crops as in 1.8.1 (FutureWarning when untiled) #1517);recording_ids(FIX TUH recording_ids select by chronological position #1412);load_concat_datasetdescription dtypes (FIX load_concat_dataset ignoring target_name and turning description strings into numbers #1480);Interpolated*models;braindecode.models.util(TST move the test-only signal-parameter helpers out of models/util.py #1445);state_dict,save_paramsorsave_pretrained.Corrections
AttributeError: Can't get attribute '_TransformerEncoder'.gh:registers(ZUNA: registers option (False = encoder on the patch tokens only) #1468), ZUNA HPU RoPE (ZUNA: rotary embedding through Gaudi's fused RoPE kernel on HPU #1461; the later, more precise wording is kept) and the private-block test (Test that lists every private copy of a standard block in models; new copies fail CI #1455).gh::gh:1146``. It was merged on 2026-09-29, after 1.8.1, and the old reference 1126 is not a PR.Entries for #1514–#1519
LUNA.initialize_weightsalias).:gh:references added to the existing PatchTokenizer: no Identity placeholder named proj, so LoRA on LaBraM and LUNA works again #1516, REVE: default on_non_divisible crops as in 1.8.1 (FutureWarning when untiled) #1517, Set the development version to 2.0.0dev0 #1518 and REVE: keep the resolved on_non_divisible in a str variable (mypy and ruff format after #1517) #1519 lines.drop_last_windowChecks (Voyager Job
prcheck-wn2, against master df00c41): all passpre-commit run --fileson the changed files: exit 0;test_windowers.py: 153 passed, 2 skipped;