Changelog
Changelog Policy¶
All changes to SpeedPy's public API surface — REST endpoints, serializer fields, scopes, auth behavior, webhook payloads, error shapes, rate limits, MCP schemas, and client examples — must be recorded in this changelog alongside other release notes.
Change Categories¶
Use these labels to classify each entry:
| Category | When to use |
|---|---|
| Breaking | Removing/renaming fields or endpoints, changing types, tightening requirements, removing auth methods |
| Additive | New endpoints, new optional fields, new query parameters, new enum values, new HTTP methods |
| Behavior change | Changed semantics, different error codes, modified rate limits, altered sorting/filtering defaults |
| Deprecation | Marking endpoints or fields for future removal (include sunset date) |
| Security | Auth changes, permission fixes, vulnerability patches affecting integrations |
| Docs-only | OpenAPI description updates, example corrections with no runtime effect |
| Experimental | New features behind feature flags or explicitly marked unstable — no stability guarantee |
Required Fields¶
Each API change entry must include:
- Date or version — when the change ships
- Category — one of the labels above
- Affected surface — endpoints, fields, scopes, webhook events, or schemas involved
- Description — what changed and why
- Migration notes — what consumers need to do (for breaking changes and deprecations)
- Client impact — how generated clients, webhook consumers, or integrations are affected
- Deprecation/sunset window — when the old behavior will be removed (if applicable)
- Links — to related schema changes, API versioning docs, or migration guides
Entry Template¶
### YYYY-MM-DD — `vX.Y.Z`
#### API Changes
- **Breaking:** `GET /api/v1/example/` — Removed the `legacy_field` response field.
Consumers must use `new_field` instead. See [migration guide](./link).
Sunset: 2026-09-01.
- **Additive:** `POST /api/v1/widgets/` — New optional `color` request field.
No action required. Generated clients should regenerate to pick up the new field.
- **Deprecation:** `GET /api/v1/old-endpoint/` — Deprecated in favor of
`/api/v1/new-endpoint/`. Returns `Deprecation: true` and `Sunset` headers.
Will be removed after 2026-12-01. See [API Versioning](api-versioning.md).
- **Behavior change:** `GET /api/v1/items/` — Default sort changed from
`created_at` to `updated_at`. Pass `?ordering=created_at` to preserve old behavior.
- **Security:** `POST /api/v1/auth/token/` — Rate limit tightened from 60/min to
20/min per IP. Clients making bulk token requests may need to add backoff.
- **Additive:** New OAuth scope `teams:billing`. Grants read access to team
billing data via `GET /api/v1/teams/{id}/billing/`. Existing tokens are
unaffected; clients must request the new scope explicitly.
- **Breaking:** `POST /api/v1/widgets/` — Error response shape changed from
`{"detail": "..."}` to `{"errors": [{"field": "...", "message": "..."}]}`.
Clients parsing error responses must update their error-handling logic.
- **Additive:** New webhook event `invoice.finalized`. Fired when an invoice
moves to finalized status. Payload includes `invoice_id`, `team_id`, and
`amount`. No action required for existing webhook consumers.
- **Experimental:** `GET /api/v1/beta/suggestions/` — New endpoint, marked
experimental. May change without notice in future releases.
Codegen-Sensitive Changes¶
Additive changes can break generated API clients if operation IDs or schema shapes change unexpectedly. When adding fields, endpoints, or enum values, note whether clients need to regenerate. Webhook payload changes follow the same policy as REST API response changes.
Experimental Endpoints¶
Endpoints marked experimental carry no stability guarantee. Document them in the changelog when added, but make clear they may change or be removed without a deprecation window.
For versioning rules, deprecation headers, and support windows, see API Versioning & Deprecation.
October 2026¶
Docker init and per-checkout files¶
tailwind_directories.jsonis no longer in Git. It has absolute paths for each machine, so local-mode projects changed it and got merge conflicts. The Appliku build command now runspython manage.py generate_tailwind_directoriesbeforenpm run tailwind:build.static/mainapp/styles.cssis rebuilt with the full directory list, so a new project gets the same CSS as the boilerplate.docker-compose.ymlis no longer changed byinit-docker.sh. The ports and the image name come from.env(WEB_PORT,MEDIA_PORT,IMAGE_SUFFIX), which compose reads for variable substitution.docker-compose.yml.bakis no longer created.- The Docker image is built once.
webbuilds it, andceleryandcelery-beatuse the same image (pull_policy: never). Before, the same Dockerfile was built three times with--no-cache. - Dockerfile: the nvm install script download and
nvm installnow retry on network errors. - macOS: the image suffix now uses
cksum.md5sumdoes not exist on macOS, so all Mac projects got the same image name. - Docker: uploads failed in new projects.
media/was not in Git, so Docker created it as root for the bind mount and the web container could not save profile pictures or team logos (PermissionError). The boilerplate now shipsmedia/.gitkeep, andinit-docker.shrunsmkdir -p media. - Docker: the dev database survives
docker compose down. Postgres data was in an anonymous volume, sodownand thenupgave an empty database. It is now in the named volumedb_data.init-docker.shstill starts with an empty database (down -v). - Celery worker name:
-n speedpycom.%h(was%%h, which put a literal%in the name).
Updating an existing project¶
Merging this update gives conflicts one time.
Docker mode: the change to the named db_data volume starts with an empty database. To keep your development data, make a dump before you update:
Also in Docker mode: if media/ is owned by root, give it back to your user, or the merge cannot create media/.gitkeep (unable to create file media/.gitkeep: Permission denied):
Then merge:
git fetch speedpy
git merge speedpy/master --allow-unrelated-histories
# tailwind_directories.json: deleted upstream, changed in your project
git rm --cached tailwind_directories.json
# docker-compose.yml (Docker mode only): take the boilerplate version
git checkout --theirs docker-compose.yml && git add docker-compose.yml
git rm -q --cached docker-compose.yml.bak 2>/dev/null; rm -f docker-compose.yml.bak
git commit --no-edit
Docker mode: add the ports from your old docker-compose.yml to .env, so the URLs do not change:
WEB_PORT=9123 # the port in dev.sh
MEDIA_PORT=9876 # the old 127.0.0.1:<port>:80 media port
IMAGE_SUFFIX=_myproject
Then rebuild and restart, and create the Tailwind directory list again:
docker compose build
docker compose up -d
docker compose run --rm web python manage.py generate_tailwind_directories
docker compose run --rm web npm run tailwind:build
To restore the dump (before you run migrate):
docker compose exec -T db psql -U speedpycom speedpycom < dev-db.sql
docker compose run --rm web python manage.py migrate
Local mode: run uv run python manage.py generate_tailwind_directories and npm run tailwind:build.
Init script and frontend fixes¶
.python-versionpins Python 3.14, souv syncin local mode uses the same version as Docker and Appliku.SITE_URL:init-local.shandinit-docker.shnow writeSITE_URL=http://127.0.0.1:<port>to.env. The "SITE_URL not set" warning no longer shows in development.- Removed: the Floating UI
<script>tags intemplates/base.htmland theirSTATICFILES_DIRSentries. The package was never installed, so the scripts gave a 404 on each page, and no code used them. If you use Floating UI in your project, install@floating-ui/domwith npm and add the entries again. - Tests: the debug toolbar no longer shows during tests (
SHOW_TOOLBAR_CALLBACKchecks_RUNNING_TESTS). Before, a project withDEBUG=Truein.env(everyinit-local.shproject) got 23 errors in the MCP tests:NoReverseMatch: 'dashboard'. package.jsonhas a fixed"name": "speedpy". Before, npm wrote the folder name intopackage-lock.json, so each project's lockfile conflicted with boilerplate updates. On your next update, resolve that one conflict withgit checkout --theirs package-lock.json.- allauth:
usermodel/adapters.pyimportsImmediateHttpResponsefromallauth.core.exceptions(the oldallauth.exceptionspath is deprecated). - Security (build tooling):
package.jsonoverridespostcss-selector-parserto^7.1.7(GHSA-rj75-hqrm-r3gf). The built CSS does not change.npm auditstill reportsbraces(GHSA-vfj7-8cjw-p6xm) through Tailwind CSS 3. No fixedbracesversion exists; it is only used at CSS build time on your own files. Tailwind CSS 4 removes it.
Dependency and runtime update¶
SpeedPy now runs on Python 3.14 and Node.js 24 LTS, with security updates for Django, django-allauth, PyJWT, Django REST framework and dnspython.
- Security: Django 6.1.2 (5 CVEs), django-allauth 65.20.1, PyJWT 2.15.1, djangorestframework 3.18.3 and dnspython 2.9.0 are security releases. Update soon.
- Behavior change: Personal access token creation (
SPEEDPY_PAT_REQUIRE_RECENT_REAUTH) now requires an explicit reauthentication. From django-allauth 65.20, a recent login no longer counts. Users see the reauthenticate page before they create a token. If you call allauth's internaldid_recently_authenticate, rename it todid_recently_reauthenticate. - Behavior change: The Stripe SDK 16 uses API version
2026-09-30.endive(was2026-08-26.dahlia). SpeedPy's billing adapter needs no change. Webhook payloads keep the API version of your Stripe webhook endpoint; update the endpoint version as a separate step. - Behavior change: oauthlib 4.0 (through django-oauth-toolkit): a token request without
grant_typenow returns400 invalid_requestinstead of401 invalid_client, and JSONP is removed from token revocation. - Runtime: Docker image
python:3.14.8-trixiewith Node.js 24.22.1; Appliku build imagepython-3.14-uv-node-25.6; uv pinned to 0.13.4; Docker Compose pinspostgres:18andredis:8. Django 6.1 does not yet support Python 3.15 (support is planned for Django 6.1.3). - Removed:
python-slugify(not used by SpeedPy). Add it back to yourpyproject.tomlif your own code importsslugify. - Held back: django-anymail stays at 15.1. The
[amazon-ses]extra of 15.2 needscryptography<49, which conflicts with thecryptographysecurity pin. - Frontend: Tailwind CSS 3.4.0 → 3.4.19. The rebuilt
styles.csshas the same rules in a different order. Tailwind 4 is not part of this update. - The public REST API (
/api/v1/…) is unchanged.
Python Package Updates¶
| Package | Previous | Updated |
|---|---|---|
| Django | 6.1.1 | 6.1.2 |
| django-allauth | 65.19.2 | 65.20.1 |
| stripe | 15.6.1 | 16.0.0 |
| Pillow | 12.3.0 | 13.0.0 |
| pillow-heif | 1.6.0 | 1.8.1 |
| pyjwt | 2.13.0 | 2.15.1 |
| djangorestframework | 3.18.0 | 3.18.3 |
| dnspython | 2.8.0 | 2.9.0 |
| django-post_office | 3.11.3 | 3.12.0 |
| django-otp | 1.7.2 | 1.7.5 |
| psycopg | 3.3.5 | 3.3.6 |
| cryptography | 50.0.1 | 50.0.2 |
| django-stubs | 6.1.0 | 6.1.2 |
| black | 26.5.1 | 26.10.1 |
| boto3 (S3 extra) | 1.43.89 | 1.43.117 |
| python-slugify | 8.0.4 | removed |
Notable transitive updates: oauthlib 4.0.0, structlog 26.1.0, django-ipware 8.0.0, mypy 2.4.0.
September 2026¶
Django 6.1¶
SpeedPy has been updated to Django 6.1.1, a feature release upgrade from Django 6.0.8.
Django 6.1 is a normal feature release with no app-code changes required in SpeedPy. Review the Django 6.1 release notes before merging into your project. The points most likely to matter for a fork:
- PostgreSQL 15+ is now required (support for PostgreSQL 14 was dropped). MySQL 8.4+ / MariaDB 10.11+ and SQLite 3.37+ are the new minimums. The bundled Docker and Appliku targets already meet these.
- The admin
widefieldset CSS class was removed; SpeedPy's user admin no longer sets it (cosmetic only). - The
EMAIL_*settings andfail_silentlyare now deprecated in favor of the newMAILERSsetting. SpeedPy keeps theEMAIL_*configuration for now — this only emits deprecation warnings; theMAILERSmigration will land in a later release.
Stripe SDK 12 → 15¶
The Stripe Python SDK was updated from 12.5.1 to 15.6.1 (pinned API version 2026-08-26.dahlia). This matters if you have customized mainapp/billing/stripe.py:
- Behavior change: In Stripe SDK v15,
StripeObjectno longer subclassesdict—.get(),.items(), anddict(obj)no longer work on Stripe return objects. The billing adapter now flattens Stripe objects to plain dicts at the boundary (webhook parse and subscription retrieve) via a_to_plain()helper, usingto_dict(for_json=True)soDecimalfields stay JSON-serializable for storage. - Behavior change: The subscription billing period (
current_period_start/current_period_end) moved from the Subscription onto each SubscriptionItem (Stripe API2025-03-31.basiland later). The adapter now reads the period from the item, falling back to the subscription level for webhook endpoints still on an older API version. - The public REST API (
/api/v1/…) is unchanged by this upgrade.
Python Package Updates¶
| Package | Previous | Updated |
|---|---|---|
| Django | 6.0.8 | 6.1.1 |
| stripe | 12.5.1 | 15.6.1 |
| django-debug-toolbar | 6.2.0 | 8.0.0 |
| django-anymail[amazon-ses] | 13.1 | 15.1 |
| gunicorn | 25.1.0 | 26.2.0 |
| fido2 | 1.1.0 | 2.2.1 |
| django-fernet-encrypted-fields | 0.3.1 | 0.4.0 |
| drf-spectacular | 0.29.0 | 0.30.0 |
| djangorestframework | 3.17.0 | 3.18.0 |
| django-stubs | 6.0.1 | 6.1.0 |
| django-structlog | 10.0.0 | 10.1.0 |
| django-allauth | 65.15.0 | 65.19.2 |
| django-cors-headers | 4.7.0 | 4.9.0 |
| django-crispy-forms | 2.6 | 2.7 |
| django-environ | 0.13.0 | 0.14.0 |
| django-otp | 1.7.0 | 1.7.2 |
| django-post_office | 3.11.0 | 3.11.3 |
| celery[redis] | 5.6.2 | 5.6.3 |
| celery-redbeat | 2.3.3 | 2.4.2 |
| psycopg | 3.3.3 | 3.3.5 |
| requests | 2.33.0 | 2.34.2 |
| pillow-heif | 1.5.0 | 1.6.0 |
| cryptography | 50.0.0 | 50.0.1 |
| boto3 (S3 extra) | 1.42.74 | 1.43.89 |
| black | 26.3.1 | 26.5.1 |
Note
django-debug-toolbar 8.0 narrowed its settings-panel error handling. If you run with DEBUG=True and a setting is a reverse_lazy() that cannot resolve under a custom ROOT_URLCONF (as some tests do), the Settings panel can raise NoReverseMatch. Normal development (where the URL resolves) and DEBUG=False runs are unaffected. Pin django-debug-toolbar==7.1.1 if you prefer to avoid it.
How to get this update¶
Pull it into your project via the speedpy Git remote:
See the Updating page for full instructions.
August 2026¶
Media Storage: optional S3-compatible backends¶
Category: Additive
Uploaded media can now live on any S3-compatible provider — AWS S3, DigitalOcean Spaces, Cloudflare R2, Wasabi, Backblaze B2, MinIO. Local disk remains the default, so existing projects are unaffected until they opt in.
- New
speedpycom/storages.pywithPublicMediaStorage(media/prefix, plain URLs, optional CDN) andPrivateMediaStorage(private/prefix, signed URLs). USE_S3=Trueplus theS3_*variables switchesSTORAGES["default"]. The provider is selected purely byS3_ENDPOINT_URL; nothing is vendor-specific.- New optional dependency group:
uv sync --extra s3. boto3 is large, so default installs stay lean. Django resolves storage backends lazily by dotted path, so nothing imports django-storages whileUSE_S3is off. USE_S3=Truewithout key, secret and bucket now refuses to boot instead of failing on the first upload.- New
manage.py check_storageround-trips both backends against the real bucket, including asserting that a private object is refused without a signature. - New
project.media.private_storagecallable returns the right backend in either mode, so aFileFieldworks before and after the switch with no migration. - New
PRIVATE_MEDIA_ROOT, defaulting outsideMEDIA_ROOT— anything underMEDIA_ROOTis served by the web server, so private files cannot live there. - Static files deliberately stay on WhiteNoise in both modes.
Full guide: Media Storage. ACLs are the one non-portable part:
S3_DEFAULT_ACL defaults to empty because AWS buckets created since April 2023 have
ACLs disabled and Cloudflare R2 has none, and both reject an upload carrying one.
MEDIA_URL read the wrong environment variable¶
Category: Behavior change
Settings read MEDIA_PATH for the media URL, a name no platform sets. On Appliku, a
volume derives <PREFIX>_ROOT and <PREFIX>_URL from its environment-variable
prefix, so a volume with a non-default web path was silently ignored and MEDIA_URL
always fell back to /media/. It looked correct only because that fallback happens
to match the usual volume path.
MEDIA_URL is now read under its real name and normalized in project/media.py,
which also handles the platform emitting <PREFIX>_URL as the literal string
"None" when a volume has no web path, and guarantees the trailing slash Django
requires.
Action: if you set MEDIA_PATH in your own environment, rename it to
MEDIA_URL.
Anonymous requests returned 500 on every team URL¶
Category: Security
TeamViewMixin.dispatch resolved the team and queried TeamMembership before
calling super().dispatch(), which is where LoginRequiredMixin performs its check.
A logged-out request therefore reached the membership query with AnonymousUser and
raised ValidationError: "AnonymousUser" is not a valid UUID, producing a 500 on
every team-scoped URL instead of a redirect to the login page.
Because the team lookup ran first, the response also distinguished a real team id (500) from an unknown one (404) without authentication. Team ids are UUID4 and cannot be guessed, so this was a weak signal rather than enumeration — but it is closed now: authenticated redirect happens before any database read, so both cases return an identical 302.
No data was exposed; the request died before any team content was fetched.
Post-checkout activation no longer races the provider webhook¶
Category: Behavior change · Affected surface: billing checkout, new
…/billing/activation/ endpoint
Paddle redirects the browser the instant payment succeeds, while its webhook is a separate server-to-server call that lands afterwards. The billing page therefore showed the customer their old plan until they refreshed by hand.
- On
checkout.completed, the page now posts the transaction id to a new owner-only…/billing/activation/endpoint, which reads the subscription from the provider API and applies it through the same idempotent path the webhook uses. The plan is correct on first paint, and a webhook that is delayed or lost entirely now self-heals. - If that cannot confirm, the page renders an explicit "Activating" state and polls the same endpoint with backoff, then reports plainly if it takes too long.
settings.successUrlis no longer sent, so the provider cannot redirect out from under the provisioning call. A client-side timeout prevents a stalled request from stranding the customer on the overlay.- Cross-tenant guard: the billable is resolved from the provider's signed custom data and compared with the caller's account before anything is applied.
BillingAdapter.fetch_subscription_state()is the new provider seam. Adapters that do not implement it returnNoneand the page falls back to polling, so Stripe is unaffected.- Paddle checkout failures now surface the provider's
code/detailinstead of an opaque "Something went wrong".
Tests¶
- The team-invitation webhook tests no longer open a real AMQP broker connection.
They execute
on_commitcallbacks, and the invitation email is queued throughcurrent_app.send_task, which was not patched.
March 2026¶
Django 6.0¶
SpeedPy has been updated to Django 6.0.3, a major version upgrade from Django 5.2.8.
Django 6.0 brings continued improvements to the ORM, async support, and template engine. Review the Django 6.0 release notes before merging this update into your project, as there may be breaking changes depending on which Django internals you use.
Infrastructure¶
- Node.js updated from 25.6.0 to 25.8.1 in the Docker image
Python Package Updates¶
| Package | Previous | Updated |
|---|---|---|
| Django | 5.2.8 | 6.0.3 |
| django-stubs | 5.2.8 | 6.0.1 |
| gunicorn | 23.0.0 | 25.1.0 |
| django-ses | 4.5.0 | 4.7.2 |
| djangoql | 0.18.1 | 0.19.1 |
| pyjwt[crypto] | 2.10.1 | 2.12.1 |
| djangorestframework | 3.16.1 | 3.17.0 |
| django-otp | 1.6.3 | 1.7.0 |
| django-allauth | 65.13.1 | 65.15.0 |
| django-crispy-forms | 2.5 | 2.6 |
| django-debug-toolbar | 6.1.0 | 6.2.0 |
| django-environ | 0.12.0 | 0.13.0 |
| celery[redis] | 5.6.1 | 5.6.2 |
| whitenoise | 6.11.0 | 6.12.0 |
| psycopg | 3.3.2 | 3.3.3 |
| Pillow | 12.0.0 | 12.1.1 |
| black | 25.12.0 | 26.3.1 |
New: update_pyproject.py script¶
A new update_pyproject.py script is now included in the boilerplate. It automates keeping your Python dependencies up to date by fetching the latest versions from PyPI and rewriting pyproject.toml in place.
How to get this update¶
Pull it into your project via the speedpy Git remote:
See the Updating page for full instructions.