Skip to content

Legacy format toggle for JSON, CSV, and JS exports#10

Merged
hefler merged 2 commits into
mainfrom
feature/legacy-json-export
Jul 3, 2026
Merged

Legacy format toggle for JSON, CSV, and JS exports#10
hefler merged 2 commits into
mainfrom
feature/legacy-json-export

Conversation

@hefler

@hefler hefler commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • v3.0 (feature: Scope-aware DTCG types + extended collection hierarchy export #9) changed JSON's $type/px/$extensions shape, CSV's column layout, and JS's value-object shape, breaking downstream tooling built against the pre-3.0 output
  • Adds a per-format "legacy format (v2.x)" toggle (JSON, CSV, JS) that converts the current exporter's output back into the old shape, so users don't need to pin to an old plugin version
  • CSS is unaffected — its only v3.0 output change was a px-on-OPACITY bug fix, not a format break
  • Updates .figma/publishing-info.md (renamed from .txt) with the new feature

hefler and others added 2 commits July 3, 2026 14:11
v3.0 changed JSON's $type/px/extensions shape, CSV's column layout, and
JS's value-object shape, breaking downstream tooling built against the
pre-3.0 output. Add a per-format "legacy format (v2.x)" toggle that
converts the current exporter's output back into the old shape, so
users don't need to stay on an old plugin version to get it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@hefler hefler merged commit 70507ea into main Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant