Skip to content

docs: Getting started in mdBook; remove table filter flags (0.7.0)#65

Merged
ababic merged 2 commits into
mainfrom
cursor/docs-getting-started-remove-table-filters-4584
May 4, 2026
Merged

docs: Getting started in mdBook; remove table filter flags (0.7.0)#65
ababic merged 2 commits into
mainfrom
cursor/docs-getting-started-remove-table-filters-4584

Conversation

@ababic

@ababic ababic commented May 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Rebased onto current main earlier; README conflict resolved.
  • Removed --include-table / --exclude-table; seal v=3 without table-filter fields; 0.7.0 bump (prior commits).
  • dumpling generate-draft-config (new): scans a dump without a policy file; emits draft TOML with salt = "${DUMPLING_GLOBAL_SALT}", [rules."schema.table"] from column-name heuristics + reservoir sampling (--sample-rows, default 5) over INSERT + PostgreSQL COPY rows, CREATE TABLE varchar(N) length hints, light value heuristics (email/SSN-like/PAN Luhn/tokens), hash columns get ${DUMPLING_HASH_SALT} placeholder. Skips a leading Dumpling seal line. Prunes empty top-level TOML sections.
  • Subcommand --dump-format (alias --format) avoids clashing with the parent parser; --dump-decode / --pg-restore-path work like the main command.
  • Docs: README Getting started + Usage, mdBook getting-started, CHANGELOG [0.7.0] Added.

Testing

  • cargo fmt --all -- --check
  • cargo clippy --all-targets --all-features
  • cargo test --all-targets --all-features (119 tests)

Slack Thread

Open in Web Open in Cursor 

cursoragent and others added 2 commits May 4, 2026 14:15
- README: Getting started section with draft-config note and docs link
- mdBook: full first-run steps on getting-started.md; index calls it out
- Drop --include-table/--exclude-table and always process all tables in
  SqlStreamProcessor (COPY rows were incorrectly still transformed when
  disabled)
- Seal payload keeps v=2 with empty include_table/exclude_table arrays so
  digests match prior no-filter runs
- Bump version to 0.7.0; changelog for removal and seal note

Co-authored-by: Andy Babic <ababic@users.noreply.github.com>
Remove include_table/exclude_table from SealRuntimeParams entirely.
Seal lines now advertise v=3; 0.6 v=2 seals are treated as stale.
Update changelog and configuration guide.

Co-authored-by: Andy Babic <ababic@users.noreply.github.com>
@cursor cursor Bot force-pushed the cursor/docs-getting-started-remove-table-filters-4584 branch from 278b1b9 to 1ff24b0 Compare May 4, 2026 14:16
@ababic ababic marked this pull request as ready for review May 4, 2026 14:16
@ababic ababic enabled auto-merge (squash) May 4, 2026 14:16
@ababic ababic merged commit 1d26a0c into main May 4, 2026
10 checks passed
@ababic ababic deleted the cursor/docs-getting-started-remove-table-filters-4584 branch May 4, 2026 14:19
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.

2 participants