Skip to content

Commit d6992a5

Browse files
codebydivineclaude
andcommitted
feat: Release v0.1.37 - Complete enum-only API rewrite with 100% test coverage
## Major Features & Breaking Changes - **BREAKING**: Implement enum-only Unified Price API removing all backward compatibility - **NEW**: Multi-blockchain price fetching with Currency.ETH, Currency.SOL, Currency.POL - **NEW**: Smart caching system with volatility-based TTL and automatic cache management - **NEW**: Statistical analysis with confidence scoring and outlier filtering - **NEW**: Progressive retry mechanism with adaptive sampling strategies ## Code Quality & Type Safety - **COMPLETE**: Achieve 100% test coverage across entire codebase (565 tests) - **ENHANCED**: Enable mypy strict mode with comprehensive type annotations - **IMPROVED**: Full ruff linting compliance with organized imports and formatting - **REFACTORED**: Modular architecture with clean separation of concerns ## Developer Experience - **SIMPLIFIED**: Single Currency enum interface replacing string-based APIs - **ROBUST**: Enhanced error handling with specific exception types - **DOCUMENTED**: Comprehensive examples and usage patterns - **TESTED**: Edge cases and error paths thoroughly covered ## Technical Improvements - Type-safe enum-only API design for compile-time safety - Advanced price calculation algorithms with statistical validation - Intelligent caching with blockchain-specific optimization - Comprehensive test suite covering all execution paths - Clean code architecture following modern Python best practices This release represents a complete rewrite prioritizing type safety, performance, and developer experience over backward compatibility. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 2d79d00 commit d6992a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "divine-thegraph-token-api"
7-
version = "0.1.36"
7+
version = "0.1.37"
88
description = "A Python client for The Graph Token API with elegant EVM/SVM separation and excellent test coverage"
99
authors = [{name = "DIVINE", email = "[email protected]"}]
1010
readme = "README.md"

0 commit comments

Comments
 (0)