Skip to content

Commit f6a973f

Browse files
authored
Upgrade to postgresql 17 and node 24. (#4559)
1 parent 6ab18e4 commit f6a973f

10 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/hypha-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
services:
4040
postgres:
41-
image: bitnami/postgresql:14
41+
image: bitnami/postgresql:17
4242
env:
4343
POSTGRESQL_USERNAME: hypha
4444
POSTGRESQL_PASSWORD: hypha

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20.18.0
1+
v24.1.0

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ ENV UV_LINK_MODE=copy
1010
WORKDIR /opt/app
1111

1212
# Install node.
13-
COPY --from=node:20.18-slim /usr/local/bin /usr/local/bin
14-
COPY --from=node:20.18-slim /usr/local/lib/node_modules /usr/local/lib/node_modules
13+
COPY --from=node:24.1-slim /usr/local/bin /usr/local/bin
14+
COPY --from=node:24.1-slim /usr/local/lib/node_modules /usr/local/lib/node_modules
1515

1616
# Install uv.
1717
COPY --from=ghcr.io/astral-sh/uv:0.5.13 /uv /uvx /usr/local/bin

docker/compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ services:
3333
- db
3434
db:
3535
container_name: hypha-postgres-dev
36-
image: postgres:14-alpine
36+
image: postgres:17-alpine
3737
volumes:
3838
- postgres_data:/var/lib/postgresql/data/
3939
environment:

docker/prod/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ WORKDIR /opt/app
1919
RUN mkdir -p ./hypha/static_compiled && mkdir -p ./hypha/media
2020

2121
# Install node.
22-
COPY --from=node:20.18-slim /usr/local/bin /usr/local/bin
23-
COPY --from=node:20.18-slim /usr/local/lib/node_modules /usr/local/lib/node_modules
22+
COPY --from=node:24.1-slim /usr/local/bin /usr/local/bin
23+
COPY --from=node:24.1-slim /usr/local/lib/node_modules /usr/local/lib/node_modules
2424

2525
# Install uv.
2626
COPY --from=ghcr.io/astral-sh/uv:0.5.13 /uv /uvx /usr/local/bin

hypha/static_src/javascript/vendor/alpine.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hypha/static_src/javascript/vendor/htmx.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mkdocs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,18 +143,18 @@ extra:
143143
fedora: https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh
144144
macos: https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh
145145
postgres:
146-
version: 14
146+
version: 17
147147
packages:
148-
debian: postgresql-server-dev-14
148+
debian: postgresql-server-dev-17
149149
fedora: postgresql-server
150-
macos: postgres@14
150+
macos: postgres@17
151151
postgres_devel:
152152
packages:
153153
debian: libpq-dev
154154
fedora: libpq-devel
155155
tested_ubuntu:
156156
version: 22.04 LTS
157157
tested_macos:
158-
version: Sequoia 15.2
158+
version: Sequoia 15.5
159159
tested_fedora:
160160
version: Workstation 38

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"clean": "rm -rf ./static ./hypha/static_compiled"
6666
},
6767
"engines": {
68-
"node": "20.18.x"
68+
"node": "24.1.x"
6969
},
7070
"private": true
7171
}

0 commit comments

Comments
 (0)