LogicBlox 4.16.0

Release Date: September 10, 2019

What's New

LogicBlox 4.16.0 introduces the following enhancements:

  • Modeler
    • Increased visibility of the line loader in sheet views which makes it easier for users to see when calculations are finished running.

    • Reduced page load time of Modeler's workbook list view.

  • Modeler IDE
    • The Modeler IDE now has a view for configuring actions. The view will display a list of all existing actions and allows you to create new actions. For actions of the type "service", the IDE allows you to write the service logic using a LogiQL editor without having to leave the view.

      Actions configured with this view will not be build yet and are therefore not operational within your project. This functionality will be added in a future LogicBlox release.

    • We now support automatic migrations of IDE projects. This means the Modeler IDE will take care of any changes in the format of data files when you upgrade LogicBlox.

    • Rearranged navigation items to match the order in which Modeler IDE projects should be configured.

  • Tools, Database, and Services
    • Import/export transformations are now supported for optional columns in TDX.

  • Measure service
    • Improved predicate key order chosen for inventory expressions to make evaluation more efficient.

    • The CubiQL REPL now includes a :gviz command that generates a graphviz visualizations of metric dependencies and inverses in the model.

Corrected Issues

The issues listed below have been corrected since the 4.15.0 release:

  • Modeler
    • The counter used to identify duplicate measures in the axis and filter panels are now always visible, even when a measure has a long name.

    • Searching/filtering of type "Label Exactly Matches" didn't work correctly, this has been fixed now.

    • When setting prefixSymbol to true in a measure format configuration, input validation now properly allows inputting “%” before the value.

    • The workbook list now displays levels by their caption instead of their id.

  • Modeler IDE
    • The IDE now correctly displays measure variant information when switching between different measures via the quick search panel.

    • The level form no longer crashes when the user presses the Delete key while focus is on the "Custom Order Type" dropdown.

    • Resolved a build issue in the IDE which could occur after configuring alternate hierarchies.

  • Measure service
    • Fixed an issue where {{functional=...}} annotations were not being preserved through some rewrites.

Known Issues

The issues listed below are known to exist in the 4.16.0 release.

  • Tools, Database, and Services
    • This release contains changes to some lb-workflow tasks related to workbook creation. These fixes have not been applied yet to lb.wb.CreateWorkbook, which means errors related to recent changes in the LB runtime that imposes restrictions on string lengths can still occur. Please note that this known issue does apply to lb.wb.util.CreateWorkbook.

Installation Information

Install LogicBlox 4.16.0 by following the steps outlined below:

  1. Download the LogicBlox installation package for Linux or macOS from the LogicBlox developer website.
  2. Extract the tarball into a directory, which we refer to as <LOGICBLOX_HOME>.
  3. Run the following commands:
    source <LOGICBLOX_HOME>/etc/profile.d/logicblox.sh
    source <LOGICBLOX_HOME>/etc/bash_completion.d/logicblox.sh
    NOTE: these scripts automatically set all the necessary environment variables (please be aware that this script only works if you use bash as your shell). You might want to add these commands to your .bashrc.

Upgrade Information

  • Modeler
    • The format for the match filter object in the JSON view configuration has changed. It now requires attribute which is either label or id.

      Example 1. 

      The old format:

      {
          filter: {
              type: "match",
              name: "Product:sku",
              query: "sku-1",
              exactMatch: true
          }
      }

      New format:

      {
          filter: {
              type: "match",
              attribute: "label",
              name: "Product:sku",
              query: "sku-1",
              exactMatch: true
          }
      }

      Migration

      Make sure to run the Modeler migration tool to add an attribute property to match filters, or add the attribute properties manually in your JSON view configuration.

    • The library containing the Modeler migration tool is included in the distribution under <LOGICBLOX_HOME>/lib/npm/modeler-migrations-<VERSION>.tgz and contains a command line tool for doing various transformations/migrations of modeler configurations.

      To use the npm module, you first need to install it by running npm install <LOGICBLOX_HOME>/lib/npm/modeler-migrations-<VERSION>.tgz. You will then be able to use the command line tool. The module contains a README.md file that lists all available transformations as well as detailed instructions for use.

      To automatically upgrade a Modeler application from one version to another, run the upgrade script to upgrade between versions:

      ./node_modules/.bin/migrate-modeler --fromVersion <prevVer> --toVersion <toVer> /path/to/my/modelerapp

      where the version numbers refer to LogicBlox releases (e.g. 4.16.0).

      NOTE: If you installed the npm module globally, you won't need the ./node_modules/.bin prefix on the command.

Release Information

  • Server requirements
    • Operating System: 64-bit Linux; Apple macOS 10.10+ is supported for local development
    • Java Runtime Environment 8, update 101 or higher
    • Python 2.7 or higher
  • Client requirements
    • Applications using LogicBlox Modeler: Modeler supports major browsers not older than 1 year. Google Chrome provides the best performance.
    • Requirements for applications using non-LogicBlox Modeler components may vary per application.