Releases: MethodicalAcceleratorDesign/MAD-NG.py
v0.7.0
What's Changed
The transfer of dicts now means that lists previously transferred using pymadng will now be broken. You will need to use the py:send(tbl, true) to send a shallow copy. Or if using the higher level, you must use .eval()
Full Changelog: v0.6.3...v0.7.0
v0.6.3
v0.6.2
What's Changed
- Minor fixes and improvements by @jgray-19 in #15
- Update MAD-NG Version by @jgray-19 in #16
- Update documentation by @jgray-19 in #17
- Additional Tests by @jgray-19 in #13
- Jgray 19 patch 1 by @jgray-19 in #18
Skipped 0.6.1 due to incorrect license portrayed in README
Full Changelog: v0.6.0...v0.6.2
v0.6.0
What's Changed
- Improve stdout and stderr handling by @jgray-19 in #12
- Remove debug input variable functionality, now it is only a boolean, and dictates whether the debug information is printed to the stdout.
- Add stdout input to the MAD object, this allows the user to redirect the output of the MAD-NG process to a file.
- Add
redirect_stderr
input to the MAD object, this allows the user to redirect the error output to the stdout file. - Add
raise_on_madng_error
input to the MAD object, which is on by default. This significantly changes current behaviour, now by default whenever MAD-NG raises an error, this will be received in the pipe to Python. Set to false to revert to the old behaviour. - Expose
protected_send
method to the user, this allows the user to send a protected string to MAD-NG. Only has different behaviour to send ifraise_on_madng_error
is set to false.
Also note, this pymadng version uses the MAD version 1.0.0
Full Changelog: v0.5.0...v0.6.0
v0.5.0
What's Changed
- Modernise workflows by @jgray-19 in #8
- Handling improvements by @jgray-19 in #9
- Add history method to get the history of communication of strings to MAD-NG.
- Rename a significant amount of the code to be more readable.
- Format the code using ruff.
- Convert to using annotations instead of typing.
- Allow debug mode to be set to a string, which will be the file that the debug information is written to.
- Remove support for Python EOL, now only supporting Python 3.9 and above.
- Change how ctrl-c is handled, now it will raise a KeyboardInterrupt error and delete the MAD process. \
Full Changelog: v0.4.6...v0.5.0
v0.4.6
No Change - updating binary.
Full Changelog: v0.4.5...v0.4.6
pymadng 0.4.5
Update to MAD-NG version 0.9.8
pymadng 0.4.4
Remove bug where pymadng is not made aware of error during calling an object, leading to returning of incorrect data.
Full Changelog: v0.4.3...v0.4.4
pymadng 0.4.3
Full Changelog: v0.4.2...v0.4.3
Update GitHub Actions to always use the latest version of MAD-NG.
Update tests to be more robust.
Main Change is pymadng version on PyPI now uses the latest version of MAD-NG (released 20/10/2023)