Skip to content

chore(release): 2.8.1#869

Merged
chaoming0625 merged 1 commit into
masterfrom
release-2.8.1
Jul 9, 2026
Merged

chore(release): 2.8.1#869
chaoming0625 merged 1 commit into
masterfrom
release-2.8.1

Conversation

@chaoming0625

@chaoming0625 chaoming0625 commented Jul 9, 2026

Copy link
Copy Markdown
Member

Release 2.8.1.

  • Bumps brainpy/_version.py to 2.8.1.
  • Adds the 2.8.1 changelog.md entry.

Included since 2.8.0

Cuts the v2.8.1 GitHub release.

Summary by Sourcery

Prepare the 2.8.1 patch release with updated version metadata and detailed changelog entry focused on correctness improvements and tooling updates.

Bug Fixes:

  • Document audited, library-wide correctness fixes across dnn, integrators, encoders, initializers, connectivity, optimizers, synaptic plasticity, training algorithms, object transforms, and runners.
  • Document fixes for adaptive pooling ZeroDivisionError, PoissonGroup spiking regression, STDP update keyword typo, DSRunner deprecation warning, and clear_buffer/pmap runtime bugs.

Enhancements:

  • Summarize the introduction of numpy typing stubs and refreshed documentation notebooks in the changelog.

Build:

  • Document static version metadata in brainpy._version and build-time version reading, plus the bump of codecov/codecov-action.

Documentation:

  • Add a detailed changelog section for version 2.8.1 including release date, scope of correctness sweep, and categorized bug fixes.

Bump __version__ to 2.8.1 and add the 2.8.1 changelog entry covering the
audited 18-bug correctness sweep (#868), the adaptive-pooling upsampling fix
(#867), the PoissonGroup spiking fix (#862), the docs/mypy pass (#863), and the
version-module refactor (#865, #866).
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jul 9, 2026
@sourcery-ai

sourcery-ai Bot commented Jul 9, 2026

Copy link
Copy Markdown

Reviewer's Guide

Patch release 2.8.1: bump the library version and add a comprehensive changelog section summarizing the audited correctness sweep (#868), related bug fixes, and tooling/build updates.

Flow diagram for the 2.8.1 release metadata update

flowchart TD
  A[Update brainpy_version_to_2_8_1_in_brainpy__version_py]
  B[Add_version_2_8_1_entry_to_changelog_md]
  C[Cut_v2_8_1_GitHub_release]

  A --> B --> C
Loading

File-Level Changes

Change Details Files
Document release 2.8.1 details and correctness-focused fixes in the changelog.
  • Add a new 2.8.1 section with release date and high-level overview emphasizing the audited bug-fix sweep.
  • List detailed bug-fix subsections covering normalization/encoding, integrators, initializers, connectivity, optimizers, training algorithms/runners, object transforms, and synaptic plasticity.
  • Record other fixes including adaptive pooling, PoissonGroup spiking, STDP update keyword correction, DSRunner deprecation warning, and docs/runtime tweaks.
  • Summarize build/tooling updates: mypy cleanup, static version metadata, and codecov action bump.
changelog.md
Update package version metadata for the 2.8.1 release.
  • Increment version string from 2.8.0 to 2.8.1.
  • Ensure version_info remains derived from the updated version value.
brainpy/_version.py

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@chaoming0625 chaoming0625 merged commit 6abc7ad into master Jul 9, 2026
8 of 14 checks passed
@chaoming0625 chaoming0625 deleted the release-2.8.1 branch July 9, 2026 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant