Release 1.22.0 (#616)

pull/617/head
Brad House 1 year ago committed by GitHub
parent e40828ee56
commit 5159314031
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      CMakeLists.txt
  2. 69
      RELEASE-NOTES
  3. 4
      configure.ac
  4. 1
      docs/ares_create_query.3
  5. 1
      docs/ares_init.3
  6. 1
      docs/ares_init_options.3
  7. 1
      docs/ares_mkquery.3
  8. 3
      docs/ares_search.3
  9. 3
      docs/ares_send.3
  10. 3
      include/ares.h
  11. 4
      include/ares_version.h

@ -12,7 +12,7 @@ INCLUDE (CheckCSourceCompiles)
INCLUDE (CheckStructHasMember)
INCLUDE (CheckLibraryExists)
PROJECT (c-ares LANGUAGES C VERSION "1.21.0" )
PROJECT (c-ares LANGUAGES C VERSION "1.22.0" )
INCLUDE (EnableWarnings)
@ -32,7 +32,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 "9:2:7")
SET (CARES_LIB_VERSIONINFO "10:0:8")
OPTION (CARES_STATIC "Build as a static library" OFF)

@ -1,39 +1,52 @@
c-ares version 1.21.0
c-ares version 1.22.0
This is a bugfix and cleanup release with some significant internal changes.
This is a feature release with some significant internal changes.
Features:
o ares_reinit() is now implemented to re-read any system configuration and
immediately apply to an existing ares channel [2]
o The adig command line program has been rewritten and its format now more
closely matches that of BIND's dig utility [3]
o The new DNS message parser and writer functions have now been made public [4]
o RFC9460 HTTPS and SVCB records are now supported [5]
o RFC6698 TLSA records are now supported [6]
o The server list is now internally dynamic and can be changed without
impacting existing queries [10]
o Hosts file processing is now cached until the file is detected to be changed
to speed up repetitive lookups of large hosts files [11]
Changes:
o Provide better man page cross-links. [1]
o Introduce ares_status_t as an enum rather than using #define list and
integer data type for internal functions. [2]
o Introduce ares_bool_t datatype rather than using an integer with 0/1 so
it is clear based on the function prototype what it returns. [5]
o Increase compiler warning levels by default. [6]
o Use size_t and other more proper datatypes internally (rather than int). [7]
o Many developers have used different code styles over the years, standardize
on one and use clang-format to enforce the style. [8]
o CMake can now control symbol visibility [9]
o Replace multiple DNS hand-made parsers with new memory-safe DNS message
parser. [10]
o Internally all DNS messages are now written using the new DNS writing
functions [7]
o EDNS is now enabled by default [8]
o Internal cleanups in function prototypes [9]
Bug Fixes:
o Tools: STAYOPEN flag could make tools not terminate. [3]
o Socket callbacks were passed SOCK_STREAM instead of SOCK_DGRAM on udp. [4]
o Randomize retry penalties to prevent thundering herd issues when dns
servers throttle requests [1]
o Fix Windows build error for missing if_indextoname() [10]
Thanks go to these friendly people for their efforts and contributions:
Brad House (@bradh352)
Daniel Stenberg (@bagder)
Gregor Jasny (@gjasny)
(3 contributors)
Ignat (@Kontakter)
Jonas Kvinge (@jonaski)
(4 contributors)
References to bug reports and discussions on issues:
[1] = https://github.com/c-ares/c-ares/pull/565
[2] = https://github.com/c-ares/c-ares/pull/567
[3] = https://github.com/c-ares/c-ares/pull/569
[4] = https://github.com/c-ares/c-ares/commit/a070d78
[5] = https://github.com/c-ares/c-ares/pull/570
[6] = https://github.com/c-ares/c-ares/pull/568
[7] = https://github.com/c-ares/c-ares/pull/573
[8] = https://github.com/c-ares/c-ares/pull/579
[9] = https://github.com/c-ares/c-ares/pull/574
[10] = https://github.com/c-ares/c-ares/pull/581
[1] = https://github.com/c-ares/c-ares/pull/606
[2] = https://github.com/c-ares/c-ares/pull/614
[3] = https://github.com/c-ares/c-ares/pull/607
[4] = https://github.com/c-ares/c-ares/pull/604
[5] = https://github.com/c-ares/c-ares/pull/603
[6] = https://github.com/c-ares/c-ares/pull/600
[7] = https://github.com/c-ares/c-ares/pull/598
[8] = https://github.com/c-ares/c-ares/pull/596
[9] = https://github.com/c-ares/c-ares/pull/595
[10] = https://github.com/c-ares/c-ares/pull/594
[11] = https://github.com/c-ares/c-ares/pull/591

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

@ -79,6 +79,7 @@ Memory was exhausted.
.SH AVAILABILITY
Added in c-ares 1.10.0
.SH SEE ALSO
.BR ares_dns_record (3),
.BR ares_expand_name (3),
.BR ares_free_string (3),
.BR ares_mkquery (3)

@ -71,6 +71,7 @@ please see the
manual page.
.SH SEE ALSO
.BR ares_init_options (3),
.BR ares_reinit (3),
.BR ares_destroy (3),
.BR ares_dup (3),
.BR ares_library_init (3),

@ -309,6 +309,7 @@ the last occurrence wins. For more information, please see the
manual page.
.SH SEE ALSO
.BR ares_init (3),
.BR ares_reinit (3),
.BR ares_destroy (3),
.BR ares_dup (3),
.BR ares_library_init (3),

@ -84,6 +84,7 @@ characters.
Memory was exhausted.
.SH SEE ALSO
.BR ares_expand_name (3),
.BR ares_dns_record (3),
.BR ares_free_string (3)
.SH AUTHOR
Greg Hudson, MIT Information Systems

@ -147,7 +147,8 @@ will usually be 0, but in some cases an unsuccessful query result may
be placed in
.IR abuf .
.SH SEE ALSO
.BR ares_process (3)
.BR ares_process (3),
.BR ares_dns_record (3)
.SH AUTHOR
Greg Hudson, MIT Information Systems
.br

@ -119,7 +119,8 @@ status, so a callback status of
does not reflect as much about the response as for other query
functions.
.SH SEE ALSO
.BR ares_process (3)
.BR ares_process (3),
.BR ares_dns_record (3)
.SH AUTHOR
Greg Hudson, MIT Information Systems
.br

@ -154,7 +154,8 @@ typedef enum {
ARES_ECANCELLED = 24, /* introduced in 1.7.0 */
/* More ares_getaddrinfo error codes */
ARES_ESERVICE = 25 /* introduced in 1.?.0 */
ARES_ESERVICE = 25 /* ares_getaddrinfo() was passed a text service name that
* is not recognized. introduced in 1.16.0 */
} ares_status_t;
typedef enum {

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

Loading…
Cancel
Save