What's Changed
This release adds support for OpenAI's Codex agent in the AI chat sidebar, improves Altair chart interactivity, and includes important bug fixes and performance improvements.
Codex Agent Support
Use OpenAI's Codex agent in the AI chat sidebar by selecting "Codex" from the agent dropdown. The agent can help with code editing, debugging, and notebook modifications.
Altair and Vega-Lite Enhancements
Marimo now uses Vega-Lite 6. Charts support legend-based selection in composite charts (layered, vconcat, hconcat), binned data selection, and images in tooltips. Table charts are now faster and handle string columns with up to 20k rows.
✨ Enhancements
- Better console and cell error parsing/prompts in Agent mode (#6961)
- Improve performant table charts, remove feat flag (#6892)
- Altair legend selection for composite charts (#6971)
- Re-initialize LSP on reconnect (#6967)
- Document
AppMetaand make it public (#6939) - Handle nested sql statements for sql smart cells (#6947)
- Better error handling in type-mismatch for
mo.ui.altair_chart(#6986) - Support binning point selection in altair (#6983)
- Support images in vega/altair tooltips (#6934)
- Add back floating outline (#6933)
- Add support for Codex agent (#6901)
- Speed up function
natural_sortby 120% (#6975) - Generate different sql code based on dialect (#6915)
🐛 Bug fixes
- Fallback for
chart.to_dict()and don't mutate charts (#6972) - Chart sizing with nested hconcat in vconcat (#6970)
- Escape special characters in frontend altair chart builder (#6973)
- Cache completion item to avoid jitter (#6946)
- Update anchor link handling to retain query params (#6930)
- Fix polars test (#6952)
- Quote table and col names from postgres and duckdb too (#6942)
- Fix tests by casting enum to string for polars (#6936)
📚 Documentation
- Enforce markdown formatting on save (#6969)
- Fix file.md example (#6966)
- Aws bedrock regions (#6964)
- Include new backend and frontend tools, chat panel agent mode, and mcp server video (#6954)
- Correct prompts.md typo (#6945)
📝 Other changes
- Upgrade vega-embed in lockfile as well (#6984)
- Set all vega renderer to canvas except col header charts (#6985)
- Upgrade to vega lite 6, react-vega 8 (#5641) (0adb3b2)
- DRY GetActiveNotebooks tool and ActiveNotebooks prompt and improve outputs (#6976)
- Enable passing in token password from file (#6974)
- Set initial mode for islands (#6950)
- Add tests for nested markdown in smart cells (#6949)
- More edge cases for duckdb pivot (#6944)
- Update all storybook dependencies to ^9.1.14 (#6943)
- Update all storybook dependencies to ^9.1.13 (#6935)
- Find cell id through shadow doms (#6929)
- Add new backend tools to basestruct test (#6925)
Contributors
Thanks to all our community and contributors who made this release possible: @bjoaquinc, @dmadisetti, @koaning, @kyrre, @Light2Dark, @macota, @misrasaurabh1, @mscolnick, @SamarJyoti496
And especially to our new contributors:
- @macota made their first contribution in #6945
- @misrasaurabh1 made their first contribution in #6975
- @SamarJyoti496 made their first contribution in #6930
Full Changelog: 0.17.2...0.17.3
