Releases: halon176/h-crypto-price-bot
Releases · halon176/h-crypto-price-bot
1.2.1
Fix
- 🛠️ Applied a hotfix for exception handling in API calls. Regardless of the type of error encountered, the call will still be processed. Only a response with a 401 status code from the API will block the call.
1.2.0
New
- 🆕 Added a function to log calls for each chat. This measure has been introduced because currently a single individual is capable of saturating the free tier of the CoinGecko service. If you require more control over your bot, you need to build a simple API (POST API_URL/call )that accepts certain parameters in a JSON body (I will document this later). If the API responds with 401, the bot will refrain from performing the call; otherwise, it will proceed. If the API_URL parameter is absent in the environment, the bot will log nothing and continue to function as before.
Fix
- 🛠️ Implemented handling for various CoinGecko errors.
Internal
- ⬆️ Update several packages to the newest version.
1.1.5
Fix
- 🛠️ Fix new feed by changing news broker from Cointelegraph to CoinDesk
Internal
- ⬆️ Update several packages to the newest version.
- 🆕 Function to handle markdown2 parser mode
- 🛠️ Added lots of typing annotation around the code
1.1.4
Fix
- 🛠️ Fix symbol excape in
/start
command
Internal
- ⬆️ Update several packages to the newest version.
1.1.3
Refactors
- ♻️ migration to MarkdownV2 as parse_mode
- ♻️ refactored some chat outputs to monospace. In the new version of the client, it was rendered as a code block and looked extremely aesthetic.
Internal
- ⬆️ Update several packages to the newest version.
1.1.2
Refactors
- ♻️ migrated from requirements file to poetry
- ♻️ 2 stage build for docker image, -70% of final image size
Internal
- ⬆️ Update several packages to the newest version.
- 🛠️ absolute path for all imports
1.1.1
Fixes
- 🛠️ fix an async/await dynamic of
/gas
call, now it is working
- 🛠️ typo in
/info
call
Internal
- ⬆️ Setup logger to ignore httpx warnings and now it is setted to INFO level
- ⬆️ Bump web3 to v. 6.10.0
- ⬆️ Bump python-telegram-bot to v. 20.6
1.1.0
Refactors
- ♻️ Black standard formatting.
- 🛠️ Use httpx for asynchronous API calls instead of synchronous requests.
Internals
- ⬆️ Update several packages to the newest version.
- ⬆️ Bump python version by 3.11.3 to 3.11.5 PR: #38.
1.0.0
After many months of testing, with immense pride I can declare that the bot is ready for its first stable edition! 🎆
At present, the bot is capable of making API calls to CoinGecko and CoinMarketCap, as well as generating interactive charts from Coingecko. The rest of the features are described in readme.
Thank you! ❤️