- ✨ New struct
Response<T>
has been introduced to wrap the response data instead of the*Response
structs. [#114]- ⚰️ As a result, the
*Response
structs were removed [fac6708f84d1c6d500531035c1537fa85ce61857]
- ⚰️ As a result, the
- 🐛 The
record_leaderboard::SearchCriteria::init
method was incorrectly setting thelimit
field toSome(25)
instead of initializing toNone
. [79b3dd95a8675fada7aeb043226904edee07f9d7] - 🩹 Three models had not satisfied the trait bound
AsRef<T>
. [c9911b68f99a6ed38b648625e246ffd1aaa0ee43]RecordsLeaderboard
structAllSummaries
structUserRecords
struct
- 📚 Fixed some incorrect examples in the documentation. [78d851cbcb2e6e36fedf1dcb8bdfef97ae0d5b61]
- 🚚 Moved the
ErrorResponse
struct tocrate::model::response
module. [3c86e6d1299d1d42243eb52b7c8702eec9123099]
- ✅ Wrote new unit and integration tests.
- ✅ Removed the unnecessary integration tests.
- ✨ Re-exported the
Client
struct to the crate root. [#106]
- 🐛 Fixed deserialization errors when using the
Client::get_user_league
method. [#102 #107]- 🛠️ The
LeagueData
struct is now wrapped in new enumLeagueDataWrap
. [f2e0f232c239f85b1bbe5162f41a938c3057dbfc]
- 🛠️ The
- ⚰️ Removed an unnecessary
dbg
macro call in theClient::get_user
method implementation. [#104]
- 📚 Fixed an incorrect link in the
CHANGELOG.md
. [#103] - 🛠️ Adjusted the examples. [c63f5137e0596fcb05ba2dc9897a3d6521f75599]
- 💥 TETR.IO BETA 1.2.0+ are now supported. [#15]
- ✨ Added new methods of the
Client
struct for the new API endpoints.- 🔥 Removed the methods and elements for the discontinued endpoints. [#64]
- ✨ Added support for the new rank X+. [#61]
- ✨ Added new methods of the
- ✨ 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.
- 🛠️ Parameters that are used in the URL are now encoded.
- 📚 Improved the documentation.
- 🛠️ The enumerators of the
ResponseError
enum now have each error type. [#89]
- Decoding error when the property
ts
of the object "badges" was not present
- 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
- Rename a field
attack
toattacks
of structEndCtxGarbage
- Improve the document
- Update the library description sentence in
README.md
and/src/lib.rs
- Update
.gitignore
- License changed from GPL-3.0 to MIT.
- Support TETRA LEAGUE streams and multi player records [#3]
This has significantly changed the structure around records.
- Fix some typos.
- Supported TETR.IO v6.3.4 (issue #1)
- Fixed redundant and raggedly named functions.
- Added module
profile_url
toUserInfo
and parent structs. - Added modules
cached_at
andcached_until
toSearchedUserResponse
.
- Improved the documentation.
- Fixed forgot to update.
- Added a method
search_user
toClient
. You can find TETR.IO users from the Discord account with this method. - Added about highest achieved rank (
best_rank
) toLeagueData
andLeagueDataMini
. - Added connections and distinguishment fields to
User
.
- Some methods now returns
Option<T>
for ease of use. Especially with rank icons and rank colors. - Improved performance of some methods.
- Fixed some typos...
- Added some missing methods to the models.
- Fixed the inverse inequality sign.
- Added some useful methods.
- Many elements to appropriate names.
- Made the module
rank_col
deprecated. - Improved performance.
- Improved the documentation.
- Moved
LeagueData
to new moduleleague
. - Prepared a league rank exclusive type at new module
league
. - Implemented trait
Default
to implementable types. - Fixed missing dependencies
tokio
in ex01.
- Added some examples.
- Added some tests.
- Deprecated the
rank
field ofNewsData
. - Improved the documentation.
- Fixed some typos.
Initial release