Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fb88e48

Browse files
authored
🚀 5.0.4 release (#796)
* replace `np.NINF` with `-np.inf` * pylint * replace ´np.row_stack´ with `np.vstack` * update changelog * bump version --------- Co-authored-by: Boisselet Alexandre (IFAT DC ATV SC D TE2) <[email protected]>
1 parent bddadf9 commit fb88e48

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

‎CHANGELOG.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## Unreleased
3+
## [5.0.4] - 2024-06-18
44
- Add support for Numpy 2.0 ([#795](https://github.com/magpylib/magpylib/pull/789))
55
- Fix markers legend not being suppressible ([#795](https://github.com/magpylib/magpylib/pull/789))
66

@@ -25,7 +25,7 @@
2525
- The Magpylib inputs and outputs are now in **SI Units**.
2626
- The `magnetization` parameter has also been redefined to reflect the true physical magnetization quantity in units of A/m.
2727
### Other Improvements
28-
- The `magnetization` parameter is now codependent with the new `polarization` parameter that is the physical magnetic polarization ([#712](https://github.com/magpylib/magpylib/issues/712)) in units of Tesla.
28+
- The `magnetization` parameter is now codependent with the new `polarization` parameter that is the physical magnetic polarization ([#712](https://github.com/magpylib/magpylib/issues/712)) in units of Tesla
2929
- Added `getM` (magnetization) and `getJ` (polarization) top level functions and class methods reminiscent of `getB` and `getH`.
3030
- The `in_out` (inside/outside) parameter is added to all field functions (`getBHJM`) to specify the location of the observers relative to the magnet body in order to increase performance ([#717](https://github.com/magpylib/magpylib/issues/717), [#608](https://github.com/magpylib/magpylib/issues/608))
3131
- Review of documentation and adding a few requested things ([#685](https://github.com/magpylib/magpylib/issues/685), some of [#659](https://github.com/magpylib/magpylib/issues/659))
@@ -469,7 +469,8 @@ The first official release of the Magpylib library.
469469

470470
---
471471

472-
[Unreleased]:https://github.com/magpylib/magpylib/compare/5.0.3...HEAD
472+
[Unreleased]:https://github.com/magpylib/magpylib/compare/5.0.4...HEAD
473+
[5.0.4]:https://github.com/magpylib/magpylib/compare/5.0.3...5.0.4
473474
[5.0.3]:https://github.com/magpylib/magpylib/compare/5.0.2...5.0.3
474475
[5.0.2]:https://github.com/magpylib/magpylib/compare/5.0.1...5.0.2
475476
[5.0.1]:https://github.com/magpylib/magpylib/compare/5.0.0...5.0.1

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</a>
2121
<a href="https://anaconda.org/conda-forge/magpylib"> <img src="https://anaconda.org/conda-forge/magpylib/badges/version.svg" alt="Conda Cloud" height="18">
2222
</a>
23-
<a href="https://mybinder.org/v2/gh/magpylib/magpylib/5.0.3?filepath=docs%2Fexamples"> <img src="https://mybinder.org/badge_logo.svg" alt="MyBinder link" height="18">
23+
<a href="https://mybinder.org/v2/gh/magpylib/magpylib/5.0.4?filepath=docs%2Fexamples"> <img src="https://mybinder.org/badge_logo.svg" alt="MyBinder link" height="18">
2424
</a>
2525
<a href="https://github.com/psf/black"> <img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="black" height="18">
2626
</a>
@@ -136,7 +136,7 @@ A valid software citation could be
136136
author = {{Michael-Ortner et al.}},
137137
title = {magpylib},
138138
url = {https://magpylib.readthedocs.io/en/latest/},
139-
version = {5.0.3},
139+
version = {5.0.4},
140140
date = {2023-06-25},
141141
}
142142
```

‎docs/_static/switcher.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"url": "https://magpylib.readthedocs.io/en/latest/"
55
},
66
{
7-
"name": "5.0.3 (stable)",
8-
"version": "5.0.3",
7+
"name": "5.0.4 (stable)",
8+
"version": "5.0.4",
99
"url": "https://magpylib.readthedocs.io/en/stable",
1010
"preferred": true
1111
},

‎magpylib/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
2929
"""
3030
# module level dunders
31-
__version__ = "5.0.3"
31+
__version__ = "5.0.4"
3232
__author__ = "Michael Ortner & Alexandre Boisselet"
3333
__credits__ = "The Magpylib community"
3434
__all__ = [

0 commit comments

Comments
 (0)