New architecture and new visualization capability#231
Merged
Chenglong-MS merged 140 commits intomainfrom Mar 3, 2026
Merged
Conversation
Bumps [vega-selections](https://github.com/vega/vega) from 6.1.0 to 6.1.2. - [Release notes](https://github.com/vega/vega/releases) - [Commits](vega/vega@v6.1.0...v6.1.2) --- updated-dependencies: - dependency-name: vega-selections dependency-version: 6.1.2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [vega-functions](https://github.com/vega/vega) from 6.1.0 to 6.1.1. - [Release notes](https://github.com/vega/vega/releases) - [Commits](vega/vega@v6.1.0...v6.1.1) --- updated-dependencies: - dependency-name: vega-functions dependency-version: 6.1.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Contributor
There was a problem hiding this comment.
CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
…ew question actually...
Merge pull request #230 from microsoft/dev
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Add Map Chart Support with Projection Controls
refine the echart scatterplot
Bumps [rollup](https://github.com/rollup/rollup) from 4.52.5 to 4.59.0. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](rollup/rollup@v4.52.5...v4.59.0) --- updated-dependencies: - dependency-name: rollup dependency-version: 4.59.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
…-4.59.0 Bump rollup from 4.52.5 to 4.59.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Data Formulator 0.7.0 Alpha — More Charts, New Experience, Enterprise-Ready
This PR merges the
devbranch intomainwith four major areas of improvement.1. Dramatically Expanded Visualization Support
The chart template system has been rebuilt with a new semantic engine (
src/lib/agents-chart/), expanding from ~15 chart types to 30 Vega-Lite chart types:Semantic field analysis now automatically infers temporal, categorical, quantitative, and geographic types to recommend the right chart for the data.
2. New Experience: Hybrid Chat + Data Thread & Enhanced Agent Mode
3. Redesigned Agent Architecture
The backend agent system has been significantly restructured — consolidating previously fragmented agents into a cleaner, more capable design:
DataAgent(agents/data_agent.py) replaces four separate agents (agent_py_concept_derive,agent_py_data_rec,agent_sql_data_rec,agent_sql_data_transform) with a single agent that handles both Python and SQL data transformationsagent_data_transform— dedicated data transformation agentagent_data_rec— recommendation agent that suggests charts and exploration directionsagent_chart_insight— generates natural-language insights from chart resultssemantic_types— type system used by both backend agents and frontend chart engine for consistent field inference4. Workspace / Data Lake Architecture (Enterprise-Ready)
A new persistent, identity-based Workspace layer replaces the previous in-memory DB approach:
Workspacemanages per-user directories with aworkspace.yamlmetadata catalog tracking every table's lineage, schema, provenance, and source typeCacheManagerandFileManagerfor efficient caching and file lifecycleWorkspaceFactoryselects the correct workspace backend from configurationStart at
py-src/data_formulator/datalake/— see__init__.pyfor module overview and usage examples.5. Security Hardening
code_signing.py) for AI-generated Python codelocalanddockerbackends (sandbox/)auth.py)Other Notable Changes
uv.lock;uv sync+uv run data_formulatoris now the recommended development workflowapi-keys.env.templateconsolidated into.env.templateCommunity Contributions
Thanks to our contributors in this PR:
Version:
0.7.0a1(alpha)Files changed: ~282 files, +84k / -16k lines