Releases: davidchall/ipaddress
ipaddress 1.0.3
Fix for testthat deprecation warnings.
ipaddress 1.0.2
Fix for CRAN checks.
ipaddress 1.0.1
Fix for CRAN checks.
ipaddress 1.0.0
To mark the release of ipaddress 1.0.0, some breaking changes were made to improve the interface for data analysis.
Breaking changes
- Removed the
multipleargument fromip_to_hostname()andhostname_to_ip()(#83).ip_to_hostname()andhostname_to_ip()now always return one result per input (stored in a vector).- New
ip_to_hostname_all()andhostname_to_ip_all()return all results per input (stored in a list of vectors).
subnets()now takes vector input and outputs a list of vectors (#83).- Some arguments must now be explicitly passed using the argument name:
- The
strictargument ofip_network(). - The
explodedargument offormat.ip_address(),format.ip_network()andformat.ip_interface(). - The
replaceargument ofsample_ipv4(),sample_ipv6()andsample_network().
- The
New features
- New
country_networks()downloads IP networks registered to specific countries (#87). - Error formatting has been improved using {cli} (#86).
Minor improvements and fixes
- The
is_ipv6argument ofnetmask()andhostmask()defaults toNULL. This option prefers an IPv4 mask, but creates an IPv6 mask as a fallback. - Renamed
vignette("ipaddress-classes")tovignette("ip-data"). - Renamed
vignette("ipaddress-examples")tovignette("recipes"). - Updated the
iana_ipv4dataset. - Tests now use {testthat} 3e.
ipaddress 0.5.6
Resolve CRAN check warnings about deprecated use of C++ function sprintf().
ipaddress 0.5.5
Resolve CRAN check notes about HTML5 by upgrading to latest {roxygen}.
ipaddress 0.5.4
Compatible with new compiler toolchain on Windows for R 4.2 (see announcement).
ipaddress 0.5.3
Hotfix for CRAN check warnings.
ipaddress 0.5.2
-
The
baseargument ofip_to_integer()is removed.base = "dec"is still handled byip_to_integer().base = "bin"is still handled by the existingip_to_binary()function.base = "hex"is now handled by the newip_to_hex()function.
-
ip_to_integer()andinteger_to_ip()now usebignum::biginteger()vectors to store IP addresses as integers. Previously, these integers were stored in a character vector (because they were beyond the range of base R numeric types).- The BH package is no longer a dependency (C++ Boost headers were a heavy dependency).
- The bignum package is now an optional dependency.
-
New
ip_to_hex()andhex_to_ip()functions to encode and decode addresses as hexadecimal strings.
ipaddress 0.5.1
- Addition/subtraction of large integers is now much faster (#64)
ip_to_bytes()now returns a list of raw vectors instead of ablobobject (#65)- Result can still be converted using
blob::as_blob() - Removes excessive blob package dependency
- Result can still be converted using
- Refactored C++ code to reduce dependence on Asio library (#64)
- Package developers can now use
LinkingTo: ipaddresswithoutLinkingTo: AsioHeaders
- Package developers can now use