serverpod_admin_server 1.0.18
serverpod_admin_server: ^1.0.18 copied to clipboard
Serverpod admin endpoints, resource registry, dashboard serving, and jobs support.
Changelog #
All notable changes to this project will be documented in this file.
1.0.18 #
- Listings are paged, sorted, searched and filtered in the database through
the new
queryendpoint method (AdminQueryin,AdminPageout), newest rows first by default. Values are quoted by the package itself, never passed to SQL raw. Resources with a customlistRows, or filters on columns a table does not store, are handled in memory. register<T>(present: ...)adjusts rows for the dashboard (for example signed document links) while queries still run in the database.
1.0.17 #
- Rows that extend a Serverpod auth user (a unique
authUserIdcolumn, or a relation toserverpod_auth_core_user) show and edit that user'sauthUser.scopeNamesandauthUser.blocked, saved to the auth user.register<T>(authUserColumn: ...)names the column when it is not detected. - An admin cannot remove their own admin access or block themselves.
1.0.16 #
- Permission scopes are picked from a list:
registerAuthUsers()offersserverpod.adminforscopeNames, plus anyscopesyou pass. register<T>(choices: {...})turns a list or set column into a multi-select of the given values.
1.0.15 #
- Enum columns are offered as dropdowns: values are discovered automatically
on the Dart VM, and
registry.registerEnum(MyEnum.values)declares them for compiled servers (dart compile exe/dart build cli). registry.registerAuthUsers()lists Serverpod's auth users so administrators can grant or revoke dashboard access (scopeNames) and block sign-in.- List, set and map (JSON) columns are shown and saved as JSON.
- Values a model cannot hold (for example a malformed geography point) are
rejected with an
AdminValidationExceptionnaming the field instead of an internal server error. - Foreign key dropdowns are fixed and form values reach model validation unchanged.
1.0.14 #
- Updated Serverpod server and test dependencies to 4.0.0-beta.1.
- Added the Serverpod 4 database and authentication schema migration.
- Confirmed the installer uses the dashboard artifact from the latest GitHub release.
1.0.13 #
- Updated Serverpod server dependencies to 3.4.11.
1.0.12 #
- Updated installer documentation to use local package execution with
dart run serverpod_admin_server:serverpod_admin install. - Updated README tutorial with separate non-custom prebuilt dashboard and advanced custom Flutter dashboard setup paths.
1.0.11 #
- Switched the prebuilt dashboard release instructions from WebAssembly output to the standard Flutter web JavaScript build for broader browser compatibility.
1.0.10 #
- Made
AdminUser.createreset the password for existing email accounts, so development admin bootstrapping is repeatable. - Updated install snippets to configure resources and jobs before serving the prebuilt dashboard.
1.0.9 #
- Improved
serverpod_admin installoutput with a copy-pasteserver.dartsnippet for serving the prebuilt dashboard.
1.0.8 #
- Documented the default
/admindashboard route. - Added support for custom dashboard paths with or without a leading slash.
1.0.7 #
- Added prebuilt admin dashboard installer executable:
serverpod_admin install. - Added
serveAdminDashboard(pod)for serving the installed Flutter web admin app at/admin. - Added admin profile update and password change endpoints.
- Added Serverpod future-call jobs resource, job history, and job queue actions.
- Added admin user bootstrap helper support for email/password admin users.
- Improved CSV/XLSX import/export support and admin-resource data handling.
1.0.6 #
- Initial version
- Core admin module functionality
- Model registration system
- Admin endpoint implementation
- Support for CRUD operations on registered models
- Frontend-agnostic API design