BrainPy V2.7.4
Release Date: December 2025
This release focuses on simplifying the project structure by removing the experimental brainpy.state module and consolidating documentation.
Major Changes
Removed brainpy.state Module (#806)
- Removed: The entire
brainpy.statemodule has been deleted- This includes all state-based neuron models (LIF variants, Izhikevich, HH)
- Removed synapse models, projections, readouts, and STP implementations
- Removed all associated test files
- Recommendation: Users should use the brainpy.state library directly for state-based neural network simulations
Decouple the brainpy context with brainstate context
- Updated:
brainpy.math.defaultsis totally decoupled withbrainstatecontext management
Documentation Consolidation (#806)
- Renamed:
docs_classic/→docs/(now the main documentation) - Renamed:
examples_classic/→examples/(now the main examples) - Removed:
docs_state/directory (state-based documentation) - Removed:
examples_state/directory (state-based examples)
Dependencies
Updated Dependencies (#807)
- Simplified
pyproject.tomlconfiguration - Updated
requirements.txt
CI/CD Improvements
- Updated:
actions/upload-artifactfrom 5 to 6 (#804) - Updated:
actions/download-artifactfrom 6 to 7 (#805)
Files Modified
brainpy/__init__.py: Removed state module exportsbrainpy/context.py: Simplified context managementbrainpy/math/defaults.py: Updated default configurationsdocs/conf.py: Updated documentation configurationpyproject.toml: Simplified dependency configuration.github/workflows/Publish.yml: Updated CI artifact actions
Breaking Changes
- The
brainpy.statemodule is no longer available. Users relying on this module should migrate to the standalonebrainstatelibrary.