Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion docs/about/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.0] - 2026-10-23

### Added
- 📄 HIF (Hypergraph Interchange Format) support: `to_hif()`, `save_as_hif()`, `from_hif()`, `load_from_hif()` (#9)
- 🛠️ Web admin console `hg.admin()` for browsing, searching and editing vertices and hyperedges, with an overview of statistics (#12)
- 🎨 New viewer built on [hypergraph-viz](https://www.npmjs.com/package/hypergraph-viz): hypergraph layout that keeps hyperedge members together, contours around nodes only, labels without overlap, click to highlight a hyperedge, Chinese / English UI (#13)

### Changed
- 📦 The viewer and the admin console load hypergraph-viz and G6 from a CDN; the bundled `g6.min.js` is removed (#13)

### Fixed
- 🐛 `draw()` showed no graph or "Vertex not found" errors when vertex IDs are not strings, e.g. `int` (#10, #11)
- 🔧 Vertices with degree > 50 are no longer pushed to the end of the vertex list (#13)

## [0.3.0] - 2025-10-14

### Added
Expand Down Expand Up @@ -108,7 +122,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- 🔍 `nbr_e_of_v()` - Query adjacent hyperedges of hypervertex
- 🎨 `draw()` - Visualize hypergraph

[Unreleased]: https://github.com/iMoonLab/Hypergraph-DB/compare/v0.3.0...HEAD
[Unreleased]: https://github.com/iMoonLab/Hypergraph-DB/compare/v0.4.0...HEAD
[0.4.0]: https://github.com/iMoonLab/Hypergraph-DB/compare/v0.3.0...v0.4.0
[0.3.0]: https://github.com/iMoonLab/Hypergraph-DB/compare/v0.2.0...v0.3.0
[0.2.0]: https://github.com/iMoonLab/Hypergraph-DB/compare/v0.1.2...v0.2.0
[0.1.2]: https://github.com/iMoonLab/Hypergraph-DB/compare/v0.1.1...v0.1.2
Expand Down
14 changes: 14 additions & 0 deletions docs/about/changelog.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@ Hypergraph-DB 项目的所有重要变更都记录在此文件中。
格式基于 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.0.0/),
并且本项目遵循 [语义化版本控制](https://semver.org/lang/zh-CN/)。

## [0.4.0] - 2026-10-23

### 新增
- 📄 支持 HIF(Hypergraph Interchange Format):`to_hif()`、`save_as_hif()`、`from_hif()`、`load_from_hif()`(#9)
- 🛠️ Web 管理后台 `hg.admin()`:浏览、搜索、编辑顶点和超边,并提供统计概览(#12)
- 🎨 基于 [hypergraph-viz](https://www.npmjs.com/package/hypergraph-viz) 的新查看器:同一超边的成员聚在一起的超图布局、轮廓只圈节点、标签互不遮挡、点击高亮超边、中英文界面(#13)

### 改进
- 📦 查看器和管理后台从 CDN 加载 hypergraph-viz 与 G6,移除内置的 `g6.min.js`(#13)

### 修复
- 🐛 顶点 ID 不是字符串(如 `int`)时 `draw()` 不显示图或报 "Vertex not found"(#10、#11)
- 🔧 度数大于 50 的顶点不再被排到顶点列表末尾(#13)

## [0.3.0] - 2025-10-14

### 新增
Expand Down
2 changes: 1 addition & 1 deletion hyperdb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
from .base import BaseHypergraphDB # noqa: F401
from .hypergraph import HypergraphDB # noqa: F401

__version__ = "0.4.0-dev"
__version__ = "0.4.0"

__all__ = ["AUTHOR_EMAIL", "BaseHypergraphDB", "HypergraphDB"]
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "hypergraph-db"
version = "0.4.0-dev"
version = "0.4.0"
description = "A Lightweight Hypergraph Database with hypergraph visualization."
authors = [
{name = "Yifan Feng", email = "evanfeng97@qq.com"}
Expand Down
Loading