Releases: Rinrin0413/tetr-ch-rs
Releases · Rinrin0413/tetr-ch-rs
v0.7.0 2024-12-26
Breaking Changes
- ✨ New struct
Response<T>
has been introduced to wrap the response data instead of the*Response
structs. [#114]
Bug Fixes
- 🐛 The
record_leaderboard::SearchCriteria::init
method was incorrectly setting thelimit
field toSome(25)
instead of initializing toNone
. [79b3dd9] - 🩹 Three models had not satisfied the trait bound
AsRef<T>
. [c9911b6]RecordsLeaderboard
structAllSummaries
structUserRecords
struct
Improvements
- 📚 Fixed some incorrect examples in the documentation. [78d851c]
Other Changes
- 🚚 Moved the
ErrorResponse
struct tocrate::model::response
module. [3c86e6d]
Internal Changes
- ✅ Wrote new unit and integration tests.
- ✅ Removed the unnecessary integration tests.
v0.6.1 2024-12-11
Features
- ✨ Re-exported the
Client
struct to the crate root. [#106]
Bug Fixes
- 🐛 Fixed deserialization errors when using the
Client::get_user_league
method. [#102 #107]- 🛠️ The
LeagueData
struct is now wrapped in new enumLeagueDataWrap
. [f2e0f23]
- 🛠️ The
- ⚰️ Removed an unnecessary
dbg
macro call in theClient::get_user
method implementation. [#104]
Other Changes
v0.6.0 2024-12-07
Breaking Changes
- 💥 TETR.IO BETA 1.2.0+ are now supported. [#15]
Features
- ✨ The
Client
struct now supportsX-Session-ID
header. [#97] - ✨ Added two prelude modules
tetr_ch::prelude
andtetr_ch::model::prelude
. - ✨ Added
xp_to_level
function.
Improvements
- 🛠️ Parameters that are used in the URL are now encoded.
- 📚 Improved the documentation.
Other Changes
- 🛠️ The enumerators of the
ResponseError
enum now have each error type. [#89]
v0.5.1 (hotfix) 2023-12-01
Fixes
- Decoding error when the property
ts
of the object "badges" was not present
v0.5.0 2023-11-30
Fixes
- Decoding error caused by the TWC badges [#4]
- Missing property
currentbtbchainpower
in structSinglePlayEndCtx
[#6] - Some outdated example code (01, 04)
- Some typos in document and
CHANGELOG.md
Additions
Changes
- Rename a field
attack
toattacks
of structEndCtxGarbage
Improvements
- Improve the document
- Update the library description sentence in
README.md
and/src/lib.rs
Internal
- Update
.gitignore
v0.4.0 2023-06-29
v0.3.5 2023-05-23
Improvements
- Supported TETR.IO v6.3.4 (issue #1)
Fixes
- Fixed redundant and raggedly named functions.
v0.3.4 2022-12-18
Update:v0.3.4 Ignore:check_examples.sh
v0.3.3 2022-12-13
Add:a note
v0.3.2 2022-10-28
Additions
- Added module
profile_url
toUserInfo
and parent structs. - Added modules
cached_at
andcached_until
toSearchedUserResponse
.
Improvements
- Improved the documentation.