1 |
--- |
2 |
title: "What's new in v10.0 Delicious Donut?" |
3 |
short_name: "What's new in v10.0?" |
4 |
description: "SudoBot v10.0 Delicious Donut is a major release with a bunch of new features, fixes and improvements! Read the changes below!" |
5 |
openGraph: |
6 |
type: "article" |
7 |
authors: |
8 |
- Ar Rakin |
9 |
images: |
10 |
- url: https://docs.sudobot.onesoftnet.eu.org/sudobot-v10.png |
11 |
height: 597 |
12 |
width: 1061 |
13 |
--- |
14 |
|
15 |
import Callout from "@/components/Alerts/Callout"; |
16 |
import BlogPageFooter from "@/components/MDX/BlogPageFooter"; |
17 |
import { Authors } from "@/data/authors"; |
18 |
import sudobot10 from "@/images/sudobot-v10.png"; |
19 |
import { DISCORD_URL } from "@/utils/links"; |
20 |
|
21 |
# Introducing SudoBot v10.0 Delicious Donut 🍩 |
22 |
|
23 |
<ImageWithSkeleton |
24 |
src={sudobot10.src} |
25 |
alt="SudoBot 10 Branding" |
26 |
width={sudobot10.width} |
27 |
height={sudobot10.height} |
28 |
blurDataURL={sudobot10.blurDataURL} |
29 |
style={{ width: "100%", transform: "scale(0.7)" }} |
30 |
placeholder="blur" |
31 |
/> |
32 |
|
33 |
Hello to all the Superusers out there! We are announcing the release of SudoBot v10.0 Delicious Donut! 🍩 <br /> |
34 |
This is a major release with a bunch of new features, important fixes and improvements. |
35 |
Here is a list of changes in this release: |
36 |
|
37 |
## New Features & Improvements |
38 |
|
39 |
- **Archive command**: You can now use the `-archive` command to archive a channel. |
40 |
- **Discord.js v14.16.1**: SudoBot now uses Discord.js v14.16.1, which supports user-installable applications. |
41 |
That means, now we can move forward with the user-installable applications feature. |
42 |
- **One step forward to supporting Windows**: We are working on supporting Windows. |
43 |
We have made some changes in the codebase to make it compatible with Windows to some extent. |
44 |
- **Verification System**: A customizable, channel based verification system that attempts to verify users on a button click. |
45 |
- **Improved AI Based Auto Moderation**: SudoBot can now observe user behavior and take appropriate actions based on the behavior. |
46 |
|
47 |
## Bug Fixes |
48 |
|
49 |
- **Fixed privilege escalation vulnerability**: We've fixed a privilege escalation vulnerability in the bot. |
50 |
For this, we've deprecated all versions of v9.0 prior to v9.26.7. It is highly recommended to update your bot to the latest version. |
51 |
For more details, check out [CVE-2024-45307](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-45307). |
52 |
- **Fixed command parsing and management**: We've fixed the issue where commands won't execute if there is a newline after the command name. |
53 |
|
54 |
## Deprecations & Upgrades |
55 |
|
56 |
- **Bun <= v1.1.16**: We have deprecated Bun versions older than v1.1.16. |
57 |
- **TypeScript v5.5.3**: The minimum TypeScript version required to compile SudoBot is now v5.5.3. |
58 |
|
59 |
## Refactorings |
60 |
|
61 |
- **Refactored the command handler**: We've refactored the command handler to make it more efficient and maintainable. |
62 |
|
63 |
## How to update? |
64 |
|
65 |
SudoBot v10.0 is backward compatible with v9.0. You can update your bot by running the following command if you use Git: |
66 |
|
67 |
```bash |
68 |
git pull origin main |
69 |
``` |
70 |
|
71 |
If you don't use Git, you can download the latest release from the |
72 |
[GitHub releases page](https://github.com/onesoft-sudo/sudobot/releases/latest). |
73 |
|
74 |
## Join our Discord server |
75 |
|
76 |
If you have any questions or need help with the update, feel free to join our [Discord server](https://sudobot.online/discord). |
77 |
|
78 |
<BlogPageFooter |
79 |
author={Authors.AR_RAKIN} |
80 |
postedAt="2024-09-04T23:26:00+06:00" |
81 |
/> |