Skip to content

Releases: Jordan-Kowal/django-react-starter

v3.1.1

15 Nov 21:28
Compare
Choose a tag to compare

[v3.1.1] - 2024-11-15

🐞 Bugfixes

  • 💻 Backend: Correctly handle CSRF protection on /login route, which was disabled by DRF's SessionAuthentication. (Impact was strictly limited to this one view)

v3.1.0

15 Nov 20:34
Compare
Choose a tag to compare

[v3.1.0] - 2024-11-15

🚀 Features

  • 💻 Backend: Added UserIndexer index creation on app start as an example

✨ Improvements

  • 💻 Backend: Replaced jklib with django-utils-kit and django-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 as EMAIL_BACKEND for the test environment
  • 💻 Backend: Updated deps
  • 🎨 Frontend: Updated deps

Full Changelog: v3.0.2...v3.1.0

v3.0.2

04 Oct 09:47
Compare
Choose a tag to compare

[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 in package.json that used deprecated args
  • 🎨 Frontend: Fixed Tailwind config file that overwrote colors instead of extending them

v3.0.1

23 Sep 22:25
614c4f8
Compare
Choose a tag to compare

[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 and package.json
  • 🎨 Frontend: Updated deps

v3.0.0

23 Sep 20:31
Compare
Choose a tag to compare

[v3.0.0] - 2024-09-23

🚀 Features

  • 💻 Backend: Added celery to replace the django scheduler to run tasks
  • 💻 Backend: Updated health API to check for rabbitmq, 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 and settings/* to handle celery, rabbitmq, and meilisearch
  • 💫 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 the docker-compose configuration
  • 💫 DX: Added VSCode settings and tasks for easier development
  • 💫 DX: Added .tool-versions for asdf
  • 💫 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 run biome, 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 and eslint with biome
  • 🎨 Frontend: Upgraded to node 20.17.0 and upgraded dependencies

v2.0.1

23 Feb 19:08
Compare
Choose a tag to compare

[v2.0.1] - 2024-02-23

  • Updated coverage config
  • Moved scheduler into its own app, rather than being part of the core app
  • Fixed deprecated ping route import in urls.py

v2.0.0

18 Feb 19:00
Compare
Choose a tag to compare

[v2.0.0] - 2024-02-18

  • Deploy:
    • Updated the fly.example.toml file to use the new flyctl 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
  • DX:
    • docker-compose.yml has been moved to the root folder
    • docker-compose.yml now runs the frontend as well
    • Added .tool-versions for asdf 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 the coverage command to the makefile
    • 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 overrides save instead of using signals to create the Profile 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
  • 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

26 Nov 22:40
Compare
Choose a tag to compare

[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 with fly
    • QA improvements with separate jobs
  • Backend:
    • Improved Postgres integration:
      • depends_on postgres in docker-compose.yml
      • wait_for_db.py and its usage in run-app.sh and run-scheduler.sh
    • Improved makefile to better for with docker-compose
    • Moved logs to a subfolder
    • Handles and serves media files:
      • Updated MEDIA_ROOT, MEDIA_URL and urls.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
    • New AppViewSet to provide app-wide information
      • Added config endpoint to provide app settings data to frontend
    • 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 like is_staff and is_superuser as read-only
  • 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

v1.2.1

21 Jun 22:03
Compare
Choose a tag to compare

[v1.2.1] - 2023-22-06

  • Fixed theme in django admin
  • Fixed theme in email templates

v1.2.0

21 Jun 20:33
Compare
Choose a tag to compare

[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 in App
    • Renamed IconButton's prop isTextButton to isText
    • Fixed user proptypes and serialization
  • JetBrains
    • Removed Run backend server locally from the available run configurations
    • Renamed run configurations