Skip to content

v0.6.0

Choose a tag to compare

@untuitivist untuitivist released this 21 Sep 18:16
· 32 commits to master since this release

wqb_cli 0.6.0

Online community access and a persistent local research library now sit alongside the Regular, Super and ALL simulation workflow.

New in 0.6.0

  • community reads live forum topics, posts, comments, searches and author activity. Its separate API inventory describes 10 paths and 16 method cases, with native request previews through --dry-run.
  • sqlitecom sync discovers new and updated posts, retrieves comments, and stores resumable progress in SQLite. Stable IDs, transactional upserts and a 48-hour overlap prevent duplicate imports and preserve unfinished work.
  • sqlitecom search/get/stats/status/schema/import/sql provides offline research access. Parameterized read-only SQL accepts a UTF-8 file, CTEs and JSON functions, with a default 200-row limit and 10-second deadline.
  • Forum requests reuse BRAIN authentication and renew the support SSO session. Read retries respect server backpressure; write requests are never automatically replayed after an uncertain result.
  • Plugin imports remain supported and merge into the existing database without clearing omitted documentation or overwriting newer synchronized posts.

Migration and operating notes

  • Old local community search, community stats and community export move to sqlitecom search, sqlitecom stats and sqlitecom import. community search now queries the live forum.
  • Use sqlitecom sync --sqlite community.sqlite3 again for an incremental update or to resume unfinished work. --since can bound the first scan; --max-pages leaves a resumable pause.
  • Old comment edits may not change a parent post's timestamp. Use --reconcile for a full-index revisit; recently checked unchanged comments are skipped according to --refresh-comments-days (default 7). Remote omissions do not delete stored history.
  • The 0.5.0 Regular/ALL mixed queue and 0.4.0 durable batch runner are included. ALL uses one parent request per HTTP call because the platform does not support ALL in batch arrays. Regional child results remain in schema 7.

Validation

  • Full unit suite: 157 passed.
  • Real online reads: topics, search, native cursor pagination and forum authentication succeeded.
  • Two live sync runs: first inserted 173 posts; the next inserted 1 new post and skipped 173 unchanged posts. The database contained 174 unique posts, 319 comments and no pending items. CLI SQL and full-text lookup passed.
  • Built wheel and source archive from a clean source staging directory. Independent wheel installation, version 0.6.0, packaged resources, SQL and existing simulation entry points passed smoke checks.
  • Release assets exclude runtime databases, local credentials, cookies, logs and research files. SHA256SUMS.txt contains asset checksums.
  • Forum create/update/delete interfaces are implemented from the documented contract and preview-tested; live posting and other forum writes have not been performed.

Install

Requires Python 3.11 or later:

python -m pip install --upgrade https://github.com/untuitivist/wqb_cli/releases/download/v0.6.0/wqb_cli-0.6.0-py3-none-any.whl
wqb --version
wqb community --help
wqb sqlitecom --help

Preserve your local configuration and research databases when upgrading. See the Chinese guide and changelog.