Skip to content

Version 1.4.1

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 08:31
· 65 commits to main since this release

Lumen 1.4.1 is a security release that fixes code execution through YAML specifications. We recommend that all users upgrade. If you can't upgrade straight away, don't serve dashboards with config.editable: true to untrusted users, and don't expose Lumen AI to untrusted users or untrusted data, which we do not recommend anyway. Many thanks to Dilanka Kaushal Hewage (@r3vpwnx) for reporting this issue responsibly.

Security

  • Parse YAML specifications and auth mapping files with PyYAML's safe loader, so tags that construct Python objects are rejected (GHSA-w949-xvvf-fg5p)
  • Behaviour change: YAML specifications that relied on Python-specific tags (for example !!python/...) no longer load; dumped specifications use only standard YAML.

Bug Fixes

  • Reduce ValidationAgent false alarms with per-requirement checks (#2248)
  • Read non-pandas query results in SQLAgent validation and cleaning (#2329)
  • Count a constant next to an aggregate as a one-row result (#2424)
  • Drop the loop's tools from the structured fallback call (#2476)
  • Find the planner's agents once param has made 100000 objects (#2429)
  • Ask Kilo for JSON in plain text so newlines survive (#2455)
  • Give short strings a non-zero NumpyEmbeddings vector and escape stop words in STOP_WORDS_RE (#2254, #2257)
  • Keep literal dollar values that are not references (#2392)
  • Take a chart field's value when the model wraps it (#2358)
  • Leave Vega-Lite charts faceted by an encoding channel unsized (#2340)
  • Load DataFrames passed to ExplorerUI (#2223)
  • Apply boolean conditions in SQLFilter (#2324)
  • Filter on numpy datetime64 and timedelta64 values in ranges and lists (#2326)
  • Fetch polars and arrow frames through a relation on DuckDB 2 (#2255)
  • Cast decimal.Decimal to float in SQLAlchemySource results (#2111)
  • Handle DuckDBSource.to_spec when no tables are declared (#2262)

Dependencies & Compatibility

  • Require sqlglot 26.26 or later and support panel-material-ui 0.17 and sqlglot 30.33 (#2307, #2315)
  • Strip pip extras from the conda recipe (#2308)
  • Fix CI for hvplot 0.13 and close SQLite connections in tests (#2292, #2287)

Contributors

Many thanks to @r3vpwnx, @philippjfr, @ghostiee-11, @ahuang11, @ManshaAgarwal716, @VijayJoshi17, @mahdibani, @chaitanya29082000-web, @yash-8923, @AmirF194, and @SajalDevX for their contributions to this release.