Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

WSO2 Carbon UUF 1.0.0-M7

Pre-release
Pre-release
Compare
Choose a tag to compare
@this this released this 04 Nov 13:04
· 738 commits to master since this release

We are happy to announce the seventh milestone release of WSO2 Unified UI Framework. In this release, we have migrated to MSF4J 2.1.0 version.

Changes List:

  • Following JS functions are added.
    • module("module-name")
      • Loads the JS file '/modules/module-name.js' in your Component into your calling JS. This should be only used outside of the onRequest function to avoid loading the module JS over and over again.
    • sendToClient("clientSideName", obj)
      • Safely sends the variable obj as a JSON to the client-side and you can access it with clientSideName name.
    • Log.info(obj), Log.debug(obj), Log.trace(obj), Log.warn(obj), and Log.error(obj)
      • Logs the given object.
  • Following JS function have been removed.
    • 'setAppTheme' and 'getAppTheme'
  • Following Handlebars helpers are added,
    • {{t "key.to.msg.string"}}
      • Gives the i18n functionality
  • Following Handlebars variables have been renamed.
    • '@app.context' --> @contextPath
    • '@app.config' --> @config
  • Now UUF can,
    • Reload edited files on-the-fly when the deveoper mode is enabled. To enable the dev mode, start the Carbon server with -Ddevmode flag.
    • Deploy zip artifacts (Apps).
    • Handle POST request along with file uploading.
    • Render plain HTML files (in Pages for Fragments) with 'uuf-renderablecreator-html' plugin.
  • Optimized static file serving.
  • Bug fixes.
  • More samples.