Releases: slaclab/pydm
v1.22.1
What's Changed
This is a minor bug fix release, primarily to ensure PyDM remains compatible with the most recent version of pyqtgraph used for PyDM plots. All plot widgets should now function correctly when installing PyDM alongside the most recent versions of all its dependencies.
Bug Fixes
- Fix connection inspector with local plugins by @flowln in #1067
- Fix plotting on pyqtgraph 0.13.4 by @flowln in #1069
- Fix MultiAxisViewBox resizing breaking in certain cases by @jbellister-slac in #1070
Full Changelog: v1.22.0...v1.22.1
v1.22.0
What's Changed
This update adds new rules for the drawing-line widget for dynamically adjusting its color, style, and thickness, a new LED indicator widget, and a way to pause drawing updates to an image in a PyDMImageView. Also included are bug fixes and an update to the tutorial documentation.
New Features
- Basic version of multi-state LED indicator widget by @nstelter-slac in #1044
- Adding rules to pydm drawing line by @phys-cgarnier in #1056
- ENH: Add a method for pausing/resuming the drawing of an image by @jbellister-slac in #1054
Docs
- DOC: A couple updates to new user documentation by @jbellister-slac in #1048
Maintenance
- BLD: Update test workflow file with python 3.10 and pyqt 5.15.9 by @jbellister-slac in #1047
Bug Fixes
- Fix event plot curve creation by @jbellister-slac in #1059
- FIX: Pick up changes to UI files when the main window is reloaded by @jbellister-slac in #1060
New Contributors
- @phys-cgarnier made their first contribution in #1056
Full Changelog: v1.21.0...v1.22.0
v1.21.0
What's Changed
This update adds a new tutorial server that streamlines the setup process. We added a new option for using packaged icon sets in Designer. And also included are additional documentation updates and bug fixes.
New Features
- Add new PCASpy server for running the tutorial. by @nstelter-slac in #1032
- Add logo by @nstelter-slac in #1037
- Add propertry for setting Qt Standard Icons in designer by @nstelter-slac in #1038
- PyDMShellCommand bash option by @nstelter-slac in #1045
Docs
- updating documentation by @YektaY in #1019
- Add doc page for event plot by @nstelter-slac in #1043
Maintenance
- Format and lint code, and establish standard tools for doing so by @nstelter-slac in #1028
- Simplify using CurveItem subclasses in Plot subclasses by @flowln in #1042
Bug Fixes
- Stop overriding tooltip's disconnected-msg when channel is disconnected by @nstelter-slac in #1029
- Fix password by @nstelter-slac in #1033
- BUG: prevent PyDMDrawingLine from dividing by a length of 0 by @tangkong in #1036
- Fix issue where rules test fails if also running testing-ioc by @nstelter-slac in #1046
Full Changelog: v1.20.1...v1.20.2
v1.20.1
What's Changed
This update has several new features including support for NTEnums. We have also updated the Polyline widget, improving the points editor and adding arrows (endpoint and midpoint).
New Features
- ENH: Add support for NTEnum to the p4p data plugin by @jbellister-slac in #1017
- ENH: Add notes to rules by @nstelter-slac in #1026
- STY: Enable rich text for PyDMLabels by @nstelter-slac in #1020
- Improvements to Polyline by @nstelter-slac in #1022
Maintenance
- MAINT: Use mambaforge to fix failing github action for running tests by @jbellister-slac in #1023
- TST: Fix issues with inconsistent tests by @jbellister-slac in #1018
- Remove Unused Dependency: Requests by @gdrosos in #1021
- PERF: create unit menu on-demand for QLineEdit by @klauer in #1027
New Contributors
- @nstelter-slac made their first contribution in #1020
- @gdrosos made their first contribution in #1021
Full Changelog: v1.20.0...v1.20.1
v1.20.0
What's Changed
This update has several new features including being able to switch style-sheets on live screens. And adding help files along with displays. We have also updated the installation guide in the documentation.
New Features
- ENH: Allow following symlinks when opening embedded / related files using relative paths by @flowln in #1008
- ENH: Adding new feature in main_window.py that allows user to switch stylesheets by @c-tsoi in #1005
- ENH: Add support for loading help files for displays by @jbellister-slac in #1007
- ENH: Monitor the DISP field of records connected to by PyDMWritableWidget by @jbellister-slac in #1011
Bug Fixes
- FIX: Line edit value setting on Python 3.10+ by @flowln in #1000
- FIX: Escape double quotes during macro substitution by @jbellister-slac in #1003
Documentation
- DOC: Update installation guide with note about designer by @jbellister-slac in #1006
Build
Maintenance
- MAINT: Migrate to github actions by @jbellister-slac in #1009
- MAINT: Fix flake8 run in github actions by @jbellister-slac in #1010
New Contributors
Full Changelog: v1.19.1...v1.20.0
v1.19.1
What's Changed
This is a small update to fix a few bugs introduced in 1.19.0. The update also adds a couple small features, which should improve the PyDMNTTable widget also introduced in 1.19.0. PyDM now will have an example of an NTTable and it also has the ability to write to an PyDMNTTable widget sub-field. The update also includes better error messages when a file cannot be found.
New Features
- ENH: Add an example NTTable by @jbellister-slac in #996
- ENH: adds error messege for when file cannot be found by @YektaY in #994
- ENH: Write to NTTable subfield by @YektaY in #992
Bug Fixes
- FIX: Send the labels value for the NTTable to widgets by @jbellister-slac in #990
- FIX: Ensure placeholders for macro substitutions are always double quoted by @jbellister-slac in #991
- FIX: Prevent race condition between PyDMLineEdit connecting and being given default focus by @jbellister-slac in #995
- Fix: Issue with boolean inputs into PyDMNTTable and Issue with passing np.ndarray with a PyDMLineEdit by @YektaY in #998
- FIX: Don't send the local value of the table's column headers back to the data plugin by @jbellister-slac in #997
Full Changelog: v1.19.0...v1.19.1
v1.19.0
What's Changed
We have a host of new features and a few bug fixes in this new version. One feature to note is the addition of the PyDMNTTable Widget to display and write to an epics NTTable. The update also adds the ability of pass a sub-field of an epics NTTable with the p4p plugin through to pydm widgets. The other big feature of note is an improvement in load time for any displays that use the same UI files repeatedly. For example a display using a template repeater should see improvement in load time now.
New Features
- ENH: Add channel Property to ShellCommand and RelatedDisplayButton by @YektaY in #938
- ENH: add midpoint arrows to PyDMDrawingLine by @YektaY in #977
- ENH: Adds Confirmation Button to PyDMShellCommand by @YektaY in #972
- ENH: Improve load time of displays that re-use the same UI file repeatedly by @jbellister-slac in #965
- ENH: PyDMNTTable Widget by @YektaY in #984
- Menubars by @jakerudolph in #966
Error Logging
- Add additional information to error message when rule evaluation fails by @jbellister-slac in #987
Bug Fixes
- FIX: Update byte indicator to work with python 3.10 by @jbellister-slac in #959
- FIX: Get the resetAutoRange functions working again by @jbellister-slac in #980
- FIX: Error with shell command when environment variable set to empty string by @jbellister-slac in #969
Documentation
- DOC: added example transforming a waveform using calc_plugin by @jakerudolph in #975
Build
- BLD: Update ubuntu version used in pipelines by @jbellister-slac in #981
- Update azure-build-template.yml by @YektaY in #967
Maintenance
- MAINT: Update scale indicator to be compatible with python 3.10/PyQt5 by @jbellister-slac in #961
New Contributors
- @jakerudolph made their first contribution in #966
Full Changelog: v1.18.2...v1.19.0
v1.18.2
A small release to fix a few issues including updating plots to work with the latest version of numpy.
Updates
- ENH: apply pydm stylesheet to related display if not pydm app by @ZLLentz in #950
- FIX: idx typing for eventplot by @vespos in #953
- FIX: Switch usages of numpy aliases of floats to the built-in float by @jbellister-slac in #954
- FIX: Take precision into account for the line edit widget by @jbellister-slac in #956
- TST: Add test case for PyDM widget middle-click functionality by @jbellister-slac in #952
- TST: Fix mac os test run by @jbellister-slac in #955
New Contributors
Full Changelog: v1.18.1...v1.18.2
v1.18.1
This is a small bug fix release to get a few changes out quickly, including restoring the middle click functionality for viewing and copying PV names (thanks to @ZLLentz)
Bug Fixes
- FIX: reset _min_x in clearCurves() by @tangkong in #945
- FIX: Set resize policy for the QFormLayout of the basic settings widget by @jbellister-slac in #946
- FIX: call middleclick event filter instead of dropping middle click events by @ZLLentz in #948
Full Changelog: v1.18.0...v1.18.1
v1.18.0
What's Changed
We have a few new features and a host of bug fixes in this new version. One feature to note is the addition of tooltips which can have channels written into the tooltip, such that when one hovers over the widget the tooltip with display the current value from the channel. This will be available for all widgets that inherit from the PyDMWidget class. We also added timestamp to the PyDMChannel class so it could be included in the tooltips.
Note:
We have made a fix to the style sheets which may cause some screens to require fixes to their style sheet if they use a global style sheet. The fix corrects the order of precedence so that global style sheet will no longer take precedence over the parent style sheet.
New Features
- ENH: Set a display to return to when the home button is clicked in the nav bar by @jbellister-slac in #925
- ENH: Tooltip by @YektaY in #911
- Adds new PyDMShellCommand environment variable property by @YektaY in #934
- ENH: Let the x-axis of time plots autorange until the buffer is filled by @jbellister-slac in #931
- Allow for Read-Only PyDMLineEdit by @mcb64 in #939
Bug Fixes
- FIX: Autorange for plots will now work properly when the context menu is opened in the main view and y-axis options are used by @jbellister-slac in #926
- BUG: clear buffer queue requested flag during initial renders by @tangkong in #933
- FIX: Allow the user to set the range of PyDMSpinbox, instead of always taking it from the channel by @jbellister-slac in #935
- Fix style sheet overwriting specific rules with global ones by @jbellister-slac in #936
- FIX: Clear out the bars set on the archiver plot when clearCurves() is called by @jbellister-slac in #942
New Contributors
Full Changelog: v1.17.0...v1.18.0