Skip to content

Commit

Permalink
Bumped version to 1.1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-hen committed Oct 20, 2021
1 parent 72b3b73 commit 9f4efa0
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
9 changes: 5 additions & 4 deletions deploy/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
* Add a dedicated commit for the version bump.
* Push to GitHub: `git push origin main`.
* Check that documentation built successfully on Read-the-Docs.
* Publish to PyPI by running `deploy/publish.py`.
* Check that meta information is correct on PyPI.
* Tag the commit with the version number, for example: `git tag v1.0.4`.
* Tag the commit with the version number, for example: `git tag v1.1.0`.
* Then push the tag: `git push --tags`.
* Activate, but hide, the build for the tag on Read-the-Docs.
* Force the `stable` branch to new release tag: `git branch -f stable`.
* Same for the current documentation branch: `git branch -f 1.0`.
* Same for the current documentation branch: `git branch -f 1.1`.
* Push both branches upstream, e.g.: `git push origin stable`.
* Run code coverage and upload report to CodeCov.
* Create a new release on GitHub and add the release notes.
* Publish to PyPI by running `deploy/publish.py`.
* Check that meta information is correct on PyPI.
16 changes: 16 additions & 0 deletions docs/releases.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Releases

## 1.1.0
* [Published](https://pypi.org/project/MPh/1.1.0) on October 20, 2021.
* Client instances may now re-[`connect()`](https://mph.readthedocs.io/en/1.1/api/mph.Client.html#mph.Client.connect) to a different server. ([#41](https://github.com/MPh-py/MPh/pull/41))
* [`Server`](https://mph.readthedocs.io/en/1.1/api/mph.Server.html) instances can be started with the `multi` option.
* Module licenses can be queried with [`Client.modules()`](https://mph.readthedocs.io/en/1.1/api/mph.Client.html#mph.Client.modules) and [`Model.modules()`](https://mph.readthedocs.io/en/1.1/api/mph.Model.html#mph.Model.modules).
* Node selections can be set and queried with [`.select()`](https://mph.readthedocs.io/en/1.1/api/mph.Node.html#mph.Node.select) and [`.selection()`](https://mph.readthedocs.io/en/1.1/api/mph.Node.html#mph.Node.selection).
* Warnings and errors are reported by [`Node.problems()`](https://mph.readthedocs.io/en/1.1/api/mph.Node.html#mph.Node.problems).
* User comments on model nodes can be accessed with [`Node.comment()`](https://mph.readthedocs.io/en/1.1/api/mph.Node.html#mph.Node.comment).
* The [`import_()`](https://mph.readthedocs.io/en/1.1/api/mph.Node.html#mph.Node.import_) method is now also available on nodes.
* No longer logs warning when [`mph.start()`](https://mph.readthedocs.io/en/1.1/api/mph.start.html) returns existing client instance.
* Fixes: Java DLL not found if another program is first on the Windows search path. ([#49](https://github.com/MPh-py/MPh/issues/49))
* Fixes: Certain preferences not defined on older Comsol installations. ([#50](https://github.com/MPh-py/MPh/issues/50))
* Added documentation note regarding issue with export of animation. ([#43](https://github.com/MPh-py/MPh/issues/43))
* Improved API documentation. Cross-referenced [Comsol API docs](https://doc.comsol.com/5.6/doc/com.comsol.help.comsol/api).
* Added new logo. (Not subject to the source code's MIT license.)

## 1.0.4
* [Published](https://pypi.org/project/MPh/1.0.4) on May 23, 2021.
* Adds missing support for installations with classkit license. ([#40](https://github.com/MPh-py/MPh/pull/40))
Expand Down
4 changes: 2 additions & 2 deletions mph/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

title = 'MPh'
synopsis = 'Pythonic scripting interface for Comsol Multiphysics'
version = '1.0.4'
date = '2021–05–23'
version = '1.1.0'
date = '2021–10–20'
author = 'John Hennig'
copyright = '2020, John Hennig'
license = 'MIT'

0 comments on commit 9f4efa0

Please sign in to comment.