Releases: Jordan-Kowal/django-react-starter
Releases · Jordan-Kowal/django-react-starter
v3.1.1
v3.1.0
[v3.1.0] - 2024-11-15
🚀 Features
- 💻 Backend: Added
UserIndexer
index creation on app start as an example
✨ Improvements
- 💻 Backend: Replaced
jklib
withdjango-utils-kit
anddjango-meilisearch-indexer
- 💻 Backend: Removed most of
UserIndexer
tests to avoid re-testing the library - 💻 Backend: Removed mock of
UserIndexer.index_name
since the celery tasks are mocked
🔧 Others
- 💻 Backend: Set
django.core.mail.backends.locmem.EmailBackend
asEMAIL_BACKEND
for the test environment - 💻 Backend: Updated deps
- 🎨 Frontend: Updated deps
Full Changelog: v3.0.2...v3.1.0
v3.0.2
[v3.0.2] - 2024-10-04
✨ Improvements
- 💫 DX: Simplified
dependabot
config
🐞 Bugfixes
- 💻 Backend: Fixed deps update not working correctly
- 🎨 Frontend: Fixed
Spin
component ignoring extra props - 🎨 Frontend: Fixed
biome
scripts inpackage.json
that used deprecated args - 🎨 Frontend: Fixed Tailwind config file that overwrote colors instead of extending them
v3.0.1
[v3.0.1] - 2024-09-24
🐞 Bugfixes
- 💻 Backend: GitHub action to update python deps now uses token user in commit
🔧 Others
- 💻 Backend: Updated deps
- 💫 DX: Updated version in both
pyproject.toml
andpackage.json
- 🎨 Frontend: Updated deps
v3.0.0
[v3.0.0] - 2024-09-23
🚀 Features
- 💻 Backend: Added
celery
to replace thedjango scheduler
to run tasks - 💻 Backend: Updated
health
API to check forrabbitmq, celery, meilisearch
- 💻 Backend: Added
uv
as package manager - 🎨 Frontend: Migrated the entire app to TypeScript
- 🎨 Frontend: Replaced frontend API implementation with React Query
- 🎨 Frontend: Added Vitest and MSW
- 🎨 Frontend: Added Tailwind CSS and reworked all components to use it
- 🎨 Frontend: Added
millionjs
for better performance - 🎨 Frontend: Added metadata to pages (lang, title, description, etc.)
- 🎨 Frontend: Displays app version in the footer
✨ Improvements
- 💻 Backend: Conditional handling of the
FLY_VOLUME
in settings - 💻 Backend: Removed the
wait_for_db.py
script - 💻 Backend: Updated
.env
andsettings/*
to handlecelery
,rabbitmq
, andmeilisearch
- 💫 DX: Added
.markdownlint.json
for linter custom configuration - 💫 DX: Split
Dockerfile
into 2 files, one for dev and one for prod - 💫 DX: Updated the
fly.example.toml
for deployment - 💫 DX: Improved backend's
makefile
- 🎨 Frontend: Increased
authCheck
interval to 5 minutes - 🎨 Frontend: Updated store calls with
useShallow()
- 🎨 Frontend: Setup both unit tests and integration tests for the entire frontend
- 🎨 Frontend: Added coverage for frontend testing
- 🎨 Frontend: Updated design and theme colors
🐞 Bugfixes
- 💻 Backend: Fixed catch-all route in
urls.py
- 🚂 Deploy: Fixed Dockerfile not copying correctly the frontend build
- 💫 DX: Improved CI/CD pipeline with re-usable workflows
- 🎨 Frontend: Correctly fetches app config after login
🔧 Others
- 💻 Backend: Added example indexer
UserIndexer
with tasks and scheduled CRON on celery - 💻 Backend: Upgraded to python
3.12.5
and upgraded dependencies - 💻 Backend: Now uses
pyproject.toml
for project, ruff, and mypy config - 🚂 Deploy: Updated
.dockerignore
- 🚂 Deploy: Updated sentry tracing to only trace the
api
app - 💫 DX: Added
rabbitmq, meilisearch, meilisearch_ui
into thedocker-compose
configuration - 💫 DX: Added VSCode settings and tasks for easier development
- 💫 DX: Added
.tool-versions
forasdf
- 💫 DX: Updated
README.example.md
- 💫 DX: Moved
biome.json
at root folder to work with the VSCode extension - 💫 DX: Removed
runOnSave
settings and simplified workspace VSCode settings - 💫 DX: Added
.githooks
to runbiome, tsc, ruff, mypy
on commit - 💫 DX: Added
dependabot
config to the repo for frontend dependencies - 💫 DX: Added a github action to update backend dependencies with UV
- 🎨 Frontend: Replaced
prettier
andeslint
withbiome
- 🎨 Frontend: Upgraded to node
20.17.0
and upgraded dependencies
v2.0.1
[v2.0.1] - 2024-02-23
- Updated
coverage
config - Moved
scheduler
into its own app, rather than being part of thecore
app - Fixed deprecated
ping
route import inurls.py
v2.0.0
[v2.0.0] - 2024-02-18
- Deploy:
- Updated the
fly.example.toml
file to use the newflyctl
CLI - Added and implemented script that checks if the database is up before running the app
- Scrapes prometheus metrics from the app on fly.io
- Use new healthchecks through fly.io
- Updated the
- DX:
docker-compose.yml
has been moved to the root folderdocker-compose.yml
now runs the frontend as well- Added
.tool-versions
forasdf
compatibility - Updated
README.example.md
to provide a step-by-step guide to use the app
- Backend:
- Updated dependencies
- Postgres (with postgis) as default database
- Added
coverage
to the dev dependencies and thecoverage
command to themakefile
- Added
dj-database-url
to the dependencies for easier database configuration in production - New
.env.test.example
file for test settings - Added
DEFAULT_FROM_EMAIL
env variable User
model now overridessave
instead of using signals to create theProfile
instance- Changed router to
SimpleRouter
and swagger/schemas routes are no longer included in production - MAJOR: Updated Sentry configuration with profiler, traces, release, and GDPR settings
- MAJOR: Added prometheus metrics inside the Django app so that fly.io can scrape them
- MAJOR: Added healthchecks for the app and the database
- Frontend:
- Updated node to
20.11.1
- Updated all dependencies
docker-compose.yml
now runs the frontend as well- Updated
prettier, eslint, stylelint
configs
- Updated node to
- CI/CD:
- Updated jobs to match the new configuration (python 3.12, postgres, etc.)
- Backend test now run with
coverage
- Updated pre-commit hooks configuration
v1.3.0
[v1.3.0] - 2023-11-26
- Deploy:
- Fixed
deploy.yml
indentation for triggers - Updated
README.example.md
to provide a step-by-step guide to deploy the app withfly
- QA improvements with separate jobs
- Fixed
- Backend:
- Improved Postgres integration:
depends_on
postgres indocker-compose.yml
wait_for_db.py
and its usage inrun-app.sh
andrun-scheduler.sh
- Improved
makefile
to better for withdocker-compose
- Moved logs to a subfolder
- Handles and serves media files:
- Updated
MEDIA_ROOT
,MEDIA_URL
andurls.py
- Updated production settings to store media files on the fly volume
- Updated test settings to use a different folder and delete it after tests
- Updated
- New
AppViewSet
to provide app-wide information- Added
config
endpoint to provide app settings data to frontend
- Added
- Updated API tests to use
reverse
urls - Updated all dependencies and pre-commits
- Updated
robots.txt
route pattern and the catch-all route as well UserSerializer
now provides more fields likeis_staff
andis_superuser
as read-only
- Improved Postgres integration:
- Frontend:
- Handles the new
AppViewSet.config
endpoint:- New API endpoints to fetch the app settings
- New store
useAppConfig
to share the app settings across the app - Automatically fetched after login
- Updated
vite
config to proxy media and static files as well - Updated all dependencies
- Removed Cascadia Code font
- Handles the new
v1.2.1
[v1.2.1] - 2023-22-06
- Fixed theme in django admin
- Fixed theme in email templates
v1.2.0
[v1.2.0] - 2023-21-06
- Frontend
- Changed theme to
dark
and updated theme colors - Flagged frontend as web-resource for idea projects
- Added
global.less
and imported it inApp
- Renamed
IconButton
's propisTextButton
toisText
- Fixed user proptypes and serialization
- Changed theme to
- JetBrains
- Removed
Run backend server locally
from the available run configurations - Renamed run configurations
- Removed