Releases: sjzar/ips
Releases · sjzar/ips
v0.2.3
v0.2.1
v0.2.0
重要:本次更新引入了破坏性变更。
- 代码重构:
- 采纳了 Organizing a Go module 推荐的目录结构。
- 对外暴露了
format
和ipnet
两个包,可作为独立库使用。 - 为数据库引入了
Reader
和Writer
接口,为未来支持新的数据库类型做好准备。 - 将数据库转存(扫描)后的文本文件视为一种 IP 数据库格式,命名为
plain
。 - 抽象了操作功能;原始的字段选择器和内容改写现在是操作功能,可以组合进行多种操作。
- 术语更改:
- 将
Scan
更名为Dump
。
- 将
- 新增功能:
- 新增了对
mmdb
数据库格式的写入能力。
- 新增了对
- 命令调整:
- 移除了
update
命令,新增了download
命令。
- 移除了
- 配置变更:
- 默认工作目录设置为
<os.UserHomeDir>/.ips
。可以通过环境变量修改工作目录。
- 默认工作目录设置为
- 可用性提升:
- 优化了用户的开箱即用体验。
IMPORTANT: This update introduces breaking changes.
- Code Refactoring:
- Adopted the directory structure recommended by Organizing a Go module.
- Exposed
format
andipnet
packages for external use as libraries. - Introduced the
Reader
andWriter
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
toDump
.
- Renamed
- New Features:
- Added writing capability for
mmdb
database format.
- Added writing capability for
- Command Adjustments:
- Removed the
update
command and introduced thedownload
command.
- Removed the
- Configuration Changes:
- Set the default working directory to
<os.UserHomeDir>/.ips
. The working directory can be modified using environment variables.
- Set the default working directory to
- Usability Improvements:
- Enhanced the out-of-the-box experience for users.
What's Changed
Full Changelog: v0.1.5...v0.2.0
v0.1.5
v0.1.4
v0.1.3
v0.1.2
Full Changelog: v0.1.1...v0.1.2
v0.1.1
Full Changelog: v0.1.0...v0.1.1
v0.1.0
Full Changelog: v0.0.1-draft...v0.1.0
v0.0.1-draft
Full Changelog: https://github.com/sjzar/ips/commits/v0.0.1-draft