You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,10 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
8
8
should be completely seamless for most installations as the Panel is able to convert between the two. Custom solutions
9
9
using these eggs should be updated to account for the new format.
10
10
11
+
This release also changes API key behavior — "client" keys belonging to admin users can now be used to access
12
+
the `/api/application` endpoints in their entirety. Existing "application" keys generated in the admin area should
13
+
be considered deprecated, but will continue to work. Application keys _will not_ work with the client API.
14
+
11
15
### Fixed
12
16
* Schedules are no longer run when a server is suspended or marked as installing.
13
17
* The remote field when creating a database is no longer limited to an IP address and `%` wildcard — all expected MySQL remote host values are allowed.
@@ -22,6 +26,8 @@ using these eggs should be updated to account for the new format.
22
26
* Additional permissions (`CREATE TEMPORARY TABLES`, `CREATE VIEW`, `SHOW VIEW`, `EVENT`, and `TRIGGER`) are granted to users when creating new databases for servers.
23
27
* development: removed Laravel Debugbar in favor of Clockwork for debugging.
24
28
* The 2FA input field when logging in is now correctly identified as `one-time-password` to help browser autofill capabilities.
29
+
* Changed API authentication mechanisms to make use of Laravel Sanctum to significantly clean up our internal handling of sessions.
30
+
* API keys generated by the system now set a prefix to identify them as Pterodactyl API keys, and if they are client or application keys. This prefix looks like `ptlc_` for client keys, and `ptla_` for application keys. Existing API keys are unaffected by this change.
25
31
26
32
### Added
27
33
* Added support for PHP 8.1 in addition to PHP 8.0 and 7.4.
@@ -33,9 +39,11 @@ using these eggs should be updated to account for the new format.
33
39
* Adds command to return the configuration for a specific node in both YAML and JSON format (`php artisan p:node:configuration`).
34
40
* Adds command to return a list of all nodes available on the Panel in both table and JSON format (`php artisan p:node:list`).
35
41
* Adds server network (inbound/outbound) usage graphs to the console screen.
42
+
* Adds support for configuring CORS on the API by setting the `APP_CORS_ALLOWED_ORIGINS=example.com,dashboard.example.com` environment variable. By default all instances are configured with this set to `*` which allows any origin.
36
43
37
44
### Removed
38
45
* Removes Google Analytics from the front end code.
46
+
* Removes multiple middleware that were previously used for configuring API access and controlling model fetching. This has all been replaced with Laravel Sanctum and standard Laravel API tooling. This should make codebase discovery significantly more simple.
0 commit comments