0.6.0
Latest FastAPI, Pydantic, SQLModel π
Brand new frontend with React, TS, Vite, Chakra UI, TanStack Query/Router, generated client/SDK π¨
CI/CD - GitHub Actions π€
Test cov > 90% β
Features
- β¨ Adopt SQLModel, create models, start using it. PR #559 by @tiangolo.
- β¨ Upgrade items router with new SQLModel models, simplified logic, and new FastAPI Annotated dependencies. PR #560 by @tiangolo.
- β¨ Migrate from pgAdmin to Adminer. PR #692 by @tiangolo.
- β¨ Add support for setting
POSTGRES_PORT
. PR #333 by @uepoch. - β¬ Upgrade Flower version and command. PR #447 by @maurob.
- π¨ Improve styles. PR #673 by @alejsdev.
- π¨ Update theme. PR #666 by @alejsdev.
- π· Add continuous deployment and refactors needed for it. PR #667 by @tiangolo.
- β¨ Create endpoint to show password recovery email content and update email template. PR #664 by @alejsdev.
- π¨ Format with Prettier. PR #646 by @alejsdev.
- β Add tests to raise coverage to at least 90% and fix recover password logic. PR #632 by @estebanx64.
- βοΈ Add Prettier and ESLint config with pre-commit. PR #640 by @alejsdev.
- π· Add coverage with Smokeshow to CI and badge. PR #638 by @estebanx64.
- β¨ Migrate to TanStack Query (React Query) and TanStack Router. PR #637 by @alejsdev.
- β Add setup and teardown database for tests. PR #626 by @estebanx64.
- β¨ Update new-frontend client. PR #625 by @alejsdev.
- β¨ Add password reset functionality. PR #624 by @alejsdev.
- β¨ Add private/public routing. PR #621 by @alejsdev.
- π§ Add VS Code debug configs. PR #620 by @tiangolo.
- β¨ Add
Not Found
page. PR #595 by @alejsdev. - β¨ Add new pages, components, panels, modals, and theme; refactor and improvements in existing components. PR #593 by @alejsdev.
- β¨ Support delete own account and other tweaks. PR #614 by @alejsdev.
- β¨ Restructure folders, allow editing of users/items, and implement other refactors and improvements. PR #603 by @alejsdev.
- β¨ Add Copier, migrate from Cookiecutter, in a way that supports using the project as is, forking or cloning it. PR #612 by @tiangolo.
- β Replace black, isort, flake8, autoflake with ruff and upgrade mypy. PR #610 by @tiangolo.
- β» Refactor items and services endpoints to return count and data, and add CI tests. PR #599 by @estebanx64.
- β¨ Add support for updating items and upgrade SQLModel to 0.0.16 (which supports model object updates). PR #601 by @tiangolo.
- β¨ Add dark mode to new-frontend and conditional sidebar items. PR #600 by @alejsdev.
- β¨ Migrate to RouterProvider and other refactors . PR #598 by @alejsdev.
- β¨ Add delete_user; refactor delete_item. PR #594 by @alejsdev.
- β¨ Add state store to new frontend. PR #592 by @alejsdev.
- β¨ Add form validation to Admin, Items and Login. PR #616 by @alejsdev.
- β¨ Add Sidebar to new frontend. PR #587 by @alejsdev.
- β¨ Add Login to new frontend. PR #585 by @alejsdev.
- β¨ Include schemas in generated frontend client. PR #584 by @alejsdev.
- β¨ Regenerate frontend client with recent changes. PR #575 by @alejsdev.
- β»οΈ Refactor API in
utils.py
. PR #573 by @alejsdev. - β¨ Update code for login API. PR #571 by @tiangolo.
- β¨ Add client in frontend and client generation. PR #569 by @alejsdev.
- π³ Set up Docker config for new-frontend. PR #564 by @alejsdev.
- β¨ Set up new frontend with Vite, TypeScript and React. PR #563 by @alejsdev.
- π Add NodeJS version management and instructions. PR #551 by @alejsdev.
- Add consistent errors for env vars not set. PR #200.
- Upgrade Traefik to version 2, keeping in sync with DockerSwarm.rocks. PR #199.
- Run tests with
TestClient
. PR #160.
Fixes
- π Fix copier to handle string vars with spaces in quotes. PR #631 by @estebanx64.
- π Fix allowing a user to update the email to the same email they already have. PR #696 by @alejsdev.
- π Set up Sentry only when used. PR #671 by @tiangolo.
- π₯ Remove unnecessary validation. PR #662 by @alejsdev.
- π Fix bug when editing own user. PR #651 by @alejsdev.
- π Add
onClose
toSidebarItems
. PR #589 by @alejsdev. - π Fix positional argument bug in
init_db.py
. PR #562 by @alejsdev. - π Fix flower Docker image, pin version. PR #396 by @sanggusti.
- π Fix Celery worker command. PR #443 by @bechtold.
- π Fix Poetry installation in Dockerfile and upgrade Python version and packages to fix Docker build. PR #480 by @little7Li.
Refactors
- π§ Add missing dotenv variables. PR #554 by @tiangolo.
- βͺ Revert "βοΈ Add Prettier and ESLint config with pre-commit". PR #644 by @alejsdev.
- π Add .prettierignore and include client folder. PR #648 by @alejsdev.
- π·οΈ Add mypy to the GitHub Action for tests and fixed types in the whole project. PR #655 by @estebanx64.
- ποΈ Ensure the default values of "changethis" are not deployed. PR #698 by @tiangolo.
- β Revert "πΈ Rename Dashboard to Home and update screenshots". PR #697 by @alejsdev.
- πΈ Rename Dashboard to Home and update screenshots. PR #693 by @alejsdev.
- π Fixed items count when retrieving data for all items by user. PR #695 by @estebanx64.
- π₯ Remove Celery and Flower, they are currently not used nor recommended. PR #694 by @tiangolo.
- β Add test for deleting user without privileges. PR #690 by @alejsdev.
- β»οΈ Refactor user update. PR #689 by @alejsdev.
- π Add Poetry lock to git. PR #685 by @tiangolo.
- π¨ Adjust color and spacing. PR #684 by @alejsdev.
- π· Avoid creating unnecessary *.pyc files with PYTHONDONTWRITEBYTECODE=1. PR #677 by @estebanx64.
- π§ Add
SMTP_SSL
option for older SMTP servers. PR #365 by @Metrea. - β»οΈ Refactor logic to allow running pytest tests locally. PR #683 by @tiangolo.
- β» Update error messages. PR #417 by @qu3vipon.
- π§ Add a default Flower password. PR #682 by @tiangolo.
- π§ Update VS Code debug config. PR #676 by @tiangolo.
- β»οΈ Refactor code structure for tests. PR #674 by @tiangolo.
- π§ Set TanStack Router devtools only in dev mode. PR #668 by @alejsdev.
- β»οΈ Refactor email logic to allow re-using util functions for testing and development. PR #663 by @tiangolo.
- π¬ Improve Delete Account description and confirmation. PR #661 by @alejsdev.
- β»οΈ Refactor email templates. PR #659 by @alejsdev.
- π Update deployment files and docs. PR #660 by @tiangolo.
- π₯ Remove unused schemas. PR #656 by @alejsdev.
- π₯ Remove old frontend. PR #649 by @tiangolo.
- β» Move project source files to top level from src, update Sentry dependency. PR #630 by @estebanx64.
- β» Refactor Python folder tree. PR #629 by @estebanx64.
- β»οΈ Refactor old CRUD utils and tests. PR #622 by @alejsdev.
- π§ Update .env to allow local debug for the backend. PR #618 by @tiangolo.
- β»οΈ Refactor and update CORS, remove trailing slash from new Pydantic v2. PR #617 by @tiangolo.
- π¨ Format files with pre-commit and Ruff. PR #611 by @tiangolo.
- π Refactor and simplify backend file structure. PR #609 by @tiangolo.
- π₯ Clean up old files no longer relevant. PR #608 by @tiangolo.
- β» Re-structure Docker Compose files, discard Docker Swarm specific logic. PR #607 by @tiangolo.
- β»οΈ Refactor update endpoints and regenerate client for new-frontend. PR #602 by @alejsdev.
- β¨ Add Layout to App. PR #588 by @alejsdev.
- β»οΈ Re-enable user update path operations for frontend client generation. PR #574 by @alejsdev.
- β»οΈ Remove type ignores and add
response_model
. PR #572 by @alejsdev. - β»οΈ Refactor Users API and dependencies. PR #561 by @alejsdev.
- β»οΈ Refactor frontend Docker build setup, use plain NodeJS, use custom Nginx config, fix build for old Vue. PR #555 by @tiangolo.
- β»οΈ Refactor project generation, discard cookiecutter, use plain git/clone/fork. PR #553 by @tiangolo.
- Refactor backend:
- Simplify configs for tools and format to better support editor integration.
- Add mypy configurations and plugins.
- Add types to all the codebase.
- Update types for SQLAlchemy models with plugin.
- Update and refactor CRUD utils.
- Refactor DB sessions to use dependencies with
yield
. - Refactor dependencies, security, CRUD, models, schemas, etc. To simplify code and improve autocompletion.
- Change from PyJWT to Python-JOSE as it supports additional use cases.
- Fix JWT tokens using user email/ID as the subject in
sub
. - PR #158.
- Simplify
docker-compose.*.yml
files, refactor deployment to reduce config files. PR #153. - Simplify env var files, merge to a single
.env
file. PR #151.
Upgrades
- π Upgrade Poetry lock dependencies. PR #702 by @tiangolo.
- β¬οΈ Upgrade Python version and dependencies. PR #558 by @tiangolo.
- β¬ Bump tiangolo/issue-manager from 0.2.0 to 0.5.0. PR #591 by @dependabot[bot].
- Bump follow-redirects from 1.15.3 to 1.15.5 in /frontend. PR #654 by @dependabot[bot].
- Bump vite from 5.0.4 to 5.0.12 in /frontend. PR #653 by @dependabot[bot].
- Bump fastapi from 0.104.1 to 0.109.1 in /backend. PR #687 by @dependabot[bot].
- Bump python-multipart from 0.0.6 to 0.0.7 in /backend. PR #686 by @dependabot[bot].
- β¬ Add
uvicorn[standard]
to includewatchgod
anduvloop
. PR #438 by @alonme. - β¬ Upgrade code to support pydantic V2. PR #615 by @estebanx64.
Docs
- π¦ Add dark mode to
README.md
. PR #703 by @alejsdev. - π± Update GitHub image. PR #701 by @tiangolo.
- π± Add GitHub image. PR #700 by @tiangolo.
- π Rename project to Full Stack FastAPI Template. PR #699 by @tiangolo.
- π Update
README.md
. PR #691 by @alejsdev. - β Fix typo in
development.md
. PR #309 by @graue70. - π Add docs for wildcard domains. PR #681 by @tiangolo.
- π Add the required GitHub Actions secrets to docs. PR #679 by @tiangolo.
- π Update
README.md
anddeployment.md
. PR #678 by @alejsdev. - π Update frontend
README.md
. PR #675 by @alejsdev. - π Update deployment docs to use a different directory for traefik-public. PR #670 by @tiangolo.
- πΈ Add new screenshots . PR #657 by @alejsdev.
- π Refactor README into separate README.md files for backend, frontend, deployment, development. PR #639 by @tiangolo.
- π Update README. PR #628 by @tiangolo.
- π· Update GitHub Action latest-changes and move release notes to independent file. PR #619 by @tiangolo.
- π Update internal README and referred files. PR #613 by @tiangolo.
- π Update README with in construction notice. PR #552 by @tiangolo.
- Add docs about reporting test coverage in HTML. PR #161.
- Add docs about removing the frontend, for an API-only app. PR #156.
Internal
- π· Add Lint to GitHub Actions outside of tests. PR #688 by @tiangolo.
- β¬ Bump dawidd6/action-download-artifact from 2.28.0 to 3.1.2. PR #643 by @dependabot[bot].
- β¬ Bump actions/upload-artifact from 3 to 4. PR #642 by @dependabot[bot].
- β¬ Bump actions/setup-python from 4 to 5. PR #641 by @dependabot[bot].
- π· Tweak test GitHub Action names. PR #672 by @tiangolo.
- π§ Add
.gitattributes
file to ensure LF endings for.sh
files. PR #658 by @estebanx64. - π Move new-frontend to frontend. PR #652 by @alejsdev.
- π§ Add script for ESLint. PR #650 by @alejsdev.
- βοΈ Add Prettier config. PR #647 by @alejsdev.
- π§ Update pre-commit config. PR #645 by @alejsdev.
- π· Add dependabot. PR #547 by @tiangolo.
- π· Fix latest-changes GitHub Action token, strike 2. PR #546 by @tiangolo.
- π· Fix latest-changes GitHub Action token config. PR #545 by @tiangolo.
- π· Add latest-changes GitHub Action. PR #544 by @tiangolo.
- Update issue-manager. PR #211.
- Add GitHub Sponsors button. PR #201.
- Simplify scripts and development, update docs and configs. PR #155.