You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14-1Lines changed: 14 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,16 +5,29 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
-
## [1.0.4] - 2024-07-26
8
+
## [1.1.0] - 2024-07-27
9
9
10
10
### Fixed
11
11
12
12
-`equilibrate`: Fixed a bug that could cause an `AttributeError` when pH was used for charge
13
13
balancing.
14
14
- Database: `size.radius_ionic` was missing units for `Ni[+2]` and `Cr[+3]`. Correct units have been added.
15
15
16
+
### Added
17
+
18
+
-`Solution`: New automatic charge balancing method will automatically identify the majority (highest concentration)
19
+
cation or anion as appropriate (depending on the charge balance) for charge balancing. To use this mode, set
20
+
`balance_charge='auto'` when instantiating a `Solution`.
21
+
16
22
### Changed
17
23
24
+
-`Solution.add_amount`: This method will now add solutes that are absent from the Solution. Previously, calling, e.g.,
25
+
`add_amount('Na+', '1 mol')` on a `Solution` that did not contain any sodium would result in an error. A warning
26
+
is logged if the method has to add a new solute.
27
+
- Units: use the upstream chemistry context from `pint` instead of the custom one from 2013.
28
+
-`pre-commit autoupdate`
29
+
- Misc. linting and code quality improvements.
30
+
- Unit tests: update `tmpdir` to `tmp_path` text fixture.
18
31
- CI: Small updates to pre-commit and GitHub actions per scientific python [repo review](https://scientific-python.github.io/repo-review/?repo=kingsburylab%2FpyEQL&branch=main).
0 commit comments