CI Report:
https://ci-tests.linuxserver.io/linuxserver/pyload-ng/develop-d3d6103a-ls417/index.html
LinuxServer Changes:
Rebase to Alpine 3.22.
Remote Changes:
Add OpenAPI 3.1 compliant spec generator (#4580)
-
add pydantic package dependency
-
migrate DownloadInfo to pydantic model
-
migrate AccountInfo to pydantic model
-
migrate CaptchaTask to pydantic model
-
migrate ConfigItem to pydantic model
-
migrate ConfigSection to pydantic model
-
migrate EventInfo to pydantic model
-
fix status_downloads return type doc string
-
fix uniquify method not working with nested lists
lists are not hashable and did cause an exception here -
migrate FileData to pydantic model
-
delete unused InteractionTask model
-
migrate OnlineCheck to pydantic model
-
migrate OnlineStatus to pydantic model
-
add Optional instead of hinting union for older Python version compat
-
migrate PackageData to pydantic model
-
migrate ServerStatus to pydantic model
-
migrate ServiceCall to pydantic model
-
migrate UserData and OldUserData to pydantic models
-
remove AbstractData base class
-
update UserData id default value
-
add type annotations to all api function signatures
-
remove star imports
-
replace None default values with Optional type annotations
-
add missing return types; now all functions are completely annotated
-
replace tuple parameter with OpenAPI parseable list type
-
re-add default None parameters where they were set before
-
use bytes type for file data
-
add open api generator and adapt code where necessary
-
supply link to openapi.json in Swagger UI
-
remove eol Python version support; bump min to 3.9
-
add command line parameter to generate api specification json
-
remove no longer working microbadger links from README
-
document API spec and code generation in README
-
add check that api spec file is up-to-date
-
rename specification generator to not be confused with client code generator
-
add logout api docs to OpenAPI spec
-
restore old uniquify()
-
captcha was not working
-
remove PyPy support
-
restore install_pycurl_win.sh just in case
-
captcha was not working
-
wrong annotation for DownloadInfo.wait_until
-
update api spec to reflect changes to DownloadInfo wait_until
-
update_account() do not use mutable default value for the
options
argument
Co-authored-by: GammaC0de gammac0de@users.noreply.github.com