diff --git a/docs/releases.md b/docs/releases.md index ca6732f..4170d27 100644 --- a/docs/releases.md +++ b/docs/releases.md @@ -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)) +
+ 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)) +
+ 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. +
+ 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)) diff --git a/mph/meta.py b/mph/meta.py index e5b98d6..59fe049 100644 --- a/mph/meta.py +++ b/mph/meta.py @@ -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' diff --git a/tools/ReadMe.md b/tools/ReadMe.md index e2e2ef0..5bee356 100644 --- a/tools/ReadMe.md +++ b/tools/ReadMe.md @@ -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`