Skip to content

Releases: seriaati/hoyo-buddy

v1.0.0

06 Jun 22:44
Compare
Choose a tag to compare

1.0.0 - 2024-06-06

Bug Fixes

  • (/characters) Fix sort with lightning characteres fail - (68c8438)
  • (/farm) Fix commands not usable - (6fa897d)
  • (/profile) Fix character not being changed - (38eb908)
  • (/profile) Handle no-showcase in cache - (c02fb1d)
  • (/profile) Add soft lock prevention - (18d41d8)
  • (/search) Fix incorrect default page - (c6d945b)
  • (deps) update dependency sentry-sdk to v2.5.0 - (052af7f)
  • (web-server) Handle invalid requests - (e325bf7)
  • Handle empty showcase in cache - (341f32f)
  • Handle None element - (ef54ff4)
  • Fix logging issues - (84a1a67)
  • Download images with user agent - (e7b290c)
  • Fix missing pre-fetch for account - (6b5808b)
  • Fix images gone after clicking back button - (38f5046)
  • Roll back dev env changes - (fdbb08a)

Documentation

Features

  • (/geetest) Add geetest type - (0e63371)
  • Add get_locale util - (36e875e)
  • Add API - (a80492b)
  • Extend custom image URL length limit - (a4ec1bb)
  • Increase resin cap - (d68d285)
  • Fetch translations in background - (3591d34)

Miscellaneous Chores

  • (assets) Remove expired Jingliu pics - (ed578db)
  • (assets) Migrate from imgur to iili - (db89e0c)
  • (deps) Update hakushin-py - (930b45d)
  • (deps) update dependency ruff to v0.4.8 - (98e918b)
  • (deps) Add fake-useragent - (f80cbe4)
  • (renovate) Enable auto merge - (b12dd46)
  • (sentry) Add asyncio integration - (bf581fd)
  • Configure pre-commit - (c847868)

Refactoring

  • Refactor /farm commands - (9891c7e)
  • Use get_locale utility function - (635e188)

Style

v0.9.13

04 Jun 09:11
Compare
Choose a tag to compare

0.9.13 - 2024-06-04

