From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: location@lists.ipfire.org Subject: Release Announcement: libloc 0.9.9 Date: Mon, 22 Nov 2021 11:13:25 +0000 Message-ID: <2BD194D5-0A5C-43E1-B165-DE0A6665AD4C@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2317780260610803609==" List-Id: --===============2317780260610803609== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This is the announcement for release of libloc 0.9.9. This release comes with some feature enhancements and various bug fixes. https://git.ipfire.org/?p=3Dlocation/libloc.git;a=3Dshortlog;h=3Drefs/tags/= 0.9.9 https://source.ipfire.org/releases/libloc/libloc-0.9.9.tar.gz API Changes: * loc_country_special_code_to_flag has been added and will translate any spec= ial country codes (A1, A2, =E2=80=A6) into flags if such flags are available. * loc_network_matches_country_code can now handle any special country codes. = This is useful when people want to use special country codes (A1, =E2=80=A6) = and the library will automatically perform a check for the flag. This is usef= ul when integrating libloc into other applications and we add more special co= untry codes which the application no longer needs to be aware of. * loc_database_lookup takes the address as a constified argument * loc_network_match_address/country_code have been renamed to loc_network_mat= ches_address/country code (match -> matches). * loc_network_match_flag has been dropped. Use loc_network_has_flag. * All string pool and network tree functions have been made private. There is= no need to export them. Importer: * We now import a feed from JPNIC. * We import Spamhaus DROP and mark such networks/ASes with the DROP flag (or = XD). Performance improvements: * The entire library is now being build with -fno-semantic-interposition if t= he compiler supports it. This prevents users from overlaying any functions, but allows the compiler to= inline more functions which will increase performance of all database operat= ions potentially at the cost of a slightly larger size. Misc. * A statically linked version of the database is being generated in order to = test internal functions in the test suite. * All country codes beginning with X are now considered invalid. X is reserve= d for custom country codes and therefore not recognised any more. --===============2317780260610803609==--