New
0.7.0
Lots of new things! ๐
- E2E tests with Playwright.
- Mailcatcher configuration, to develop and test email handling.
- Pagination.
- UUIDs for database keys.
- New user sign up.
- Support for deploying to multiple environments (staging, prod).
- Many refactors and improvements.
- Several dependency upgrades.
Features
- โจ Add User Settings e2e tests. PR #1271 by @alejsdev.
- โจ Add Reset Password e2e tests. PR #1270 by @alejsdev.
- โจ Add Sign Up e2e tests. PR #1268 by @alejsdev.
- โจ Add Sign Up and make
OPEN_USER_REGISTRATION=Trueby default. PR #1265 by @alejsdev. - โจ Add Login e2e tests. PR #1264 by @alejsdev.
- โจ Add initial setup for frontend / end-to-end tests with Playwright. PR #1261 by @alejsdev.
- โจ Add mailcatcher configuration. PR #1244 by @patrick91.
- โจ Introduce pagination in items. PR #1239 by @patrick91.
- ๐๏ธ Add max_length validation for database models and input data. PR #1233 by @estebanx64.
- โจ Add TanStack React Query devtools in dev build. PR #1217 by @tomerb.
- โจ Add support for deploying multiple environments (staging, production) to the same server. PR #1128 by @tiangolo.
- ๐ท Update CI GitHub Actions to allow running in private repos. PR #1125 by @tiangolo.
Fixes
- ๐ Fix welcome page to show logged-in user. PR #1218 by @tomerb.
- ๐ Fix local Traefik proxy network config to fix Gateway Timeouts. PR #1184 by @JoelGotsch.
- โป๏ธ Fix tests when first superuser password is changed in .env. PR #1165 by @billzhong.
- ๐ Fix bug when resetting password. PR #1171 by @alejsdev.
- ๐ Fix 403 when the frontend has a directory without an index.html. PR #1094 by @tiangolo.
Refactors
- ๐จ Fix Docker build warning. PR #1283 by @erip.
- โป๏ธ Regenerate client to use UUID instead of id integers and update frontend. PR #1281 by @rehanabdul.
- โป๏ธ Tweaks in frontend. PR #1273 by @alejsdev.
- โป๏ธ Add random password util and refactor tests. PR #1277 by @alejsdev.
- โป๏ธ Refactor models to use cascade delete relationships . PR #1276 by @alejsdev.
- ๐ฅ Remove
USERS_OPEN_REGISTRATIONconfig, make registration enabled by default. PR #1274 by @alejsdev. - ๐ง Reuse database url from config in alembic setup. PR #1229 by @patrick91.
- ๐ง Update Playwright config and tests to use env variables. PR #1266 by @alejsdev.
- โป๏ธ Edit refactor db models to use UUID's instead of integer ID's. PR #1259 by @estebanx64.
- โป๏ธ Update form inputs width. PR #1263 by @alejsdev.
- โป๏ธ Replace deprecated utcnow() with now(timezone.utc) in utils module. PR #1247 by @jalvarezz13.
- ๐จ Format frontend. PR #1262 by @alejsdev.
- โป๏ธ Abstraction of specific AddModal component out of the Navbar. PR #1246 by @ajbloureiro.
- โป๏ธ Update
login.tsxto prevent error if username or password are empty. PR #1257 by @jmondaud. - โป๏ธ Refactor recover password. PR #1242 by @alejsdev.
- ๐จ Format and lint . PR #1243 by @alejsdev.
- ๐จ Run biome after OpenAPI client generation. PR #1226 by @tomerb.
- โป๏ธ Update DeleteConfirmation component to use new service. PR #1224 by @alejsdev.
- โป๏ธ Update client services. PR #1223 by @alejsdev.
- โ๏ธ Add minor frontend tweaks. PR #1210 by @alejsdev.
- ๐ Move assets to public folder. PR #1206 by @alejsdev.
- โป๏ธ Refactor redirect labels to simplify removing the frontend. PR #1208 by @tiangolo.
- ๐๏ธ Refactor migrate from python-jose to PyJWT. PR #1203 by @estebanx64.
- ๐ฅ Remove duplicated code. PR #1185 by @alejsdev.
- โป๏ธ Add delete_user_me endpoint and corresponding test cases. PR #1179 by @alejsdev.
- โ Update test to add verification database records. PR #1178 by @estebanx64.
- ๐ธ Use
useSuspenseQueryto fetch members and show skeleton. PR #1174 by @patrick91. - ๐จ Format Utils. PR #1173 by @alejsdev.
- โจ Use suspense for items page. PR #1167 by @patrick91.
- ๐ธ Mark login field as required. PR #1166 by @patrick91.
- ๐ธ Improve login. PR #1163 by @patrick91.
- ๐ฅ Handle AxiosErrors in Login page. PR #1162 by @patrick91.
- ๐จ Format frontend. PR #1161 by @alejsdev.
- โป๏ธ Regenerate frontend client. PR #1156 by @alejsdev.
- โป๏ธ Refactor rename ModelsOut to ModelsPublic. PR #1154 by @estebanx64.
- โป๏ธ Migrate frontend client generation from
openapi-typescript-codegento@hey-api/openapi-ts. PR #1151 by @alejsdev. - ๐ฅ Remove unused exports and update dependencies. PR #1146 by @alejsdev.
- ๐ง Update sentry dns initialization following the environment settings. PR #1145 by @estebanx64.
- โป๏ธ Refactor and tweaks, rename
UserCreateOpentoUserRegisterand others. PR #1143 by @alejsdev. - ๐จ Format imports. PR #1140 by @alejsdev.
- โป๏ธ Refactor and remove
React.FC. PR #1139 by @alejsdev. - โป๏ธ Add email pattern and refactor in frontend. PR #1138 by @alejsdev.
- ๐ฅ Set up Sentry for FastAPI applications. PR #1136 by @estebanx64.
- ๐ฅ Remove deprecated Docker Compose version key. PR #1129 by @tiangolo.
- ๐จ Format with Biome . PR #1097 by @alejsdev.
- ๐จ Update quote style in biome formatter. PR #1095 by @alejsdev.
- โป๏ธ Replace ESLint and Prettier with Biome to format and lint frontend. PR #719 by @santigandolfo.
- ๐จ Replace buttons styling for variants for consistency. PR #722 by @alejsdev.
- ๐ ๏ธ Improve
modify-openapi-operationids.js. PR #720 by @alejsdev. - โป๏ธ Replace pytest-mock with unittest.mock and remove pytest-cov. PR #717 by @estebanx64.
- ๐ ๏ธ Minor changes in frontend. PR #715 by @alejsdev.
- โป Update Docker image to prevent errors in M1 Macs. PR #710 by @dudil.
- โ Fix typo in variable names in
backend/app/api/routes/items.pyandbackend/app/api/routes/users.py. PR #711 by @disrupted.
Upgrades
- โฌ๏ธ Update SQLModel to version
>=0.0.21. PR #1275 by @alejsdev. - โฌ๏ธ Upgrade Traefik. PR #1241 by @tiangolo.
- โฌ๏ธ Bump requests from 2.31.0 to 2.32.0 in /backend. PR #1211 by @dependabot[bot].
- โฌ๏ธ Bump jinja2 from 3.1.3 to 3.1.4 in /backend. PR #1196 by @dependabot[bot].
- Bump gunicorn from 21.2.0 to 22.0.0 in /backend. PR #1176 by @dependabot[bot].
- Bump idna from 3.6 to 3.7 in /backend. PR #1168 by @dependabot[bot].
- ๐ Update React Query to TanStack Query. PR #1153 by @patrick91.
- Bump vite from 5.0.12 to 5.0.13 in /frontend. PR #1149 by @dependabot[bot].
- Bump follow-redirects from 1.15.5 to 1.15.6 in /frontend. PR #734 by @dependabot[bot].
Docs
- ๐ Update links from tiangolo repo to fastapi org repo. PR #1285 by @tiangolo.
- ๐ Add End-to-End Testing with Playwright to frontend
README.md. PR #1279 by @alejsdev. - ๐ Update release-notes.md. PR #1220 by @alejsdev.
- โ๏ธ Update
README.md. PR #1205 by @Craz1k0ek. - โ๏ธ Fix Adminer URL in
deployment.md. PR #1194 by @PhilippWu. - ๐ Add
Enabling Open User Registrationto backend docs. PR #1191 by @alejsdev. - ๐ Update release-notes.md. PR #1164 by @alejsdev.
- ๐ Update
README.md. PR #716 by @alejsdev. - ๐ Update instructions to clone for a private repo, including updates. PR #1127 by @tiangolo.
- ๐ Add docs about CI keys, LATEST_CHANGES and SMOKESHOW_AUTH_KEY. PR #1126 by @tiangolo.
- โ๏ธ Fix file path in
backend/README.mdwhen not wanting to use migrations. PR #1116 by @leonlowitzki. - ๐ Add documentation for pre-commit and code linting. PR #718 by @estebanx64.
- ๐ Fix localhost URLs in
development.md. PR #1099 by @efonte. - โ Update header titles for consistency. PR #708 by @codesmith-emmy.
- ๐ Update
README.md, dark mode screenshot position. PR #706 by @alejsdev.
Internal
- ๐ง Update deploy workflows to exclude the main repository. PR #1284 by @alejsdev.
- ๐ท Update issue-manager.yml GitHub Action permissions. PR #1278 by @tiangolo.
- โฌ๏ธ Bump setuptools from 69.1.1 to 70.0.0 in /backend. PR #1255 by @dependabot[bot].
- โฌ๏ธ Bump certifi from 2024.2.2 to 2024.7.4 in /backend. PR #1250 by @dependabot[bot].
- โฌ๏ธ Bump urllib3 from 2.2.1 to 2.2.2 in /backend. PR #1235 by @dependabot[bot].
- ๐ง Ignore
src/routeTree.gen.tsin biome. PR #1175 by @patrick91. - ๐ท Update Smokeshow download artifact GitHub Action. PR #1198 by @tiangolo.
- ๐ง Update Node.js version in
.nvmrc. PR #1192 by @alejsdev. - ๐ฅ Remove ESLint and Prettier from pre-commit config. PR #1096 by @alejsdev.
- ๐ง Update mypy config to ignore .venv directories. PR #1155 by @tiangolo.
- ๐จ Enable
ARG001to prevent unused arguments. PR #1152 by @patrick91. - ๐ฅ Remove isort configuration, since we use Ruff now. PR #1144 by @patrick91.
- ๐ง Update pre-commit config to exclude generated client folder. PR #1150 by @alejsdev.
- ๐ง Change
.nvmrcformat. PR #1148 by @patrick91. - ๐จ Ignore alembic from ruff lint and format. PR #1131 by @estebanx64.
- ๐ง Add GitHub templates for discussions and issues, and security policy. PR #1105 by @alejsdev.
- โฌ Bump dawidd6/action-download-artifact from 3.1.2 to 3.1.4. PR #1103 by @dependabot[bot].
- ๐ง Add Biome to pre-commit config. PR #1098 by @alejsdev.
- ๐ฅ Delete leftover celery file. PR #727 by @dr-neptune.
- โ๏ธ Update pre-commit config with Prettier and ESLint. PR #714 by @alejsdev.