Changelog
v1.3.0 - 2026-10-12
Template release: tailwind-light (default) and super-admin-template-1 (classic Bootstrap 5).
Fixed
- Grid
->editable()crashed with "class Editable does not have a method text"; inline edit now resolves the displayer by type and rejects unknown types. - Toastr and alert partials failed with "Call to a member function get() on array" when sessions are JSON serialized (Laravel 13 default); flashes are normalized with the new
admin_flash_to_array()helper. - Upload field preview prefixed the storage URL to values that were already absolute URLs (for example the default avatar).
- Tailwind template: form and grid footers were positioned with
position: fixedinside a backdrop-filter card and overlapped the last rows; they are now sticky. - Tailwind template: inline edit, grid pickers, action modals, form tabs and hasMany tabs called Bootstrap JS that is not loaded; a small
bootstrapcompatibility layer (Modal, Popover, Tooltip, Tab, Collapse, Dropdown) is bundled with the template. - Tailwind template: UI listeners were bound again after every PJAX load, the sidebar active state was not refreshed (a
pjax:completeevent is now dispatched), the sidebar menu search was not wired, batch action buttons never appeared, the action form modal was visible on page load and between/datetime filters had no label. Admin::VERSIONnow matches the released version.- Guests were redirected in a loop when
auth.exceptsdid not include the login page; the configuredredirect_topath now always passes the auth middleware. - Permission denials and the grid's "page out of range" redirect sent the response and called
exit, skipping the remaining middleware and terminating the process; they now raise anHttpResponseException(Pjax::respond()does the same). Form::isCreating()/isEditing()crashed outside a routed request; form fields rendered outside a web request failed with "Undefined variable $errors".Grid::fixColumns()andfixHeader()return the grid for chaining.- Built-in batch actions (batch delete, batch edit) registered the generic action handler next to their own script, so every batch delete logged Action method BatchDelete::handle() does not exist and left the list stale; actions without a
handle()method no longer register the generic handler. - The sidebar menu now re-renders after a menu item is created, edited, moved or deleted on the Menu page (it used to need a full page reload).
Added
- Laravel 8 and 9 support (PHP 8.0+): constraints widened,
symfony/dom-crawler5.4 accepted, CI matrix extended, operation loguser_idcast to integer (SQLite on PHP 8.0 returned strings). Laravel 4 to 7 remain unsupported: they need PHP 5.4 to 7.x and lack the framework APIs the package is built on. - Cascade helpers
whenIn(),whenNot()andwhenNotIn()on form fields. dateMultiple()form field alias (the type was registered asDateMultipleonly).Grid::disableDefaults()to switch off actions, batch actions, create button, export, filter, row selector, pagination, tools and the column selector at once.Show\Panel::footer()rendered below the detail fields in both templates.- The Admin service is a container singleton, also available as
app('admin');Admin::navbar()/getNavbar()are static. - Test suite:
tests/controllersadded to the Composer classmap, test config derived from the shipped config, and the optional Excel exporter skipped whenmaatwebsite/excelis not installed.
First release of super-admin - 2025-08-11
First release of super-admin
Full Changelog: https://github.com/super-admin-org/super-admin/compare/v1.1.3...v1.1.5