GBC 1.00.59 new features and upgrade notes

A summary of new features and changes in functionality introduced with Genero Browser Client (GBC) 1.00.59. Note the changes you may need to make when moving to this version of the GBC.

Important:

This version of GBC is desupported, use a more recent version of the product.

Important:

This page covers only those new features introduced with the Genero Browser Client version specified in the page title. Check prior new features pages if you migrate from an earlier version.

For a detailed list of GBC 1.00.59 changes, please refer to the list of fixes on our issue tracker.

New build tool

A new build tool, command line gbc, is available to build your customization. It replaces the grunt command, which is removed. Here is an command equivalence table:

Old way New way
grunt gbc build See options below
grunt dev becomes a gbc build option, see below
grunt clean gbc clean
grunt cleanall gbc clean all
grunt help gbc -h or gbc --help

The build options equivalence:

Old way New way
--customization=NONE --no-customization or -nc
--customization=customizationId --customization customizationId or -c customizationId
--customization=ALL --all or -A
--create-zip --create-zip or -z
--configuration=configurationFile --configuration configurationFile or -C configurationFile
--compile-mode=compileMode --compile-mode compileMode or -m compileMode
--customizationSuffix=suffix --customization-suffix suffix or -s suffix
--build-dist=buildDist --build-dist buildDist or -d buildDist
--themes=themes --themes themes or -t themes
replaced grunt dev with option --watch or -w

For more information, see gbc tool syntax.

Theme variables

New theme variables are available:

gbc-ChromeBarWidget-flow-gbc-items Force Chromebar's GBC items to be flown in the right sidebar

For more information about theme variables, see Theme variables reference.

New library

The time manipulation and formating library: Moment.js has been replaced by Day.js, which is smaller and faster.

Sanitize style attribute

The style attribute sanitize has been added for the Label, Message, and TextEdit widgets. If set to "yes" (the default), when HTML is passed to a widget, the HTML is cleaned to ensure nothing malicious is executed.

This can cause issues, for example, when a hyperlink contains protocols such as mailto: inside a html label. To solve this kind of problem, set sanitize to "no":

Style name="Label.mail"
     StyleAttribute name="sanitize" value="no"/
/Style

File loading

The default behavior for file upload has been changed.

In previous versions, the file upload was indicated by an icon in the chromebar. From GBC 1.00.59 onwards, this file loading icon still displays, but is quickly replaced with an incrementing percentage. See Center file loading icon for more details.

In addition, a progress bar displays to indicate that the GBC is waiting for a response from the DVM. See Change progress indicator for more details.