Skip to content

CHANGELOG

2023-12-31

Added

  • Added the Just command update_everything to upgrade Python and Node

Changed

  • Upgraded to Django 5.0

2023-12-26

Changed

  • Refactor and clean up the vite_asset template tag
  • Add tests for the vite_asset and vite_hmr_client template tags

2023-12-24

Changed

  • Upgrade from Vite 4.5 to 5.0

2023-10-07

Added

  • Add the Django Maintenance Mode package

2023-09-23

Added

  • Add a gravatar property to the user model

Changed

  • Make the layout and style better for SaaS projects

2023-09-16

Changed

  • Updated Redis configuration settings to allow for a REDIS_PREFIX

Added

  • Added Django-alive for health checks
  • Added a uwsgi.ini config file

2023-09-10

Changed

  • Upgrade the Python container from Debian buster to bookworm and pin the Python version to 3.11.*.

2023-08-31

Changed

  • Upgrade to version 3 of the Compose file
  • Switch to using a named volume for node_modules.
  • Switch to always upgrade npm on build

2023-08-29

Changed

  • Changed to using a root user for local development. This fixes an issue that was happening where Vite and other JS related tools where throwing write permission errors when running because the web service would create files as a non-privileged app user and then JS tools would run as a non-privileged user and then try to write to directories owned by root.

2023-06-01

Changed

  • Remove the Docker Compose volume for node for more consistent builds. This fixes the problem where sometimes you had to run docker compose run node npm install after running docker compose build to install the node modules into the local node volume. Instead the node modules are always installed into the docker image.

Fixed

  • Fixed Vite not being available after changes to package.json. This fixes #289

2023-04-01

Added

  • Add a pre_commit command to the justfile to run the lint, format, and test commands

2022-01-14

Changed

  • Removed the "Successfully signed in as" message after a user has signed in by add the ACCOUNT_SHOW_POST_LOGIN_MESSAGE setting with it set to False by default.
  • By default, set ACCOUNT_EMAIL_VERIFICATION to "none" so that new hobby apps don't require transactional email set up.
  • Changed ACCOUNT_USERNAME_REQUIRED to False and ACCOUNT_AUTHENTICATION_METHOD to "email" so you can signup and signin with just your email address.
  • Changed ACCOUNT_SIGNUP_PASSWORD_ENTER_TWICE to False for a nicer sign-up experience

Added

  • Added the adapter apps.accounts.auth_adapter.AccountAdapter to add the new custom settings
  • The ACCOUNT_SIGNUP_OPEN setting set it to false so signup is closed by default
  • Bash aliases and Django bash completion

2022-12-31

Added

  • A color picker to toggle between dark and light mode

Changed

  • Upgraded to Bootstrap 5.3.0-alpha1 in order to add the color picker

2022-12-27

Added

  • The packages django-test-plus and model-bakers
  • More tests
  • The upgrade_packages Just recipe
  • Just recipes for removing docker containers, images, volumes
  • Bandit for automatic security scanning

2022-12-26

Added

  • Just recipe, build_assets

Changed

  • Switch from the using docker-compose to using docker compose
  • Updated Django settings, so you can use config/settings/test_runner.py for pytest
  • Add the lock suffix to generated Python requirement files
  • Clean up and add more arguments to the start project script

2022-12-18

Added

  • Instructions on how to deploy to Fly.io

Changed

  • Make changes to settings to make it easier to deploy to platforms like Fly.io

2022-12-17

Changed

  • Switched the session backend from django-redis-sessions to the native django.contrib.sessions.backends.cache backend.
  • Switched from using django-redis-cache for parsing a REDIS_URL to using the native django.core.cache.backends.redis.RedisCache backend.
  • Move the vite asset tags to the bottom script block.

2022-12-12

Added

  • Missing accounts migration

Changed

  • Update the Dockerfile so it could be used for production builds

2022-12-11

Changed

  • Upgrade to Vite 4.0

2022-12-10

Changed

  • Upgrade to Django 4.1
  • Change python version to 3.11
  • Move the Javascript config files for eslint, stylelint, and Vite from the root directory to src/config
  • Change the mkdocs port from 5000 to 4000 since Airtunes/Airplay are taking that port
  • Move the mkdocs.yml config to the docs directory
  • Move the Docker files and requirement files under the config directory
  • Switch from using Flake8 to using Ruff

2022-12-08

Changed

  • Switch from using Make for common commands to Just