Skip to content

Commit bed94dc

Browse files
docs: add CHANGELOG with [Unreleased] entries for the audit fixes (#651-#656)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 5546738 commit bed94dc

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Changelog
2+
3+
All notable changes to this project are documented here.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
### Changed
11+
12+
- **Python lint stack consolidated onto Ruff (#651, #652).** Removed Black,
13+
standalone isort, and flake8 entirely (their `[tool.*]` config, dev
14+
dependencies, pre-commit hooks, and `scripts/lint.sh` steps). Ruff now owns
15+
lint + format + import order (the `I` rules), with mypy + bandit alongside —
16+
resolving the three-formatter conflict (#452/#452-skew) and the Black 24-vs-26
17+
pin skew. The now-green Python lint gate (ruff check + ruff format --check +
18+
mypy + bandit) is wired into backend CI.
19+
- **mypy tightened on the package (#655).** Enabled the `disallow_untyped_defs`
20+
and `warn_return_any` strict subset for `django_admin_react`; typed the
21+
`admin_site` view helpers as `AdminSite` (type-only import) instead of `Any`.
22+
- **Frontend `@typescript-eslint/no-explicit-any` promoted from `off` to
23+
`error` (#656)** to lock in the existing zero-`any` state, and added `/**`
24+
JSDoc to the `Checkbox`, `Input`, `Spinner`, `EmptyState`, and
25+
`DateHierarchyBar` primitives.
26+
27+
### Removed
28+
29+
- **Dead `django_admin_react/audit.py` module (#654).** It was imported nowhere
30+
and had 0% coverage; the `LogEntry` access it duplicated belongs in the
31+
sibling `django-admin-rest-api`.
32+
33+
### Fixed
34+
35+
- **Dangling documentation references (#653).** Repointed or removed docstring /
36+
comment / pre-commit citations to docs that no longer exist (`docs/ux/pwa.md`,
37+
`pwa.md`, `theming.md`, `ACCEPTANCE.md`, `REVIEW_CHECKLIST.md`,
38+
`docs/threat-model.md`) so they target the surviving `ARCHITECTURE.md` /
39+
`SECURITY.md` sections. Added a fast doc-reference guard
40+
(`tests/test_doc_refs.py` + a pre-commit hook) that fails when a `*.md` file
41+
or `§N` section cited in source no longer exists.
42+
- **Stale comments (#654).** Removed the misleading "Real implementation lands
43+
in PR #2" note on the shipped `_PackageSettings` dataclass and a dead
44+
`# noqa: ARG002` line in `views.py` that suppressed nothing.

0 commit comments

Comments
 (0)