1
- Release 23.0 (unreleased )
2
- -------------------------
1
+ Release 23.0 (Released Apr 24, 2023 )
2
+ ------------------------------------
3
3
4
4
New Features in 23.0
5
5
~~~~~~~~~~~~~~~~~~~~
6
+ - Python 3.6 support has been dropped.
6
7
- Exporter config templates now have access to the following new variables:
7
8
isolated (all resource accesses must be tunneled True/False),
8
9
hostname (of the exporter host), name (of the exporter).
9
10
- ModbusRTU driver for instruments
10
- - Support for Eaton ePDU and TP-Link power strips added, either can be used as a NetworkPowerPort.
11
+ - Support for Eaton ePDU and TP-Link power strips added, either can be used as
12
+ a NetworkPowerPort.
13
+ - The example strategies now wait for complete system startup using systemctl.
11
14
- Consider a combination of multiple "lg_feature" markers instead of
12
15
considering only the closest marker.
16
+ - There is a new ``get_strategy `` helper function which returns the strategy of
17
+ the target.
18
+ - labgrid-client now supports an ``export `` command which exposes the resource
19
+ information as environment variables.
20
+ - Newer C920 webcams are now supported.
21
+ - The pytestplugin now correctly combines feature markers instead of replacing
22
+ them.
23
+ - The ConsoleLoggingReporter is now exported for library usage.
24
+ - The HD 2MP Webcam is now supported by the video-driver.
25
+ - TP-Link power strips are supported by the NetworkPowerDriver.
26
+ - A ModbusRTUResource and Driver has been added to control RS485 equipment.
27
+ - The strategies within labgrid learned the force() function.
13
28
- The labgrid client SSH command is now able to instantiate the SSHDriver when
14
29
there are multiple NetworkService resources available.
15
30
- eg_pms2_network power port driver supports controlling the Energenie power
16
- management series with devices like the EG_PMS2_LAN & EG_PMS2_WLAN
17
- - The client and coordinator learned of a new "release-from" operation that only releases a place
18
- if it acquired by a specific user. This can be used to prevent race conditions when attempting to
19
- automate the cleanup of unused places (e.g. in CI jobs)
31
+ management series with devices like the EG_PMS2_LAN & EG_PMS2_WLAN.
32
+ - The client and coordinator learned of a new "release-from" operation that
33
+ only releases a place if it acquired by a specific user. This can be used to
34
+ prevent race conditions when attempting to automate the cleanup of unused
35
+ places (e.g. in CI jobs).
20
36
- ModbusTCPCoil driver supports writing using multiple coils write method
21
- in order to make driver usable with Papouch Quido I/O modules
37
+ in order to make driver usable with Papouch Quido I/O modules.
38
+ - If supported, ser2net started by the exporter now allows multiple connections.
22
39
- SmallUBootDriver driver now supports wide range of Ralink/mt7621 devices
23
40
which expects ``boot_secret `` without new line with new ``boot_secret_nolf ``
24
41
boolean config option.
42
+ - More USBVideo devices have been added.
43
+ - labgrid now uses a custom yaml loader/dumper.
25
44
- labgrid-client add-match/add-named-match check for duplicate matches
26
45
- `DFUDriver ` has been added to communicate with a `DFUDevice `, a device in DFU
27
46
(Device Firmware Upgrade) mode.
28
- - ``labgrid-client dfu `` added to allow communcation with devices in DFU mode.
47
+ - ``labgrid-client dfu `` added to allow communication with devices in DFU mode.
29
48
- Support for QEMU Q35 machine added.
30
49
- `UBootDriver ` now handles idle console, allowing driver activation on
31
- an interupted U-Boot.
50
+ an interrupted U-Boot.
51
+ - Support for the STLINK-V3 has been added to the USBDebugger resource.
52
+ - labgrid-suggest can now suggest matches for a USBPowerPort used by power
53
+ switchable USB hubs.
54
+ - AndroidFastboot is now deprecated and was replaced by AndroidUSBFastboot. This
55
+ is more consistent with the AndroidNetFastboot support.
56
+ - In case multiple matches are found for a driver, labgrid-client now outputs
57
+ the available names.
32
58
- ProcessWrapper now supports an "input" argument to check_output() that allows
33
- a string to be passed to stdin of the process
59
+ a string to be passed to stdin of the process.
34
60
- The ``NetworkInterfaceDriver `` now supports local and remote SSH port
35
61
forwarding to/from the exporter.
62
+ - labgrid was switched over to use pyproject.toml.
63
+ - A contrib script was added to export coordinator metrics to stasd.
36
64
- The SSH connection timeout can now be globally controlled using the
37
65
``LG_SSH_CONNECT_TIMEOUT `` environment variable.
38
66
- The `QEMUDriver ` now supports a ``display `` option which can specify if an
39
67
display device should be created. ``none `` (the default) will not create a
40
68
display device, ``fb-headless `` will create a headless framebuffer device
41
69
for software rendering, and ``egl-headless `` will create a headless GPU
42
- device for accelerated rendering (but requires host support)
70
+ device for accelerated rendering (but requires host support).
71
+ - The `AndroidFastbootDriver ` now supports interaction with network devices in
72
+ fastboot state.
73
+ - Add bash completion for labgrid-client.
43
74
- The `QEMUDriver ` now support a ``nic `` property that can be used to create a
44
75
network interface when booting.
45
- - The `QEMUDriver ` now supports API to add port-forwarding from localhost
76
+ - The SSHDriver now correctly uses the processwrapper for rsync.
77
+ - The `QEMUDriver ` now supports API to add port-forwarding from localhost.
78
+ - The get() method for sdwire has been added.
79
+ - If there are multiple named resources for a target, one of them can be named
80
+ "default" to select it automatically if no explicit other name is given.
81
+ - labgrid-client has been extended with --name/-n for most commands. This allows
82
+ attaching multiple power sources/usb-muxes and switching them individually
83
+ from the command line.
84
+ - Add DediprogFlashDriver and DediprogFlasher resource.
85
+ - Add support for Digital Loggers PDU.
86
+ - Add support for Shelly power switches.
87
+ - Make labgrid-client use crossbar_url and crossbar_realm from ennvironment
88
+ config.
46
89
47
90
Bug fixes in 23.0
48
91
~~~~~~~~~~~~~~~~~
@@ -55,7 +98,11 @@ Bug fixes in 23.0
55
98
- Fixed ``labgrid-client forward --remote ``/``-R ``, which used either the LOCAL
56
99
part of ``--local ``/``-L `` accidentally (if specified) or raised an
57
100
UnboundLocalError.
58
- - Fix udev matching by attributes
101
+ - Fix udev matching by attributes.
102
+ - Stop Exporter's event loop when register calls fail.
103
+ - Fix exit codes for various subcommands.
104
+ - Omit role and place output for ``labgrid-client reserve `` to fix shell
105
+ evaluation.
59
106
60
107
Breaking changes in 23.0
61
108
~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -64,6 +111,16 @@ Breaking changes in 23.0
64
111
- `UBootDriver `'s ``boot_expression `` attribute is deprecated, it will no
65
112
longer check for the string during U-Boot boot. This allows activating the
66
113
driver on an already running U-Boot.
114
+ - The uuu command handling was fixed for the UUUDriver.
115
+ - `UBootDriver ` boot() method was fixed.
116
+ - Fix proxying of dynamic port power backends with URL in host parameter and
117
+ authentication credentials.
118
+ - The coordinator was switched over to anonymous static authentication. You'll
119
+ have to use the legacy crossbar configuration to support older
120
+ clients/exporters. The 23.1 release will remove support for the legacy ticket
121
+ authentication.
122
+ - AndroidFastboot has been deprecated. Please replace it with the more specific
123
+ AndroidUSBFastboot with the same semantics.
67
124
68
125
Known issues in 23.0
69
126
~~~~~~~~~~~~~~~~~~~~
0 commit comments