- Support providing geetest headers.
- Use the newest version of pydantic.
- Star rail daily rewards, battle chronicle and wish history.
- Raise errors on geetest instead of silently failing.
- Fix v2 cookie compatibility.
- Allow v2 cookies.
- Added event announcments.
- Migrated to gitlab for icon data.
- Fixed some CN endpoints.
- Fixed getting low-level honkai users.
- Added genshin chronicle TCG endpoints.
- Added teapot replica endpoints.
- Aded an official source for banner IDs.
- Made the hoyolab ID optional.
- Fixed false positives when using multiple cookies.
- Added turkish and italian to the list of languages.
- Added geshin lineup.
- Added cn calculator endpoints.
- Added new icon types for genshin characters.
- Invalid cookies are no longer kept.
- Cookie tokens are now automatically refreshed.
- Character data may be updated using 3rd party databases.
- Character names are no longer in a different language.
- Authkeys can be grabbed from local files again.
- Added dendoruculus to chronicle stats.
- Added new genshin and honkai characters.
- Added the golden apple archipelago activity.
- Updated ds salt for cn daily rewards.
- Exclude partial and empty characters from responses.
- Added user info to genshin stats.
- Fixed enabling of real-time notes and calculator sync.
- Do not require cookies for authkey endpoints.
- Increased page size of diaries to 100.
- Automatically enable real-time notes when used for the first time.
- Added
client.uid
as a simpler alias forclient.uids
. - Allowed explicit UIDs in diary and calculator endpoints.
- Implemented an international cookie manager.
- Added
client.proxy
. - Implemented very basic wiki endpoints.
- Implemented hoyolab community check-in.
- The password is now hidden in
python -m genshin login
- Stored timedeltas instead of datetimes in real-time notes.
- Fixed honkai stats for users without any unlocked abyss.
- Added the Parametric Transformer to notes.
- Provided a direct
Client.uid
property for easier use withdefault_game
. - Added missing activities.
- Improved the structure of Exploration models.
- Removed
is_chinese
withrecognize_region
which now requires agenshin.Game
.
- Character model validation now works for foreign languages.
- Added mi18n to the cache.
- Optimized
_get_uid
.
- Added honkai endpoints.
- Added login with username and password (
Client.login_with_password
) - Made the entire project be mypy and pyright strict compliant.
- Caching is now handled through
Client.cache
- Moved
MultiCookieClient
functionality toClient.cookie_manager
- Reduced the amount of unexpected ratelimit exceptions
- Made every single model be re-serializable.
GenshinClient.cookies
were removed in favor ofcookie_manager
GenshinClient
and subclasses were merged intoClient
genshin_accounts
->get_game_accounts
get_record_card
->get_record_cards
get_[partial|full]_user
->get_[partial|full]_genshin_user
- Added Serenitea Pot's Jar of Riches to Real-Time Notes
- Implemented
set_top_characters
- Added models for A Study in Potions
- Made the Enhancement Progression Calculator use the builder pattern
- Removed all_characters since the API no longer supports this feature
- Images are now accounted for during character data completion
- Diary log no longer repeatedly returns the first page in some cases
- Added full support for the Genshin Impact Enhancement Progression Calculator
- Improved debug mode to be slightly more descriptive
- Fixed minor API inconsistencies including domain mismatches
- Ensured some specific models no longer break when being revalidated
- Added partial support for i18n
- Added a way to specify the characters you want to get with
get_user
- Improved rate limit handling for certain endpoints
- Made paginators awaitable
- Fixed breaking API changes caused by the second banner
- Deprecated authkeys in support pages
- Fixed pydantic bug with ClassVar not being recognized properly
- Implemented the Traveler's Diary
- Cache uids for daily rewards and similar endpoints.
- Support artifact levels
- Add an
enabled
field for artifact set effects
- Migrate server domains in accordance with the recent HoYoLAB server migration
- Remove invalid authkey validation
- Make permanent caches persist
- No longer attempt to close non-existent sessions in
MultiCookieClient
- Fix minor problems with model validation
- Implemented Real-Time notes
- Added Labyrinth Warriors to activities
- Made all
datetime
objects timezone aware. - Added public privacy settings to record cards.
- Added basic support for Redis caches
- Added new CLI commands
- Added pdoc-generated API documentation
- Started using ReST-style docstrings
- Added module docstrings
- Made
debug
a property instead of an__init__
param
- Chinese daily reward claiming will no longer consistently raise errors due to invalid headers.
get_banner_details
no longer requires gacha ids. They will be fetched from a user-maintained database from now on.genshin.models.base.BaseCharacter
is now a string instead ofCharacterIcon
genshin.models.base.GenshinModel.dict()
now also includes properties as it is immutable.
- Documented a large part of the library with at least simple examples