-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.6.0 #101
Merged
Merged
v0.6.0 #101
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# X+ Rank - ✨ Added supports for the new rank X+ [#61]
Because the `Client::get_user_records_old` is removed.
Because the `Client::get_user_records_old` is removed.
…-2-0 # Add support for TETR.IO BETA 1.2.0+ - 💥 Added support for TETR.IO BETA 1.2.0+. [#15] - 🛠️ Conformed to the new endpoints: - #16 - ✨ Conform to new Server Activity endpoint [23a3d17] - #19 - #21 - #51 - ✨ Implemented new methods for the new endpoints: - ✨ Implemented new methods for the User Summaries endpoints: - #23 - #25 - #27 - #29 - #31 - #33 - #35 - #37 - #39 - #41 - #43 - #45 - #47 - #71 - #49 - ✨ Implement new methods for the Labs endpoints: - #53 - #55 - #57 - #59 - ✨ Added the new rank X+ [#61] - 🔥 Removed the elements for the discontinued endpoints [#64] - ♻️ Improved the structures of the files and elements [#63] - ✨ Implemented some useful methods for the models [#67] - 📚 Improved the documentation [#69] - 🛠️ Conformed to the new error response structure [#84] - 🩹 Fixed some problems: - 🩹 The `RecordsLeaderboardId::to_param` method was ignoring its `revolution_id` field [#73] - 📚 Wrote missing "Panics" sections in some documentations [#77] - 🐛 The `SearchCriteria::init` methods are now working [f90cbc1] - 🛠️ Final adjustments: - 🛠️ The option in the `Client::get_news_all` method is now mandatory, just like the `Client::get_news_latest` method [#75] - ♻️ Improved the panic handling [#79] - 🛠️ A deserialization is now tried before returning a HTTP error [#82] - 🛠️ The color constant for the XX rank is now deprecated [b361c0f] - 🛠️ The optional boolean fields in the models are now completely boolean [#87] - 🛠️ The enumerators of the `ResponseError` enum now have appropriate types [#89] - 📚 Added mentions about the exceptions in the API responses in the documentation [04aed5a] - ✨ Added re-exports in the `model::util` module [0ead1dd, 8da2a1c] - ✨ Added `model::prelude` module [96fc77b, eba3236] - ✨ Added `crate::prelude` module [28739db, 14dc0d6, 47626a8] - 🛠️ Added the derives `Clone` and `Debug` to some types for parameters [64f9ac7] - 🛠️ Added URL encodings [21443e4] - ✏️ Renamed some models to appropriate names [#91] - ✨ Provided additional utility types [#93] - ♻️ Implement some methods of the models with macros [#95] - 🚚 Moved the utility types to `model::util` module - 🛠️ Some methods of the `Client` struct now have generic parameters - ✨ Added support for `X-Session-ID` [#97] - 🛠️ The `Client` struct is now reusable [ed10aef] - 🛠️ Updated the examples [#81] - 🛠️ Updated the READMEs. (`README.md` and `src/lib.rs`) [b76b8e4]
… instead of ownership Because functions that take ownerships and return non- `impl Copy` ownerships should be named `into_*`. This is not good for naming consistency.
Functions that take references and return non- `impl Copy` ownerships should be named `to_*`.
Functions that take references and return non- `impl Copy` ownerships should be named `to_*`.
- 🙈 Unignore: `tetr_ch_bin/` - 🙈 Ignore: `examples/bin.rs`
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #101 +/- ##
===========================================
- Coverage 32.98% 17.83% -15.16%
===========================================
Files 14 46 +32
Lines 955 572 -383
===========================================
- Hits 315 102 -213
+ Misses 640 470 -170 ☔ View full report in Codecov by Sentry. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Breaking Changes
SearchedRecordResponse
Model #71RecordsLeaderboardId::to_param
method was ignoring itsrevolution_id
field [closeRecordsLeaderboardId::to_param
ignoresrevolution_id
field #73]SearchCriteria::init
methods are now working [f90cbc1]Client::get_news_all
method is now mandatory, just like theClient::get_news_latest
method [close Makeget_news_all
method option mandatory #75]ResponseError
enum now have appropriate types [close MakeResponseError
's enumerators have appropriate error types #89]model::util
module [0ead1dd, 8da2a1c]model::prelude
module [96fc77b, eba3236]crate::prelude
module [28739db, 14dc0d6, 47626a8]Clone
andDebug
to some types for parameters [64f9ac7]model::util
moduleClient
struct now have generic parametersX-Session-ID
[close Support forX-Session-ID
#97]Client
struct is now reusable [ed10aef]README.md
andsrc/lib.rs
) [b76b8e4]Bug Fixes
Client
return HTTP error 404 #12]