Skip to content

Commit 3d5f343

Browse files
committed
Bumped version to 1.2.0
1 parent 738342a commit 3d5f343

File tree

3 files changed

+38
-12
lines changed

3 files changed

+38
-12
lines changed

docs/releases.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# Releases
22

3+
## 1.2.0
4+
* [Published](https://pypi.org/project/MPh/1.2.0) on August 31, 2022.
5+
* Includes Comsol installation found on `PATH` in discovery.
6+
([#89](https://github.com/MPh-py/MPh/issues/89))
7+
<br>
8+
So if the `comsol` command works in the console, the corresponding
9+
installation will now be found automatically, even if not in a default
10+
location.
11+
* Adds support for material property groups, which now show up in model tree.
12+
([#78](https://github.com/MPh-py/MPh/issues/78))
13+
<br>
14+
Material properties can be read and altered by calling
15+
[`property()`](https://mph.readthedocs.io/en/1.2/api/mph.Node.html#mph.Node.property)
16+
on the node referring to its property group.
17+
* Adds method
18+
[`problems()`](https://mph.readthedocs.io/en/1.2/api/mph.Model.html#mph.Model.problems)
19+
to the `Model` class.
20+
<br>
21+
It does the same as calling
22+
[`Node.problems()`](https://mph.readthedocs.io/en/1.2/api/mph.Node.html#mph.Node.problems)
23+
on the model's root node, but provides for an easy way to check if
24+
there are currently errors or warnings reported anywhere in the model.
25+
* Adds "Uncertainty Quantification" to list of recognized
26+
[`modules`](https://mph.readthedocs.io/en/1.2/api/mph.Client.html#mph.Client.modules).
27+
* External links to Comsol documentation now refer to Comsol 6.0.
28+
329
## 1.1.6
430
* [Published](https://pypi.org/project/MPh/1.1.6) on June 30, 2022.
531
* Adds missing support for export of meshes. ([#73](https://github.com/MPh-py/MPh/issues/73))

mph/meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
title = 'MPh'
44
synopsis = 'Pythonic scripting interface for Comsol Multiphysics'
5-
version = '1.1.6'
5+
version = '1.2.0'
66
author = 'John Hennig'
77
copyright = '2020–2022, John Hennig'
88
license = 'MIT'

tools/ReadMe.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,21 @@ dependencies are defined in `pyproject.toml`.
4141
* Bump version number in `mph/meta.py`.
4242
* Add release notes to `docs/releases.md`.
4343
* Add dedicated commit for the version bump.
44-
* Tag commit with version number, e.g. `git tag v1.1.7`.
45-
* Force `stable` branch to latest commit: `git branch -f stable`.
46-
* Same for the current documentation branch: `git branch -f 1.1`.
47-
* Run code linter: `flake8`.
48-
* Test docs build: `python tools/docs.py`.
49-
* Test wheel build: `python tools/wheel.py`.
50-
* Run tests for each supported Python/OS: `python3x tools/test.py`.
51-
* Run code coverage: `python tools/coverage.py`.
44+
* Tag commit with version number, e.g. `git tag v1.2.0`
45+
* Force `stable` branch to latest commit: `git branch -f stable`
46+
* Same for the current documentation branch: `git branch -f 1.2`
47+
* Run code linter: `flake8`
48+
* Test docs build: `python tools/docs.py`
49+
* Test wheel build: `python tools/wheel.py`
50+
* Run tests for each supported Python/OS: `python3x tools/test.py`
51+
* Run code coverage: `python tools/coverage.py`
5252
* Push to GitHub:
5353
```console
5454
git push origin main
5555
git push --tags
5656
git push origin stable
57-
git push origin 1.1
57+
git push origin 1.2
5858
```
59-
* Upload coverage report: `python tools/codecov.py`.
59+
* Upload coverage report: `python tools/codecov.py`
6060
* Create new release on GitHub and add release notes.
61-
* Publish to PyPI: `python tools/publish.py`.
61+
* Publish to PyPI: `python tools/publish.py`

0 commit comments

Comments
 (0)