diff --git a/CHANGELOG.md b/CHANGELOG.md
index f56d38441..2703d0cdd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,6 @@
# Changelog
-## Unreleased
+## [5.0.4] - 2024-06-18
- Add support for Numpy 2.0 ([#795](https://github.com/magpylib/magpylib/pull/789))
- Fix markers legend not being suppressible ([#795](https://github.com/magpylib/magpylib/pull/789))
@@ -25,7 +25,7 @@
- The Magpylib inputs and outputs are now in **SI Units**.
- The `magnetization` parameter has also been redefined to reflect the true physical magnetization quantity in units of A/m.
### Other Improvements
-- 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.
+- 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
- Added `getM` (magnetization) and `getJ` (polarization) top level functions and class methods reminiscent of `getB` and `getH`.
- 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))
- 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.
---
-[Unreleased]:https://github.com/magpylib/magpylib/compare/5.0.3...HEAD
+[Unreleased]:https://github.com/magpylib/magpylib/compare/5.0.4...HEAD
+[5.0.4]:https://github.com/magpylib/magpylib/compare/5.0.3...5.0.4
[5.0.3]:https://github.com/magpylib/magpylib/compare/5.0.2...5.0.3
[5.0.2]:https://github.com/magpylib/magpylib/compare/5.0.1...5.0.2
[5.0.1]:https://github.com/magpylib/magpylib/compare/5.0.0...5.0.1
diff --git a/README.md b/README.md
index d4b5998ec..485c0f9fb 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@
-
+
@@ -136,7 +136,7 @@ A valid software citation could be
author = {{Michael-Ortner et al.}},
title = {magpylib},
url = {https://magpylib.readthedocs.io/en/latest/},
- version = {5.0.3},
+ version = {5.0.4},
date = {2023-06-25},
}
```
diff --git a/docs/_static/switcher.json b/docs/_static/switcher.json
index 931420ee3..de64f2ff2 100644
--- a/docs/_static/switcher.json
+++ b/docs/_static/switcher.json
@@ -4,8 +4,8 @@
"url": "https://magpylib.readthedocs.io/en/latest/"
},
{
- "name": "5.0.3 (stable)",
- "version": "5.0.3",
+ "name": "5.0.4 (stable)",
+ "version": "5.0.4",
"url": "https://magpylib.readthedocs.io/en/stable",
"preferred": true
},
diff --git a/magpylib/__init__.py b/magpylib/__init__.py
index 16290f12b..f4d092c57 100644
--- a/magpylib/__init__.py
+++ b/magpylib/__init__.py
@@ -28,7 +28,7 @@
"""
# module level dunders
-__version__ = "5.0.3"
+__version__ = "5.0.4"
__author__ = "Michael Ortner & Alexandre Boisselet"
__credits__ = "The Magpylib community"
__all__ = [