Skip to content

refactor: remove unused rename helpers - #426

Merged
lesnik512 merged 1 commit into
mainfrom
chore/400-remove-rename-helpers
Nov 4, 2026
Merged

lesnik512 merged 1 commit into
mainfrom
chore/400-remove-rename-helpers

Conversation

@lesnik512

Copy link
Copy Markdown
Member

The rename compatibility helpers have no production callers after the 1.x aliases were removed. Delete deprecated_module_getattr, NEXT_MAJOR_VERSION, and the _renamed_fields forwarding machinery together with their obsolete tests.

Keep BaseConfig.__post_init__ as the terminator for subclass initialization chains, retain warn_at_caller and the FastAPI sentinel types, and update the rename guidance to reference the previous implementations.

Closes #400.

Validation:

  • just test-ci: 609 passed, 100% coverage.
  • just lint-ci: formatting, lint, and typechecking passed.
  • Config and initialization cascade tests passed before and after removal.
  • Standards and spec reviews found no issues.

@lesnik512
lesnik512 merged commit d099c3e into main Nov 4, 2026
35 checks passed
@lesnik512
lesnik512 deleted the chore/400-remove-rename-helpers branch November 4, 2026 09:24
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.

Delete deprecated_module_getattr and _renamed_fields

1 participant