Skip to content

Commit b1a8fd6

Browse files
authored
Merge pull request #174 from aplbrain/156-sync-fork-jan-19th-week
Sync Fork (Jan 19th Week)
2 parents 729fa20 + 577303b commit b1a8fd6

21 files changed

+149
-114
lines changed

.github/workflows/backend-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
DJANGO_DANDI_INSTANCE_IDENTIFIER: "RRID:SCR_026700"
5858
DJANGO_DANDI_DOI_API_PREFIX: "10.82754"
5959
steps:
60-
- uses: actions/checkout@v5
60+
- uses: actions/checkout@v6
6161
with:
6262
fetch-depth: 0 # fetch history for all branches and tags
6363
fetch-tags: true

.github/workflows/backend-production-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
# name: Update release branch
2828
# runs-on: ubuntu-22.04
2929
# steps:
30-
# - uses: actions/checkout@v5
30+
# - uses: actions/checkout@v6
3131
# with:
3232
# fetch-depth: 0 # fetch history for all branches and tags
3333
# token: ${{ secrets.GH_TOKEN }} # TODO: switch to GITHUB_TOKEN
@@ -43,7 +43,7 @@ jobs:
4343
runs-on: ubuntu-22.04
4444
#needs: reset-release-branch
4545
steps:
46-
- uses: actions/checkout@v5
46+
- uses: actions/checkout@v6
4747
with:
4848
fetch-depth: 0 # fetch history for all branches and tags
4949
#ref: release

.github/workflows/backend-staging-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
name: Deploy to Heroku
2424
runs-on: ubuntu-22.04
2525
steps:
26-
- uses: actions/checkout@v5
26+
- uses: actions/checkout@v6
2727
with:
2828
fetch-depth: 0 # fetch history for all branches and tags
2929

.github/workflows/cli-integration.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-22.04
1919
steps:
2020
- name: Check out this repository
21-
uses: actions/checkout@v5
21+
uses: actions/checkout@v6
2222
with:
2323
fetch-depth: 0 # fetch history for all branches and tags
2424

@@ -34,7 +34,7 @@ jobs:
3434
docker image save -o dandiarchive-api.tgz dandiarchive/dandiarchive-api
3535
3636
- name: Upload Docker image tarball
37-
uses: actions/upload-artifact@v5
37+
uses: actions/upload-artifact@v6
3838
with:
3939
name: dandiarchive-api.tgz
4040
path: dandiarchive-api.tgz
@@ -54,7 +54,7 @@ jobs:
5454
DANDI_TESTS_PULL_DOCKER_COMPOSE: 0
5555
steps:
5656
- name: Download Docker image tarball
57-
uses: actions/download-artifact@v6
57+
uses: actions/download-artifact@v7
5858
with:
5959
name: dandiarchive-api.tgz
6060

.github/workflows/frontend-ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
working-directory: web
1414
runs-on: ubuntu-22.04
1515
steps:
16-
- uses: actions/checkout@v5
16+
- uses: actions/checkout@v6
1717
with:
1818
fetch-depth: 0 # fetch history for all branches and tags
1919

@@ -87,7 +87,7 @@ jobs:
8787
VITE_APP_OAUTH_API_ROOT: http://localhost:8000/oauth/
8888
VITE_APP_OAUTH_CLIENT_ID: Dk0zosgt1GAAKfN8LT4STJmLJXwMDPbYWYzfNtAl
8989
steps:
90-
- uses: actions/checkout@v5
90+
- uses: actions/checkout@v6
9191
with:
9292
fetch-depth: 0 # fetch history for all branches and tags
9393

@@ -105,6 +105,9 @@ jobs:
105105
- name: Apply migrations to API server
106106
run: ./manage.py migrate
107107

108+
- name: Create any cache tables
109+
run: ./manage.py createcachetable
110+
108111
- name: Install test data
109112
run: ./manage.py loaddata playwright
110113

@@ -130,7 +133,7 @@ jobs:
130133
# run the tests
131134
cd e2e && npx playwright test
132135
133-
- uses: actions/upload-artifact@v5
136+
- uses: actions/upload-artifact@v6
134137
if: always()
135138
with:
136139
name: playwright-report

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
1515
runs-on: ubuntu-22.04
1616
steps:
17-
- uses: actions/checkout@v5
17+
- uses: actions/checkout@v6
1818
with:
1919
fetch-depth: 0 # fetch history for all branches and tags
2020
token: ${{ secrets.GH_TOKEN }} # TODO: switch to GITHUB_TOKEN

