BDL 5.01 new features

Features added in 5.01 releases of the Genero Business Development Language.

Important:

This page covers only those new features introduced with the Genero BDL version specified in the page title. Check prior new features pages if you migrate from an earlier version. Make sure to also read the upgrade guide corresponding to this Genero version.

Corresponding upgrade guide: BDL 5.01 upgrade guide.

Previous new features page: BDL 5.00 new features.

Table 1. Core language
Overview Reference
Support for GWA (Genero Web Applications) See Genero Web applications.
Starting at 5.01.02
UTF-8 locale support is now set on Windows with LANG=.utf8 (LANG=.fglutf8 is still supported for backward compatibility) See Language and character set settings.
Starting at 5.01.03
New base.SqlHandle methods to open the SQL cursor with hold option. See base.SqlHandle.openCursorWithHold and base.SqlHandle.openScrollCursorWithHold.
Related upgrade notes
Table 2. User interface (language features)
Overview Reference
Related upgrade notes
Table 3. User interface (front-end features)
Overview Reference
New style attribute headerPosition for table column titles. See headerPosition attribute
New style attribute showVirtualKeyboard on mobile. See showVirtualKeyboard attribute
Starting at 5.01.03
New front calls to control table column layout. See New front calls
Related upgrade notes
Table 4. SQL databases
Overview Reference
Support for Oracle® MySQL 8.4 with the dbmmys_8_4 ODI driver. See Database driver specification (driver) and Oracle MySQL / MariaDB.
Support for Informix 15.0, using CSDK 4.50 with the dbmifx_9 ODI driver. See Database driver specification (driver).
Starting at 5.01.02
Support for Oracle 23ai and the VECTOR data type. See Oracle VECTOR data type.
Support for PostgreSQL JSON and JSONB data types. See PostgreSQL JSON/JSONB data types.
Related upgrade notes
Table 5. Tools
Overview Reference
The fglgar tool has a gwa verb for packaging Genero Web Applications in a Genero archive (gwa) file. See options table for fglgar gwa and Packaging gwa files.
VS Code extension uses now the Language Server technology. This implies fast responses on VS Code front-end requests, go to references is aware of all files in the workspace, diagnostic is now sensitive for inter-module dependencies. See Visual Studio Code extension, Debugging with VS Code.
Related upgrade notes
Table 6. Web Services
Overview Reference
There are new options for handling NULL values for primitive types during serialization. See The handling of NULL values for primitive types during serialization has changed
json.Serializer class for serialization and deserialization introduces changes to how nulls are handled with JSONRequired. error-15807 is raised when a null value is sent to a variable with JSONRequired unless you also use json_null="null". See Using the json_null="null" attribute with JSONRequired
The serializeNullAsDefault option is added to json.Serializer to support null values during BDL/JSON serialization. By default serializeNullAsDefault is 0. You can set this option with the json.Serializer.setOption() method. See:
New methods allow you to set HTTPS client certificates at runtime and dynamically override some FGLPROFILE entries for secured communication. See New HttpRequest methods dynamically override FGLPROFILE entries
FGLPROFILE has a new entry, xml.keystore.cadir, to specify a directory for all trusted X509 certificates to be used during XML signature verification. See New xml.keystore.cadir entry in FGLPROFILE for XML signature verification
Starting at 5.01.01
The getLastErrorDescription() method is introduced in the json.Serializer class. This method retrieves the most recent error generated during serialization. See
Starting at 5.01.02
The com.WebServiceEngine.RegisterRestService() and com.WebServiceEngine.RegisterRestResources() methods support package-style module names. See:
Starting at 5.01.03
json.Serializer class introduces a new option, allowImplicitConversion, to support implicit conversion in JSON deserialization.See
Related upgrade notes
Upgrade notes for web services. See Web Services changes
Table 7. Mobile apps (GMA 5.01 and GMI 5.01)
Overview Reference
Starting at 5.01.01
Extension of the mobile.scanBarCode front call to specify the ouput format. See mobile.scanBarCode output format specification (GMA).
Related upgrade notes
Upgrade notes for GMA. See Genero Mobile for Android (GMA) 5.01 changes.
Upgrade notes for GMI. See Genero Mobile for iOS (GMI) 5.01 changes.
Table 8. Web apps (GWA 5.01)
Overview Reference
Related upgrade notes
Starting at 5.01.02
New gwabuildtool option --app-dir-is-pwd. Specifying the working directory as /app
Upgrade notes for GWA. See Genero for Web Applications (GWA) 5.01 changes.