Skip to content

Commit be22d53

Browse files
committed
chore: bump version to 0.3.0 and update changelog
- Update version number in pyproject.toml and __init__.py - Add comprehensive changelog entries for v0.3.0 release - Document visualization enhancements, type system improvements, and CI/CD updates - Include both English and Chinese changelog updates
1 parent ce22a16 commit be22d53

File tree

4 files changed

+60
-5
lines changed

4 files changed

+60
-5
lines changed

docs/about/changelog.md

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,33 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.3.0] - 2025-10-14
9+
10+
### Added
11+
- 🎨 Enhanced hypergraph viewer with improved visual interactions and hover effects
12+
- 🔍 Dynamic attribute display for vertices and hyperedges in the viewer
13+
- 📊 Key-value information display enhancement in visualization
14+
- 🎯 Support for normal edges in 2-node entries with cluster assignment based on hyperedges
15+
- 🌐 API endpoints for hypergraph data retrieval and dynamic data loading
16+
- 📦 Added uv.lock to version control for reproducible builds
17+
18+
### Changed
19+
- 🔧 **Major Type System Improvements**: Enhanced type annotations and fixed Liskov Substitution Principle violations
20+
- ⚡ Improved method signatures and return types across base and derived classes
21+
- 🎨 Refactored hypergraph viewer with better color mapping and tooltip display
22+
- 🛠️ Enhanced CI/CD pipeline with updated release workflow and quality checks
23+
- 📝 Updated load() and save() methods to return bool for better API consistency
24+
- 🎛️ Improved vertex sorting logic and layout optimization in viewer
25+
- 🔍 Better hover interactions and custom G6 library integration
26+
27+
### Fixed
28+
- 🐛 Fixed mypy type errors and method signature mismatches
29+
- 🔧 Corrected spelling of "Hypergraph" in viewer component
30+
- 📖 Updated documentation for hypergraph visualization
31+
- 🎯 Fixed return types for methods that should return List but were returning Set
32+
- 💾 Improved dictionary type annotations to support various key types
33+
- 🎨 Enhanced draw_hypergraph() function compatibility with BaseHypergraphDB
34+
835
## [0.2.0] - 2025-09-09
936

1037
### Added
@@ -81,8 +108,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
81108
- 🔍 `nbr_e_of_v()` - Query adjacent hyperedges of hypervertex
82109
- 🎨 `draw()` - Visualize hypergraph
83110

84-
[Unreleased]: https://github.com/iMoonLab/Hypergraph-DB/compare/v0.1.3...HEAD
85-
[0.1.3]: https://github.com/iMoonLab/Hypergraph-DB/compare/v0.1.3...v0.1.3
86-
[0.1.2]: https://github.com/iMoonLab/Hypergraph-DB/compare/v0.1.0...v0.1.2
111+
[Unreleased]: https://github.com/iMoonLab/Hypergraph-DB/compare/v0.3.0...HEAD
112+
[0.3.0]: https://github.com/iMoonLab/Hypergraph-DB/compare/v0.2.0...v0.3.0
113+
[0.2.0]: https://github.com/iMoonLab/Hypergraph-DB/compare/v0.1.2...v0.2.0
114+
[0.1.2]: https://github.com/iMoonLab/Hypergraph-DB/compare/v0.1.1...v0.1.2
87115
[0.1.1]: https://github.com/iMoonLab/Hypergraph-DB/compare/v0.1.0...v0.1.1
88116
[0.1.0]: https://github.com/iMoonLab/Hypergraph-DB/releases/tag/v0.1.0

docs/about/changelog.zh.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,33 @@ Hypergraph-DB 项目的所有重要变更都记录在此文件中。
55
格式基于 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.0.0/)
66
并且本项目遵循 [语义化版本控制](https://semver.org/lang/zh-CN/)
77

8+
## [0.3.0] - 2025-10-14
9+
10+
### 新增
11+
- 🎨 增强超图查看器的可视化交互和悬停效果
12+
- 🔍 在查看器中为顶点和超边添加动态属性显示
13+
- 📊 可视化中键值信息显示的增强
14+
- 🎯 支持2节点条目的普通边,并基于超边进行集群分配
15+
- 🌐 超图数据检索的API端点和动态数据加载
16+
- 📦 将uv.lock添加到版本控制以确保可重现构建
17+
18+
### 改进
19+
- 🔧 **主要类型系统改进**:增强类型注解并修复里氏替换原则违反问题
20+
- ⚡ 改进基类和派生类的方法签名和返回类型
21+
- 🎨 重构超图查看器,改进颜色映射和工具提示显示
22+
- 🛠️ 增强CI/CD流水线,更新发布工作流和质量检查
23+
- 📝 更新load()和save()方法返回bool类型以提高API一致性
24+
- 🎛️ 改进顶点排序逻辑和查看器布局优化
25+
- 🔍 更好的悬停交互和自定义G6库集成
26+
27+
### 修复
28+
- 🐛 修复mypy类型错误和方法签名不匹配
29+
- 🔧 纠正查看器组件中"Hypergraph"的拼写
30+
- 📖 更新超图可视化文档
31+
- 🎯 修复应返回List但返回Set的方法的返回类型
32+
- 💾 改进字典类型注解以支持各种键类型
33+
- 🎨 增强draw_hypergraph()函数与BaseHypergraphDB的兼容性
34+
835
## [0.2.0] - 2025-09-09
936

1037
### 新增

hyperdb/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
from .base import BaseHypergraphDB # noqa: F401
33
from .hypergraph import HypergraphDB # noqa: F401
44

5-
__version__ = "0.2.0"
5+
__version__ = "0.3.0"
66

77
__all__ = ["AUTHOR_EMAIL", "BaseHypergraphDB", "HypergraphDB"]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "hypergraph-db"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
description = "A Lightweight Hypergraph Database with hypergraph visualization."
55
authors = [
66
{name = "Yifan Feng", email = "[email protected]"}

0 commit comments

Comments
 (0)