Skip to content

FormPath 0.59.1: a drawing over 1024 KB saves - #16

Merged
nodemode-ai merged 2 commits into
mainfrom
fix/save-large-documents-0.59.1
Nov 26, 2026
Merged

nodemode-ai merged 2 commits into
mainfrom
fix/save-large-documents-0.59.1

Conversation

@nodemode-ai

Copy link
Copy Markdown
Collaborator

FormPath 0.59.1: a drawing over 1024 KB saves

Summary

  • Save stopped with "Part exceeded maximum size of 1024KB." once the drawing itself, without its images, passed 1024 KB of data. The window sends the drawing as one text field of a form, and the web framework under the engine reads a form's text fields with a ceiling of 1024 KB each. FormPath's own limit for a drawing is 64 MiB and was never reached.
  • The projects routes now read their forms with a ceiling above FormPath's own limit, so the engine's check decides, with its own sentence. Save and both package routes are covered. What the window sends does not change.
  • Where a project is saved does not change here: Save still writes into the library folder and an export still goes to the exports folder.

Commits

  • fix(save): a document over 1024 KB saves; the engine's own 64 MiB limit decides
  • chore(release): 0.59.1

Version

0.59.1 in frontend/package.json, package-lock.json, src/version.ts, the README badge, backend/app/__init__.py, src-tauri/Cargo.toml, Cargo.lock and tauri.conf.json. CHANGELOG.md has the 0.59.1 section. The three demos are not rebuilt.

Checks

  • On the engine before the change: a drawing of 1,200 objects (659 KB) saved; one of 4,000 objects (2,199 KB) was refused with the sentence above.
  • After it: 4,000 objects (2,199 KB) and 30,000 objects (16,652 KB) save, and the file read back holds the same drawing that was sent; 64 MiB and 10 bytes is refused with "The document is too large."; the package route takes the 2,199 KB drawing.
  • The engine's tests: 196 passed. No test was added or changed.

Not run: the window, and nothing on macOS or Windows.

Merging

Merge with a merge commit so each commit and its signature stays. Do not squash.

@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 26, 2026 05:18
@nodemode-ai
nodemode-ai merged commit e1f8c1c into main Nov 26, 2026
6 checks passed
@nodemode-ai
nodemode-ai deleted the fix/save-large-documents-0.59.1 branch November 27, 2026 00:20
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