Repository navigation
⚙️ 1.19.0 Connection configurations

🚀 Features
- Added
asusrouter.tools.securitymodule andARSecurityLevellevel definition - Added universal configuration manager base
ARConfigBaseand key baseARConfigKeyBase - Added
ARConfigKey.DEBUG_PAYLOADconfiguration key to define which data can be exposed in the debug logging. Defaults toARSecurityLevel.DEFAULT, which will automatically block any sensitive data (from the known sensitive endpoints + login endpoint) - Added configuration management for connection settings in
asusrouter.connection_configmoduleARConnectionConfigconnection configuration classARConnectionConfigKeyconnection configuration parameters- Configurations are set per instance of the
Connectionclass and can be passed duringAsusRouter, directConnectioninitialisation, or dynamically set during runtime.
- Added fallback features for the connection:
- To be enabled manually via
ARConnectionConfigKey.ALLOW_FALLBACK - Fallback matrix follows:
- HTTPS @ Custom port -> HTTPS @ Default port
- HTTPS @ Default port -> HTTP @ Default port (if
ARConnectionConfigKey.STRICT_SSLisfalse, default) - HTTP @ Custom port -> HTTP @ Default port
- HTTP @ Default port -> HTTPS @ Default port (if
ARConnectionConfigKey.ALLOW_UPGRADE_HTTP_TO_HTTPSistrue, default)
- Loop protection via tracking which fallback was already used
- To be enabled manually via
- Added new exceptions to the
asusrouter.errormodule (SSL certificate errors, fallback errors)
🐞 Bug Fixes
- Fixed issue when SSL certificate verification relied on the provided session configs rather than AR settings
🐣 GitHub & Development
- Improved and extended unit tests for the
asusrouter.connectionmodule - Bumped
uv.lockdependencies:aiohttpto3.12.15pytest-covto6.2.1ruffto0.12.9
📖 Documentation
- Updated documentation for the latest features