Bug Fixes

  • (/profile) Fix bug with cache locale not updating - (e768441)
  • (/profile) Fix KeyError while updating cache - (6ff67a8)
  • (/profile) Fix UID error not handled - (f38ab92)
  • (/profile) Fix wrong default value in img select - (1751690)
  • (deps) Fix dependencies - (162048d)
  • (deps) update dependency pydantic to v2.7.3 (#64) - (3cf9332)
  • (deps) update dependency tortoise-orm to ^0.21.0 (#65) - (1d5236d)
  • Fix ObjectDoesNotExist error - (d120702)
  • Fix incompatible functions with new gpy version - (e7615e9)
  • Fix JSONFile read error - (fa36757)
  • Fix modal not translated - (e2d3836)
  • Fix weird import errors - (b81aaf6)
  • Capture the original error - (ab4310a)
  • Remove unused import - (72573dd)
  • Ignore PLR0912 - (086b391)
  • Ignore PLR0912 - (ea2caeb)
  • Force en lang in geetest server - (29f91ba)
  • Fix redirect protocol not working in DM - (d8b330d)
  • Fix switching build not switching character - (29f5cf7)
  • Fix showing wrong character type - (cdf7a25)
  • Handle -3004 error - (1d97a4a)
  • Ignore aiohttp.ClientConnectorError - (af79cfd)
  • Ignore unknown interaction error - (403a8c9)
  • Handle qr code expired - (73a10c8)
  • Ignore ServerDisconnectedError - (caf5a56)
  • Handle InternalDatabaseError - (a298496)
  • Fix invalid items shown in unreleased content category - (6ea24d1)
  • Fix incorrect format logging - (86be64c)

Continuous Integrations

Documentation

Features

  • (/profile) First pass at build and hoyolab support - (5898659)
  • (/profile) Add support for hoyolab and build characters - (c840ced)
  • (/profile) Provide more info on card gen error - (652796c)
  • (/profile) Improve build card template - (65bb1ab)
  • Replace json IO with db approach - (a8a2040)
  • Change image bkg color based on theme - (9eb430a)
  • Implement hakushin search autocomplete - (af408b2)
  • Support hakushin - (25227bb)
  • More work on unreleased content - (71568eb)
  • Complete hakushin support - (8cd6686)
  • Migrate to loguru (#60) - (67b88dc)
  • Migrate to new hoyo-codes API - (4b2cd55)
  • Hide account information - (c41c4cd)
  • Allow message_id to be None in LoginNotifPayload - (af98b7c)
  • Add maximum timeout for geetest handler - (d3730e5)
  • Add /geetest command - (92b2730)
  • Change geetest server URL - (7b63c19)
  • Update website domain - (f3bad7c)
  • Add more languages - (887d99a)
  • Support Korean fonts - (1e890d0)
  • Add icecream - (ecc02a4)

Miscellaneous Chores

  • (assets) Update GI build card template - (138dcf3)
  • (db) Add migration file - (2e0fa07)
  • (deps) Add hakushin-py - (704127e)
  • (deps) Update enka-py - (ad281cb)
  • (deps) Update yatta-py and ambr-py - (1668f18)
  • (deps) Update dependencies - (0f45c6f)
  • (deps) Update hakushin-py - (6a72d39)
  • (deps) update dependency ruff to v0.4.7 (#63) - (dc41430)
  • (deps) Add icrecream - (2873868)
  • (deps) Update dependencies - (691b394)
  • (poetry) Disable package mode - (fcfbac1)
  • (pre-commit) Update pre commits - (0969a10)
  • Configure renovate - (ae9a269)

Refactoring

  • Refactor how static image work - (fd9ae9a)
  • Refactor search autocomplete set up process - (f855d0a)
  • Remove useless code - (8a02b93)
  • Replace InteractionResponded check with response.is_done - (d73f725)
  • Merge hakushin code - (b6c5a47)
    ...
Read more

v0.9.12

21 May 23:50
Compare
Choose a tag to compare

0.9.12 - 2024-05-21

Bug Fixes

  • (/accounts) Fix no current acc after deleting - (906ab72)
  • (/farm) Fix autocomplete failure with en-GB locale - (e762a89)
  • (/profile) Fix KeyError with build characters - (8ec8d4e)
  • (/profile) Fix KeyError issues - (1882867)
  • (/profile) Fix issues with builds again - (49f732a)
  • (/profile) Fix setting wrong default art - (60e54af)
  • (/profile) Fix remove cache button wrong state - (3704602)
  • Change data provider - (4c02f16)
  • Fix attribute names for genshin.py changes - (2353268)
  • Handle caching when showcase is disabled - (0ef2ded)

Documentation

Features

  • (/about) Improve translator display style - (9661dc0)
  • (/abyss) Add embed - (ce77374)
  • (/exploration) Add embed - (6e9dc3d)
  • (/profile) Add Enka build integration - (1b40cf6)
  • (/profile) Add build support for 3rd party templates - (baa95b3)
  • (/profile) Add pixiv image support - (a423417)

Miscellaneous Chores

  • (assets) Update gi build card backgrounds - (47317d3)
  • (assets) Update geo background - (475660f)
  • (assets) Update dendro background - (91c0f6e)
  • (deps) Update dependencies - (15f89b2)
  • (deps) Update enka-py - (66087bf)
  • (deps) Update genshin.py and enka-py - (a27c901)
  • (deps) Add pillow-simd - (a3a77cc)
  • (deps) Remove pillow-simd - (24e83f0)

Refactoring

  • (/profile) Move command handler to another file - (d253619)
  • (/profile) Refactor how character is obtained - (60a5283)
  • Remove unused constants - (0991bfd)

v0.9.11

18 May 10:50
Compare
Choose a tag to compare

0.9.11 - 2024-05-18

Bug Fixes

  • (/abyss) Fix weird floor causing command crash - (adf5dd5)
  • (/characters) Fix wrong static image path - (14b49cc)
  • (/characters) Handle rate limit - (4bd13c9)
  • (/profile) Fix KeyError command crash - (4fd117a)
  • (/profile) Fix light cone image download failure - (849695e)
  • (/profile) Fix locale conversion issue - (115c085)
  • (/profile) Fix enum not serializable - (7b26659)
  • Fix wrong loading state call - (eb7d852)

Features

  • (/profile) Add src template custom color support - (620fbe3)
  • (ui) Disable entire view when loading - (38afa18)
  • Support user-installed app - (8b2f06f)
  • Add card embed and fix template issues (#57) - (25c545a)

Miscellaneous Chores

  • (assets) Add Dutch brand image - (0831858)
  • (deps) Update enka-py - (7a75dcb)
  • (deps) Update discord.py to master - (1202144)
  • (deps) Update enka-py - (a8b84d1)
  • (deps) Update enka-py - (c85fdb7)
  • (deps) Update enka-py - (f4cb19d)
  • (migrations) Add back deleted migration file - (4d64743)

Refactoring

  • Refactor EnkaCache code - (92cf1d6)
  • Refactor /profile UI and fix other UI issues (#56) - (e9e2a28)

Style

  • Replace type ignore comments with config - (6654d9a)

v0.9.10

14 May 11:26
Compare
Choose a tag to compare

0.9.10 - 2024-05-14

Bug Fixes

  • (/profile) Fix lang issues with card api - (1103761)
  • (/redeem) Fix crash on Miyoushe acc - (e97f985)
  • (/settings) Fix UI lang not changed when lang is changed - (de81543)
  • (trans) Fix IndexError - (db051ae)
  • Fix captcha web server not working - (5bb8728)
  • Change uvloop import exception type - (549dd88)
  • Fix wrong string key - (cc11869)
  • Disable auto daily check-in for Miyoushe - (4554849)
  • Fix bot status embed - (e4977eb)
  • Handle -3203 error code - (5895af9)
  • Ignore exceptions when sending error embed - (255633e)
  • Disable auto code redeem for Miyoushe - (5fe9a57)

Features

  • (trans) Add Dutch support - (0aae7fc)
  • Add dm admin command - (148ec6a)
  • Migrate to enka-py V2 - (acaacdc)
  • Migrate from mihomo to enka HSR - (2d19417)
  • Restrict account platform in autocomplete - (5037067)
  • Add StarRailCard template 3 support - (7e9af0e)
  • Enable auto daily check-in for Miyoushe - (afcf91b)

Miscellaneous Chores

  • (assets) Improve sea of bygone eras card - (65a2afb)
  • (assets) Add Robin and Boothil card - (4624b53)
  • (assets) Add imaginary element trailblazer card data - (d5a798c)
  • (deps) Update dependencies - (04ac790)
  • (deps) Add asyncpg - (679cc71)
  • (deps) Update dependencies - (20fd07c)
  • (deps) Remove mihomo - (fe5e3dd)
  • (deps) Update ambr-py - (ddab802)
  • (deps) Update enka-py - (f034e3b)
  • (deps) Update sentry-sdk - (999f598)

Refactoring

  • Replace watching activity with custom activity - (4e1bbcb)
  • Refactor command completion message - (818be83)
  • Replace ORM queries with raw SQL - (5872759)
  • Remove diskcache variable - (e397e31)
  • Refactor static image downloader - (2acaced)
  • Remove unnecessary caching - (e62d3af)
  • Refactor enka-py related code - (dff30c4)

Style

  • Use from-future-import-annotations - (4b0ff2d)

v0.9.9

01 May 23:59
Compare
Choose a tag to compare

0.9.9 - 2024-05-01

Bug Fixes

  • (/search) Fix category name not following user locale - (3f217f7)
  • (db) Change uid fields to big int type - (2715fe2)
  • Fix wrong text - (42b02b1)

Documentation

  • Add docstring to method - (828af0f)

Features

  • (/exploration) Add Sea of Bygone Eras - (c9e35ca)
  • (/profile) Show decimals in relic speed sub-stat - (d67cb8b)
  • (/profile) Add support of official art for hb templates - (7db5299)
  • Show a symbol to indicate current account - (3b892ea)
  • Add zoom param to build card image modifier method - (23942e1)
  • Add QR Code Login and Refactor Login Logic (#51) - (25fb92b)
  • Add website presence - (a90ded0)

Miscellaneous Chores

  • (assets) Update assets - (c186f5c)
  • (assets) Add Arlecchino pics - (8e14525)
  • (deps) Update dependencies - (2c3959b)
  • (deps) Update dependencies - (dc571eb)

Refactoring

  • (/accounts) Set newly added account as selected - (cfa3d2c)
  • Migrate to new enka-card-api - (2741bc9)
  • Refactor send status embed code - (3c75e2a)

v0.9.8

19 Apr 00:59
Compare
Choose a tag to compare

0.9.8 - 2024-04-19

Bug Fixes

  • (/abyss) Fix crash - (ef9811f)
  • (/characters) Fix crash - (dbd049e)
  • (/notes) Fix crash - (d30ffa0)
  • (/profile) Fix game param not being used - (8fbc252)
  • (/search) Fix wrong abyss enemy HP - (54e55a4)
  • (/search) Fix missing abyss enemy - (b2575bc)

Miscellaneous Chores

  • (deps) Update dependencies - (2a6684a)
  • (deps) Update dependencies - (a136783)

v0.9.7

18 Apr 12:09
Compare
Choose a tag to compare

0.9.7 - 2024-04-18

Bug Fixes

  • (/abyss) Fix empty character rank - (1954dee)
  • (/profile) Fix bug with remove image button - (ee73de1)
  • (trans) Fix string check logic - (30566a1)
  • (trans) Fix check string logic - (d16d746)
  • Fix missing field fetch in FarmNotify - (16845a9)
  • Fix invalid verification code error not handled - (9858304)
  • Handle WebSocketError - (505b914)

Features

  • Enforce text style consistency - (34f1940)
  • New admin command to add codes manually - (41e6282)
  • Add ability to user other user's accounts in commands (#45) - (1e1495a)
  • Merge /abyss-enemies into /search (#46) - (cf0be87)

Miscellaneous Chores

  • (deps) Update dependencies - (e1ec25f)
  • (deps) Update dependencies - (186906b)

Refactoring

  • Refactor error message and disable feature on error - (0ae7573)
  • Improve translator and enforce text style in UI (#44) - (e767ae4)

Style

  • Ensure text consistency - (0481cf0)
  • Improve text consistency - (0e77706)
  • Remove old comments - (d6d37d3)

v0.9.6

11 Apr 13:57
Compare
Choose a tag to compare

0.9.6 - 2024-04-11

Bug Fixes

  • (/exploration) Fix sumeru card showing electroculi - (df985af)
  • (/redeem) Fix not editing message after entering gift code - (77dc8af)
  • (ui) Handle interaction not found for absolute_edit - (2199db6)
  • Fix overriding exploration.placeholder - (698a9d5)
  • Migrate to new version of Pillow - (2314c4a)
  • Handle empty character list - (863b5a0)
  • Fix RUF200 - (d400ca7)
  • Fix various RUF lint errors - (ad3a3a6)
  • Fix dispatch_item being async - (00deea2)
  • Suppress CommandNotFound error - (fe0b856)
  • Skip when game is not recognized - (ed30ffe)
  • Fix update_fields - (0add4a5)
  • Fix text missing key - (b5419a9)
  • Fix wrong update field again - (f797f92)
  • Fix more wrong update fields - (3a2ea37)
  • Fix duplicate key in strings - (7c5dea0)
  • Disable auto code redemption task temporarily - (9facc38)
  • Enable asyncio debug mode - (9f93b60)
  • Fix pyright ignore comments - (d852857)
  • Fix error description - (7cebbe1)

Features

  • (/accounts) Add new buttons to UI - (9c3f7c6)
  • Add /redeem command - (8bd7904)
  • Add code redemption related errors - (b893494)
  • Add code redeem UI - (f00c590)
  • Add code auto redeem task - (a474227)
  • Add add_acc_info method to embed - (30f6a04)
  • Add footer to auto redeem embed - (b1bbb2e)
  • Add auto redeem schedule task - (3547fd7)
  • Enable auto code redemption task - (1b8401d)
  • Add support to new version of ENCard - (767a585)

Miscellaneous Chores

  • (assets) Update assets - (d43ca05)
  • (assets) Update assets - (56154d6)
  • (assets) Update assets - (347b01d)
  • (db) Update migration files - (b1fff3d)
  • (deps) Update dependencies - (bb97267)
  • (deps) Update dependencies - (53b66d9)
  • (deps) Update dependencies - (e88aaa5)
  • (ruff) Add docstring rules - (4b688c3)
  • (ruff) Add RUF rules - (3369d8b)

Performance

  • Specify fields to update during model save - (0674e35)
  • Remove prefetch statement - (0ccd62b)

Refactoring

  • (/characters) Refactor talent level update method - (0ce47d0)
  • (/farm) Refactor get account approach - (d48ab50)
  • (/profile) Improve stat consistency for HSR cards - (f92ea90)
  • (/profile) Move AI nsfw tags to json file - (2b983c6)
  • (/redeem) Show both title and description when errors - (103da7a)
  • (/redeem) Add error handler and improve UI - (6505e59)
  • (/redeem) Rewrite error handler - (ca04325)
  • (auto_redeem) Add error handler and improve performance - (0c11306)
  • (err_handler) Change description of error 999 - (9de0eca)
  • (trans) Remove unnecessary command replacement - (97984af)
  • (ui) Update absolute_edit method to accept kwargs - (9e252e8)
  • (utils) Rewrite blur_uid function - (cfa2e90)
  • Refactor no_characters_found_error_message - (6f61570)
  • Use cache_property for player_embed - (e017418)
  • Refactor game enum converter - (6129193)
  • Show seconds in bot status embeds - (6091c83)
  • Rewrite gpy client - (6a7d961)
  • Add view repr to asyncio task name - (72ad1ff)
  • Adjust UID blurring - (6a2a140)
  • Adjust rate limit related parameters - (3dffe0d)
  • Add blur parameter to redeem method - (001103c)
  • Remove replace_command_mentions param in LocaleStr - (6ab3043)
  • Adjust rate limit handler parameters - (7c9d78f)
  • Add asyncio lock and rewrite some parts - (264ef78)
  • Add account info to command embeds - (b70db32)
  • Refactor HoyoAccount display methods - (863d9e8)

Style

Read more

v0.9.5

05 Apr 00:54
Compare
Choose a tag to compare

0.9.5 - 2024-04-05

Bug Fixes

  • (/profile) Fix issue with transparent background images - (3d7707b)
  • (/profile) Add card template soft lock prevention - (4e8093a)
  • (/profile) Fix variable unbound error - (e7f9acc)
  • Fix KeyError raised during asset update - (351ab2e)
  • Fix error raised when obtaining chara talent level - (16d8d1d)
  • Remove src2 template - (73f7c6c)
  • Handle AI image generation error - (a0b0829)
  • Handle search choices not set up yet - (09e8a78)
  • Handle image download failure - (b31c7c0)
  • Handle hoyo API request too frequent error - (576832f)
  • Fix guild num metric - (cbf80f7)
  • Set missing message in WeaponUI - (fd1f66e)
  • Address variable unbound errors - (d480da1)
  • Add missing message in ArtifactSetUI - (d350ff5)
  • Suppress interaction not found errors - (f32ae85)

Features

  • Add /exploration command - (788f3e5)

Miscellaneous Chores

  • (assets) Update assets - (5ec894b)
  • (deps) Update dependencies - (b88a2c1)
  • (deps) Update dependencies - (a683a44)
  • (ruff) Update ruff configs - (b59c6d0)
  • Add vscode configs - (7bb31d8)
  • Add pyright configs - (1ee3b8f)

Refactoring

  • Rename handle geetest method - (e045acc)
  • Cache class properties - (7119ea2)
  • Refactor error handler - (adb6eaa)
  • Remove custom View dispath item implementation - (83424be)
  • Log command usage - (f28e689)
  • Handle Enka API errors - (52cc7ec)
  • Expose current_image variable to sentry - (7347300)
  • Improve command usage log format - (7de46e6)