[PR #5758] [MERGED] add a 'dryRun' option to transactions import API #6097

Closed
opened 2026-02-28 21:23:52 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/5758
Author: @amrawadk
Created: 9/21/2025
Status: Merged
Merged: 9/22/2025
Merged by: @matt-fidd

Base: masterHead: add-import-dry-run


📝 Commits (4)

  • 401469c add a 'dryRun' option to transactions import API
  • db469ab move dryRun under opts
  • 50ceedd add a release note
  • 3aa46c8 Merge branch 'master' into add-import-dry-run

📊 Changes

2 files changed (+9 additions, -0 deletions)

View changed files

📝 packages/api/methods.ts (+3 -0)
upcoming-release-notes/5758.md (+6 -0)

📄 Description

This allows previewing imported transactions ahead of importing. This is useful for import scripts like https://github.com/lunchflow/actual-flow, where the users will preview the transactions ahead of the import then confirm.

image

The name isPreview wasn't very self explanatory, so I'm proposing dryRun, similar to what's used in AWS CLI (example), but open to feedback on this 😄 I also didn't rename across the board to keep the PR focused, but happy to do so as well.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/5758 **Author:** [@amrawadk](https://github.com/amrawadk) **Created:** 9/21/2025 **Status:** ✅ Merged **Merged:** 9/22/2025 **Merged by:** [@matt-fidd](https://github.com/matt-fidd) **Base:** `master` ← **Head:** `add-import-dry-run` --- ### 📝 Commits (4) - [`401469c`](https://github.com/actualbudget/actual/commit/401469cac795ba2921aae3708d63c4921b71ebf9) add a 'dryRun' option to transactions import API - [`db469ab`](https://github.com/actualbudget/actual/commit/db469ab63adff9ba717adeb80c755e8599a228b7) move dryRun under opts - [`50ceedd`](https://github.com/actualbudget/actual/commit/50ceedd1500aea37487f24b5248688a5a2db9852) add a release note - [`3aa46c8`](https://github.com/actualbudget/actual/commit/3aa46c83c42ed0ccb1f713795b62459aa30ab4d2) Merge branch 'master' into add-import-dry-run ### 📊 Changes **2 files changed** (+9 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/api/methods.ts` (+3 -0) ➕ `upcoming-release-notes/5758.md` (+6 -0) </details> ### 📄 Description <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --> This allows previewing imported transactions ahead of importing. This is useful for import scripts like https://github.com/lunchflow/actual-flow, where the users will preview the transactions ahead of the import then confirm. <img width="4721" height="2160" alt="image" src="https://github.com/user-attachments/assets/8d9d4d5d-170e-48aa-82d9-b06ec1fa1296" /> The name `isPreview` wasn't very self explanatory, so I'm proposing `dryRun`, similar to what's used in AWS CLI ([example](https://docs.aws.amazon.com/cli/latest/reference/s3/sync.html#options)), but open to feedback on this 😄 I also didn't rename across the board to keep the PR focused, but happy to do so as well. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 21:23:52 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#6097