Prep for 1.19.0 release

pull/503/head cares-1_19_0
bradh352 2 years ago
parent b167ae0d4f
commit fddf01938d
  1. 4
      CMakeLists.txt
  2. 150
      RELEASE-NOTES
  3. 4
      configure.ac
  4. 6
      include/ares_version.h

@ -8,7 +8,7 @@ INCLUDE (CheckCSourceCompiles)
INCLUDE (CheckStructHasMember) INCLUDE (CheckStructHasMember)
INCLUDE (CheckLibraryExists) INCLUDE (CheckLibraryExists)
PROJECT (c-ares LANGUAGES C VERSION "1.18.0" ) PROJECT (c-ares LANGUAGES C VERSION "1.19.0" )
# Set this version before release # Set this version before release
SET (CARES_VERSION "${PROJECT_VERSION}") SET (CARES_VERSION "${PROJECT_VERSION}")
@ -26,7 +26,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 "7:1:5") SET (CARES_LIB_VERSIONINFO "8:0:6")
OPTION (CARES_STATIC "Build as a static library" OFF) OPTION (CARES_STATIC "Build as a static library" OFF)

@ -1,85 +1,91 @@
c-ares version 1.18.1 c-ares version 1.19.0
This is an urgent bugfix release for a regression made in 1.18.0.
Bug fixes:
o ares_getaddrinfo() would return ai_addrlen of 16 for ipv6
adddresses rather than the sizeof(struct sockaddr_in6)
c-ares version 1.18.0
This is a feature and bugfix release. It addresses a couple of new feature This is a feature and bugfix release. It addresses a couple of new feature
requests as well as a couple of bug fixes. requests as well as a couple of bug fixes.
Security:
o Low. Stack overflow in ares_set_sortlist() which is used during c-ares
initialization and typically provided by an administrator and not an
end user. [24]
Changes: Changes:
o Add support for URI(Uniform Resource Identifier) records via o Windows: Drop support for XP and derivatives which greatly cleans up
ares_parse_uri_reply() [1] initialization code. [3]
o Provide ares_nameser.h as a public interface as needed by NodeJS [5] o Add ARES_OPT_HOSTS_FILE similar to ARES_OPT_RESOLVCONF for specifying a
o Update URLs from c-ares.haxx.se to c-ares.org [9] custom hosts file location. [10]
o During a domain search, treat ARES_ENODATA as ARES_NXDOMAIN so that the o Add vcpkg installation instructions [13]
search process will continue to the next domain in the search. [11]
o Turn ares_gethostbyname() into a wrapper for ares_getaddrinfo() as they
followed very similar code paths and ares_gethostbyaddr() has some more
desirable features such as priority sorting and parallel queries for
AF_UNSPEC. [12]
o ares_getaddrinfo() now contains a name element in the address info
structure as the last element. This is not an API or ABI break due to
the structure always being internally allocated and it being the last
element. [12]
o ares_parse_a_reply() and ares_parse_aaaa_reply() were nearly identical, those
now use the same helper functions for parsing rather than having their own
code. [12]
o RFC6761 Section 6.3 says "localhost" lookups need to be special cased to
return loopback addresses, and not forward queries to recursive dns servers.
On Windows this now returns all loopback addresses, on other systems it
returns 127.0.0.1 or ::1 always, and will never forward a request for
"localhost" to outside DNS servers. [13]
o Haiki: port [14]
Bug fixes: Bug fixes:
o add build to .gitignore [2] o Fix cross-compilation from Windows to Linux due to CPACK logic. [1]
o z/OS minor update, add missing semicolon in ares_init.c [3] o Fix memory leak in reading /etc/hosts when using localhost fallback. [2]
o Fix building when latest ax_code_coverage.m4 is imported [4] o Fix chain building c-ares when libresolv is already included by another
o Work around autotools 'error: too many loops' and other newer autotools project [4]
import related bugs. o File lookup should not immediately abort as there may be other tries due to
o MinGW cross builds need advapi32 link as lower case [6] search criteria.
o Cygwin build fix due to containing both socket.h and winsock2.h [7] o Asterisks should be allowed in host validation as CNAMEs may reference
o ares_expand_name should allow underscores (_) as SRV records legitimately use wildcard domains [5]
them [8] o AutoTools build system referenced bad STDC_HEADERS macro [6]
o Allow '/' as a valid character for a returned name for CNAME in-addr.arpa o Even if one address class returns a failure for ares_getaddrinfo() we should
delegation [10] still return the results we have
o ares_getaddrinfo() was not honoring HOSTALIASES [12] o CMake Windows: DLLs did not include resource file to include versions [7] [8]
o ares_getaddrinfo() had some test cases disabled due to a bug in the test o CMake: Guard target creation in exported config [9]
framework itself which has now been resolved [12] o Fix ares_getaddrinfo() numerical address resolution with AF_UNSPEC [11]
o Due to Travis-CI becoming unfriendly to open-source, Cirrus-CI has now been o Apple: fix libresolv configured query times. [12]
brought online for automated unit testing. o Fix tools and help information [14] [15]
o Various documentation fixes and cleanups [16] [22] [25]
o Add include guards to ares_data.h [17]
o c-ares could try to exceed maximum number of iovec entries supported by
system [18]
o CMake package config generation allow for absolute install paths [19]
o Intel compiler fixes [20]
o ares_strsplit bugs [21] [23]
o The RFC6761 6.3 states localhost subdomains must be offline too. [26]
Thanks go to these friendly people for their efforts and contributions: Thanks go to these friendly people for their efforts and contributions:
Biswapriyo Nath (@Biswa96) Boby Reynolds (@reynoldsbd)
Brad House (@bradh352) Brad House (@bradh352)
Daniel Bevenius (@danbev) Brad Spencer (@b-spencer)
@bsergean
Daniel Stenberg (@bagder) Daniel Stenberg (@bagder)
Dhrumil Rana (@dhrumilrana) Dmitry Karpov
Felix Yan (@felixonmars) @FrankXie05
Jérôme Duval (@korli) @hopper-vul
Martin Holeš (@martin-256) Jonathan Ringer (@jonringer)
Sinan Kaya Kai Pastor (@dg0yt)
(9 contributors) @lifenjoiner
Manish Mehra (@mmehra)
@marc-groundctl
Nikolaos Chatzikonstantinou (@createyourpersonalaccount)
Ridge Kennedy (@ridgek)
Sam James (@thesamesam)
Stephen Sachs (@stephenmsachs)
Thomas Dreibholz (@dreibh)
(18 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/411 [1] = https://github.com/c-ares/c-ares/pull/436
[2] = https://github.com/c-ares/c-ares/pull/410 [2] = https://github.com/c-ares/c-ares/issues/439
[3] = https://github.com/c-ares/c-ares/pull/414 [3] = https://github.com/c-ares/c-ares/pull/445
[4] = https://github.com/c-ares/c-ares/pull/418 [4] = https://github.com/c-ares/c-ares/pull/451
[5] = https://github.com/c-ares/c-ares/pull/417 [5] = https://github.com/c-ares/c-ares/issues/457
[6] = https://github.com/c-ares/c-ares/pull/420 [6] = https://github.com/c-ares/c-ares/pull/459
[7] = https://github.com/c-ares/c-ares/pull/422 [7] = https://github.com/c-ares/c-ares/issues/460
[8] = https://github.com/c-ares/c-ares/issues/424 [8] = https://github.com/c-ares/c-ares/pull/468
[9] = https://github.com/c-ares/c-ares/issues/423 [9] = https://github.com/c-ares/c-ares/pull/464
[10] = https://github.com/c-ares/c-ares/issues/427 [10] = https://github.com/c-ares/c-ares/pull/465
[11] = https://github.com/c-ares/c-ares/issues/426 [11] = https://github.com/c-ares/c-ares/pull/469
[12] = https://github.com/c-ares/c-ares/pull/428 [12] = https://github.com/c-ares/c-ares/pull/467
[13] = https://github.com/c-ares/c-ares/pull/430 [13] = https://github.com/c-ares/c-ares/pull/478
[14] = https://github.com/c-ares/c-ares/pull/431 [14] = https://github.com/c-ares/c-ares/pull/479
[15] = https://github.com/c-ares/c-ares/pull/481
[16] = https://github.com/c-ares/c-ares/pull/490
[17] = https://github.com/c-ares/c-ares/pull/491
[18] = https://github.com/c-ares/c-ares/pull/489
[19] = https://github.com/c-ares/c-ares/pull/486
[20] = https://github.com/c-ares/c-ares/pull/485
[21] = https://github.com/c-ares/c-ares/pull/492
[22] = https://github.com/c-ares/c-ares/pull/494
[23] = https://github.com/c-ares/c-ares/pull/495
[24] = https://github.com/c-ares/c-ares/pull/497
[25] = https://github.com/c-ares/c-ares/issues/487
[26] = https://github.com/c-ares/c-ares/issues/477

@ -1,9 +1,9 @@
AC_PREREQ([2.60]) AC_PREREQ([2.60])
AC_INIT([c-ares], [1.18.1], AC_INIT([c-ares], [1.19.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="7:1:5" CARES_VERSION_INFO="8:0:6"
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.

@ -6,12 +6,12 @@
#define ARES_COPYRIGHT "2004 - 2021 Daniel Stenberg, <daniel@haxx.se>." #define ARES_COPYRIGHT "2004 - 2021 Daniel Stenberg, <daniel@haxx.se>."
#define ARES_VERSION_MAJOR 1 #define ARES_VERSION_MAJOR 1
#define ARES_VERSION_MINOR 18 #define ARES_VERSION_MINOR 19
#define ARES_VERSION_PATCH 1 #define ARES_VERSION_PATCH 0
#define ARES_VERSION ((ARES_VERSION_MAJOR<<16)|\ #define ARES_VERSION ((ARES_VERSION_MAJOR<<16)|\
(ARES_VERSION_MINOR<<8)|\ (ARES_VERSION_MINOR<<8)|\
(ARES_VERSION_PATCH)) (ARES_VERSION_PATCH))
#define ARES_VERSION_STR "1.18.1" #define ARES_VERSION_STR "1.19.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