1.28.0 release prep (#733)

pull/735/head
Brad House 8 months ago committed by GitHub
parent 4d8f53880b
commit 8e421bebf8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      CMakeLists.txt
  2. 45
      RELEASE-NOTES.md
  3. 4
      configure.ac
  4. 4
      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.27.0" ) PROJECT (c-ares LANGUAGES C VERSION "1.28.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 "14:0:12") SET (CARES_LIB_VERSIONINFO "15:0:13")
OPTION (CARES_STATIC "Build as a static library" OFF) OPTION (CARES_STATIC "Build as a static library" OFF)

@ -1,40 +1,39 @@
## c-ares version 1.27.0 - Feb 23 2024 ## c-ares version 1.28.0 - Mar 29 2024
This is a security, feature, and bugfix release. This is a feature and bugfix release.
Security:
* Moderate. CVE-2024-25629. Reading malformatted `/etc/resolv.conf`,
`/etc/nsswitch.conf` or the `HOSTALIASES` file could result in a crash.
[GHSA-mg26-v6qh-x48q](https://github.com/c-ares/c-ares/security/advisories/GHSA-mg26-v6qh-x48q)
Features: Features:
* New function `ares_queue_active_queries()` to retrieve number of in-flight * Emit warnings when deprecated c-ares functions are used. This can be
queries. [PR #712](https://github.com/c-ares/c-ares/pull/712) disabled by passing a compiler definition of `CARES_NO_DEPRECATED`. [PR #732](https://github.com/c-ares/c-ares/pull/732)
* New function `ares_queue_wait_empty()` to wait for the number of in-flight * Add function `ares_search_dnrec()`` to search for records using the new DNS
queries to reach zero. [PR #710](https://github.com/c-ares/c-ares/pull/710) record data structures. [PR #719](https://github.com/c-ares/c-ares/pull/719)
* New `ARES_FLAG_NO_DEFLT_SVR` for `ares_init_options()` to return a failure if * Rework internals to pass around `ares_dns_record_t` instead of binary data,
no DNS servers can be found rather than attempting to use `127.0.0.1`. This this introduces new public functions of `ares_query_dnsrec()` and
also introduces a new ares status code of `ARES_ENOSERVER`. [PR #713](https://github.com/c-ares/c-ares/pull/713) `ares_send_dnsrec()`. [PR #730](https://github.com/c-ares/c-ares/pull/730)
Changes: Changes:
* EDNS Packet size should be 1232 as per DNS Flag Day. [PR #705](https://github.com/c-ares/c-ares/pull/705) * tests: when performing simulated queries, reduce timeouts to make tests run
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:
* Windows DNS suffix search list memory leak. [PR #711](https://github.com/c-ares/c-ares/pull/711) * CMake: don't overwrite global required libraries/definitions/includes which
* Fix warning due to ignoring return code of `write()`. [PR #709](https://github.com/c-ares/c-ares/pull/709) could cause build errors for projects chain building c-ares. [Issue #729](https://github.com/c-ares/c-ares/issues/729)
* CMake: don't override target output locations if not top-level. [Issue #708](https://github.com/c-ares/c-ares/issues/708) * On some platforms, `netinet6/in6.h` is not included by `netinet/in.h`
* Fix building c-ares without thread support. [PR #700](https://github.com/c-ares/c-ares/pull/700) and needs to be included separately. [PR #728](https://github.com/c-ares/c-ares/pull/728)
* Fix a potential memory leak in `ares_init()`. [Issue #724](https://github.com/c-ares/c-ares/issues/724)
* Some platforms don't have the `isascii()` function. Implement as a macro. [PR #721](https://github.com/c-ares/c-ares/pull/721)
* CMake: Fix Chain building if CMAKE runtime paths not set
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:
* Anthony Alayo (@anthonyalayo)
* Brad House (@bradh352) * Brad House (@bradh352)
* Cheng Zhao (@zcbenz)
* Cristian Rodríguez (@crrodriguez) * Cristian Rodríguez (@crrodriguez)
* Daniel Stenberg (@bagder) * Daniel Stenberg (@bagder)
* Faraz (@farazrbx)
* Faraz Fallahi (@fffaraz)
* Oliver Welsh (@oliverwelsh) * Oliver Welsh (@oliverwelsh)
* Vojtěch Vobr (@vojtechvobr)

@ -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.27.0], AC_INIT([c-ares], [1.28.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="14:0:12" CARES_VERSION_INFO="15:0:13"
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 27 #define ARES_VERSION_MINOR 28
#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.27.0" #define ARES_VERSION_STR "1.28.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