Skip to content

2.4.12

Latest

Choose a tag to compare

@dsblank dsblank released this 01 Dec 19:09
· 2 commits to main since this release

Security release: all users should upgrade (pip install -U kangas).

New in this release:

  1. Security fix (CWE-95, #132): opening a crafted DataGrid in the Kangas UI could run arbitrary code, via the About page's .show(...) examples or via list-comprehension filter expressions. These are no longer evaluated as Python: About page arguments are parsed as literals only, and filter expressions are validated before compiling, whether or not RestrictedPython is installed. Affects 2.4.11 and earlier. Reported by Dilanka Kaushal Hewage (r3vpwnx). Fixed in #133.
  2. Filters can refer to columns by bare name (e.g. score > 0.5 instead of {'score'} > 0.5); use __ for spaces in column names.
  3. DataGrid(data=...) accepts verify=False to use the given column types without checking every value.
  4. Fix for numpy float types in queries.
  5. deserialize() can fetch remote sources (get_remote_source).
  6. DataGrid path fix, and a typo fix in filter completions.

Includes changes from 2.4.8 through 2.4.11, which were released to PyPI without GitHub releases.