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.
- Legacy GraphRedis.php file in root directory
- Outdated documentation references to old file
- Updated installation instructions in README_CN.md
- Cleaned up project structure for Composer-only usage
- Redis database selection support (0-15 databases)
- Database isolation for nodes, edges and counters
- Enhanced constructor with database parameter
- Database selection validation and error handling
- New unit tests for database isolation
- Database isolation demonstration in examples
- Improved getStats() to work with database-specific counters
- Updated documentation with database usage examples
- Enhanced error messages for invalid database numbers
- Initial release of GraphRedis
- Core graph database functionality with Redis backend
- Node management (create, read, update, delete)
- Edge management with weights and properties
- Graph traversal algorithms (DFS, BFS shortest path)
- Composer package support with PSR-4 autoloading
- Comprehensive unit tests with PHPUnit
- Demo examples and documentation
- Chinese documentation (README_CN.md)
- Node Operations: Add, get, update, delete nodes with custom properties
- Edge Operations: Create directed edges with weights and properties
- Graph Algorithms: BFS shortest path and DFS traversal
- Pagination: Support for paginated neighbor queries
- Statistics: Graph statistics and memory usage reporting
- Error Handling: Proper exception handling for Redis connection issues
- PHPUnit test suite with 13 test cases
- PHPStan static analysis support
- PHP_CodeSniffer for code style checking
- Composer scripts for common tasks
- Comprehensive examples and documentation
- PHP 7.4+
- Redis server
- PHP Redis extension