All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
setuptools
Python dependency since Docker recently removed this from the official Python image./run pip3 [...]
to run any Pip command./run yarn [...]
to run any Yarn command
- Replace
./run pip3:install
with./run deps:install [--no-build]
to install any deps - Replace
./run yarn:install
with./run deps:install [--no-build]
to install any deps
- Update
Python
to3.13.1
- Update
Node
to22.13.0
- Update
Postgres
to17.2
- Update
Redis
to7.4.2
- Update
Django
to5.1.5
- Update
black
to24.10.0
- Update
django-debug-toolbar
to5.0.1
- Update
gunicorn
to23.0.0
- Update
psycopg
to3.2.3
- Update
redis
to5.2.1
- Update
whitenoise
to6.8.2
- Update
esbuild
to0.24.2
- Update
postcss
to8.5.1
- Update
tailwindcss
to3.4.17
0.11.0 - 2024-08-09
django-debug-toolbar
packageWEB_TIMEOUT
environment variable to configure gunicorn's timeout value (defaults to 120s)
- Convert
SECRET_KEY
into a required env var - Add
required: false
todepends_on
indocker-compose.yml
(requires Docker Compose v2.20.2+) - Adjust
WEB_CONCURRENCY
to default to N number of CPU cores instead of 1 in development - Rename
docker-compose.yml
tocompose.yaml
to stick to the official Docker Compose spec
- Update
Python
to3.12.5
- Update
Node
to20.6.1
- Update
Postgres
to16.3
- Update
Redis
to7.2.5
- Update
Django
to5.1
- Update
black
to24.8.0
- Update
celery
to5.4.0
- Update
django-debug-toolbar
to4.4.6
- Update
flake8
to7.1.1
- Update
gunicorn
to22.0.0
- Update
isort
to5.13.2
- Update
psycopg
to3.2.1
- Update
redis
to5.0.8
- Update
whitenoise
to6.7.0
- Update
autoprefixer
to10.4.20
- Update
esbuild
to0.23.0
- Update
postcss-import
to16.1.0
- Update
postcss
to8.4.41
- Update
tailwindcss
to3.4.8
0.10.0 - 2023-05-13
- Ability to customize
UID
andGID
if you're not using1000:1000
(check the.env.example
file) - Output
docker compose logs
in CI for easier debugging isort
to auto-sort Python imports and a new./run isort
command./run quality
to runlint
,isort
andformat
in 1 command
- Reference
PORT
variable in thedocker-compose.yml
web service instead of hard coding8000
- Adjust Hadolint to exit > 0 if any style warnings are present
- Rename
esbuild.config.js
toesbuild.config.mjs
and refactor config for esbuild 0.17+
- Update
Python
to3.11.3
- Update
Node
to18.15.0
- Update
Postgres
to15.3
- Update
Redis
to7.0.11
- Replace
psycopg2
withpsycopg
(3.1.9) - Update
Django
to4.2.1
- Update
flake8
to6.0.0
- Update
isort
to5.12.1
- Update
redis
to4.5.5
- Update
whitenoise
to6.4.0
- Update
autoprefixer
to10.4.14
- Update
esbuild
to0.17.19
- Update
postcss-import
to15.1.0
- Update
postcss
to8.4.23
- Update
tailwindcss
to3.3.2
set -o nounset
fromrun
script since it's incompatible with Bash 3.2 (default on macOS)
- Ensure Flake8, Black and isort all use 79 as the max line length
- HTML templates not reloading in development by using
loaders
insrc/config/setting.py
0.9.0 - 2022-09-09
set -o nounset
torun
script to exit if there's any undefined variables- Adjust
x-assets
to use astop_grace_period
of0
for faster CTRL+c times in dev
- Switch Docker Compose
env_file
toenvironment
forpostgres
to avoid needless recreates on.env
changes - Replace override file with Docker Compose profiles for running specific services
- Update Github Actions to use Ubuntu 22.04
- Enable BuildKit by default in the
.env.example
file
- Update
Python
to3.10.5
- Update
Node
to16.15.1
- Update
PostgreSQL
to14.5
- Update
Redis
to7.0.4
- Update
Django
to4.1.0
- Update
black
to22.6.0
- Update
flake8
to5.0.4
- Update
celery
to5.2.7
- Update
redis
to4.3.4
- Update
whitenoise
to6.2.0
- Update
autoprefixer
to10.4.8
- Update
esbuild
to0.15.2
- Update
postcss
to8.4.16
- Update
tailwindcss
to3.1.8
- Docker Compose
env_file
property forredis
to avoid needless recreates on.env
changes - Drop support for Docker Compose v1 (mainly to use profiles in an optimal way, it's worth it!)
0.8.0 - 2022-05-15
yarn cache clean
afteryarn install
inDockerfile
(Hadolint warning)--no-cache-dir
flag topip3 install
command inbin/pip3-install
(Hadolint warning)- esbuild-copy-static-files plugin to drastically improve how static files are copied (check
assets/esbuild.config.js
)
- Update Bash shebang to use
#!/usr/bin/env bash
inpip3-install
anddocker-entrypoint-web
- Refactor
/up/
endpoint into its own app and add/up/databases
as a second URL
- Update
Python
to3.10.4
- Update
Node
to16.14.2
- Update
PostgreSQL
to14.2
- Update
Redis
to7.0.0
- Update
Django
to4.0.4
- Update
black
to22.3.0
- Update
celery
to5.2.6
- Update
psycopg2
to2.9.3
- Update
redis
to4.3.1
- Update
whitenoise
to6.1.0
- Update
autoprefixer
to10.4.7
- Update
esbuild
to0.14.39
- Update
postcss-import
to14.1.0
- Update
postcss
to8.4.13
- Update
tailwindcss
to3.0.24
COPY --chown=node:node ../ ../
has been fixed to beCOPY --chown=node:node . ..
0.7.0 - 2021-12-25
/node_modules/.bin
to$PATH
to easier access Yarn installed binariesyarn:build:js
andyarn:build:css
run script commands
- Update
assets/tailwind.config.js
based on the new TailwindCSS v3 defaults - Replace all traces of Webpack with esbuild
- Move JS and CSS from
assets/app
toassets/js
andassets/css
- Rename
webpack
Docker build stage toassets
- Copy all files into the
assets
build stage to simplify things - Replace
cp -a
withcp -r
in Docker entrypoint to make it easier to delete older assets - Rename
run hadolint
torun lint:dockerfile
- Rename
run flake8
torun lint
- Rename
run black
torun format
- Rename
run bash
torun shell
- Update
Node
to16.13.1
- Update
postcss
to8.4.5
- Update
tailwindcss
to3.0.7
- Deleting old assets in the Docker entrypoint (it's best to handle this out of band in a cron job, etc.)
0.6.0 - 2021-12-07
- Lint Dockerfile with https://github.com/hadolint/hadolint
redis
package to fulfill Django 4.x's Redis cache back-end requirements
- Update
assets/tailwind.config.js
based on the new TailwindCSS v3 defaults
- Update
Node
to14.18.1
- Update
PostgreSQL
to14.1
and switch to Debian Bullseye Slim - Update
Redis
to switch to Debian Bullseye Slim
- Update
Django
to4.0
- Update
celery
to5.2.1
- Update
flake8
to4.0.1
- Update
psycopg2
to2.9.2
- Update
redis
to4.0.2
- Update
@babel/core
to7.16.0
- Update
@babel/preset-env
to7.16.4
- Update
@babel/register
to7.16.0
- Update
autoprefixer
to10.4.0
- Update
babel-loader
to8.2.3
- Update
copy-webpack-plugin
to10.0.0
- Update
css-loader
to6.5.1
- Update
css-minimizer-webpack-plugin
to3.2.0
- Update
mini-css-extract-plugin
to2.4.5
- Update
postcss-loader
to6.2.1
- Update
postcss
to8.4.3
- Update
tailwindcss
to2.2.19
- Update
webpack-cli
to4.9.1
- Update
webpack
to5.64.4
django-redis
package since Django 4.x supports using Redis as a cache back-end now
0.5.0 - 2021-10-10
- Update
Python
to3.10.0
and switch to Debian Bullseye Slim - Update
PostgreSQL
to14.0
- Update
Redis
to6.2.6
- Update
Django
to3.2.8
- Update
celery
to5.1.2
- Update
psycopg2
to2.9.1
- Update
whitenoise
to5.3.0
- Update
@babel/core
to7.15.8
- Update
@babel/preset-env
to7.15.8
- Update
@babel/register
to7.15.3
- Update
autoprefixer
to10.3.7
- Update
copy-webpack-plugin
to9.0.1
- Update
css-loader
to6.4.0
- Update
css-minimizer-webpack-plugin
to3.1.1
- Update
mini-css-extract-plugin
to2.4.2
- Update
postcss-loader
to6.1.1
- Update
postcss
to8.3.9
- Update
tailwindcss
to2.2.16
- Update
webpack-cli
to4.9.0
- Update
webpack
to5.58.1
0.4.0 - 2021-06-11
bin/rename-project
script to assist with renaming the project- Use Black to format Python code
- Set
PYTHONPATH="."
in the Dockerfile
- Rename
src/hello/
directory tosrc/config/
to be more portable - Replace
APP_NAME
inrun
script withPOSTGRES_USER
for connecting to psql - Avoid using multi-line imports with commas or parenthesis
- Update Python from
3.9.2
to3.9.5
- Update PostgreSQL from
13.2
to13.3
- Update Redis from
6.0.10
to6.2.4
- Update Tailwind from
2.1.0
to2.1.2
- Update Django from
3.2
to3.2.4
- Update django-redis from
4.12.1
to5.0.0
- Update Celery from
5.0.5
to5.1.0
- Update flake8 from
3.9.0
to3.9.2
- Update all Webpack related dependencies to their latest versions
- Use the Docker Compose spec in
docker-compose.yml
(removesversion:
property)
- Set an empty ENTRYPOINT for the worker to avoid race conditions when copying static files
- Fix
run
script error for unbound variable in older versions of Bash on macOS - Potential issue on Mac M1s by adding
depends_on
to Webpack service
0.3.1 - 2021-04-06
- Use
DEFAULT_AUTO_FIELD
insettings.py
instead of the lowercase variant
0.3.0 - 2021-04-06
- Update Django to
3.2
- Update TailwindCSS to
2.1.0
and enable the JIT compiler
- Remove Webpack's cache since the JIT compiler is pretty speedy as is
0.2.0 - 2021-03-17
- Replace
##
comments with#
in therun
script - Switch
OptimizeCSSAssetsPlugin
withCssMinimizerPlugin
for Webpack 5 - Replace deprecated Webpack 5
file-loader
withasset/resource
- Update flake8 from
3.8.4
to3.9.0
- Remove unnecessary
mkdir
for the pip cache dir and chown'ing a few directories - Unused
webpack
import in Webpack config
- Make sure
public_collected/.keep
is never removed - Code styling issues in the Webpack config (single quotes, semi-colons, etc.)
0.1.0 - 2021-02-24
- Everything!