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=True
by 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_REGISTRATION
config, 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.tsx
to 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
useSuspenseQuery
to 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-codegen
to@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
UserCreateOpen
toUserRegister
and 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.py
andbackend/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 Registration
to 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.md
when 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.ts
in 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
ARG001
to 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
.nvmrc
format. 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.