From 2e4e4c82c282622a94b9499c182a7e52e21a23b4 Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Thu, 28 Sep 2023 17:40:32 +0200 Subject: [PATCH] Add a mention about Socket#recv in NEWS.md [Misc #19012] --- NEWS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NEWS.md b/NEWS.md index 65452ffbd3..c97f8e0c5e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -77,6 +77,10 @@ Note: We're only listing outstanding class updates. * RubyGems and Bundler warn if users require gem that is scheduled to become the bundled gems in the future version of Ruby. [[Feature #19351]] [[Feature #19776]] [[Feature #19843]] +* Socket#recv and Socket#recv_nonblock returns `nil` instead of an empty string on closed + connections. Socket#recvmsg and Socket#recvmsg_nonblock returns `nil` instead of an empty packet on closed + connections. [[Bug #19012]] + * Random::Formatter#alphanumeric is extended to accept optional `chars` keyword argument. [[Feature #18183]]