Exposed format and ipnet packages for external use as libraries.
Introduced the Reader and Writer interfaces for databases, facilitating support for new database types in the future.
Treated the dumping (scanning) files as a type of IP database format, named plain.
Abstracted operational functionalities; the original field selector and content rewriting are now operational features that can be combined for multiple operations.
Terminology Changes:
Renamed Scan to Dump.
New Features:
Added writing capability for mmdb database format.
Command Adjustments:
Removed the update command and introduced the download command.
Configuration Changes:
Set the default working directory to <os.UserHomeDir>/.ips. The working directory can be modified using environment variables.
重要:本次更新引入了破坏性变更。
format
和ipnet
两个包,可作为独立库使用。Reader
和Writer
接口,为未来支持新的数据库类型做好准备。plain
。Scan
更名为Dump
。mmdb
数据库格式的写入能力。update
命令,新增了download
命令。<os.UserHomeDir>/.ips
。可以通过环境变量修改工作目录。IMPORTANT: This update introduces breaking changes.
format
andipnet
packages for external use as libraries.Reader
andWriter
interfaces for databases, facilitating support for new database types in the future.plain
.Scan
toDump
.mmdb
database format.update
command and introduced thedownload
command.<os.UserHomeDir>/.ips
. The working directory can be modified using environment variables.