Skip to content

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.3.0 - 2025-10-14

Added

  • 🎨 Enhanced hypergraph viewer with improved visual interactions and hover effects
  • πŸ” Dynamic attribute display for vertices and hyperedges in the viewer
  • πŸ“Š Key-value information display enhancement in visualization
  • 🎯 Support for normal edges in 2-node entries with cluster assignment based on hyperedges
  • 🌐 API endpoints for hypergraph data retrieval and dynamic data loading
  • πŸ“¦ Added uv.lock to version control for reproducible builds

Changed

  • πŸ”§ Major Type System Improvements: Enhanced type annotations and fixed Liskov Substitution Principle violations
  • ⚑ Improved method signatures and return types across base and derived classes
  • 🎨 Refactored hypergraph viewer with better color mapping and tooltip display
  • πŸ› οΈ Enhanced CI/CD pipeline with updated release workflow and quality checks
  • πŸ“ Updated load() and save() methods to return bool for better API consistency
  • πŸŽ›οΈ Improved vertex sorting logic and layout optimization in viewer
  • πŸ” Better hover interactions and custom G6 library integration

Fixed

  • πŸ› Fixed mypy type errors and method signature mismatches
  • πŸ”§ Corrected spelling of "Hypergraph" in viewer component
  • πŸ“– Updated documentation for hypergraph visualization
  • 🎯 Fixed return types for methods that should return List but were returning Set
  • πŸ’Ύ Improved dictionary type annotations to support various key types
  • 🎨 Enhanced draw_hypergraph() function compatibility with BaseHypergraphDB

0.2.0 - 2025-09-09

Added

  • πŸ“– Chinese documentation support
  • 🌐 Internationalization (i18n) configuration
  • πŸ“š Comprehensive API documentation
  • 🎨 Improved visualization interface
  • Migrated documentation from Sphinx to MkDocs
  • Advanced usage patterns and tutorials

Changed

  • πŸ”§ Better error handling
  • ⚑ Performance optimizations
  • πŸ“ More detailed code examples
  • πŸ§ͺ Enhanced test coverage
  • Updated project structure for modern Python development
  • Migrated from Poetry to uv for dependency management
  • Enhanced development workflow with automated scripts

Fixed

  • πŸ› Fixed visualization rendering issues
  • πŸ“– Documentation and code consistency fixes
  • πŸ”— Fixed internal link issues

0.1.2 - 2024-12-22

Fixed

  • πŸ› Fixed bugs in remove_e() function
  • πŸ“– Updated README documentation

0.1.1 - 2024-12-16

Added

  • πŸ§ͺ More comprehensive test suite
  • πŸ“Š Dedicated stress tests to ensure system stability and performance

Changed

  • ⚑ Major Performance Improvement: 100x speed boost for hypergraph construction and querying
  • Constructing a hypergraph with 10,000 nodes and performing 40,000 vertex and hyperedge queries
  • v0.1.0 took 90 seconds, v0.1.1 only takes 0.05 seconds
  • Improved API design and consistency
  • Better documentation and examples

0.1.0 - 2024-12-16

Added

  • πŸŽ‰ Initial release of Hypergraph-DB
  • πŸ“Š Core hypergraph data structure implementation
  • 🎨 Web visualization interface
  • πŸ“– Basic documentation and API reference
  • πŸ§ͺ Basic test suite

Core Features

  • πŸ—οΈ Hypergraph core class
  • πŸ”— Hyperedge operations
  • πŸ“Š Hypervertex operations
  • πŸ“ˆ Basic graph algorithms
  • 🎯 Neighbor query functionality

Visualization Features

  • 🌐 Web-based hypergraph visualization
  • 🎨 Interactive hypergraph display
  • πŸ“± Responsive design
  • πŸŽ›οΈ Customizable visual styles

API Features

  • βž• add_hyperedge() - Add hyperedge
  • βž• add_hypervertex() - Add hypervertex
  • πŸ—‘οΈ remove_hyperedge() - Remove hyperedge
  • πŸ—‘οΈ remove_hypervertex() - Remove hypervertex
  • πŸ“Š degree_v() - Calculate hypervertex degree
  • πŸ“Š degree_e() - Calculate hyperedge degree
  • πŸ” nbr_v_of_e() - Query adjacent hypervertices of hyperedge
  • πŸ” nbr_e_of_v() - Query adjacent hyperedges of hypervertex
  • 🎨 draw() - Visualize hypergraph