Skip to content

v2.1.0

Choose a tag to compare

@ShunL12324 ShunL12324 released this 29 Jan 17:26
· 39 commits to master since this release

What's Changed

New Features

  • Multi-step login flow: Login now uses a more reliable multi-step process
    • xhs_add_account → returns sessionId and QR code URL
    • xhs_check_login → check status after QR scan
    • xhs_submit_verification → submit SMS code if required

Improvements

  • Extract magic numbers to named constants (TIMEOUTS, SEARCH_DEFAULTS, SCROLL_CONFIG, DELAYS)
  • Replace console.error/log with structured logger module
  • Add Chinese comments throughout codebase for better maintainability
  • Add logger module (core/logger.ts) with file and console output
  • Docs workflow now triggers on release events

Documentation

  • Updated API docs for new login flow
  • Added xhs_submit_verification documentation
  • Updated README with new login steps