Skip to content

Commit abdef68

Browse files
authored
Merge pull request #4978 from pybamm-team/release/v25.4.1
Release v25.4.1
2 parents a2a0330 + c71ec1e commit abdef68

File tree

43 files changed

+1183
-212
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1183
-212
lines changed

.github/workflows/run_periodic_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686

8787
- name: Upload coverage report
8888
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
89-
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
89+
uses: codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
9090
with:
9191
token: ${{ secrets.CODECOV_TOKEN }}
9292

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ jobs:
6565
# Upload the results to GitHub's code scanning dashboard (optional).
6666
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
6767
- name: "Upload to code-scanning"
68-
uses: github/codeql-action/upload-sarif@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
68+
uses: github/codeql-action/upload-sarif@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15
6969
with:
7070
sarif_file: results.sarif

.github/workflows/test_on_push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114

115115
- name: Upload coverage report
116116
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
117-
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
117+
uses: codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5.4.2
118118
with:
119119
token: ${{ secrets.CODECOV_TOKEN }}
120120

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ci:
44

55
repos:
66
- repo: https://github.com/astral-sh/ruff-pre-commit
7-
rev: "v0.11.2"
7+
rev: "v0.11.5"
88
hooks:
99
- id: ruff
1010
args: [--fix, --show-fixes]

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# [Unreleased](https://github.com/pybamm-team/PyBaMM/)
22

3+
# [v25.4.1](https://github.com/pybamm-team/PyBaMM/tree/v25.4.1) - 2025-04-16
4+
5+
## Bug fixes
6+
7+
- Remove a regularization term in the harmonic mean. ([#4977](https://github.com/pybamm-team/PyBaMM/pull/4977))
8+
9+
## Breaking changes
10+
11+
- Changed default solver to `pybamm.IDAKLUSolver`. ([#4915](https://github.com/pybamm-team/PyBaMM/pull/4915))
12+
313
# [v25.4.0](https://github.com/pybamm-team/PyBaMM/tree/v25.4.0) - 2025-04-02
414

515
## Features
@@ -54,6 +64,7 @@
5464
- Added `Symbol.post_order()` method to return an iterable that steps through the tree in post-order fashion. ([#4684](https://github.com/pybamm-team/PyBaMM/pull/4684))
5565
- Porosity change now works for composite electrode ([#4417](https://github.com/pybamm-team/PyBaMM/pull/4417))
5666
- Added two more submodels (options) for the SEI: Lars von Kolzenberg (2020) model and Tunneling Limit model ([#4394](https://github.com/pybamm-team/PyBaMM/pull/4394))
67+
- Added "use lumped thermal capacity" option in lumped thermal model ([#4968](https://github.com/pybamm-team/PyBaMM/pull/4968))
5768

5869
## Breaking changes
5970

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ keywords:
2424
- "expression tree"
2525
- "python"
2626
- "symbolic differentiation"
27-
version: "25.4.0"
27+
version: "25.4.1"
2828
repository-code: "https://github.com/pybamm-team/PyBaMM"
2929
title: "Python Battery Mathematical Modelling (PyBaMM)"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ experiment = pybamm.Experiment(
7676
* 3,
7777
)
7878
model = pybamm.lithium_ion.DFN()
79-
sim = pybamm.Simulation(model, experiment=experiment, solver=pybamm.CasadiSolver())
79+
sim = pybamm.Simulation(model, experiment=experiment, solver=pybamm.IDAKLUSolver())
8080
sim.solve()
8181
sim.plot()
8282
```

docs/conf.py

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
"nbsphinx", # to be kept below JavaScript-enabled extensions, always
6767
"IPython.sphinxext.ipython_console_highlighting",
6868
"sphinx_gallery.load_style",
69-
"hoverxref.extension",
7069
]
7170

7271

@@ -434,29 +433,6 @@
434433
style='"setlinewidth(0.5)"',
435434
)
436435

437-
# -- Options for sphinx-hoverxref --------------------------------------------
438-
439-
# Hoverxref settings
440-
441-
hoverxref_default_type = "tooltip"
442-
hoverxref_auto_ref = True
443-
444-
hoverxref_roles = ["class", "meth", "func", "ref", "term"]
445-
hoverxref_role_types = dict.fromkeys(hoverxref_roles, "tooltip")
446-
447-
hoverxref_domains = ["py"]
448-
449-
# Currently, only projects that are hosted on readthedocs + CPython, NumPy, and
450-
# SymPy are supported
451-
hoverxref_intersphinx = list(intersphinx_mapping.keys())
452-
453-
# Tooltips settings
454-
hoverxref_tooltip_lazy = False
455-
hoverxref_tooltip_maxwidth = 750
456-
hoverxref_tooltip_animation = "fade"
457-
hoverxref_tooltip_animation_duration = 1
458-
hoverxref_tooltip_content = "Loading information..."
459-
hoverxref_tooltip_theme = ["tooltipster-shadow", "tooltipster-shadow-custom"]
460436

461437
# -- Options for Algolia DocSearch (sphinx-docsearch) ------------------------
462438

docs/source/examples/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ The notebooks are organised into subfolders, and can be viewed in the galleries
7272
notebooks/models/latexify.ipynb
7373
notebooks/models/lead-acid.ipynb
7474
notebooks/models/lithium-plating.ipynb
75+
notebooks/models/lithium-plating-composite.ipynb
7576
notebooks/models/MPM.ipynb
7677
notebooks/models/MSMR.ipynb
7778
notebooks/models/pouch-cell-model.ipynb

0 commit comments

Comments
 (0)