diff options
author | Thomas Haller <thaller@redhat.com> | 2019-10-20 08:10:03 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-10-23 15:31:51 +0200 |
commit | dab1d780fda21cc1e4bc5b686e7f6bce6f6bc8cf (patch) | |
tree | dc4f103808caf218ee026d5d5d2dab377fa6896b /NEWS | |
parent | e346bdc550323167604b328d39626d0f0dd82092 (diff) | |
download | NetworkManager-dab1d780fda21cc1e4bc5b686e7f6bce6f6bc8cf.tar.gz |
libnm: retire deprecated WiMAX NMObject types
WiMAX is deprecated since NetworkManager 1.2.0. Note that also
NetworkManager on server side no longer supports this type, hence
the server's D-Bus API will never expose devices of this type.
Note that NMDeviceWimax and NMWimaxNsp are NMObject types. That means,
they are instantiated by NMClient to represent information on the D-Bus
interface. As NetworkManager no longer exposes WiMAX devices, such
devices are never created. Note that it makes no sense that a user would
directly instantiate NMObject types, because they only work together with
NMClient.
Don't drop the related symbols and definitions from libnm, so that there
is no API/ABI change (as far as building and linking is concerned). But
make the types defunctional (which of course is a behavioral API change).
Calling the API now triggers a g_return_*() warning.
Also belatedly mark the WimaxNsp API as deprecated. It should have been
done in 1.2. Note that here we deprecate the API and retire it at the
same time. Optimally, we would have deprecated it a few releases ago,
before retiring it. However, marking something for deprecation is anyway
no excuse for anything. I mean, removing or retiring API is usually
painful, regardless whether it was marked for deprecation or not. In this
case, there is no possibility that a libnm user gets hold on a NMDeviceWimax
or NMWimaxNsp instance, because NMClient simply no longer instantiates
them. Hence, this change should not affect any user in practice.
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/316
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -20,6 +20,9 @@ USE AT YOUR OWN RISK. NOT RECOMMENDED FOR PRODUCTION USE! * libnm: hide NMObject and NMClient typedefs from header files. This prevents the user from subclassing these types and is an ABI change (in case somebody was doing so). +* libnm: retire deprecated WiMAX API NMDeviceWimax and NMWimaxNsp. + WiMAX support was removed from NetworkManager in version 1.2 (2016) and no such + type instances would have been created by NMClient for a while now. ============================================= NetworkManager-1.20 |