- DATE:
- AUTHOR:
- JourneyApps Product Team
Runtime 4.90.13 (Latest Stable)
We are excited to announce that Runtime version 4.90.13 has been released.
Version 4.90 introduces View Templates: Now developers can define view XML as a standalone template, and reference it across views. What this means for developers:
Less code duplication across views.
Easier to maintain complex views, by breaking up the view XML into smaller snippets in templates.
Can introduce a better separation of concerns - a set of view components can be grouped into distinct templates.
Runtime version 4.90 additionally includes several smaller improvements and additions. Find the full changelog below.
You can use this version of the runtime by selecting it from the list of stable runtime versions under App Settings/Runtime Version in OXIDE.
4.90.13:
Components:
<view />Fixed the
title-colorattribute not being applied.
<button-group />Fixed a regression that caused
buttoninside abutton-groupto have additional margins applied.
Settings
DiagnosticspageFixed an error when reading database size on a
25.9.1Android container.
Typescript
Fixed an issue where views with the word
libin their name would be excluded from app compilation. (Requires using@journeyapps/runtime-build>=2.4.10)
4.90.12:
Fixed:
<sidebar/>,<context-menu/>,<columns/>,<list/>,<object-table/>,<view/>as well as on theDiagnosticspage andNavigationmenuFixed various memory leaks
<text-input/>Fixed inputs automatically losing focus when a
displayattribute had been set.
<view />Fixed view digests no longer triggering if validation had previously failed.
4.90.11:
Fixed:
<list/>,<object-table/>Fixed pagination page selector having incorrect theme color
Fixed
paginate-select-option-text-colorandpaginate-select-background-colorattributes not being correctly applied.
<single-choice-radio/>Fixed the required marker not being shown next to the label when
required="true"
4.90.10:
Fixed:
<object-table/>: A regression that could cause an infinite loop when validation was triggered on anedit-*cell.Android WebView: An issue where loading the JourneyApps Web Worker caused the app to hang on the loading screen.
4.90.9:
Added:
<object-table/>
Validation errors on
edit-*cells are now exposed under keyvalidationErrorsin the$stateobject passed toon-state-changecallback.
Fixed:
Input components:
Setting
requiredattribute tofalsewill now correctly clear any existing validation errors.
<object-table/>Validation for
edit-*cells now re-evaluates when the value changes or the cell is cleared.Validation errors on
edit-*cells are now retained when paginating between pages.
4.90.8:
Fixed:
icon-sizeattribute being ignored onbuttonandbutton-groupcomponents.
4.90.7:
Fixed:
A regression where the text color in an
object-tablewasn't correctly inferred from the cell background color.
4.90.6:
Fixed:
A regression where icons from an app's Assets directory weren't displayed as expected in the navigation drawer.
An
object-tablecolumn'sactionand row'sactionnot inheriting the correct icon colors when their ownicon-colorisn't directly set.
4.90.5:
Added:
Ability to specify
mode="inline"on thecapture-signaturecomponent, to capture signatures in-line instead of using a dialog.Allow specifying the locale when using the translation API (
t({key, params, locale})). The locale is the shortened name for the language e.g. 'ar' for Arabic. Example:
console.log(`Translate: ${t({key: 'Welcome', locale: 'de'})}`);Improved:
Allow filtering on
object-tableboolean cells even if all values are the same.
Allow capturing signatures by calling the
captureMedia()API even if thecapture-signaturecomponent is hidden.
Fixed:
A regression causing the default color for
object-tablecell icons to not be respected.A regression where
object-tablecells didn't receive the correct padding.A regression with icons not being resolved when provided via the
from-jsattribute.An issue where components on a
dialogwould briefly display an error before thedialogwas closed.Added missing translations for the
capture-signaturecomponent.
4.90.4:
Added:
You can now use
attachmentvariables/fields with images to populateiconsin your apps. For example:
<!-- main.view.xml -->
<var name="my_icon" type="attachment" media="image/png" />
<button label="Click me!" icon="{my_icon}" on-press="$:doSomething()"/>edit-selectin anobject-tablenow supports passing the$objectparameter to theoptionsfunction attribute. This allows for generating dynamic options based on the specified object (table row).
Fixed:
A regression where
sidebarwould render blank when viewed on mobile devicesAn issue where an
object-listcomponent with anactioncaused the entire view or dialog body to not get rendered.
4.90.3:
Fixed:
A regression where the
dialogcomponent's validation would throw an error.A regression where
list-itemsdo not properly register when a template literal is present in thevalueattribute.A memory leak caused by layer rendering.
The "Select language" sidebar item displaying, even when no additional languages are available for the app.
buttonlabel alignment not being correctly applied if the label spans multiple lines.
4.90.2:
Fixed:
UI components inside a
dialogbody triggering validation on the entire view, instead of just on dialog.object-tabledisplay cells having inconsistent padding.The
captureMedia()method forcapture-photoincorrectly throwing an "Invalid source" error.
4.90.1:
Fixed:
A regression with the
sidebarcomponent'son-pressfunction not being parsed correctly.A regression where
transform-valueparameters threw an error with anullvalue.An issue with the NFC API interface.
4.90.0:
Added
View Templates, enabling developers to define a view XML template definition (
template-def), and use it with thetemplatecomponent on views in their app. Learn how to use them here.Support for registering a shortcut (using the
shortcutUI component orShortcutManagerin JS/TS) for the RealWear action button (with shortcut keybutton:rw_actionbutton).Support for the
application/vnd.valvelinkmime type to upload.expfiles asAttachments.
Improved
Underlying improvements to the
object-tablestyling mechanism. This has no UI updates, but worth keeping an eye out for any edge cases or regressions on heavily-styled tables.TypeScript: As part of
runtime-buildversion 2.4.5: When importing App Modules in a view, named imports are now possible, e.g.import { myFunction } from="~/lib/mylib"
Questions / Feedback 
Please share any questions or feedback about the features in Runtime version 4.90 via support@journeyapps.com or the developer forum. We'd love to hear from you.