Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
094e022
chore: ensure 'as' and 'FROM' keywords' casing matches
engineervix Dec 8, 2025
fd4cac6
feat: upgrade wagtail from 7.1 to 7.2
engineervix Dec 8, 2025
bb492cb
build(deps): bump djhtml 3.0.8 -> 3.0.10
engineervix Dec 8, 2025
c6bdd3c
build(deps): bump ruff v0.11.13 -> v0.14.8
engineervix Dec 8, 2025
6f9ab74
build(deps): add django-upgrade and pyupgrade
engineervix Dec 8, 2025
afd4685
build: update Node.js 20 -> 22
engineervix Dec 8, 2025
454979d
build: update Node.js 20 -> 22 and nvm 0.39.5 -> 0.40.3
engineervix Dec 8, 2025
6aa5887
build: update Node.js 22 -> 24
engineervix Dec 8, 2025
a7b4624
build(node-deps): bump autoprefixer 10.4.19 -> 10.4.22
engineervix Dec 8, 2025
b2b24bd
build(node-deps): bump webpack 5.91.0 -> 5.103.0
engineervix Dec 8, 2025
5d47346
build(node-deps): bump mini-css-extract-plugin 2.8.1 -> 2.9.4
engineervix Dec 8, 2025
9bbf2db
build(node-deps): bump ts-jest 29.1.2 -> 29.4.6
engineervix Dec 8, 2025
9944316
build(node-deps): bump postcss 8.4.38 -> 8.5.6
engineervix Dec 8, 2025
f7a4818
build(node-deps): bump sass 1.75.0 -> 1.94.2
engineervix Dec 8, 2025
34a4fe4
build(node-deps): bump lite-youtube-embed 0.3.2 -> 0.3.4
engineervix Dec 8, 2025
393038e
build(node-deps): bump prettier 2.8.8 -> 3.7.4
engineervix Dec 8, 2025
6471611
build(node-deps): bump webpack-cli 5.1.4 -> 6.0.1 & webpack-dev-serve…
engineervix Dec 8, 2025
5db060b
Merge branch 'support/TWE-676-wagtail72' into _
engineervix Dec 8, 2025
a38ddc3
build(node-deps): bump postcss-custom-properties 13.3.7 ❯ 14.0.6
engineervix Dec 8, 2025
6d51a2f
build(node-deps): bump cssnano 6.1.2 ❯ 7.1.2
engineervix Dec 8, 2025
779b5f4
build(node-deps): bump css-loader 6.11.0 -> 7.1.2 postcss-loader 7.3.…
engineervix Dec 8, 2025
c1535a9
build(node-deps): bump ts-loader 8.4.0 ❯ 9.5.4, url-loader 3.0.0 ❯ 4.1.1
engineervix Dec 8, 2025
dc10f94
build(node-deps): bump typescript 4.9.5 ❯ 5.9.3
engineervix Dec 8, 2025
b55e8c1
build(node-deps): bump jest and friends from 29.x to 30.x
engineervix Dec 8, 2025
4d4b161
build(node-deps): bump copy-webpack-plugin 11.0.0 ❯ 13.0.1
engineervix Dec 8, 2025
04afeeb
build(node-deps): bump stylelint from 13 to 16, also bump config and …
engineervix Dec 8, 2025
98527ba
build: remove clean-webpack-plugin - no longer required in Webpack 5+
engineervix Dec 8, 2025
0fca0fc
build: update webpack config to bring in line with API changes
engineervix Dec 8, 2025
6a3ed1b
refactor: correct relative paths in Sass @use statements & address St…
engineervix Dec 8, 2025
7731738
chore: stylelint
engineervix Dec 9, 2025
61fd759
chore: fix sass deprecation warnings
engineervix Dec 9, 2025
ed91515
build(node-deps): bump sass to 1.95.0
engineervix Dec 9, 2025
bdbc4b3
build(node-deps): bump eslint-webpack-plugin to 5.0.2
engineervix Dec 9, 2025
9927736
chore: npm audit fix
engineervix Dec 9, 2025
5969624
build(node-deps): bump swiper 11.2.1 -> 12.0.3
engineervix Dec 9, 2025
d34c934
build(python-deps): update beautifulsoup4 (4.13.5 -> 4.14.3)
engineervix Dec 9, 2025
f05a76f
build(python-deps): update whitenoise (6.9.0 -> 6.11.0)
engineervix Dec 9, 2025
869cb29
build(python-deps): update wagtailmedia (0.17.0 -> 0.17.2)
engineervix Dec 9, 2025
8f5a50e
build(python-deps): update wagtail-markdown 0.12.1 -> 0.13.0
engineervix Dec 9, 2025
3ce18c0
build(python-deps): update urllib3 (2.5.0 -> 2.6.1)
engineervix Dec 9, 2025
3b40a72
build(python-deps): update sentry-sdk (2.35.1 -> 2.47.0)
engineervix Dec 9, 2025
afabced
build(python-deps): update scout-apm (3.4.0 -> 3.5.0)
engineervix Dec 9, 2025
20b0f2d
build(python-deps): update psycopg 3.2.9 -> 3.3.2
engineervix Dec 9, 2025
da1319a
build(python-deps): update phonenumbers (9.0.12 -> 9.0.20)
engineervix Dec 9, 2025
0696007
build(python-deps): update django-permissions-policy (4.26.0 -> 4.28.0)
engineervix Dec 9, 2025
df3bd3e
build(python-deps): update django-phonenumber-field (8.1.0 -> 8.4.0)
engineervix Dec 9, 2025
606b0da
build(python-deps): update django-redis (5.4.0 -> 6.0.0), redis (6.4.…
engineervix Dec 9, 2025
228c222
build(python-deps): update botocore (1.40.18 -> 1.42.5), s3transfer (…
engineervix Dec 9, 2025
d70eb7d
build(python-deps): update Werkzeug 3.1.3 to 3.1.4
engineervix Dec 9, 2025
312dd2c
build(python-deps): update pre-commit 4.3.0 to 4.5.0
engineervix Dec 9, 2025
fba8adc
build(python-deps): update pudb 2025.1 to 2025.1.5
engineervix Dec 9, 2025
c80f6f4
build(python-deps): update mkdocs-material 9.6.18 to 9.7.0
engineervix Dec 9, 2025
53a814b
build(python-deps): update pymdown-extensions 10.16.1 to 10.18
engineervix Dec 9, 2025
b4eaed7
build(python-deps): update tblib 3.1.0 to 3.2.2
engineervix Dec 9, 2025
2a01684
build(python-deps): update django-debug-toolbar 5.2.0 to 6.1.0
engineervix Dec 9, 2025
c8269ae
build(python-deps): update Faker 37.6.0 to 38.2.0
engineervix Dec 9, 2025
367e1f5
chore: update CHANGELOG
engineervix Dec 9, 2025
35cacad
chore: fix typo on date for wagtail 7.1 upgrade
engineervix Dec 9, 2025
e753009
chore: harmonize dates -- use iso format
engineervix Dec 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
24
14 changes: 12 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ default_language_version:
python: python3.13
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.11.12' # keep in sync with pyproject.toml
rev: 'v0.14.8' # keep in sync with pyproject.toml
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down Expand Up @@ -39,7 +39,7 @@ repos:
poetry.lock
)$
- repo: https://github.com/rtts/djhtml
rev: 3.0.8
rev: 3.0.10
hooks:
- id: djhtml
- repo: https://github.com/python-poetry/poetry
Expand All @@ -49,3 +49,13 @@ repos:
# Never update dependencies and only run on changes to pyproject.toml
args: [--no-update]
files: ^pyproject.toml$

- repo: https://github.com/adamchainz/django-upgrade
rev: '1.29.1' # update with latest tag on GitHub
hooks:
- id: django-upgrade
args: [--target-version, '5.2'] # Django version used in this site
- repo: https://github.com/asottile/pyupgrade
rev: v3.21.2
hooks:
- id: pyupgrade
37 changes: 32 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,43 @@ Add your changes to the Unreleased section and move them to the appropriate sect

## Unreleased

- Wagtail 7.1 upgrade [#404]https://github.com/torchbox/torchbox.com/pull/404
- Several upgrades via [#412](https://github.com/torchbox/torchbox.com/pull/412)
- Wagtail 7.1 → 7.2
- Node.js 20 → 24
- **Build & Infrastructure**:
- Major Webpack ecosystem upgrade (Webpack 5.103+, CLI 6+, Dev Server 5+)
- TypeScript upgrade (4.9 → 5.9)
- Sass upgrade (1.95) with deprecation fixes and relative path refactoring
- Stylelint upgrade (v13 → v16) and Prettier upgrade (v2 → v3)
- Removed `clean-webpack-plugin` (replaced by native Webpack 5 functionality)
- Added `django-upgrade` and `pyupgrade`
- Updated `copy-webpack-plugin`, `mini-css-extract-plugin`, `eslint-webpack-plugin`
- Updated loaders: `ts-loader`, `url-loader`, `css-loader`, `sass-loader`, `postcss-loader`
- Updated PostCSS ecosystem: `postcss`, `autoprefixer`, `cssnano`, `postcss-custom-properties`
- **Python Dependencies**:
- Django ecosystem: `django-debug-toolbar` (6.1), `django-redis` (6.0), `redis` (7.1), `django-phonenumber-field` (8.4), `django-permissions-policy`
- Wagtail ecosystem: `wagtail-markdown`, `wagtailmedia`
- Monitoring: `sentry-sdk` (2.47), `scout-apm` (3.5)
- AWS: `boto3`/`botocore` (1.42), `s3transfer` (0.16)
- Utilities: `whitenoise` (6.11), `psycopg` (3.3), `beautifulsoup4`, `urllib3`, `Faker`, `phonenumbers`, `tblib`, `Werkzeug`
- Tooling: `ruff` (0.14), `pre-commit`, `pudb`, `djhtml`
- Documentation: `mkdocs-material` (9.7), `pymdown-extensions`
- **Node Dependencies**:
- Jest upgrade (v29 → v30)
- Swiper upgrade (v11 → v12)
- `cssnano` upgrade (v6 → v7)
- `lite-youtube-embed` update

## 2025-09-09

-
- Wagtail 7.1 upgrade [#404]https://github.com/torchbox/torchbox.com/pull/404

## 23-06-2025
## 2025-06-23

- Wagtail 7.0 upgrade [#396](https://github.com/torchbox/torchbox.com/pull/396)

---

## 2025 (pre-changelog 04-06-2025)
## 2025 (pre-changelog 2025-06-04)

This changelog was started on 04-06-2025. Before that date, changes were not documented here.
This changelog was started on 2025-06-04. Before that date, changes were not documented here.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20 AS frontend
FROM node:24 AS frontend

# Make build & post-install scripts behave as if we were in a CI environment (e.g. for logging verbosity purposes).
ARG CI=true
Expand All @@ -17,7 +17,7 @@ RUN npm run build:prod
# all useful packages required for image manipulation out of the box. They
# however weight a lot, approx. up to 1.5GiB per built image.
# Pinned to a particlar version as requested by support team 6/10/25
FROM python:3.13-bookworm as production
FROM python:3.13-bookworm AS production

ARG POETRY_INSTALL_ARGS="--no-dev"

Expand Down Expand Up @@ -109,7 +109,7 @@ RUN apt-get update --yes --quiet && apt-get install --yes --quiet --no-install-r
USER tbx

# Install nvm and node/npm
ARG NVM_VERSION=0.39.5
ARG NVM_VERSION=0.40.3
COPY --chown=tbx .nvmrc ./
RUN curl https://raw.githubusercontent.com/nvm-sh/nvm/v${NVM_VERSION}/install.sh | bash \
&& bash --login -c "nvm install --no-progress && nvm alias default $(nvm run --silent --version)"
Expand Down
1 change: 1 addition & 0 deletions docs/infrastructure.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,5 @@ This will be copied by flightpath.
<!-- Footnotes -->

[^1]: The client in this case is Torchbox!

[^2]: See [`tbx/core/utils/scripts/run_flightpath.py`](https://github.com/torchbox/torchbox.com/blob/bfccccca76c389a2f539419e745e7ac5f191ce4c/tbx/core/utils/scripts/run_flightpath.py)
Loading