Gramex 1.34 Release Notes

Server Traceback

Developers can now see detailed traceback on the browser, like this:

Server Traceback

NOTE: Traceback is only for development. Disable it in gramex.yaml with app.settings.serve_traceback: false

Config Viewer

Gramex features a built-in Config Viewer component.

Config viewer

Config viewer

This currently allows user to view, search through gramex app configuration.

You can embed the viewer in a page, follow these instructions in your HTML.

Developer updates

AJAX XSRF

When using AJAX, no XSRF token is required (for modern browsers that send an X-Requested-With: XMLHttpRequest header for AJAX.)

See the documentation.

FormHandler JSON

FormHandler methods accepts Content-Type: application/json. This allows passing JSON data as arguments.

See the documentation.

Anton font

The Google Font Anton is now available on the Gramex UI components.

Vega Examples

Additional vega-lite and vegam examples are added

Deprecations

Others

Internal bugfixes

Stats

Upgrade

To upgrade Gramex, run:

pip install --verbose gramex==1.34

This downloads Chromium and other front-end dependencies. That may take time.