1.29.0 release prep (#762)

pull/765/head cares-1_29_0
Brad House 6 months ago committed by GitHub
parent 65e3fb4e09
commit bf4c5fd223
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      CMakeLists.txt
  2. 59
      RELEASE-NOTES.md
  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.28.1" ) PROJECT (c-ares LANGUAGES C VERSION "1.29.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 "15:1:13") SET (CARES_LIB_VERSIONINFO "16:0:14")
OPTION (CARES_STATIC "Build as a static library" OFF) OPTION (CARES_STATIC "Build as a static library" OFF)

@ -1,49 +1,42 @@
## c-ares version 1.28.1 - Mar 30 2024 ## c-ares version 1.29.0 - May 24 2024
This release contains a fix for a single significant regression introduced
in c-ares 1.28.0.
* `ares_search()` and `ares_getaddrinfo()` resolution fails if no search domains
are specified. [Issue #737](https://github.com/c-ares/c-ares/issues/737)
## c-ares version 1.28.0 - Mar 29 2024
This is a feature and bugfix release. This is a feature and bugfix release.
Features: Features:
* Emit warnings when deprecated c-ares functions are used. This can be * When using `ARES_OPT_EVENT_THREAD`, automatically reload system configuration
disabled by passing a compiler definition of `CARES_NO_DEPRECATED`. [PR #732](https://github.com/c-ares/c-ares/pull/732) when network conditions change. [PR #759](https://github.com/c-ares/c-ares/pull/759)
* Add function `ares_search_dnsrec()` to search for records using the new DNS * Apple: reimplement DNS configuration reading to more accurately pull DNS
record data structures. [PR #719](https://github.com/c-ares/c-ares/pull/719) settings. [PR #750](https://github.com/c-ares/c-ares/pull/750)
* Rework internals to pass around `ares_dns_record_t` instead of binary data, * Add observability into DNS server health via a server state callback, invoked
this introduces new public functions of `ares_query_dnsrec()` and whenever a query finishes. [PR #744](https://github.com/c-ares/c-ares/pull/744)
`ares_send_dnsrec()`. [PR #730](https://github.com/c-ares/c-ares/pull/730) * Add server failover retry behavior, where failed servers are retried with
small probability after a minimum delay. [PR #731](https://github.com/c-ares/c-ares/pull/731)
Changes: Changes:
* tests: when performing simulated queries, reduce timeouts to make tests run * Mark `ares_channel_t *` as const in more places in the public API. [PR #758](https://github.com/c-ares/c-ares/pull/758)
faster
* Replace configuration file parsers with memory-safe parser. [PR #725](https://github.com/c-ares/c-ares/pull/725)
* Remove `acountry` completely, the manpage might still get installed otherwise. [Issue #718](https://github.com/c-ares/c-ares/pull/718)
Bugfixes: Bugfixes:
* CMake: don't overwrite global required libraries/definitions/includes which * Due to a logic flaw dns name compression writing was not properly implemented
could cause build errors for projects chain building c-ares. [Issue #729](https://github.com/c-ares/c-ares/issues/729) which would result in the name prefix not being written for a partial match.
* On some platforms, `netinet6/in6.h` is not included by `netinet/in.h` This could cause issues in various record types such as MX records when using
and needs to be included separately. [PR #728](https://github.com/c-ares/c-ares/pull/728) the deprecated API. Regression introduced in 1.28.0. [Issue #757](https://github.com/c-ares/c-ares/issues/757)
* Fix a potential memory leak in `ares_init()`. [Issue #724](https://github.com/c-ares/c-ares/issues/724) * Revert OpenBSD `SOCK_DNS` flag, it doesn't do what the docs say it does and
* Some platforms don't have the `isascii()` function. Implement as a macro. [PR #721](https://github.com/c-ares/c-ares/pull/721) causes c-ares to become non-functional. [PR #754](https://github.com/c-ares/c-ares/pull/754)
* CMake: Fix Chain building if CMAKE runtime paths not set * `ares_getnameinfo()`: loosen validation on `salen` parameter. [Issue #752](https://github.com/c-ares/c-ares/issues/752)
* NDots configuration should allow a value of zero. [PR #735](https://github.com/c-ares/c-ares/pull/735) * cmake: Android requires C99. [PR #748](https://github.com/c-ares/c-ares/pull/748)
* `ares_queue_wait_empty()` does not honor timeout_ms >= 0. [Issue #742](https://github.com/c-ares/c-ares/pull/742)
Thanks go to these friendly people for their efforts and contributions for this release: Thanks go to these friendly people for their efforts and contributions for this
release:
* Brad House (@bradh352) * Brad House (@bradh352)
* Cristian Rodríguez (@crrodriguez)
* Daniel Stenberg (@bagder) * Daniel Stenberg (@bagder)
* Faraz (@farazrbx) * David Hotham (@dimbleby)
* Faraz Fallahi (@fffaraz) * Jiwoo Park (@jimmy-park)
* Oliver Welsh (@oliverwelsh) * Oliver Welsh (@oliverwelsh)
* Volker Schlecht (@VlkrS)

@ -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.28.1], AC_INIT([c-ares], [1.29.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="15:1:13" CARES_VERSION_INFO="16:0:14"
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.

@ -31,12 +31,12 @@
#define ARES_COPYRIGHT "2004 - 2024 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 28 #define ARES_VERSION_MINOR 29
#define ARES_VERSION_PATCH 1 #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.28.1" #define ARES_VERSION_STR "1.29.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