Repository navigation
fix(database): adapt MySQL user update to @mittwald/api-client 4.420 - #2020
Merged
Merged
Conversation
The dedicated updateMysqlUserPassword endpoint was removed in @mittwald/api-client 4.417.0; the password is now part of the updateMysqlUser payload. Set it there instead, and stop requiring all payload fields (password is optional). Also bumps @mittwald/api-client to 4.420.0, which is what surfaced the breakage in #2017. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01U8kutcwk9dYUeEDov1hY2B
martin-helmich
marked this pull request as ready for review
July 21, 2026 09:23
mittwald-machine
added a commit
that referenced
this pull request
Jul 21, 2026
# [1.21.0](v1.20.3...v1.21.0) (2026-07-21) ### Bug Fixes * **database:** adapt MySQL user update to @mittwald/api-client 4.420 ([#2020](#2020)) ([d1980b9](d1980b9)), closes [#2017](#2017) ### Features * **app:** add commands to link, unlink and replace an app's database ([#1971](#1971)) ([20bbbcd](20bbbcd)), closes [#1969](#1969) * **database:** add "database mysql upgrade" command ([#2005](#2005)) ([1265923](1265923)) * **deploy:** build and push early exit for experimental deploy ([#2021](#2021)) ([225c8e0](225c8e0)), closes [#1990](#1990)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the CI failure on #2017 (Dependabot bump of
@mittwald/api-client4.416.0 → 4.420.0).Cause
@mittwald/api-client4.417.0 removed the dedicatedupdateMysqlUserPasswordendpoint and foldedpasswordinto theupdateMysqlUserpayload. This brokesrc/commands/database/mysql/user/update.tsxwith two TS errors, which failed Compile TypeScript, Assert README.md is up-to-date and Build and run docker image:TS2741:Required<MyQSLUserUpdateData>now demands the newpasswordpropertyTS2339:updateMysqlUserPasswordno longer exists on the database clientFix
updateMysqlUsercall instead of a separate password stepNonNullable<…>rather thanRequired<…>for the payload type, so optional fields stay optionalpasswordin the "did anything change?" check so--passwordalone still triggers an update@mittwald/api-clientto 4.420.0 (semver range inpackage.jsonleft untouched)Supersedes #2017.
🤖 Generated with Claude Code
https://claude.ai/code/session_01U8kutcwk9dYUeEDov1hY2B