Skip to content

refactor!: stop saving legacy config values when configuring a transport - #8725

Merged
link2xt merged 1 commit into
mainfrom
link2xt/remove-save-legacy
Sep 23, 2026
Merged

link2xt merged 1 commit into
mainfrom
link2xt/remove-save-legacy

Conversation

@link2xt

@link2xt link2xt commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

Users downgrading to UIs that load legacy config values is unlikely,
and cannot work correctly with multiple transports.

BREAKING CHANGE: core does not set deprecated config values addr, mail_pw etc. Use list_transports() API instead.

@link2xt
link2xt added this pull request to stack #8726 September 21, 2026 14:12
@link2xt
link2xt force-pushed the link2xt/remove-save-legacy branch from 0f97f82 to 57b7629 Compare September 21, 2026 14:13
@link2xt
link2xt force-pushed the link2xt/json-rpc-no-account-addr branch from 0e49ade to 154e58a Compare September 21, 2026 14:13
@link2xt
link2xt force-pushed the link2xt/remove-save-legacy branch from 57b7629 to dd0f5a8 Compare September 21, 2026 14:20
@link2xt
link2xt force-pushed the link2xt/json-rpc-no-account-addr branch from 154e58a to 20b70ad Compare September 21, 2026 14:20
Base automatically changed from link2xt/json-rpc-no-account-addr to main September 21, 2026 14:38
@link2xt
link2xt force-pushed the link2xt/remove-save-legacy branch from dd0f5a8 to ba41c41 Compare September 21, 2026 14:38
@Hocuri

Hocuri commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator

There is still a small amount of usages of the addr config, see https://github.com/search?q=org%3Achatmail+%2F%28%3F-i%29%5C%22addr%5C%22%2F+-is%3Aarchived&type=code&p=1 (I didn't check about bots, which are generally stored elsewhere)

In order to enable updating, the commit message should likely have a footer "BREAKING CHANGE: Core does not update the already-deprecated addr, mail_pw, etc. configs anymore. Use list_transports() API instead."

@link2xt
link2xt removed this pull request from stack #8726 September 21, 2026 14:58
@link2xt
link2xt force-pushed the link2xt/remove-save-legacy branch 3 times, most recently from 7f17675 to d84626f Compare September 21, 2026 18:48
@link2xt
link2xt marked this pull request as ready for review September 23, 2026 11:55
Users downgrading to UIs that load legacy config values is unlikely,
and cannot work correctly with multiple transports.

BREAKING CHANGE: core does not set deprecated config values `addr`, `mail_pw` etc. Use `list_transports()` API instead.
@link2xt
link2xt force-pushed the link2xt/remove-save-legacy branch from d84626f to e145d38 Compare September 23, 2026 11:58
@link2xt link2xt changed the title refactor: stop saving legacy config values when configuring a transport refactor!: stop saving legacy config values when configuring a transport Sep 23, 2026
@link2xt
link2xt merged commit 76d664f into main Sep 23, 2026
30 checks passed
@link2xt
link2xt deleted the link2xt/remove-save-legacy branch September 23, 2026 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants