Skip to content

0.7.0

Latest
Compare
Choose a tag to compare
@tiangolo tiangolo released this 02 Aug 19:53
· 44 commits to master since this release

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 to UserRegister 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 and backend/app/api/routes/users.py. PR #711 by @disrupted.

Upgrades

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