# Gravity CLI 0.2.0: Search paging and safer edits

Canonical: https://www.gravitynotes.app/changelog/cli/0.2.0

1 October 2026

- Page through search results with `--offset`, and sort `gravity list` by list order, creation or last update with `--sort`.
- Filter by creation date with `--created-since`.
- `gravity edit` asks for `--expect-version` or `--force`, so you don't overwrite a newer change.
- Purging a note queues its deletion from iCloud, and emptying the Trash takes 0.4 seconds instead of 6 on 5,000 notes.
- `purge` and `trash empty` show each note's first line.
- Gravity rejects notes over iCloud's 900,000-byte limit, and large notes no longer slow down search.
- Clearer errors for read-only, non-SQLite and empty database files. One damaged note no longer blocks an export.
- `gravity sync status` explains what to do about notes iCloud has quarantined.
- The agent guide covers paging, editing, deletion and sync status, and maps requests like "delete completely" to commands.
