Releases: MethodicalAcceleratorDesign/MAD-NG.py
Releases · MethodicalAcceleratorDesign/MAD-NG.py
v0.8.1
v0.8.0
What's Changed
- Add ruff rules to repository by @jgray-19 in #28
- Added comprehensive ruff configuration in pyproject.toml with various linting rules
- Renamed classes and functions to follow PascalCase and snake_case conventions
- Updated imports to use pathlib.Path instead of os.path
- Improved code formatting and removed redundant constructs
- BUG: Fixed used of py instead of py_name, resulting in py_name being unuable.
- Removed compatibility for Python versions below 3.10, now only supporting Python 3.10 and above.
- Updated documentation to reflect changes in code style and conventions.
Full Changelog: v0.7.1...v0.8.0
v0.7.1
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_stderrinput to the MAD object, this allows the user to redirect the error output to the stdout file. - Add
raise_on_madng_errorinput 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_sendmethod to the user, this allows the user to send a protected string to MAD-NG. Only has different behaviour to send ifraise_on_madng_erroris 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