From ad7f06c3e837b825b7e1672bcd8be34657b9a450 Mon Sep 17 00:00:00 2001 From: "Rinrin.rs" Date: Sat, 7 Dec 2024 18:59:58 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Upgrade:=20v0.6.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ Cargo.toml | 6 +++--- 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8261638..1937318 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,30 @@ +# v0.6.0 2024-12-07 + +## Breaking Changes + +- 💥 [TETR.IO BETA 1.2.0](https://tetr.io/about/patchnotes/#chlog_BETA_1_2_0)+ are now supported. [#15] + - ✨ Added new methods of the [`Client`](https://docs.rs/tetr_ch/0.6.0/tetr_ch/client/struct.Client.html) struct for the new API endpoints. + - 🔥 Removed the methods and elements for the discontinued endpoints. [#64] + - ✨ Added support for the new rank X+. [#61] + +## Features + +- ✨ The [`Client`](https://docs.rs/tetr_ch/0.6.0/tetr_ch/client/struct.Client.html) struct now supports `X-Session-ID` header. [#97] + - Use [`Client::with_session_id`](https://docs.rs/tetr_ch/0.6.0/tetr_ch/client/struct.Client.html#method.with_session_id). +- ✨ Added two prelude modules [`tetr_ch::prelude`](https://docs.rs/tetr_ch/0.6.0/tetr_ch/prelude/index.html) and [`tetr_ch::model::prelude`](https://docs.rs/tetr_ch/0.6.0/tetr_ch/model/util/index.html). +- ✨ Added [`xp_to_level`](https://docs.rs/tetr_ch/0.6.0/tetr_ch/util/fn.xp_to_level.html) function. + +## Improvements + +- 🛠️ Parameters that are used in the URL are now encoded. +- 📚 Improved the documentation. + +## Other Changes + +- 🛠️ The enumerators of the [`ResponseError`](https://docs.rs/tetr_ch/0.6.0/tetr_ch/client/error/enum.ResponseError.html) enum now have each error type. [#89] + +--- + # v0.5.1 (hotfix) 2023-12-01 ## Fixes diff --git a/Cargo.toml b/Cargo.toml index f0defa4..1aace20 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "tetr_ch" -description = "A library for the TETRA CHANNEL API." -version = "0.5.1" +description = "A Rust wrapper for the TETRA CHANNEL API. " +version = "0.6.0" authors = ["Rinrin.rs "] license-file = "LICENSE" repository = "https://github.com/Rinrin0413/tetr-ch-rs.git" readme = "README.md" -keywords = ["tetrio", "tetr-io", "tetr_io", "tetra-channel-api", "tetra_channel_api"] +keywords = ["tetrio", "tetr-io", "tetr_io", "tetra-channel-api", "wrapper"] edition = "2021" [dependencies]