Skip to content

Abhängigkeiten: Bump fastapi from 0.148.0 to 0.150.0 in the python group - #27

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/pip/python-448aa9540d
Oct 26, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/pip/python-448aa9540d

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 26, 2026

Copy link
Copy Markdown
Contributor

Bumps the python group with 1 update: fastapi.

Updates fastapi from 0.148.0 to 0.150.0

Release notes

Sourced from fastapi's releases.

0.150.0

When no file is selected, browsers submit a file part with an empty filename and empty content. FastAPI now treats this as missing: required file fields return a validation error, and fields with defaults or default factories use them. Unselected inputs are ignored in lists of files. Named zero-byte files are still accepted.

Breaking Changes

0.149.0

Browsers submit empty text inputs as empty strings (""). FastAPI now treats empty scalar form values as missing in form models, matching individual Form parameters. Required fields return a validation error. Fields with defaults or default factories use them and remain unset in model_dump(exclude_unset=True).

Empty strings inside lists are preserved. Omitted boolean form fields still become False. JSON requests and direct Pydantic validation are unchanged.

Breaking Changes

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the python group with 1 update: [fastapi](https://github.com/fastapi/fastapi).


Updates `fastapi` from 0.148.0 to 0.150.0
- [Release notes](https://github.com/fastapi/fastapi/releases)
- [Commits](fastapi/fastapi@0.148.0...0.150.0)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-version: 0.150.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Oct 26, 2026
@github-actions
github-actions Bot merged commit a7f1a39 into main Oct 26, 2026
7 checks passed
@dependabot
dependabot Bot deleted the dependabot/pip/python-448aa9540d branch October 26, 2026 23:13
Schnuecks added a commit that referenced this pull request Oct 28, 2026
Release 0.11.0.

## Alarms in the history

The RustDesk app reports alarms to `/api/audit/alarm`. RDAPI has stored
them since the start but never showed them. A new tab **History →
Alarms** (`/history/alarms`) lists them like the file transfers: newest
first, 20 per page, filterable by device. Admins see all devices,
regular users only their own.

- Alarm types follow the app's `AlarmAuditType` (0, 1, 2, 6, 7, 8, 9,
10); unknown codes show as "Other alarm (n)".
- `info` is parsed defensively (broken JSON, wrong types); shown:
address, ID and name of the other side, and the `message` of a session
scope violation.

## Address book import and export

On the address book page, a new panel **Import and export**:

- **Export** (`GET /address-book/export?book=…&format=json|csv`) for
everyone who can see the book. JSON carries the tags with their colours;
CSV has the columns `id, alias, note, tags, hostname, platform,
username` (tags joined by `;`), starts with a UTF-8 BOM for
spreadsheets, and prefixes cells starting with `= + - @` to prevent
formula injection.
- **Import** (`POST /address-book/import`) for books the user may
change. Accepts an RDAPI JSON export or a CSV table with an `id` column
(comma or semicolon separated). New IDs are added, existing entries get
the fields from the file and keep their tags, nothing is deleted. Field
lengths are capped like in the web form; at most 5,000 entries; files up
to just under the 2 MB request limit.
- Saved passwords of the app (`hash`, `password`) are never exported and
never taken from an import file; existing ones stay untouched.
- Both are recorded in the activity log (`ab_exported`, `ab_imported`
with counts).

## Maintenance

- FastAPI 0.150.0 (from Dependabot, #26/#27).
- Tests use `httpx2` instead of `httpx` (Starlette's test client
deprecated `httpx`); the deprecation warning is gone.
- Ruff targets Python 3.14 (`requires-python >= 3.14`); the formatter
switched four `except (A, B):` to the PEP 758 form.
- `render()` accepts an explicit message, used for the import result.
- Translations for all six languages, docs (usage EN/DE), README
features, CHANGELOG.

## Tested

- `pytest` (158 passed, no warnings), `ruff check`, `ruff format
--check`.
- New tests: alarms (labels, details, unknown codes, broken payloads,
filter, per-user visibility), export (no saved passwords, CSV formula
prefix, BOM, file names, activity), import (merge, kept passwords, tag
colours, length caps, CSV with comma and semicolon, missing ID column,
bad files, too many entries, CSRF, read-only shared book, round trip of
an export).
- Image built and run against a copy of a production database: all pages
200 without console errors or failed requests; alarms tab with sample
alarms; CSV import with umlauts in the browser, JSON and CSV downloads;
the app API returns the imported entries and tags.

Not tested: the real RustDesk app sending a real alarm, and sign-in
through a real OIDC provider.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants