Skip to content

Commit

Permalink
Bumped version to 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
john-hen committed Aug 31, 2022
1 parent 738342a commit 3d5f343
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 12 deletions.
26 changes: 26 additions & 0 deletions docs/releases.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# Releases

## 1.2.0
* [Published](https://pypi.org/project/MPh/1.2.0) on August 31, 2022.
* Includes Comsol installation found on `PATH` in discovery.
([#89](https://github.com/MPh-py/MPh/issues/89))
<br>
So if the `comsol` command works in the console, the corresponding
installation will now be found automatically, even if not in a default
location.
* Adds support for material property groups, which now show up in model tree.
([#78](https://github.com/MPh-py/MPh/issues/78))
<br>
Material properties can be read and altered by calling
[`property()`](https://mph.readthedocs.io/en/1.2/api/mph.Node.html#mph.Node.property)
on the node referring to its property group.
* Adds method
[`problems()`](https://mph.readthedocs.io/en/1.2/api/mph.Model.html#mph.Model.problems)
to the `Model` class.
<br>
It does the same as calling
[`Node.problems()`](https://mph.readthedocs.io/en/1.2/api/mph.Node.html#mph.Node.problems)
on the model's root node, but provides for an easy way to check if
there are currently errors or warnings reported anywhere in the model.
* Adds "Uncertainty Quantification" to list of recognized
[`modules`](https://mph.readthedocs.io/en/1.2/api/mph.Client.html#mph.Client.modules).
* External links to Comsol documentation now refer to Comsol 6.0.

## 1.1.6
* [Published](https://pypi.org/project/MPh/1.1.6) on June 30, 2022.
* Adds missing support for export of meshes. ([#73](https://github.com/MPh-py/MPh/issues/73))
Expand Down
2 changes: 1 addition & 1 deletion mph/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

title = 'MPh'
synopsis = 'Pythonic scripting interface for Comsol Multiphysics'
version = '1.1.6'
version = '1.2.0'
author = 'John Hennig'
copyright = '2020–2022, John Hennig'
license = 'MIT'
22 changes: 11 additions & 11 deletions tools/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,21 @@ dependencies are defined in `pyproject.toml`.
* Bump version number in `mph/meta.py`.
* Add release notes to `docs/releases.md`.
* Add dedicated commit for the version bump.
* Tag commit with version number, e.g. `git tag v1.1.7`.
* Force `stable` branch to latest commit: `git branch -f stable`.
* Same for the current documentation branch: `git branch -f 1.1`.
* Run code linter: `flake8`.
* Test docs build: `python tools/docs.py`.
* Test wheel build: `python tools/wheel.py`.
* Run tests for each supported Python/OS: `python3x tools/test.py`.
* Run code coverage: `python tools/coverage.py`.
* Tag commit with version number, e.g. `git tag v1.2.0`
* Force `stable` branch to latest commit: `git branch -f stable`
* Same for the current documentation branch: `git branch -f 1.2`
* Run code linter: `flake8`
* Test docs build: `python tools/docs.py`
* Test wheel build: `python tools/wheel.py`
* Run tests for each supported Python/OS: `python3x tools/test.py`
* Run code coverage: `python tools/coverage.py`
* Push to GitHub:
```console
git push origin main
git push --tags
git push origin stable
git push origin 1.1
git push origin 1.2
```
* Upload coverage report: `python tools/codecov.py`.
* Upload coverage report: `python tools/codecov.py`
* Create new release on GitHub and add release notes.
* Publish to PyPI: `python tools/publish.py`.
* Publish to PyPI: `python tools/publish.py`

0 comments on commit 3d5f343

Please sign in to comment.