diff --git a/.github/release-notes.md b/.github/release-notes.md index a4e7356..c886382 100644 --- a/.github/release-notes.md +++ b/.github/release-notes.md @@ -13,6 +13,6 @@ php artisan p:extension:install /path/to/custom-links-${VERSION}.pteroext --enab - New `{server.domain}` placeholder, filled with the server's domain from the Domains extension or its IP when it has none. - Links look like the panel's own buttons and line up with the other extensions above the console. -Requires Pterodactyl Panel 2.0 (2.0-develop or later) and PHP 8.3+. See the README for features and settings. +Requires Pterodactyl Panel v2.0.0-beta.1 or later and PHP 8.3+. 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 d676e24..0beacca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.2.0 + +- Works with Pterodactyl v2.0.0-beta.1 (SDK beta.6). + ## 1.1.0 - New `{server.domain}` placeholder: the server's domain from the Domains extension, or its IP when it has no working domain (or Domains is not installed). diff --git a/README.md b/README.md index 2d93311..0cc30b4 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Add your own buttons and links to server pages and the dashboard: wikis, Discord ## Requirements -- Pterodactyl Panel 2.0 (2.0-develop or later) +- Pterodactyl Panel v2.0.0-beta.1 or later - PHP 8.3+ ## Install diff --git a/extension.json b/extension.json index fd1d5c9..636a186 100644 --- a/extension.json +++ b/extension.json @@ -2,13 +2,13 @@ "$schema": "./node_modules/@pterodactyl/sdk/manifest.schema.json", "id": "custom-links", "name": "Custom Links", - "version": "1.1.0", + "version": "1.2.0", "description": "Add your own buttons and links to server pages and the dashboard: wikis, Discord, map viewers, store pages. Show them on every server or only on chosen eggs.", "author": "RustixDev", "icon": "link", "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\\CustomLinks\\CustomLinksProvider", diff --git a/package-lock.json b/package-lock.json index 55be61f..98839c4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "custom-links", - "version": "1.1.0", + "version": "1.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "custom-links", - "version": "1.1.0", + "version": "1.2.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 2b7b0c4..50e3cb0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "custom-links", "private": true, - "version": "1.1.0", + "version": "1.2.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