Skip to content

V1.0.4 - Changed PyPI package and added rate limiting to the proxy server

Choose a tag to compare

@coelacant1 coelacant1 released this 29 Oct 00:42
· 2 commits to main since this release
dd0bf2e

[1.0.4] - 2025-10-28

Changed

  • Simplified Installation - All features now included in base install
    • No longer need [server] or [all] extras
    • pip install bambu-lab-cloud-api now includes everything
    • Server dependencies (Flask, Flask-CORS, Flask-Limiter) included by default
    • Only [dev] extra remains for development tools (pytest, pytest-cov)

Added

  • Proxy Server Rate Limiting

    • Per-token rate limiting (not per-IP)
    • Conservative limits at 1/4 of Bambu Cloud API limits
    • Device queries: 30/min, User endpoints: 15/min, Admin: 10/min
    • Automatic endpoint classification
    • Clear HTTP 429 responses with retry guidance
  • Proxy Server Token Management

    • Support for UUID, random, and named tokens
  • Proxy Testing Changes

    • Full test suite: tests/manual/test_proxy_server.py
    • Tests all GET endpoints
    • Validates response structure
    • Security testing (POST rejection)

Documentation

  • Updated INSTALL.md - Simplified installation instructions
  • Updated README.md - Reflects new installation method
  • Removed symbols that may not show on all systems