1.25.0 release prep (#676)

pull/679/head cares-1_25_0
Brad House 11 months ago committed by GitHub
parent 1231aa739f
commit 037601fe88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      CMakeLists.txt
  2. 76
      RELEASE-NOTES
  3. 4
      configure.ac
  4. 6
      include/ares_version.h

@ -12,7 +12,7 @@ INCLUDE (CheckCSourceCompiles)
INCLUDE (CheckStructHasMember) INCLUDE (CheckStructHasMember)
INCLUDE (CheckLibraryExists) INCLUDE (CheckLibraryExists)
PROJECT (c-ares LANGUAGES C VERSION "1.24.0" ) PROJECT (c-ares LANGUAGES C VERSION "1.25.0" )
# Set this version before release # Set this version before release
SET (CARES_VERSION "${PROJECT_VERSION}") SET (CARES_VERSION "${PROJECT_VERSION}")
@ -30,7 +30,7 @@ INCLUDE (GNUInstallDirs) # include this *AFTER* PROJECT(), otherwise paths are w
# For example, a version of 4:0:2 would generate output such as: # For example, a version of 4:0:2 would generate output such as:
# libname.so -> libname.so.2 # libname.so -> libname.so.2
# libname.so.2 -> libname.so.2.2.0 # libname.so.2 -> libname.so.2.2.0
SET (CARES_LIB_VERSIONINFO "12:0:10") SET (CARES_LIB_VERSIONINFO "12:1:10")
OPTION (CARES_STATIC "Build as a static library" OFF) OPTION (CARES_STATIC "Build as a static library" OFF)

@ -1,51 +1,47 @@
c-ares version 1.24.0 c-ares version 1.25.0
This is a feature and bugfix release. This is a maintenance release.
Features:
o Add support for IPv6 link-local DNS servers. Nameserver formats can now
accept the %iface suffix, and a new ares_get_servers_csv() function was
added to return servers that can contain the link-local interface name. [3]
Changes: Changes:
o Unbundle GoogleTest for test cases. Package maintainers will now need to o AutoTools: rewrite build system to be lighter weight and fix issues in some
require GoogleTest (GMock) as a build dependency if building tests. New semi-modern systems. It is likely this has broken building on some less
GoogleTest versions require C++14 or later. [6] common and legacy OSs, please report issues. [1]
o Replace nameserver parsing code to use new memory-safe functions. [1] o Rewrite ares_strsplit() as a wrapper for ares__buf_split() for memory
o Replace the sortlist parser with new memory-safe functions. [5] safety reasons. [4]
o Various warning fixes and dead code removal. o The ahost utility now uses ares_getaddrinfo() and returns both IPv4 and
IPv6 addresses by default. [6]
o OpenBSD: Add SOCK_DNS flag when creating socket. [12]
Bug Fixes: Bug Fixes:
o Old Linux versions require POSIX_C_SOURCE or _GNU_SOURCE to compile with o Tests: Live reverse lookups for Google's public DNS servers no longer
thread safety support. [2] return results, replace with CloudFlare pubic DNS servers. [2]
o A non-responsive DNS server that caused timeouts wouldn't increment the o MacOS legacy SDKs require sys/socket.h before net/if.h [3]
failure count, this would lead to other servers not being tried. o Connection failures should increment the server failure count first or a
Regression introduced in 1.22.0. [4] retry might be enqueued to the same server. [5]
o Some projects that depend on c-ares expect invalid parameter option values o On systems that don't implement the ability to enumerate network interfaces
passed into ares_init_options() to simply be ignored. This behavior has the stubs used the wrong prototype. [7]
been restored. [7] o Fix minor warnings and documentation typos. [8]
o On linux getrandom() can fail if the kernel doesn't support the syscall, o Fix support for older GoogleTest versions. [9]
fall back to another random source. [8] o getrandom() may require sys/random.h on some systems. [10]
o ares_cancel() when performing ares_gethostbyname() or ares_getaddrinfo() o Fix building tests with symbol hiding enabled. [11]
with AF_UNSPEC, if called after one address class was returned but before
the other address class, it would return ARES_SUCCESS rather than
ARES_ECANCELLED. [9]
Thanks go to these friendly people for their efforts and contributions: Thanks go to these friendly people for their efforts and contributions:
Brad House (@bradh352) Brad House (@bradh352)
Daniel Stenberg (@bagder) Daniel Stenberg (@bagder)
(2 contributors) Gregor Jasny (@gjasny)
Martin Chang (@marty1885)
(4 contributors)
References to bug reports and discussions on issues: References to bug reports and discussions on issues:
[1] = https://github.com/c-ares/c-ares/pull/643 [1] = https://github.com/c-ares/c-ares/pull/674
[2] = https://github.com/c-ares/c-ares/issues/644 [2] = https://github.com/c-ares/c-ares/commit/1231aa7
[3] = https://github.com/c-ares/c-ares/pull/646 [3] = https://github.com/c-ares/c-ares/pull/673
[4] = https://github.com/c-ares/c-ares/pull/650 [4] = https://github.com/c-ares/c-ares/commit/88c444d
[5] = https://github.com/c-ares/c-ares/pull/653 [5] = https://github.com/c-ares/c-ares/commit/05181a6
[6] = https://github.com/c-ares/c-ares/pull/655 [6] = https://github.com/c-ares/c-ares/pull/669
[7] = https://github.com/c-ares/c-ares/commit/c982bf4 [7] = https://github.com/c-ares/c-ares/commit/eebfe0c
[8] = https://github.com/c-ares/c-ares/pull/661 [8] = https://github.com/c-ares/c-ares/pull/666
[9] = https://github.com/c-ares/c-ares/pull/663 [9] = https://github.com/c-ares/c-ares/commit/d186f11
[10] = https://github.com/c-ares/c-ares/issues/665
[11] = https://github.com/c-ares/c-ares/issues/664
[12] = https://github.com/c-ares/c-ares/pull/659

@ -2,10 +2,10 @@ dnl Copyright (C) The c-ares project and its contributors
dnl SPDX-License-Identifier: MIT dnl SPDX-License-Identifier: MIT
AC_PREREQ([2.69]) AC_PREREQ([2.69])
AC_INIT([c-ares], [1.24.0], AC_INIT([c-ares], [1.25.0],
[c-ares mailing list: http://lists.haxx.se/listinfo/c-ares]) [c-ares mailing list: http://lists.haxx.se/listinfo/c-ares])
CARES_VERSION_INFO="12:0:10" CARES_VERSION_INFO="12:1:10"
dnl This flag accepts an argument of the form current[:revision[:age]]. So, dnl This flag accepts an argument of the form current[:revision[:age]]. So,
dnl passing -version-info 3:12:1 sets current to 3, revision to 12, and age to dnl passing -version-info 3:12:1 sets current to 3, revision to 12, and age to
dnl 1. dnl 1.

@ -28,15 +28,15 @@
#define ARES__VERSION_H #define ARES__VERSION_H
/* This is the global package copyright */ /* This is the global package copyright */
#define ARES_COPYRIGHT "2004 - 2023 Daniel Stenberg, <daniel@haxx.se>." #define ARES_COPYRIGHT "2004 - 2024 Daniel Stenberg, <daniel@haxx.se>."
#define ARES_VERSION_MAJOR 1 #define ARES_VERSION_MAJOR 1
#define ARES_VERSION_MINOR 24 #define ARES_VERSION_MINOR 25
#define ARES_VERSION_PATCH 0 #define ARES_VERSION_PATCH 0
#define ARES_VERSION \ #define ARES_VERSION \
((ARES_VERSION_MAJOR << 16) | (ARES_VERSION_MINOR << 8) | \ ((ARES_VERSION_MAJOR << 16) | (ARES_VERSION_MINOR << 8) | \
(ARES_VERSION_PATCH)) (ARES_VERSION_PATCH))
#define ARES_VERSION_STR "1.24.0" #define ARES_VERSION_STR "1.25.0"
#if (ARES_VERSION >= 0x010700) #if (ARES_VERSION >= 0x010700)
# define CARES_HAVE_ARES_LIBRARY_INIT 1 # define CARES_HAVE_ARES_LIBRARY_INIT 1

Loading…
Cancel
Save