chiark / gitweb /
src/types.c: Do not crash when one of several addr subqueries fails
[adns.git] / NEWS
1 Changes in adns 1.5.0, since adns 1.4, are:
2
3  New features:
4
5  * This release provides full IPv6 support.  Applications can request
6    AAAA records (containing IPv6 addresses) as well as, or instead of,
7    A records (containing IPv4 addresses).  adns 1.5 can speak to
8    nameservers over IPv6.
9
10  * adns_addr2text and adns_text2addr: Convenient C functions for
11    converting between addresses and address literals.  These carry
12    less baggage than getaddrinfo and getnameinfo.
13
14  Bugfixes:
15
16  * We fix a crashing bug in adnslogres.  (Debian#392102.)
17
18  * Previously, parsing of some adns_specific options in resolv.conf
19    would go awry if multiple options were specified on the same line.
20    (Fixed since 1.5.0~rc0.)
21
22  * adns now knows to ignore more things in resolv.conf, rather than
23    warn about them, and there's also an option to disable all of these
24    warnings.  (Debian#411263.)  (Fixed since 1.5.0~rc0.)
25
26  * Previously, some harmless but wrong owner names for checked ptr
27    queries would be accepted; now they are rejected with `Domain
28    invalid for particular DNS query type'.
29
30  Other:
31
32  * There are some minor API/ABI changes and improvements, for future
33    proofing.
34
35  * There are also some build system, test suite and coding style
36    improvements.
37
38  * Licence is now GPLv3+.
39
40 Compatibility:
41
42   adns 1.5 is fully forwards API- and ABI-compatible with 1.4.
43
44   adns 1.5 is not backwards ABI-compatible, in the sense that
45   applications built against adns 1.5 but run with adns 1.4 may
46   experience `Function not implemented' errors, or `symbol lookup
47   error' due to undefined symbols.  But applications built against 1.4
48   will not experience data corruption due to ABI mismatches.
49
50   adns_r_addr queries (general `address' queries where the application
51   does not specify the kind of address) used to only return AF_INET
52   (IPv4) addresses.  To avoid surprising existing applications,
53   AF_INET6 (IPv6) addresses will be returned only if the application
54   explicitly states its support for handling a mixture of address
55   families in the results from adns_r_addr.  In a future version of
56   adns this will become the default.
57
58   adnshost and the other command-line utilities are fully forward- and
59   backward-compatible, except that in adns 1.5, adnshost will return
60   IPv6 as well as IPv4 information if simply asked for `addresses'.
61   Calling programs which did not ask for a specific address type ought
62   to cope with this.
63
64   The API in 1.5.0 also fixes a technical nonconformance to the C
65   specification.  On platforms where an `enum' type might be an
66   integer type whose size is bits is not a power of two, there could
67   be an incompatible ABI change between 1.4 and 1.5 - but we don't
68   think there are many (if any) such platforms which are sufficiently
69   POSIX-like for adns.   (Changed since 1.5.0~rc0.)
70