Changelog
π New to GMGN.ai? Create your account with our referral link to support GmGnAPIβs development β Sign up on GMGN.ai
π¬ Need help? Join the Chipa Discord Β· β‘ Go no-code with ChipaEditor
All notable changes to GmGnAPI. Follows the Keep a Changelog format and Semantic Versioning.
v1.3.0 β 2025-06-01 (Latest)
Added
subscribe_trending()channel for GMGN trending token list updatesTokenFilter.max_holder_concentrationparameter to filter high-risk concentrated tokensConnectionConfig.ping_intervalandping_timeoutfor keep-alive control
Improved
- Reconnection now re-subscribes all active channels automatically after reconnect
- Pydantic v2 migration complete β 40% faster model parsing
Fixed
- Race condition in
listen()when multiple subscriptions were active simultaneously - Memory leak in long-running sessions when
on_statistics_updatewas registered
v1.2.0 β 2025-04-15
Added
SQLiteExporterandCSVExporterfor persistent data storageon_reconnectevent hook with attempt count parametersubscribe_trades(address)for individual transaction streams
Improved
- Exponential backoff now capped at 60 seconds (was uncapped)
- Type stubs (
.pyifiles) now shipped with the package for full IDE support
Fixed
on_raw_messagenow fires before model validation, not afterTokenFilter.chainscase-insensitive matching
v1.1.0 β 2025-02-28
Added
TokenFilterclass for declarative event filteringon_statistics_updatehook with connection metricssubscribe_token_updates(address)for per-token monitoring
Improved
- Context manager (
async with) now properly closes on exception
Fixed
- Handler exceptions no longer kill the entire event loop
v1.0.0 β 2025-01-10 (Initial Release)
GmGnClientwith async context manager supportsubscribe_new_pools()WebSocket channelon_new_poolevent decorator- Pydantic v2 models for all data types
- Automatic reconnection with backoff
- Python 3.8+ support
Upgrading
Always upgrade in a virtual environment and pin your version in production:
# Upgrade to latest
pip install --upgrade gmgnapi
# Pin a specific version
pip install gmgnapi==1.3.0
Breaking changes are described on the GitLab releases page with migration instructions. Join the Chipa Discord to get upgrade announcements first.
Stay in the Loop
- π¬ Join the Chipa Discord β β release announcements, beta previews, and early access to new features before they ship to PyPI.
- π Create your GMGN.ai account β β new channels usually depend on new GMGN data; get access and support the project.
- β‘ Try ChipaEditor β β every GmGnAPI release lands in the ChipaEditor no-code builder shortly after.