Skip to content

Releases: halon176/h-crypto-price-bot

1.2.1

01 Mar 23:18
9a7e22e
Compare
Choose a tag to compare

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

01 Mar 22:49
b6e0609
Compare
Choose a tag to compare

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

09 Dec 16:37
d15ab72
Compare
Choose a tag to compare

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

18 Nov 13:12
050bd76
Compare
Choose a tag to compare

Fix

  • 🛠️ Fix symbol excape in /start command

Internal

  • ⬆️ Update several packages to the newest version.

1.1.3

07 Nov 22:58
ec0c452
Compare
Choose a tag to compare

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

24 Oct 23:47
2815c0f
Compare
Choose a tag to compare

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

03 Oct 22:23
63aefb1
Compare
Choose a tag to compare

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

01 Sep 18:48
c731b72
Compare
Choose a tag to compare

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

05 Aug 20:00
87ea04e
Compare
Choose a tag to compare

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! ❤️