Skip to content

Releases: dev-family/admiral

v5.12.3

12 Jan 10:11

Choose a tag to compare

Security

Fixed

  • DoS vulnerability through memory exhaustion in query parameter parsing

Changed

  • Updated qs: 6.10.3 → 6.14.1

v5.12.2

24 Oct 10:57

Choose a tag to compare

What's new:

  • Back button now correctly returns to the previous page with all filters and pagination intact
  • Navigation state persists through external redirects via sessionStorage
  • Automatic cleanup of stale navigation data (older than 1 hour)
  • Uses browser history when no saved navigation state is found

Technical changes:

  • Added navigationState.ts helper with saveNavigationFrom, getNavigationFrom, and clearNavigationFrom functions
  • Updated BackButton, CreateButton, EditAction, and Form components to use new navigation state
  • Extended RouterLocationState interface with from field

Benefits:

  • Preserves user context when navigating between CRUD pages
  • Eliminates loss of filters and pagination after editing or redirects
  • Provides more predictable and consistent navigation behavior across the admin interface

v5.12.1

17 Sep 12:13

Choose a tag to compare

What was fixed:

  • Error using TranslatableInput component inside ArrayInput component with required parameter.

v5.12.0

27 Aug 13:41

Choose a tag to compare

What was fixed:

  • A bug when using the TranslatableInput component inside the ArrayInput component
  • The logic of creating a unique identifier when creating a form inside a component has been removed from ArrayInput. Instead, the newly created form is now determined based on the length of the keys.
  • The logic of displaying the value in the Select component has been changed. If the component has a value but no options, do not display anything in the Select.

v5.11.0

06 May 13:25

Choose a tag to compare

What's new:

Locale:

  • The autoRefreshButton key has been added to the TableLocale object to be able to change the text content of the auto refresh button in the table header.

Input:

  • Removed the strict typing of the type attribute for the Input component so that any type that is previewed by HTML can be used.

v5.10.0

25 Mar 14:40

Choose a tag to compare

What's new:

DatePicker and TImePicker:

  • Added dateOutputFormat props with "iso" and "utc" options. The default option is "iso".
    If you want to get data in a specific time zone, you should use the "iso" option. This will give you a date format like "2025-03-26 16:02:23 +03:00". For this transformation are used formatISO method from date-fnd.

  • Alternatively, you can use the "utc" option, which will convert the data to UTC time. The date will be in the format "2025-03-26 16:01:45.894Z". For this transformation are used toISOString JS method.

    Example:
    <DatePickerInput name="date" dateOutputFormat="utc" />

Removed the upper limit of the allowed version node.js:

  • The description of the recommended node version is here

v5.9.8

27 Jan 15:45

Choose a tag to compare

What's new:

Localization (ruRU):

  • Added support for Russian (ruRU) localization.

Refactoring Localization Logic:

  • Updated enUs format to enUS.
  • Removed the locales file.
  • Consolidated all localization files into the locales folder, now assembled as an AdmiralLocale object.
  • Moved the Logout button to the auth folder for better organization.

Localization can now be easily imported from the admiral package and applied to the Admin component.
Example:
<Admin locale={admiralLocales.enUS} />

What's fixed:

Fixes of previously non-localized elements:

  • Notifications for login success or failure.
  • Logout button text.
  • OAuth label text.
  • Updated user card alignment to the left.

v5.9.7

18 Oct 14:35

Choose a tag to compare

What's fixed:

  • Select component.
    Converting Boolean values to a number

v5.9.6

02 Sep 14:53

Choose a tag to compare

What's new:

  • Add baseAppUrl props in component to change the base path of the app.
    It's works with react-router

    Example:
    <Admin baseAppUrl="/app" />

v5.9.5

25 Mar 09:28

Choose a tag to compare

What's fixed:

  • A double request to get data when loading a crud using filters.
double-requests