Skip to content

Releases: lperezmo/streamlit-aggrid-v2

v0.1.5

16 Apr 17:20

Choose a tag to compare

v0.1.5 (2026-04-16)

This release is published under the MIT License.

Bug Fixes

  • Match Streamlit font across all themes and fix material dark header (c8419cc)

Extract a streamlitFontFamily helper reading --st-font from the CCv2 host, and apply it via .withParams({fontFamily}) in the quartz/alpine/balham/ material recipes (previously only the streamlit recipe matched the font).

Also override headerTextColor with streamlitTheme.textColor in material dark mode; AG Grid's material theme hardcodes the header text to near-black and colorSchemeDark doesn't flip it, making headers unreadable on Streamlit's dark background.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

  • Sanitize NaN/Infinity in gridOptions before CCv2 transport (0e76365)

Streamlit CCv2 serializes component data with strict JSON, which rejects NaN and Infinity tokens. User pipelines that compute numeric gridOptions fields (e.g. column widths via df[col].astype(str).str.len().max() on an empty column) can resolve to NaN and blow up JSON.parse on the frontend with "SyntaxError: Unexpected token 'N'".

Walk grid_options at the end of _parse_data_and_grid_options and replace any non-finite float with None. Row data is unaffected (pd.to_json already converts NaN to null).

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

Chores

  • Add comparison table to README (v1 vs v2) (1919c21)

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

  • Bump demo app requirement to v0.1.4 (aace8c4)

  • Fix deprecation warnings and SettingWithCopyWarning (cb7edf5)

Replace use_container_width with width="stretch" in example pages (enterprise.py, inline_buttons.py) and copy DataFrame before mutation in aggrid_utils.py to avoid pandas SettingWithCopyWarning.

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

  • Fix inaccurate claim about original project activity (24c6de0)

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

  • Ignore .streamlit/secrets.toml (0ff454f)

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

  • Increase header top padding to prevent cutoff (ccf3ed8)

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

  • Remove all em dashes from README (b5b12c7)

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

  • Remove downloads badge from README (53ba913)

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

  • Shrink showcase header, use repo name, drop version from footer (26ac55a)

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

  • Update README with badges, features, and API overview (b36dffb)

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

  • Use subheader for individual page titles (3c5eb52)

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

Documentation

  • Add tree-data example, AI copilot skill, and README updates (bdba3b6)

  • examples/app_pages/tree_data.py: new Enterprise-group page showing
    treeData + getDataPath + three mutually-exclusive action button cell
    renderers (Delete / Audit / Approve) with conditional row styling.

  • examples/showcase.py: register the tree-data page in the Enterprise
    nav group.

  • skills/streamlit-aggrid-v2/SKILL.md: self-contained Claude Code /
    Claude Agent SDK skill for AI copilots. Users can copy the folder
    into their project's .claude/skills/ so their copilot knows how to
    use GridOptionsBuilder, JsCode, data return modes, theming, tree
    data, and common gotchas without re-reading the whole repo.

  • README.md: bump showcase example count to 13 and add an "AI copilot
    skill" section pointing to the skill.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com


Detailed Changes: v0.1.4...v0.1.5

v0.1.4

31 Mar 05:32

Choose a tag to compare

v0.1.4 (2026-03-31)

This release is published under the MIT License.

Bug Fixes

  • Match component name to distribution for CCv2 resolver (1a53cc5)

Streamlit CCv2 validates that the inner pyproject.toml [project].name matches the distribution name. Changed from "st-aggrid" to "streamlit-aggrid-v2" and updated the component registration key.

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

Chores

  • Bump demo app requirement to v0.1.3 (fbb1b72)

Detailed Changes: v0.1.3...v0.1.4

v0.1.3

31 Mar 05:23

Choose a tag to compare

v0.1.3 (2026-03-31)

This release is published under the MIT License.

Bug Fixes

  • Move to src layout so Streamlit Cloud uses pip package (78735a6)

Moved st_aggrid/ to src/st_aggrid/ so that when Streamlit Cloud clones the repo, Python imports st_aggrid from the pip-installed wheel (which has frontend build artifacts) instead of the local source directory (which doesn't).

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

Chores

  • Bump demo app requirement to v0.1.2 (2afa3af)

Detailed Changes: v0.1.2...v0.1.3

v0.1.2

31 Mar 05:18

Choose a tag to compare

v0.1.2 (2026-03-31)

This release is published under the MIT License.

Bug Fixes

  • Commit frontend build artifacts for Streamlit Cloud (0db98c8)

Streamlit Cloud clones the repo and Python imports st_aggrid from the local directory (not the pip wheel), so build/ must be present in the repo. CI still builds fresh artifacts for the PyPI wheel.

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

Chores

  • Bump demo requirement to v0.1.1 (5ede648)

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com


Detailed Changes: v0.1.1...v0.1.2