Repository navigation
Open
Conversation
…tions - add `fastkit doctor` with --fix, --dry-run and --format json - addroute: --dry-run/--diff/--entity, full CRUD for both layouts - one HTTP contract for all templates, init options and addroute output - pagination built in; JWT and FastAPI-Users options implemented - session invalidation, stricter SECRET_KEY rule outside development - startdemo/addroute exit 1 on failure - bump version to 2.0.0 (unreleased; base of the 2.0.0 work) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…move three templates
- Location header resolved another router's route when two routes shared an entity name - a new file left half-written by a failed write is now removed on rollback Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
[FEAT, TEMPLATE, DOCS] v2.0.0 stage 1: fastkit doctor, unified API conventions, template set
[FEAT, TEMPLATE, DOCS] v2.0.0 stage 2: option catalog, generation API, dev dependency split
…abase before rule checks - init --config: a 2.0 config's feature combinations are checked after the level's defaults apply, so production with FastAPI-Users and no database key is accepted - init in a terminal: a rule that a database answer can satisfy no longer stops the run before the database question; an answer that does not satisfy it is refused with the reason and asked again - tests: read the summary table and wrapped messages in any box style (legacy Windows console), skip the responses test without pydantic Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
[FEAT, TEMPLATE, DOCS] v2.0.0 stage 3: unified fastkit init with levels
…pt comments, SQL-backed items
[FEAT, TEMPLATE, DOCS] v2.0.0 stage 4: next steps, feature guide, SQL-backed items
…e check on Windows
[FEAT, DOCS] v2.0.0 stage 5: web generator page and CI check
[DOCS, FEAT, FIX] v2.0.0 stage 6: English docs rebuild and fixes found while writing them
…lation script fixes - add checks that compare every translated language with the English pages (pages, code blocks, headings and ids, admonitions, tables, images, links, fragments, translated prose); the six languages are listed as pending until their pull request lands - give linked English headings explicit ids so translated headings keep their anchors - move the language-dependent words of the generated tables into HEADINGS - translate.py: keep front matter, code and generated blocks out of the API call, skip hand-translated pages, keep line endings, exit non-zero when a page fails; drop the retired GitHub Models provider and the unused config file and anthropic dependency - translation guide: describe the process and the checks; stop the page from including the whole changelog Refs #100 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
[DOCS, FIX] Prepare the docs translation: locale parity checks and translation script fixes
- translate the 22 pages of docs/en into docs/ko and delete the 1.x Korean pages, whose addresses now redirect - render the generated reference tables in Korean and translate every menu label; the checks require both for a translated language - use 레벨 for "level" in the Korean catalog texts and web generator strings, and reword messages that needed particle alternations - list services in the next steps in the language of the catalog instead of joining them with the English "and" - let a language leave the sentence separator of the generated tables blank - correct line-ending statements in the English contributing pages Refs #100 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
[DOCS] Translate the 2.0.0 documentation into Korean
- translate the 22 pages of docs/en into docs/ja and delete the 1.x Japanese pages, whose addresses now redirect - render the generated reference tables in Japanese and translate every menu label - review the Japanese catalog texts and web generator strings: correct level descriptions that placed the tests inside main.py, and wording that was unclear or inconsistent - correct the same level descriptions in the Korean catalog texts - next steps: reword the services step so it is right for one or several services (English, Chinese, Spanish and French texts) Refs #100 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
[DOCS] Translate the 2.0.0 documentation into Japanese
- translate the 22 pages of docs/en into docs/zh and delete the 1.x Chinese pages, whose addresses now redirect - render the generated reference tables in Chinese and translate every menu label - review the Chinese catalog texts and web generator strings: correct level descriptions that placed the tests inside main.py, ambiguous terms for schema and repository, half-width punctuation and other unclear wording - generated tables: selections in a rule get their own join, and a note label ending in a full-width colon is removed like "Info:" Refs #100 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
[DOCS] Translate the 2.0.0 documentation into Chinese
- translate the 22 pages of docs/en into docs/es and delete the 1.x Spanish pages, whose addresses now redirect - render the generated reference tables in Spanish and translate every menu label - follow the terms of the FastAPI Spanish documentation (request, response, path and query stay in English) in the pages, the catalog texts and the concept titles - review the Spanish catalog texts and web generator strings: correct level descriptions that placed the tests inside main.py and wording that was unclear or did not agree with inserted values Refs #100 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
[DOCS] Translate the 2.0.0 documentation into Spanish
- translate the 22 pages of docs/en into docs/fr and delete the 1.x French pages, whose addresses now redirect - render the generated reference tables in French and translate every menu label - follow the terms of the FastAPI French documentation in the pages, the catalog texts and the concept titles - review the French catalog texts and web generator strings: correct level descriptions that placed the tests inside main.py, agreement errors and wording that broke for inserted values - example projects page: the Next steps panel lists the migration command, it does not run it (English, Chinese, Spanish, French) - generated tables: a note label followed by a space and a colon is removed like "Info:" Refs #100 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
[DOCS] Translate the 2.0.0 documentation into French
- translate the 22 pages of docs/en into docs/de and delete the 1.x German pages, whose addresses now redirect - render the generated reference tables in German and translate every menu label - follow the terms of the FastAPI German documentation (Request, Response, Pfadoperation, Hintergrundtasks) in the pages, the catalog texts and the concept titles - review the German catalog texts and web generator strings: correct level descriptions that placed the tests inside main.py, "Funktion" where it could mean a Python function, and unclear wording - no language is pending any more: the parity checks run for all six Refs #100 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
[DOCS] Translate the 2.0.0 documentation into German
…k hard sentences - remove the terminal animation assets (termynal) and their settings; no page uses them - remove update_nav_translations.py and setup-i18n-structure.sh, which the current process no longer uses, and point CONTRIBUTING.md to the translation guide - recheck in all six languages the sentences that reviews found mistranslated in later languages, and review the Korean pages that had not been compared with English - translate.py: drop a chunk size that was sized for a retired service - changelog: documentation in seven languages; services step wording Closes #100 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
[DOCS] Finish the docs translation: remove unused assets and recheck translations
…, fix release metadata
[DOCS, FIX] v2.0.0: README and docs home rework, changelog, release metadata
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
|
✅ Template Inspection Passed All changed templates have been validated successfully. Last updated: 2026-12-04T16:47:47.337Z |
| #: (``--hash``), direct URLs (``@``) or line continuations. | ||
| _SIMPLE_REQUIREMENT = re.compile( | ||
| r"^[A-Za-z0-9][A-Za-z0-9._-]*\s*(?:\[[A-Za-z0-9._,\s-]*\])?" | ||
| r"\s*(?:(?:~=|===|==|!=|<=|>=|<|>)\s*[A-Za-z0-9.*+!_-]+\s*,?\s*)*" |
| seen["argv"] = argv | ||
| os.makedirs(os.path.join(cwd, "demo")) | ||
| Path(cwd, "demo", "main.py").write_bytes(b"print(1)\n") | ||
| Path(cwd, "demo", ".env").write_bytes(f"SECRET_KEY={SECRET_B}\n".encode()) |
| ) -> List[str]: | ||
| os.makedirs(os.path.join(cwd, "demo")) | ||
| Path(cwd, "demo", "main.py").write_bytes(b"print(1)\n") | ||
| Path(cwd, "demo", ".env").write_bytes(f"SECRET_KEY={SECRET_B}\n".encode()) |
| } | ||
|
|
||
| assert texts | ||
| assert not [name for name, text in texts.items() if "fastapi.tiangolo.com" in text] |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This branch has not been deployed
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.
Requesting Merging
Description
Release 2.0.0. Merges the staged work on
devintomain: onefastkit initwith levels and features, the web generator,fastkit doctor, next-steps guidance, a reworked template set, and documentation rebuilt around a Learn track in seven languages.CHANGELOG.mdhas the full list, including breaking changes and upgrade notes for 1.x users.Type of Change
Test Environment
mkdocs build --strictfor seven languages; black, isort, mypy and pre-committwine check --strict; the wheel was installed into a fresh environment, andhelloandproductionprojects were generated and checked withfastkit doctorMajor Changes
CLI
fastkit initis the single way to create a project: a level (hello,single-file,layered,domain,production), a database and features, or--template <name>for a bundled example.startdemostays as an alias.README.md.fastkit doctorchecks an existing project for problems that newer templates fixed and applies the safe fixes with--fix.fastkit addroutegenerates a typed CRUD resource with tests in both project layouts.Web generator
fastkit init ... --no-venv. Nothing entered is uploaded. CI compares its output with the CLI.Templates and generated projects
fastapi-hello. Removedfastapi-async-crud,fastapi-dockerized,fastapi-psql-ormandfastapi-empty.fastapi-hello: business routes under/api/v1,GET /health,GET /ready, paginated lists, 201 withLocation, 204 on delete.Documentation
README.mdand the documentation home page are rewritten for 2.0.0.Packaging
click>=8.2.0; project URLs, classifiers and keywords.Screenshots (optional)
Etc
CHANGELOG.mdand the "Upgrade from fastkit 1.x" page of the documentation.