Changelog

This is a high-level summary of major changes and new features. Bug fix (patch) releases are not included. Please consult the Git logs and docs for more details and upgrade instructions.

10.0 (11 Aug 2023)

  • Upgrade to Vue3 using compatability mode

9.0 (19 Apr 2023)

  • Upgrade to Laravel 10

8.4 (5 Dec 2022)

  • Add kv-wide class for fields that need to be the full width (key + value)

8.3 (13 Oct 2022)

  • <ValidationError>: Add alwaysShow prop that shows the message even if the preceeding element doesn't have the .is-invalid class

8.2 (25 Aug 2022)

8.1 (20 Jul 2022)

  • <ButtonWithIcon> (and children): Add button-class prop, because class doesn't work when the button is disabled and wrapped with a <span>
  • Add <ButtonUpload>, which is similar to <ButtonSave> but for forms where the primary action is uploading a file

8.0 (12 Jul 2022)

7.6 (6 May 2022)

Various tweaks copied from TIO ACM:

  • <ButtonSave>: Add no-icon and text-class props
  • <FieldBoolean>: Add disabled prop; Accept non-boolean values
  • <FieldDate>: Add several extra props to pass to the date picker
  • <FieldLookup>: Add autofocus prop and focus() method
  • <FormatBoolean> and <IconBoolean>: Add yes-color-class and no-color-class
  • <LayoutMain>: Add example footer (commented out)
  • Add isSameOrigin() JS method
  • Add text-decoration-none class
  • Better styles for dropdown headers
  • Make alert links semi-bold instead of bold
  • Support a 4th level in the sidebar navigation (though this is not recommended!)

7.5 (4 May 2022)

This was accidentally tagged using the same commit as 7.4.1.

7.4 (28 Mar 2022)

  • <CardTable>: Pass index and id to the #row and #row-buttons slots

7.3 (28 Mar 2022)

  • Add <FieldColourPicker>

7.2 (19 Feb 2022)

  • <FormatCopyToClipboard>: Add value-class prop

7.1 (18 Feb 2022)

  • <CardTable>: Add with-clickable-rows prop (and @click-row event)

7.0 (15 Feb 2022)

  • Upgrade to:
    • Laravel 9 (requires PHP 8.0 or above)
    • Laravel Breadcrumbs 6
    • Laravel Enum 5 (remove CastsEnums)
    • Symfony Filesystem 6
    • Inertia.js 0.11
    • Inertia Progress 0.2
    • Inertia Vue 0.8
    • Axios 0.21
    • Linkify 3
  • Added:
    • spatie/once as a dependency (instead of installing it in each application)
  • Removed:
    • Vue Meta (Inertia has a <Head> component built in now)
    • Redirect::hard() (use Inertia::location() instead)
    • Test helpers such as assertComponent() (use assertInertia() instead)

6.3 (20 Dec 2021)

  • Add with-count parameter to <Pagination>

6.2 (16 Dec 2021)

  • Allow permissions trees to be dynamically generated by adding a tree() method

6.1 (12 Dec 2021)

  • Add Nexus::isApiRoute() method
  • Use the default Laravel 404 page, rather than the custom Nexus one, for API routes (so it works with HAProxy path restrictions)

6.0 (8 Oct 2021)

5.0 (18 Sep 2021)

  • Add xxl, xxxl and xxxxl breakpoints and modal sizes
  • Revert xl modal size to the Bootstrap default (any existing modals should be changed from xl to xxxxl)

4.28 (15 Sep 2021)

  • Add <ButtonExport>

4.27 (14 Sep 2021)

  • <CardSearchForm>: Add always-show-labels prop

4.26 (8 Sep 2021)

  • <FieldLookup>: Add id-field and name-field props

4.25 (7 Sep 2021)

  • <FontAwesome>: Add text-on-left prop

4.24 (7 Sep 2021)

  • Add <ButtonList> - a blue button for linking to a list/index page

4.23 (6 Sep 2021)

  • <CardSimple> and others: Add secondary prop, for a semibold title

4.22 (6 Sep 2021)

  • <FormatDateTime>: Add with-weekday prop

4.21 (3 Sep 2021)

  • <FieldLookup>: Add placeholder prop

4.20 (27 Jul 2021)

  • <FieldLookup>: Add clear button

4.19 (16 Jul 2021)

  • <CardSearchForm>:
    • Support for arrays in advanced filters
    • Emit @expanded and @collapsed events

4.18 (25 Jun 2021)

4.17 (23 Jun 2021)

  • <ButtonDelete>: Added disabled prop

4.16 (23 Jun 2021)

  • Add permissions for viewing Laravel Horizon and Telescope in production

4.15 (14 May 2021)

  • New component: <FormatFileSize>
  • <ButtonDelete>: Add mini variant

