Gramex 1.88 release notes

Gramex 1.88 supports Breakpoint debugging and templates for the IDE.

Breakpoint Debugging

Gramex used to prefer ipdb as the default debugger. Now, Gramex uses the default breakpoint() mechanism.

In any FunctionHandler, transform, or any Python code, add breakpoint() to pause execution and enter the debugger.

You can replace the default Python debugger pdb by setting the PYTHONBREAKPOINT environment variable:

#691

IDE templates

Run gramex init ide to create a new Gramex project that is used on the Gramex IDE.

This is a lightweight template that has:

Build improvements

The Gramex Docker build is now based on Alpine 3.17 (from 3.16). This is a security update. #676

Bug fixes

Backward compatibility & security

Gramex 1.88 is backward compatible with previous releases unless the release notes say otherwise. Automated builds test this.

Every Gramex release is tested for security vulnerabilities using the following tools.

  1. Bandit tests for back-end Python vulnerabilities. See Bandit results
  2. npm-audit tests for front-end JavaScript vulnerabilities. See npm-audit results
  3. Snyk for front-end and back-end vulnerabilities. See Synk results
  4. ClamAV for anti-virus scans. See ClamAV results
  5. Trivy for container scans. See Trivy results

Statistics

The Gramex code base has:

How to install

See the Gramex installation and upgrade instructions.