From 38fdadf9336bca4a9857a5f0fc7bae52151dbc05 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Mon, 2 Dec 2024 10:51:53 +0200 Subject: [PATCH] doc: releases: 4.1: mention removal of deprecated socket APIs Mention removal of deprecated CONFIG_NET_SOCKETS_POSIX_NAMES option. Signed-off-by: Jukka Rissanen --- doc/releases/release-notes-4.1.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/releases/release-notes-4.1.rst b/doc/releases/release-notes-4.1.rst index 8513be30dba..72fad3fc194 100644 --- a/doc/releases/release-notes-4.1.rst +++ b/doc/releases/release-notes-4.1.rst @@ -256,6 +256,13 @@ Networking * Sockets: + * The deprecated :kconfig:option:`CONFIG_NET_SOCKETS_POSIX_NAMES` option has been removed. + It was a legacy option and was used to allow user to call BSD socket API while not enabling POSIX API. + This removal means that in order to use POSIX API socket calls, one needs to enable the + :kconfig:option:`CONFIG_POSIX_API` option. + If the application does not want or is not able to enable that option, then the socket API + calls need to be prefixed by a ``zsock_`` string. + * Syslog: * TCP: