JourneyApps Container v4.27

We’re excited to announce v4.27 of the JourneyApps Container. Included in this release:

Object-* Rearchitecture

We’ve made some massive improvements to the internal workings of object-* components (object-table, object-repeat, object-list & object-dropdown). TL;DR: query and array now work the same way under the hood, $object in object tables are proper JourneyApps objects and everything’s been made faster.

We’ve added an official guideline for choosing between query and array to Querying DB Objects.

Object Table improvements

Your favorite component just got more advanced:

  • Not all data is equal. Pagination on object tables works great for certain types of data, but for others, a scrollable interface works a lot better. Therefore we’ve added the ability to make a table scrollable. For more info, see: here

  • We’ve increased the speed of advanced object table loading.

ATS

Last year Apple announced a security feature for iOS called Application Transport Security (ATS). This feature will eventually enforce HTTPS for all network requests. Although the JourneyApps Container already uses HTTPS for all communications with the JourneyApps Backend, it was still possible for a developer to use the fetch() function to create insecure HTTP requests. We've activated ATS on our iOS Containers, disabling the ability to create HTTP requests.

Notification

We’ve made several improvements to the Notification bar. Say hello to more control over the color of the bar, the duration before it disappears and the ability to add buttons. See notification() for information.

Other

  • We’ve removed the whitelist of icons intags. In the past, only a certain subset of Ionicons was accepted. Now yourtag can include any Ionicon.

  • We fixed a bug where paragraph inputs didn’t resize correctly when their values were changed from JavaScript.

Changelog

  • added: Ability to set Object Tables v2 to scroll mode

  • added: ATS to iOS containers, enforcing secure HTTPS requests

  • added: options parameter to notification, allowing more control over the notification bar's color, duration and buttons

  • added: on-press-icon for sidebar items

  • fixed: (JS Functions from XML) $object is now always the actual object, not a JSON representation of it

  • fixed: (JS Functions from XML) $object now always refers to the same object as is displayed. If data is modified in e.g. on-press, it will be correctly updated in the component

  • fixed: (JS Functions from XML) Queries are now automatically reloaded after user actions (e.g. on-press)

  • fixed: on-press now works with unsaved objects in an array

  • fixed: Objects are now correctly reloaded in object-repeat

  • fixed: Bug where paragraph inputs didn’t resize correctly when their values were changed from JavaScript

  • improved: General performance has been improved when working with large arrays or queries. Where arrays have been slower than queries in some cases in the past, it will now be at least as fast, and often faster because from avoiding the query reload. Large object tables with arrays can load and reload up to 5 times faster than before.

  • improved: Removed the whitelist for icons in antag. Feel free to add any Ionicon in there!

Last updated