0.7.1
版本发布时间: 2024-09-27 21:31:04
fastapi/full-stack-fastapi-template最新发布版本:0.7.1(2024-09-27 21:31:04)
Highlights
- Migrate from Poetry to
uv
. - Simplifications and improvements for Docker Compose files, Traefik Dockerfiles.
- Make the API use its own domain
api.example.com
and the frontend usedashboard.example.com
. This would make it easier to deploy them separately if you needed that. - The backend and frontend on Docker Compose now listen on the same port as the local development servers, this way you can stop the Docker Compose services and run the local development servers without changing the frontend configuration.
Features
Refactors
- ♻️ Update settings to use top level
.env
file. PR #1359 by @tiangolo. - ⬆️ Migrate from Poetry to uv. PR #1356 by @tiangolo.
- 🔥 Remove logic for development dependencies and Jupyter, it was never documented, and I no longer use that trick. PR #1355 by @tiangolo.
- ♻️ Use Docker Compose
watch
. PR #1354 by @tiangolo. - 🔧 Use plain base official Python Docker image. PR #1351 by @tiangolo.
- 🚚 Move location of scripts to simplify file structure. PR #1352 by @tiangolo.
- ♻️ Refactor prestart (migrations), move that to its own container. PR #1350 by @tiangolo.
- ♻️ Include
FRONTEND_HOST
in CORS origins by default. PR #1348 by @tiangolo. - ♻️ Simplify domains with
api.example.com
for API anddashboard.example.com
for frontend, improve local development withlocalhost
. PR #1344 by @tiangolo. - 🔥 Simplify Traefik, remove https://github.com/fastapi/full-stack-fastapi-template/pull/1343/fastapi/full-stack-fastapi-template/pull/1343) by @tiangolo.
- 🔥 Enable support for Arm Docker images in Mac, remove old patch. PR #1341 by @tiangolo.
- ♻️ Remove duplicate information in the ItemCreate model. PR #1287 by @jjaakko.
Upgrades
Docs
- 💡 Add comments to Dockerfile with uv references. PR #1357 by @tiangolo.
- 📝 Add Email Templates to
backend/README.md
. PR #1311 by @alejsdev.
Internal
- 👷 Do not sync labels as it overrides manually added labels. PR #1307 by @tiangolo.
- 👷 Use uv cache on GitHub Actions. PR #1366 by @tiangolo.
- 👷 Update GitHub Actions format. PR #1363 by @tiangolo.
- 👷 Use
uv
for Python env to generate client. PR #1362 by @tiangolo. - 👷 Run tests from Python environment (with
uv
), not from Docker container. PR #1361 by @tiangolo. - 🔨 Update
generate-client.sh
script, make it fail on errors, fix generation. PR #1360 by @tiangolo. - 👷 Add GitHub Actions workflow to lint backend apart from tests. PR #1358 by @tiangolo.
- 👷 Improve playwright CI job. PR #1335 by @patrick91.
- 👷 Update
issue-manager.yml
. PR #1329 by @tiangolo. - 💚 Set
include-hidden-files
toTrue
when using theupload-artifact
GH action. PR #1327 by @svlandeg. - 👷🏻 Auto-generate frontend client . PR #1320 by @alejsdev.
- 🐛 Fix in
.github/labeler.yml
. PR #1322 by @alejsdev. - 👷 Update
.github/labeler.yml
. PR #1321 by @alejsdev. - 👷 Update
latest-changes
GitHub Action. PR #1315 by @tiangolo. - 👷 Update configs for labeler. PR #1308 by @tiangolo.
- 👷 Update GitHub Action labeler to add only one label. PR #1304 by @tiangolo.
- ⬆️ Bump axios from 1.6.2 to 1.7.4 in /frontend. PR #1301 by @dependabot[bot].
- 👷 Update GitHub Action labeler dependencies. PR #1302 by @tiangolo.
- 👷 Update GitHub Action labeler permissions. PR #1300 by @tiangolo.
- 👷 Add GitHub Action label-checker. PR #1299 by @tiangolo.
- 👷 Add GitHub Action labeler. PR #1298 by @tiangolo.
- 👷 Add GitHub Action add-to-project. PR #1297 by @tiangolo.
- 👷 Update issue-manager. PR #1288 by @tiangolo.