Skip to content

Commit

Permalink
πŸ”– Upgrade: v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinrin0413 committed Dec 7, 2024
1 parent 5becc81 commit ad7f06c
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 3 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <rinrin0413.valley@gmail.com>"]
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]
Expand Down

0 comments on commit ad7f06c

Please sign in to comment.