Releases: thesadru/genshin.py
Releases · thesadru/genshin.py
1.0.0
What's new
- Added honkai endpoints.
- Added login with username and password (
Client.login_with_password
) - Made the entire project be mypy and pyright strict compliant.
Changes
- Caching is now handled through
Client.cache
- Moved
MultiCookieClient
functionality toClient.cookie_manager
Fixes
- Reduced the amount of unexpected ratelimit exceptions
- Made every single model be re-serializable.
Deprecation
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
0.4.0
0.3.1
0.3.0
What's new
- Added full support for the Genshin Impact Enhancement Progression Calculator
- Improved debug mode to be slightly more descriptive
Fixes
- Fixed minor API inconsistencies including domain mismatches
- Ensured some specific models no longer break when being revalidated
0.2.0
What's new
- 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
Fixes
- Fixed breaking API changes caused by the second banner
- Deprecated authkeys in support pages
- Fixed pydantic bug with ClassVar not being recognized properly
0.1.0
What's new
- Implemented the Traveler's Diary
- Cache uids for daily rewards and similar endpoints.
- Support artifact levels
- Add an
enabled
field for artifact set effects
Fixes
- 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
0.0.2
What's new
- 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
Fixes
- 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.
Documentation
- Documented a large part of the library with at least simple examples
- Added credits to some people who considerably influenced the development of this library