Skip to content

Abhängigkeiten: Bump the python group with 2 updates - #26

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

github-actions[bot] merged 1 commit into
mainfrom
dependabot/pip/python-5289711a31

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps the python group with 2 updates: fastapi and ruff.

Updates fastapi from 0.143.0 to 0.148.0

Release notes

Sourced from fastapi's releases.

0.148.0

Defaults for omitted Query, Header, Cookie, and Form parameters and model fields are no longer treated as user input. Defaults are not validated unless validate_default=True is enabled. If you rely on validators running for omitted values, enable default validation with Field(validate_default=True) for model fields or, for example, Query(validate_default=True) for individual parameters. Body(validate_default=True) is now honored too.

For parameter models, applying a default no longer marks a field as explicitly set, so model_dump(exclude_unset=True) excludes it. Default factories run once, and validation errors no longer include injected defaults in input.

Omitted boolean form fields still become False and count as explicitly set.

Breaking Changes

0.147.0

Omitted bool and bool | None form fields are now interpreted as False, matching unchecked HTML checkboxes. This applies to individual Form parameters and form models, including required fields and fields with defaults of True or None. The inferred value is considered explicitly set, including in model_dump(exclude_unset=True).

JSON requests and direct Pydantic validation are unchanged. See Boolean Form Fields.

Breaking Changes

Internal

  • ✅ Add tests for parameter defaults, nullability, and browser form behavior. PR #14829 by @​YuriiMotov.

0.146.0

The root_path parameter in FastAPI() is deprecated. Configure the server with fastapi run --root-path /api/v1 instead.

Breaking Changes

0.145.0

Breaking Changes

  • 🔥 Remove deprecated openapi_prefix and unused **extra from FastAPI. PR #16518 by @​tiangolo.

Docs

0.144.0

Features

0.143.5

Fixes

  • 🐛 Fix handling of empty value for byte file list parameter. PR #9383 by @​Viicos.

... (truncated)

Commits

Updates ruff from 0.17.0 to 0.17.1

Release notes

Sourced from ruff's releases.

0.17.1

Release Notes

Released on 2026-10-15.

Preview features

  • [pycodestyle] Don't treat None, True, or False as keywords (E271-E274) (#29322)

Bug fixes

  • Fix dedent with multiple leading comments (#29382)
  • [flake8-pyi] Detect legacy positional-only parameters in __new__ methods (PYI063) (#28502)
  • [flake8-pyi] Fix false positives on quoted annotations (PYI036) (#29274)
  • [perflint] Avoid invalid comprehension suggestions (PERF401, PERF403) (#29366)

Rule changes

  • Treat more collections and weakref containers as mutable (#29213)

Documentation

  • [flake8-import-conventions] Update default and example aliases (#29333)

Contributors

Install ruff 0.17.1

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/ruff/releases/download/0.17.1/ruff-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/ruff/releases/download/0.17.1/ruff-installer.ps1 | iex"

Download ruff 0.17.1

| File | Platform | Checksum |

... (truncated)

Changelog

Sourced from ruff's changelog.

0.17.1

Released on 2026-10-15.

Preview features

  • [pycodestyle] Don't treat None, True, or False as keywords (E271-E274) (#29322)

Bug fixes

  • Fix dedent with multiple leading comments (#29382)
  • [flake8-pyi] Detect legacy positional-only parameters in __new__ methods (PYI063) (#28502)
  • [flake8-pyi] Fix false positives on quoted annotations (PYI036) (#29274)
  • [perflint] Avoid invalid comprehension suggestions (PERF401, PERF403) (#29366)

Rule changes

  • Treat more collections and weakref containers as mutable (#29213)

Documentation

  • [flake8-import-conventions] Update default and example aliases (#29333)

Contributors

Commits
  • 4683270 Bump version to 0.17.1 (#29420)
  • 3514027 [ty] Update typing conformance suite pin (#29417)
  • 8294556 Update referenced PR security-review workflow (#29237)
  • d1e1b1f [ty] Preserve recursive aliases when rebuilding intersections (#29057)
  • 9352615 [perflint] Avoid invalid comprehension suggestions (PERF401, PERF403) (...
  • 83a3afc Fix dedent with multiple leading comments (#29382)
  • b42a873 [ty] Clarify object attribute write-contract rationale (#29384)
  • d01678e [ty] Clarify object attribute write-contract rationale (#29384)
  • 355b42a [ty] Avoid writable override contracts from object (#29373)
  • e26e6d2 [ty] Collect intersection inference through constraint relations (#28677)
  • Additional commits viewable in compare view

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 2 updates: [fastapi](https://github.com/fastapi/fastapi) and [ruff](https://github.com/astral-sh/ruff).


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

Updates `ruff` from 0.17.0 to 0.17.1
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.17.0...0.17.1)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-version: 0.148.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python
- dependency-name: ruff
  dependency-version: 0.17.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  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 1036fb6 into main Oct 26, 2026
7 checks passed
@dependabot
dependabot Bot deleted the dependabot/pip/python-5289711a31 branch October 26, 2026 15:24
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