Skip to content

Commit 1ea0fef

Browse files
authored
Merge pull request #1385 from Emantor/topic/24-changelog
CHANGES: update changelog for 24.0 release
2 parents 0a7bcd0 + e8cbdbf commit 1ea0fef

1 file changed

Lines changed: 75 additions & 4 deletions

File tree

CHANGES.rst

Lines changed: 75 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,44 @@ New Features in 24.0
1010
- A new log level called ``CONSOLE`` has been added between the default
1111
``INFO`` and ``DEBUG`` levels. This level will show all reads and writes made
1212
to the serial console during testing.
13-
- The `QEMUDriver` now has an additional ``disk_opts`` property which can be
13+
- The docker support was extended to support buildx, allowing the build of arm64
14+
container images.
15+
- The tool lookup function has been extended to return the original name in case
16+
the path can't be found. This makes specification of the qemu binary easier to
17+
use.
18+
- The ``bindings`` base class has been extended, allowing the user to retrieve
19+
all resources used by a driver.
20+
- Support for STLink V2 was added.
21+
- ``UBootStrategy`` was extended with a ``force()`` function.
22+
- labgrid was switched from pysnmp to pysnmp-lexstudio.
23+
- Support for Segger J-Link was added.
24+
- Place tags are now exposed by the RemotePlace.
25+
- The sync-places contrib script has gained support for named matches.
26+
- Remote support for YKush Devices was added.
27+
- Support for sigrok DMMs was added.
28+
- Support for Digital Outputs switched via HTTP was added.
29+
- The ``QEMUDriver`` has a new get_qemu_base_args() function which can be used to
30+
extract the arguments passed to qemu.
31+
- The ``SSHDriver`` has gained support to forward unix sockets.
32+
- The exporter has gained an ``--fqdn`` argument to set the hostname to the
33+
fully qualified domain name instead of the hostname.
34+
- The ``QEMUDriver`` now has an additional ``disk_opts`` property which can be
1435
used to pass additional options for the disk directly to QEMU
36+
- All drivers now inherit a logger from the ``Driver`` base class and many
37+
drivers were changed to use this logger.
38+
- The new ``poe_mib`` backend allows switching of power over Ethernet-capable
39+
ports on switches that use the corresponding SNMP MIB.
40+
- The ``RawNetworkInterfaceDriver`` allows the replay and recording of network
41+
packets on ethernet interfaces.
42+
- The i.MX93 usb loader USB ID has been added to the ``IMXUSBLoader`` resource.
43+
- Support for udev matched GPIOs has been added.
1544
- labgrid-client now has a ``write-files`` subcommand to copy files onto mass
1645
storage devices.
46+
- The ``NetworkPowerPort`` supports a new backend ``ubus``. It controls PoE
47+
switches running OpenWrt using the ubus interface.
48+
- The pyproject.toml gained a config for `ruff <https://github.com/astral-sh/ruff>`_.
49+
- ``setuptools_scm`` is now used to generate a version file.
50+
1751

1852
Bug fixes in 24.0
1953
~~~~~~~~~~~~~~~~~
@@ -22,19 +56,55 @@ Bug fixes in 24.0
2256
of pip.
2357
- Several tests have gained an importorskip() call to skip them if the
2458
module is not available.
59+
- labgrid now uses its own pyserial fork from pypi since installation from
60+
github as an egg is no longer properly supported.
2561
- The build-and-release workflow supports building wheels.
26-
- The markers now are restricted to patterns which won't match WARN,
27-
ERROR, INFO and similar log notifiers.
2862
- Fix named SSH lookups in conjunction with an environment file in
2963
labgrid-client.
64+
- The crossbar virtual-environment now needs to be separate from the labgrid
65+
environment, for more information please consult the `current documentation <https://labgrid.readthedocs.io/en/latest/getting_started.html#coordinator>`_.
66+
- The markers now are restricted to patterns which won't match WARN,
67+
ERROR, INFO and similar log notifiers.
68+
- A race inside the ``SSHDriver`` cleanup has been fixed.
69+
- The ``labgrid-client monitor`` command now outputs the full resource identifier.
70+
- Many of the USB loader commands e.g. imx-usb-loader will now print to the
71+
console when logging is not enabled.
72+
- An ``UnboundLocalError`` inside the atomic_replace code which is used inside the
73+
coordinator was fixed.
74+
- Resources of different classes can now have the same name.
75+
- A bug within the pytest logging setup was fixed.
76+
- The ``QemuDriver`` correctly handles the different command lines for virgl
77+
enablement.
78+
- A bug was fixed where resource names were ignored during lookup of the correct
79+
power driver.
80+
- ManagedFile was fixed to work with the stat command on Darwin.
81+
- Instead of using a private member on the pytest config, the labgrid plugin now
82+
uses the pytest config stash.
83+
- The ``ShellDriver`` was fixed to set the correct status attribute.
84+
- The USBNetworkInterface now warns if the interface name is set, as it will be
85+
overwritten by the ResourceManager to assign the correct interface name.
3086
- Fix sftp option issue in SSH driver that caused sftp to only work once per
3187
test run.
3288
- ManagedFile NFS detection heuristic now does symlink resolution on the
3389
local host.
34-
- The password for the ShellDriver can now be an empty string.
90+
- XModem support within the Shelldriver was fixed by removing the newline from
91+
the marker.
92+
- A typo in the ``NFSProviderDriver`` class was fixed. Documentation was already
93+
correct, however the classname contained an additional P.
94+
- The ``--loop`` argument for labgrid-client console was fixed.
95+
- The password for the ``ShellDriver`` can now be an empty string.
96+
- The default crossbar configuration now enables auto-fragmentation to handle
97+
bigger labs where the payload size can be bigger than 1 megabyte.
98+
- The ``SSHDriver`` redirects ``/dev/null`` to stdin of commands run via SSH.
99+
This prevents unexpected input, especially when using the
100+
``ManualPowerDriver`` or a REPL.
101+
- The ``ser2net`` version check for YAML configurations in the exporter was
102+
fixed.
103+
- The exporter forces ``ser2net`` TCP connections for versions >=4.2.0.
35104

36105
Breaking changes in 24.0
37106
~~~~~~~~~~~~~~~~~~~~~~~~
107+
- Support for Python 3.7 was dropped.
38108
- Support for the legacy ticket authentication was dropped: If the coordinator
39109
logs ModuleNotFoundError on startup, switch the crossbar config to anonymous
40110
authentication (see ``.crossbar/config-anonymous.yaml`` for an example).
@@ -82,6 +152,7 @@ Breaking changes in 24.0
82152

83153
Known issues in 24.0
84154
~~~~~~~~~~~~~~~~~~~~
155+
- Some client commands return 0 even if the command failed.
85156

86157

87158
Release 23.0 (Released Apr 24, 2023)

0 commit comments

Comments
 (0)