-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR-URL: #53416 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
- Loading branch information
1 parent
fe85e05
commit bf891bf
Showing
55 changed files
with
2,709 additions
and
25,185 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
Developer Notes | ||
=============== | ||
|
||
* The distributed `ares_build.h` in the official release tarballs is only | ||
intended to be used on systems which can also not run the also distributed | ||
`configure` or `CMake` scripts. It is generated as a copy of | ||
`ares_build.h.dist` as can be seen in the code repository. | ||
|
||
* If you check out from git on a non-`configure` or `CMake` platform, you must run | ||
the appropriate `buildconf*` script to set up `ares_build.h` and other local | ||
files before being able to compile the library. There are pre-made makefiles | ||
for a subset of such systems such as Watcom, NMake, and MinGW Makefiles. | ||
|
||
* On systems capable of running the `configure` or `CMake` scripts, the process | ||
will overwrite the distributed `ares_build.h` file with one that is suitable | ||
and specific to the library being configured and built, this new file is | ||
generated from the `ares_build.h.in` and `ares_build.h.cmake` template files. | ||
|
||
* If you intend to distribute an already compiled c-ares library you **MUST** | ||
also distribute along with it the generated `ares_build.h` which has been | ||
used to compile it. Otherwise, the library will be of no use for the users of | ||
the library that you have built. It is **your** responsibility to provide this | ||
file. No one at the c-ares project can know how you have built the library. | ||
The generated file includes platform and configuration dependent info, | ||
and must not be modified by anyone. | ||
|
||
* We support both the AutoTools `configure` based build system as well as the | ||
`CMake` build system. Any new code changes must work with both. | ||
|
||
* The files that get compiled and are present in the distribution are referenced | ||
in the `Makefile.inc` in the current directory. This file gets included in | ||
every build system supported by c-ares so that the list of files doesn't need | ||
to be maintained per build system. Don't forget to reference new header files | ||
otherwise they won't be included in the official release tarballs. | ||
|
||
* We cannot assume anything else but very basic C89 compiler features being | ||
present. The lone exception is the requirement for 64bit integers which is | ||
not a requirement for C89 compilers to support. Please do not use any extended | ||
features released by later standards. | ||
|
||
* Newlines must remain unix-style for older compilers' sake. | ||
|
||
* Comments must be written in the old-style `/* unnested C-fashion */` | ||
|
||
* Try to keep line lengths below 80 columns and formatted as the existing code. | ||
There is a `.clang-format` in the repository that can be used to run the | ||
automated code formatter as such: `clang-format -i */*.c */*.h */*/*.c */*/*.h` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.