Releases: dev-family/admiral
v5.12.3
Security
- Update qs to 6.14.1 to fix CVE-2025-15284 vulnerability
Fixed
- DoS vulnerability through memory exhaustion in query parameter parsing
Changed
- Updated qs: 6.10.3 → 6.14.1
v5.12.2
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.tshelper withsaveNavigationFrom,getNavigationFrom, andclearNavigationFromfunctions - Updated
BackButton,CreateButton,EditAction, andFormcomponents to use new navigation state - Extended
RouterLocationStateinterface withfromfield
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
What was fixed:
- Error using
TranslatableInputcomponent insideArrayInputcomponent with required parameter.
v5.12.0
What was fixed:
- A bug when using the
TranslatableInputcomponent inside theArrayInputcomponent - 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
Selectcomponent has been changed. If the component has a value but no options, do not display anything in theSelect.
v5.11.0
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
What's new:
DatePicker and TImePicker:
-
Added
dateOutputFormatprops 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 usedformatISOmethod fromdate-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 usedtoISOStringJS 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
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
What's fixed:
- Select component.
Converting Boolean values to a number
v5.9.6
What's new:
-
Add baseAppUrl props in component to change the base path of the app.
It's works with react-routerExample:
<Admin baseAppUrl="/app" />
