1.23.0 release prep (#641)

pull/643/head cares-1_23_0
Brad House 1 year ago committed by GitHub
parent c7f4804b98
commit f83830f95b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      CMakeLists.txt
  2. 63
      RELEASE-NOTES
  3. 4
      configure.ac
  4. 6
      include/ares_version.h

@ -12,7 +12,7 @@ INCLUDE (CheckCSourceCompiles)
INCLUDE (CheckStructHasMember)
INCLUDE (CheckLibraryExists)
PROJECT (c-ares LANGUAGES C VERSION "1.22.1" )
PROJECT (c-ares LANGUAGES C VERSION "1.23.0" )
# Set this version before release
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:
# libname.so -> libname.so.2
# libname.so.2 -> libname.so.2.2.0
SET (CARES_LIB_VERSIONINFO "10:1:8")
SET (CARES_LIB_VERSIONINFO "11:0:9")
OPTION (CARES_STATIC "Build as a static library" OFF)

@ -1,22 +1,59 @@
c-ares version 1.22.1
c-ares version 1.23.0
This is a bugfix release.
This is a feature and bugfix release.
Features:
o Introduce optional (but on by default) thread-safety for the c-ares
library. This has no API nor ABI implications. [2]
o resolv.conf in modern systems uses attempts and timeouts options instead
of the old retrans and retry options. [6]
o Query caching support based on TTL of responses. Can be enabled via
ares_init_options() with ARES_OPT_QUERY_CACHE. [12]
Bug Fixes:
o Fix /etc/hosts processing performance with all entries using same IP
address. Large hosts files using the same IP address for all entries
could use exponential time. [1]
o Fix typos in manpages [2]
o Fix OpenWatcom building [3]
o ares_init_options() for ARES_OPT_UDP_PORT and ARES_OPT_TCP_PORT accept the
port in host byte order, but it was reading it as network byte order.
Regression introduced in 1.20.0. [1]
o ares_init_options() for ARES_FLAG_NOSEARCH was not being honored for
ares_getaddrinfo() or ares_gethostbyname(). Regression introduced in
1.16.0. [3]
o Autotools MacOS and iOS version check was failing [4]
o Environment variables passed to c-ares are meant to be an override for
system configuration. Regression introduced in 1.22.0. [5]
o Spelling fixes as detected by codespell. [7]
o The timeout returned by ares_timeout() was truncated to milliseconds but
validated to microseconds which could cause a user to attempt to process
timeouts prior to the timeout actually expiring. [8]
o CMake was not honoring CXXFLAGS passed in via the environment which could
cause compile and link errors with distribution hardening flags during
packaging. [9]
o Fix Windows UWP and Cygwin compilation. [10]
o ares_set_servers_*() for legacy reasons needs to accept an empty server list
and zero out all servers. This results in an inoperable channel and thus is
only used in simulation testing, but we don't want to break users.
Regression introduced in 1.21.0. [11]
Thanks go to these friendly people for their efforts and contributions:
Brad House (@bradh352)
Christian Clauss (@cclauss)
Daniel Stenberg (@bagder)
Douglas R. Reno (@renodr)
Gregor Jasny (@gjasny)
(4 contributors)
Deal (@halx99)
Ignat (@Kontakter)
@petrvh
(6 contributors)
References to bug reports and discussions on issues:
[1] = https://github.com/c-ares/c-ares/commit/a36317
[2] = https://github.com/c-ares/c-ares/pull/619
[3] = https://github.com/c-ares/c-ares/pull/623
[1] = https://github.com/c-ares/c-ares/commit/fb52c3f
[2] = https://github.com/c-ares/c-ares/pull/636
[3] = https://github.com/c-ares/c-ares/pull/638
[4] = https://github.com/c-ares/c-ares/commit/f4d8c9a
[5] = https://github.com/c-ares/c-ares/commit/b674abd
[6] = https://github.com/c-ares/c-ares/pull/632
[7] = https://github.com/c-ares/c-ares/pull/634
[8] = https://github.com/c-ares/c-ares/pull/633
[9] = https://github.com/c-ares/c-ares/commit/33ee6c0
[10] = https://github.com/c-ares/c-ares/pull/627
[11] = https://github.com/c-ares/c-ares/commit/320cefe
[12] = https://github.com/c-ares/c-ares/pull/625

@ -20,10 +20,10 @@
#############################################################
AC_PREREQ([2.60])
AC_INIT([c-ares], [1.22.1],
AC_INIT([c-ares], [1.23.0],
[c-ares mailing list: http://lists.haxx.se/listinfo/c-ares])
CARES_VERSION_INFO="10:1:8"
CARES_VERSION_INFO="11:0:9"
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 1.

@ -31,12 +31,12 @@
#define ARES_COPYRIGHT "2004 - 2023 Daniel Stenberg, <daniel@haxx.se>."
#define ARES_VERSION_MAJOR 1
#define ARES_VERSION_MINOR 22
#define ARES_VERSION_PATCH 1
#define ARES_VERSION_MINOR 23
#define ARES_VERSION_PATCH 0
#define ARES_VERSION \
((ARES_VERSION_MAJOR << 16) | (ARES_VERSION_MINOR << 8) | \
(ARES_VERSION_PATCH))
#define ARES_VERSION_STR "1.22.1"
#define ARES_VERSION_STR "1.23.0"
#if (ARES_VERSION >= 0x010700)
# define CARES_HAVE_ARES_LIBRARY_INIT 1

Loading…
Cancel
Save