CHANGELOG.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,51 @@
1+
# v0.21.2 (Tue Jan 13 2026)
2+
3+
#### 🐛 Bug Fix
4+
5+
- Disable throttling of unauthenticated users [#2694](https://github.com/dandi/dandi-archive/pull/2694) ([@jjnesbitt](https://github.com/jjnesbitt))
6+
7+
#### Authors: 1
8+
9+
- Jacob Nesbitt ([@jjnesbitt](https://github.com/jjnesbitt))
10+
11+
---
12+
13+
# v0.21.1 (Tue Jan 13 2026)
14+
15+
#### 🐛 Bug Fix
16+
17+
- Improve performance of asset list endpoint when exact path is provided [#2691](https://github.com/dandi/dandi-archive/pull/2691) ([@jjnesbitt](https://github.com/jjnesbitt))
18+
19+
#### Authors: 1
20+
21+
- Jacob Nesbitt ([@jjnesbitt](https://github.com/jjnesbitt))
22+
23+
---
24+
25+
# v0.21.0 (Thu Jan 08 2026)
26+
27+
#### 🚀 Enhancement
28+
29+
- Add basic rate limit implementation [#2665](https://github.com/dandi/dandi-archive/pull/2665) ([@jjnesbitt](https://github.com/jjnesbitt))
30+
31+
#### 🐛 Bug Fix
32+
33+
- Remove user_migration scripts [#2595](https://github.com/dandi/dandi-archive/pull/2595) ([@brianhelba](https://github.com/brianhelba))
34+
35+
#### 🔩 Dependency Updates
36+
37+
- [gh-actions](deps): Bump actions/upload-artifact from 5 to 6 [#2674](https://github.com/dandi/dandi-archive/pull/2674) ([@dependabot[bot]](https://github.com/dependabot[bot]))
38+
- [gh-actions](deps): Bump actions/download-artifact from 6 to 7 [#2675](https://github.com/dandi/dandi-archive/pull/2675) ([@dependabot[bot]](https://github.com/dependabot[bot]))
39+
- [gh-actions](deps): Bump actions/checkout from 5 to 6 [#2651](https://github.com/dandi/dandi-archive/pull/2651) ([@dependabot[bot]](https://github.com/dependabot[bot]))
40+
41+
#### Authors: 3
42+
43+
- [@dependabot[bot]](https://github.com/dependabot[bot])
44+
- Brian Helba ([@brianhelba](https://github.com/brianhelba))
45+
- Jacob Nesbitt ([@jjnesbitt](https://github.com/jjnesbitt))
46+
47+
---
48+
149
# v0.20.0 (Wed Dec 17 2025)
250

351
### Release Notes

DEVELOPMENT.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ This is the simplest configuration for developers to start with.
1919

2020
1. From VSCode, use `Ctrl-Shift-p` and run the command `Dev Containers: Reopen in Container`.
2121
1. From the VSCode built-in terminal, run `./manage.py migrate`.
22+
1. Run `docker compose run --rm django ./manage.py createcachetable`
2223
1. From the VSCode built-in terminal, run `./manage.py createsuperuser --email $(git config user.email)` and follow the prompts.
2324
1. From the VSCode built-in terminal, run `./manage.py create_dev_dandiset --owner $(git config user.email)`
2425
to create a dummy dandiset to start working with.
@@ -37,6 +38,7 @@ This configuration also uses containers, but with Docker Compose instead of VSco
3738
### Initial Setup
3839
1. Install [Docker Compose](https://docs.docker.com/compose/install/)
3940
1. Run `docker compose run --rm django ./manage.py migrate`
41+
1. Run `docker compose run --rm django ./manage.py createcachetable`
4042
1. Run `docker compose run --rm django ./manage.py createsuperuser --email $(git config user.email)`
4143
and follow the prompts to create your own user.
4244
This sets your username to your git email to ensure parity with how GitHub logins work. You can also replace the command substitution expression with a literal email address, or omit the `--email` option entirely to run the command in interactive mode.
@@ -67,6 +69,7 @@ but allows developers to run Python code on their native system.
6769
1. [Install `uv`](https://docs.astral.sh/uv/getting-started/installation/)
6870
1. Run `export UV_ENV_FILE=./dev/.env.docker-compose-native`
6971
1. Run `./manage.py migrate`
72+
1. Run `docker compose run --rm django ./manage.py createcachetable`
7073
1. Run `./manage.py createsuperuser --email $(git config user.email)` and follow the prompts.
7174
1. Run `./manage.py create_dev_dandiset --owner $(git config user.email)`
7275
to create a dummy dandiset to start working with.

dandiapi/api/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +0,0 @@
1-
from __future__ import annotations
2-
3-
# TODO: remove this after migration is complete
4-
import dandiapi.api.user_migration # noqa: F401

dandiapi/api/management/commands/depose_placeholder.py

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)