Skip to content

Conversation

@coelacant1
Copy link
Owner

Pull request

[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

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Code refactoring
  • Performance improvement
  • Test addition or update

Testing

  • Tested locally
  • Added/updated unit tests
  • All existing tests pass

Test Configuration:

  • Python version: 3.14
  • Operating System: Arch

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

…rver

## [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
@coelacant1 coelacant1 self-assigned this Oct 29, 2025
@coelacant1 coelacant1 added the enhancement New feature or request label Oct 29, 2025
@coelacant1 coelacant1 linked an issue Oct 29, 2025 that may be closed by this pull request
@coelacant1 coelacant1 merged commit dd0bf2e into main Oct 29, 2025
5 checks passed
@coelacant1 coelacant1 deleted the testing branch October 29, 2025 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Proxy.py rate limiter and private information masking

2 participants