Skip to content

Commit

Permalink
Bumped version to 1.0.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-hen committed Apr 28, 2021
1 parent 61aecf5 commit 34efd61
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
7 changes: 5 additions & 2 deletions deploy/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@
* Bump version number and enter current date in `mph/__init__.py`.
* Add a dedicated commit for the version bump.
* Add the release notes for this version in the same commit.
* Tag the commit with the version number, for example: `git tag -a v1.0.1`.
* Tag the commit with the version number, for example: `git tag -a v1.0.2`.
* Enter the release notes as an annotation.
* Push the commit (but not the tag): `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.
* Then push the tag: `git push --tags`.
* Force the `stable` branch to new release tag: `git branch -f stable`.
* Same for the current documentation branch: `git branch -f 1.0`.
* Push both branches upstream, e.g.: `git push origin stable`.
* Activate, but hide, the build for the release tag on Read-the-Docs.
* Create a new release on GitHub and add the release notes.
* Push the `stable` branch to the new release tag.
14 changes: 14 additions & 0 deletions docs/releases.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Releases

## 1.0.2
* [Published](https://pypi.org/project/MPh/1.0.2) on April 28, 2021.
* Assigns more typical tag names when creating new model features.
* In most cases, tags are now named like they are in the Comsol GUI.
* [`Node.retag()`](https://mph.readthedocs.io/en/1.0/api/mph.Node.html#mph.Node.retag) allows post-hoc modification of a node's tag.
* Adds missing built-in groups, e.g. evaluations and tables.
* Improves performance of node navigation in client–server mode.
* The internal type-casting converts [`Node`](https://mph.readthedocs.io/en/1.0/api/mph.Node.html) instances to their tags.
* The internal type-casting handles lists of numbers.
* Before, [`property()`](https://mph.readthedocs.io/en/1.0/api/mph.Node.html#mph.Node.property) and [`create()`](https://mph.readthedocs.io/en/1.0/api/mph.Node.html#mph.Node.create) would only accept lists of strings.
* [`Node.type()`](https://mph.readthedocs.io/en/1.0/api/mph.Node.html#mph.Node.type) now returns nothing if node has no feature type.
* Moved tutorial model to [`demos`](https://github.com/MPh-py/MPh/tree/main/demos) folder.
* Added demo script [`create_capacitor.py`](https://github.com/MPh-py/MPh/blob/main/demos/create_capacitor.py) that generates the tutorial model.

## 1.0.1
* [Published](https://pypi.org/project/MPh/1.0.1) on April 23, 2021.
* Fixes failing evaluation when name of default dataset contains slash.
Expand Down
4 changes: 2 additions & 2 deletions mph/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

# Meta information
__title__ = 'MPh'
__version__ = '1.0.1'
__date__ = '2021–04–23'
__version__ = '1.0.2'
__date__ = '2021–04–28'
__author__ = 'John Hennig'
__copyright__ = 'John Hennig'
__license__ = 'MIT'
Expand Down

0 comments on commit 34efd61

Please sign in to comment.