diff --git a/.github/release-notes.md b/.github/release-notes.md index f8e9569..1e7db17 100644 --- a/.github/release-notes.md +++ b/.github/release-notes.md @@ -8,6 +8,6 @@ Download `guides-${VERSION}.pteroext` below, then upload it under **Admin → Ex php artisan p:extension:install /path/to/guides-${VERSION}.pteroext --enable ``` -The community guides are downloaded on the first scheduled sync, or press **Sync now** under **Admin → Guides**. Requires Pterodactyl Panel 2.0 (2.0-develop or later), PHP 8.3+ and the panel's scheduler. See the README for features and settings. +The community guides are downloaded on the first scheduled sync, or press **Sync now** under **Admin → Guides**. Requires Pterodactyl Panel v2.0.0-beta.1 or later, PHP 8.3+ and the panel's scheduler. See the README for features and settings. This is a community extension and is not affiliated with or endorsed by Pterodactyl. diff --git a/CHANGELOG.md b/CHANGELOG.md index f9f1a5d..d920fea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.1.0 + +- Works with Pterodactyl v2.0.0-beta.1 (SDK beta.6). + ## 1.0.1 - Fixed guides breaking after the first scheduled sync on a standard install. The panel's scheduler runs from root's crontab, so the synced copy was owned by root and the web server could not read it ("Permission denied" on Sync now). Synced files now belong to the same user as the panel's storage folder. After updating, the next scheduled sync fixes the folder on its own. diff --git a/README.md b/README.md index 14636c8..405587c 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ Open **Admin → Guides**. ## Requirements -- Pterodactyl Panel 2.0 (2.0-develop or later) +- Pterodactyl Panel v2.0.0-beta.1 or later - PHP 8.3+ with the zip extension (part of every panel install) - The panel's scheduler running every minute (the `schedule:run` cron entry from the panel install guide). It runs `guides:sync --due` every five minutes, which downloads a repo only once its interval has passed. - Outgoing HTTPS from the panel to `api.github.com` and `codeload.github.com`. diff --git a/extension.json b/extension.json index 832b48b..b40a14c 100644 --- a/extension.json +++ b/extension.json @@ -2,13 +2,13 @@ "$schema": "./node_modules/@pterodactyl/sdk/manifest.schema.json", "id": "guides", "name": "Server Guides", - "version": "1.0.1", + "version": "1.1.0", "description": "A Guides tab on every server with help articles for its game and mod framework, synced from GitHub repos the community writes together.", "author": "RustixDev", "icon": "book-open", "requires": { "panel": "^2.0.0-dev", - "sdk": ">=2.0.0-beta.4 <3.0", + "sdk": ">=2.0.0-beta.6 <3.0", "php": "^8.3" }, "provider": "RustixDev\\Guides\\GuidesProvider", diff --git a/package-lock.json b/package-lock.json index 9082752..cbd59cf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "guides", - "version": "1.0.1", + "version": "1.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "guides", - "version": "1.0.1", + "version": "1.1.0", "devDependencies": { "@base-ui/react": "^1.6.0", - "@pterodactyl/sdk": "file:./sdk/pterodactyl-sdk-2.0.0-beta.4.tgz", + "@pterodactyl/sdk": "file:./sdk/pterodactyl-sdk-2.0.0-beta.6.tgz", "@tailwindcss/postcss": "^4", "@tanstack/form-core": "^1.33.0", "@tanstack/react-form": "^1.33.0", @@ -372,11 +372,14 @@ } }, "node_modules/@pterodactyl/sdk": { - "version": "2.0.0-beta.4", - "resolved": "file:sdk/pterodactyl-sdk-2.0.0-beta.4.tgz", - "integrity": "sha512-y+TzpLNngphgOkSvWW9u8b9TF8e83zhyzLOmgIF/KJiyy+gtYk6Kr0cIUgL1T43ezbYfZSTwBrDMGb440uAHig==", + "version": "2.0.0-beta.6", + "resolved": "file:sdk/pterodactyl-sdk-2.0.0-beta.6.tgz", + "integrity": "sha512-tatI71EZd71b1HPIKwwxV+30OgkoqyjiCNBM2xTSGPgdxFHbrvH8fi4EBYSSjgalsmj0etsVA/mBZuKU2CG1qg==", "dev": true, "license": "MIT", + "bin": { + "pterodactyl-theme": "bin/pterodactyl-theme.mjs" + }, "peerDependencies": { "@base-ui/react": "^1.6.0", "@tanstack/form-core": "^1.33.0", diff --git a/package.json b/package.json index 2b56c52..271f648 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "guides", "private": true, - "version": "1.0.1", + "version": "1.1.0", "type": "module", "scripts": { "build": "vite build", @@ -11,7 +11,7 @@ "test:watch": "vitest" }, "devDependencies": { - "@pterodactyl/sdk": "file:./sdk/pterodactyl-sdk-2.0.0-beta.4.tgz", + "@pterodactyl/sdk": "file:./sdk/pterodactyl-sdk-2.0.0-beta.6.tgz", "@tanstack/react-query": "^5", "@base-ui/react": "^1.6.0", "@tanstack/form-core": "^1.33.0", diff --git a/sdk/README.md b/sdk/README.md index ea235c5..37ebc17 100644 --- a/sdk/README.md +++ b/sdk/README.md @@ -1,5 +1,5 @@ # Pterodactyl SDK -`@pterodactyl/sdk` is not published to npm yet. This tarball was built with `npm pack` in `packages/sdk` of [pterodactyl/panel](https://github.com/pterodactyl/panel) on the `2.0-develop` branch, commit `a86da61` (2026-10-09). The SDK is MIT licensed by Pterodactyl. +`@pterodactyl/sdk` is not published to npm yet. This tarball was built with `npm pack` in `packages/sdk` of [pterodactyl/panel](https://github.com/pterodactyl/panel) on the `2.0-develop` branch, commit `ba6ab9b` (2026-10-13), version `2.0.0-beta.6`. The SDK is MIT licensed by Pterodactyl. To update it, run `npm pack` in a newer panel checkout's `packages/sdk`, replace the tarball here and update the path in `package.json`. diff --git a/sdk/pterodactyl-sdk-2.0.0-beta.4.tgz b/sdk/pterodactyl-sdk-2.0.0-beta.4.tgz deleted file mode 100644 index 78dd503..0000000 Binary files a/sdk/pterodactyl-sdk-2.0.0-beta.4.tgz and /dev/null differ diff --git a/sdk/pterodactyl-sdk-2.0.0-beta.6.tgz b/sdk/pterodactyl-sdk-2.0.0-beta.6.tgz new file mode 100644 index 0000000..64f4555 Binary files /dev/null and b/sdk/pterodactyl-sdk-2.0.0-beta.6.tgz differ