4.14 (20 Apr 2021)

  • <FieldLookup>: Added clear() method

4.13 (4 Apr 2021)

  • Add Nexus::shareOnce() method to inject global props in the initial page load instead of on every ajax page load

4.12 (31 Mar 2021)

  • <AlertWithIcon>: Add small variant for use inside cards

4.11 (28 Mar 2021)

  • <CardTable>: Hold shift + click to toggle a range of checkboxes (for bulk actions)

4.10 (26 Mar 2021)

  • Allow .table-hover to be used on <tr> as well as <table>

4.9 (25 Feb 2021)

  • Add default implementation of Audit facade, in case Nexus Audits is not installed

4.8 (23 Feb 2021)

  • <FieldLookup>: Add @select event to allow access to the full result object
  • Prevent logged out users viewing the default Nexus dashboard

4.7 (5 Feb 2021)

  • Add .alert-btn to position a button nicely inside an alert message

4.6 (21 Jan 2021)

  • Add <LayoutBasic> for use in iframes / popups

4.5 (9 Dec 2020)

  • Add default implementations of nexus.auth, nexus.sudo and nexus.verified middlewares, in case Nexus Users is not installed
  • Add Nexus::isNexusRoute() utility method

4.4 (9 Dec 2020)

  • Add createSymlink() helper method to service provider base class

4.3 (24 Nov 2020)

  • Add share() helper to Controller base class
  • Make Ctrl+Shift+R or Shift+F5 clear the page state
  • <ButtonWithIcon>: Add a 'method' parameter
  • <LayoutSidebarLink>: Accept a #text slot in place of the text prop

4.2 (23 Nov 2020)

  • New component: <FormatEmailAddress>
  • <FormatBoolean>: Allow non-boolean values; Add slot for custom formatted text
  • <FormatMaybeEmpty>: Add 'hide-zero' prop

4.1 (20 Nov 2020)

  • Improve .btn-link-inline focus styles
  • <SortableLink>: Add optional prefix to allow for more than one table on a page

4.0 (12 Nov 2020)

  • Readability improvements: make .text-warning class orange instead of yellow; make coloured table rows (.table-danger, etc.) lighter
  • New components: <ButtonWithIcon>, <FormatTextWithLink>
  • <ButtonRemove>: Add method and data props
  • <CardTable>: Simplify usage with additional slots, e.g. #row
  • Add .btn-mini class
  • Add vue-unique-id package
  • Add optional prefix to package routes
  • Show fallback page for Internet Explorer, or if JS is not available
  • Move more code from the template into the package
  • Upgrade Inertia.js, Ziggy
  • Rename the main CSS/JS entrypoint to nexus and add frontend entrypoint (if using Nexus CMS)
  • Replace davejamesmiller/laravel-breadcrumbs with Diglactic fork
  • Remove "Page X" from breadcrumbs (because clicking the parent link just redirects back to the current page in most cases)
  • Remove some deprecated functionality (e.g. $date())

See the upgrade instructions for more details.

3.1 (8 Nov 2020)

  • <CardTable>: Add bulk actions support

3.0 (2 Nov 2020)

2.5 (20 Oct 2020)

  • Add dynamicComponents() and dynamicComponentsList() methods for use in packages

2.4 (11 Oct 2020)

  • Add .font-weight-semibold class

2.3 (10 Oct 2020)

  • Improve sidebar 3rd level submenu styles
  • <CardSearchForm>: Support for additional filters (basic & advanced)
  • <FieldBoolean>: Support for help text
  • <FormatMaybeEmpty>: Support for custom placeholders
  • <MaybeInertiaLink>: Support for blank hrefs (rendered as <span>)

2.2 (10 Oct 2020)

  • <ChartCanvas>: Support for dynamically updating data/options

2.1 (10 Oct 2020)

  • Page loading spinner moved to <LayoutNavbarLogo> so it can be customised in the application

2.0 (9 Oct 2020)

  • Upgrade to Laravel 8
  • Upgrade to Inertia-Vue 0.3.0

1.6 (25 Sep 2020)

  • New component: <ButtonRemove>

(Note: This was incorrectly tagged 1.2.2 originally.)

1.5 (23 Sep 2020)

1.4 (12 Sep 2020)

  • Add support for toast flash messages

1.3 (10 Sep 2020)

  • <DateTimeFormat>: Add support for milliseconds

1.2 (20 Aug 2020)

Nothing user-facing - shouldn't have been tagged.

1.1 (16 Aug 2020)

  • New components: <RelatedLink>, <FieldDate>
  • <SortableLink>: Add support for two sortable links in one <th>
  • Layout tweaks

1.0 (14 Aug 2020)

  • Initial release