Skip to content

Commit 4a043ff

Browse files
committed
chore: bump version to 2.0.0
1 parent 753233f commit 4a043ff

6 files changed

Lines changed: 24 additions & 24 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "roblox-slang"
3-
version = "1.1.3"
3+
version = "2.0.0"
44
rust-version = "1.88"
55
authors = ["Iqbal Fauzi <iqbalfauzien@proton.me>"]
66
license = "MIT"

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ rokit add --global mathtechstudio/roblox-slang
7777

7878
```toml
7979
[tools]
80-
roblox-slang = "mathtechstudio/roblox-slang@1.1.2"
80+
roblox-slang = "mathtechstudio/roblox-slang@2.0.0"
8181
```
8282

8383
### Via Aftman
@@ -98,7 +98,7 @@ aftman add --global mathtechstudio/roblox-slang
9898

9999
```toml
100100
[tools]
101-
roblox-slang = "mathtechstudio/roblox-slang@1.1.2"
101+
roblox-slang = "mathtechstudio/roblox-slang@2.0.0"
102102
```
103103

104104
### Via Foreman
@@ -109,7 +109,7 @@ roblox-slang = "mathtechstudio/roblox-slang@1.1.2"
109109

110110
```toml
111111
[tools]
112-
roblox-slang = { github = "mathtechstudio/roblox-slang", version = "1.1.2" }
112+
roblox-slang = { github = "mathtechstudio/roblox-slang", version = "2.0.0" }
113113
```
114114

115115
```bash
@@ -120,12 +120,12 @@ foreman install
120120

121121
Download pre-built binaries for your platform:
122122

123-
- `roblox-slang-1.1.2-linux-x86_64.zip`
124-
- `roblox-slang-1.1.2-linux-aarch64.zip`
125-
- `roblox-slang-1.1.2-windows-x86_64.zip`
126-
- `roblox-slang-1.1.2-windows-aarch64.zip`
127-
- `roblox-slang-1.1.2-macos-x86_64.zip`
128-
- `roblox-slang-1.1.2-macos-aarch64.zip`
123+
- `roblox-slang-2.0.0-linux-x86_64.zip`
124+
- `roblox-slang-2.0.0-linux-aarch64.zip`
125+
- `roblox-slang-2.0.0-windows-x86_64.zip`
126+
- `roblox-slang-2.0.0-windows-aarch64.zip`
127+
- `roblox-slang-2.0.0-macos-x86_64.zip`
128+
- `roblox-slang-2.0.0-macos-aarch64.zip`
129129

130130
Extract and add to your PATH, or use a tool manager for automatic updates.
131131

@@ -145,7 +145,7 @@ cargo install --locked --path .
145145

146146
```bash
147147
roblox-slang --version
148-
# Output: roblox-slang 1.1.2
148+
# Output: roblox-slang 2.0.0
149149
```
150150

151151
## Quick Start

docs/getting-started.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ rokit add --global mathtechstudio/roblox-slang
3030

3131
```toml
3232
[tools]
33-
roblox-slang = "mathtechstudio/roblox-slang@1.1.2"
33+
roblox-slang = "mathtechstudio/roblox-slang@2.0.0"
3434
```
3535

3636
#### Option B: Aftman
@@ -51,7 +51,7 @@ aftman add --global mathtechstudio/roblox-slang
5151

5252
```toml
5353
[tools]
54-
roblox-slang = "mathtechstudio/roblox-slang@1.1.2"
54+
roblox-slang = "mathtechstudio/roblox-slang@2.0.0"
5555
```
5656

5757
#### Option C: Foreman
@@ -62,7 +62,7 @@ roblox-slang = "mathtechstudio/roblox-slang@1.1.2"
6262

6363
```toml
6464
[tools]
65-
roblox-slang = { github = "mathtechstudio/roblox-slang", version = "1.1.2" }
65+
roblox-slang = { github = "mathtechstudio/roblox-slang", version = "2.0.0" }
6666
```
6767

6868
```bash
@@ -73,12 +73,12 @@ foreman install
7373

7474
Download pre-built binaries from [GitHub Releases](https://github.com/mathtechstudio/roblox-slang/releases):
7575

76-
- `roblox-slang-1.1.2-linux-x86_64.zip`
77-
- `roblox-slang-1.1.2-linux-aarch64.zip`
78-
- `roblox-slang-1.1.2-windows-x86_64.zip`
79-
- `roblox-slang-1.1.2-windows-aarch64.zip`
80-
- `roblox-slang-1.1.2-macos-x86_64.zip`
81-
- `roblox-slang-1.1.2-macos-aarch64.zip`
76+
- `roblox-slang-2.0.0-linux-x86_64.zip`
77+
- `roblox-slang-2.0.0-linux-aarch64.zip`
78+
- `roblox-slang-2.0.0-windows-x86_64.zip`
79+
- `roblox-slang-2.0.0-windows-aarch64.zip`
80+
- `roblox-slang-2.0.0-macos-x86_64.zip`
81+
- `roblox-slang-2.0.0-macos-aarch64.zip`
8282

8383
Extract the archive and add the binary to your PATH.
8484

src/roblox/client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ impl RobloxCloudClient {
5656
///
5757
/// Initializes an HTTP client with:
5858
/// - 30 second timeout
59-
/// - User agent: "roblox-slang/1.1.2"
59+
/// - User agent: "roblox-slang/2.0.0"
6060
/// - Base URL: <https://apis.roblox.com>
6161
///
6262
/// # Arguments
@@ -69,7 +69,7 @@ impl RobloxCloudClient {
6969
pub fn new(api_key: String) -> Result<Self> {
7070
let client = reqwest::Client::builder()
7171
.timeout(Duration::from_secs(30))
72-
.user_agent("roblox-slang/1.1.2")
72+
.user_agent("roblox-slang/2.0.0")
7373
.build()
7474
.context("Failed to create HTTP client")?;
7575

tests/roblox_integration_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ async fn test_user_agent_header() {
458458
"GET",
459459
"/legacy-localization-tables/v1/localization-table/tables/test-id/entries",
460460
)
461-
.match_header("user-agent", "roblox-slang/1.1.2")
461+
.match_header("user-agent", "roblox-slang/2.0.0")
462462
.with_status(200)
463463
.with_body(r#"{"entries": []}"#)
464464
.create_async()

0 commit comments

Comments
 (0)