From 91fa52c41ed44f6bd0b54d7aca1ae48c1d422f5b Mon Sep 17 00:00:00 2001 From: Brad House Date: Thu, 6 Jun 2024 08:08:47 -0400 Subject: [PATCH] 1.30.0 release prep (#774) --- CMakeLists.txt | 4 ++-- RELEASE-NOTES.md | 39 +++++++++++++++------------------------ configure.ac | 4 ++-- include/ares_version.h | 4 ++-- 4 files changed, 21 insertions(+), 30 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ca42e79..467c55ce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ INCLUDE (CheckCSourceCompiles) INCLUDE (CheckStructHasMember) INCLUDE (CheckLibraryExists) -PROJECT (c-ares LANGUAGES C VERSION "1.29.0" ) +PROJECT (c-ares LANGUAGES C VERSION "1.30.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 "16:0:14") +SET (CARES_LIB_VERSIONINFO "17:0:15") OPTION (CARES_STATIC "Build as a static library" OFF) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 2d44f37d..7d30a3d4 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,42 +1,33 @@ -## c-ares version 1.29.0 - May 24 2024 +## c-ares version 1.30.0 - June 7 2024 -This is a feature and bugfix release. +This is a maintenance and bugfix release. Features: -* When using `ARES_OPT_EVENT_THREAD`, automatically reload system configuration - when network conditions change. [PR #759](https://github.com/c-ares/c-ares/pull/759) -* Apple: reimplement DNS configuration reading to more accurately pull DNS - settings. [PR #750](https://github.com/c-ares/c-ares/pull/750) -* Add observability into DNS server health via a server state callback, invoked - whenever a query finishes. [PR #744](https://github.com/c-ares/c-ares/pull/744) -* 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) +* Basic support for SIG RR record (RFC 2931 / RFC 2535) [PR #773](https://github.com/c-ares/c-ares/pull/773) Changes: -* Mark `ares_channel_t *` as const in more places in the public API. [PR #758](https://github.com/c-ares/c-ares/pull/758) +* Validation that DNS strings can only consist of printable ascii characters + otherwise will trigger a parse failure. + [75de16c](https://github.com/c-ares/c-ares/commit/75de16c) and + [40fb125](https://github.com/c-ares/c-ares/commit/40fb125) +* Windows: use `GetTickCount64()` for a monotonic timer that does not wrap. [1dff8f6](https://github.com/c-ares/c-ares/commit/1dff8f6) Bugfixes: -* Due to a logic flaw dns name compression writing was not properly implemented - which would result in the name prefix not being written for a partial match. - This could cause issues in various record types such as MX records when using - the deprecated API. Regression introduced in 1.28.0. [Issue #757](https://github.com/c-ares/c-ares/issues/757) -* Revert OpenBSD `SOCK_DNS` flag, it doesn't do what the docs say it does and - causes c-ares to become non-functional. [PR #754](https://github.com/c-ares/c-ares/pull/754) -* `ares_getnameinfo()`: loosen validation on `salen` parameter. [Issue #752](https://github.com/c-ares/c-ares/issues/752) -* 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) +* QueryCache: Fix issue where purging on server changes wasn't working. [a6c8fe6](https://github.com/c-ares/c-ares/commit/a6c8fe6) +* Windows: Fix Y2K38 issue by creating our own `ares_timeval_t` datatype. [PR #772](https://github.com/c-ares/c-ares/pull/772) +* Fix packaging issue affecting MacOS due to a missing header. [55afad6](https://github.com/c-ares/c-ares/commit/55afad6) +* MacOS: Fix UBSAN warnings that are likely meaningless due to alignment issues + in new MacOS config reader. +* Android: arm 32bit build failure due to missing symbol. [d1722e6](https://github.com/c-ares/c-ares/commit/d1722e6) Thanks go to these friendly people for their efforts and contributions for this release: * Brad House (@bradh352) * Daniel Stenberg (@bagder) -* David Hotham (@dimbleby) -* Jiwoo Park (@jimmy-park) -* Oliver Welsh (@oliverwelsh) -* Volker Schlecht (@VlkrS) + diff --git a/configure.ac b/configure.ac index 35d048d5..0e8dd474 100644 --- a/configure.ac +++ b/configure.ac @@ -2,10 +2,10 @@ dnl Copyright (C) The c-ares project and its contributors dnl SPDX-License-Identifier: MIT AC_PREREQ([2.69]) -AC_INIT([c-ares], [1.29.0], +AC_INIT([c-ares], [1.30.0], [c-ares mailing list: http://lists.haxx.se/listinfo/c-ares]) -CARES_VERSION_INFO="16:0:14" +CARES_VERSION_INFO="17:0:15" 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. diff --git a/include/ares_version.h b/include/ares_version.h index 75489c1f..e791568e 100644 --- a/include/ares_version.h +++ b/include/ares_version.h @@ -31,12 +31,12 @@ #define ARES_COPYRIGHT "2004 - 2024 Daniel Stenberg, ." #define ARES_VERSION_MAJOR 1 -#define ARES_VERSION_MINOR 29 +#define ARES_VERSION_MINOR 30 #define ARES_VERSION_PATCH 0 #define ARES_VERSION \ ((ARES_VERSION_MAJOR << 16) | (ARES_VERSION_MINOR << 8) | \ (ARES_VERSION_PATCH)) -#define ARES_VERSION_STR "1.29.0" +#define ARES_VERSION_STR "1.30.0" #if (ARES_VERSION >= 0x010700) # define CARES_HAVE_ARES_LIBRARY_INIT 1