mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
chore: ⬆️ Upgrade Bun to 1.2.7
This commit is contained in:
parent
ebb0f52f1e
commit
5f8c57b3e1
|
|
@ -1,5 +1,5 @@
|
||||||
# Bun doesn't run well on Musl but this seems to work
|
# Bun doesn't run well on Musl but this seems to work
|
||||||
FROM oven/bun:1.2.5-alpine as base
|
FROM oven/bun:1.2.7-alpine as base
|
||||||
|
|
||||||
# Switch to Bash by editing /etc/passwd
|
# Switch to Bash by editing /etc/passwd
|
||||||
RUN apk add --no-cache libstdc++ git bash curl openssh cloc && \
|
RUN apk add --no-cache libstdc++ git bash curl openssh cloc && \
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ Please see [Database Changes](#database-changes) and [New Configuration](#new-co
|
||||||
|
|
||||||
### Backend
|
### Backend
|
||||||
|
|
||||||
- [x] 🚀 Upgraded Bun to `1.2.5`
|
- [x] 🚀 Upgraded Bun to `1.2.7`
|
||||||
- [x] 🖼️ Simplified media pipeline: this will improve S3 performance
|
- [x] 🖼️ Simplified media pipeline: this will improve S3 performance
|
||||||
- [ ] 📈 It is now possible to disable media proxying for your CDN (offloading considerable bandwidth to your more optimized CDN).
|
- [ ] 📈 It is now possible to disable media proxying for your CDN (offloading considerable bandwidth to your more optimized CDN).
|
||||||
- [x] 👷 Outbound federation, inbox processing, data fetching and media processing are now handled by a queue system.
|
- [x] 👷 Outbound federation, inbox processing, data fetching and media processing are now handled by a queue system.
|
||||||
|
|
@ -46,7 +46,7 @@ Configuration parsing and validation has been overhauled. Unfortunately, this me
|
||||||
|
|
||||||
Various media-related attributes have been merged into a single `Medias` table. This will require a migration in order to preserve the old data.
|
Various media-related attributes have been merged into a single `Medias` table. This will require a migration in order to preserve the old data.
|
||||||
|
|
||||||
Since very few instances are running `0.7.0`, we have decided to "rawdog it" instead of making a proper migration script (as that would take a ton of *unpaid* time).
|
Since very few instances are running `0.7.0`, we have decided to "rawdog it" instead of making a proper migration script (as that would take a ton of _unpaid_ time).
|
||||||
|
|
||||||
In the case that you've been running secret instances in the shadows, let us know and we'll help you out.
|
In the case that you've been running secret instances in the shadows, let us know and we'll help you out.
|
||||||
|
|
||||||
|
|
@ -139,7 +139,7 @@ As a demonstration of the power of this system and an effort to modularize the c
|
||||||
- Animated media will now stay animated when uploaded.
|
- Animated media will now stay animated when uploaded.
|
||||||
- Some instance metadata will no longer be missing from `/api/v2/instabnce` endpoint. In fact, it will now be more complete than Mastodon's implementation.
|
- Some instance metadata will no longer be missing from `/api/v2/instabnce` endpoint. In fact, it will now be more complete than Mastodon's implementation.
|
||||||
- The Origin HTTP header will no longer be used to determine the origin of a request. This was a security issue.
|
- The Origin HTTP header will no longer be used to determine the origin of a request. This was a security issue.
|
||||||
- New notes will no longer incorrectly be federated to *all* remote users at once.
|
- New notes will no longer incorrectly be federated to _all_ remote users at once.
|
||||||
- Fix [Elk Client](https://elk.zone/) not being able to log in.
|
- Fix [Elk Client](https://elk.zone/) not being able to log in.
|
||||||
|
|
||||||
## Removals
|
## Removals
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ RUN bun run build
|
||||||
WORKDIR /temp/dist
|
WORKDIR /temp/dist
|
||||||
|
|
||||||
# Copy production dependencies and source code into final image
|
# Copy production dependencies and source code into final image
|
||||||
FROM oven/bun:1.2.5-alpine
|
FROM oven/bun:1.2.7-alpine
|
||||||
|
|
||||||
# Install libstdc++ for Bun and create app directory
|
# Install libstdc++ for Bun and create app directory
|
||||||
RUN apk add --no-cache libstdc++ && \
|
RUN apk add --no-cache libstdc++ && \
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ RUN bun run build:worker
|
||||||
WORKDIR /temp/dist
|
WORKDIR /temp/dist
|
||||||
|
|
||||||
# Copy production dependencies and source code into final image
|
# Copy production dependencies and source code into final image
|
||||||
FROM oven/bun:1.2.5-alpine
|
FROM oven/bun:1.2.7-alpine
|
||||||
|
|
||||||
# Install libstdc++ for Bun and create app directory
|
# Install libstdc++ for Bun and create app directory
|
||||||
RUN apk add --no-cache libstdc++ && \
|
RUN apk add --no-cache libstdc++ && \
|
||||||
|
|
|
||||||
144
bun.lock
144
bun.lock
|
|
@ -4,82 +4,82 @@
|
||||||
"": {
|
"": {
|
||||||
"name": "versia-server",
|
"name": "versia-server",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@bull-board/api": "latest",
|
"@bull-board/api": "^6.7.10",
|
||||||
"@bull-board/hono": "latest",
|
"@bull-board/hono": "^6.7.10",
|
||||||
"@clerc/plugin-completions": "latest",
|
"@clerc/plugin-completions": "^0.44.0",
|
||||||
"@clerc/plugin-friendly-error": "latest",
|
"@clerc/plugin-friendly-error": "^0.44.0",
|
||||||
"@clerc/plugin-help": "latest",
|
"@clerc/plugin-help": "^0.44.0",
|
||||||
"@clerc/plugin-not-found": "latest",
|
"@clerc/plugin-not-found": "^0.44.0",
|
||||||
"@clerc/plugin-version": "latest",
|
"@clerc/plugin-version": "^0.44.0",
|
||||||
"@hackmd/markdown-it-task-lists": "latest",
|
"@hackmd/markdown-it-task-lists": "^2.1.4",
|
||||||
"@hono/prometheus": "latest",
|
"@hono/prometheus": "^1.0.1",
|
||||||
"@hono/zod-openapi": "latest",
|
"@hono/zod-openapi": "0.19.2",
|
||||||
"@hono/zod-validator": "latest",
|
"@hono/zod-validator": "^0.4.3",
|
||||||
"@inquirer/confirm": "latest",
|
"@inquirer/confirm": "^5.1.8",
|
||||||
"@logtape/file": "latest",
|
"@logtape/file": "^0.9.0",
|
||||||
"@logtape/logtape": "latest",
|
"@logtape/logtape": "^0.9.0",
|
||||||
"@scalar/hono-api-reference": "latest",
|
"@scalar/hono-api-reference": "^0.7.3",
|
||||||
"@sentry/bun": "latest",
|
"@sentry/bun": "^9.9.0",
|
||||||
"@versia/client": "workspace:*",
|
"@versia/client": "workspace:*",
|
||||||
"@versia/federation": "latest",
|
"@versia/federation": "^0.2.1",
|
||||||
"@versia/kit": "workspace:*",
|
"@versia/kit": "workspace:*",
|
||||||
"altcha-lib": "latest",
|
"altcha-lib": "^1.2.0",
|
||||||
"blurhash": "latest",
|
"blurhash": "^2.0.5",
|
||||||
"bullmq": "latest",
|
"bullmq": "^5.44.4",
|
||||||
"c12": "latest",
|
"c12": "^3.0.2",
|
||||||
"chalk": "latest",
|
"chalk": "^5.4.1",
|
||||||
"clerc": "latest",
|
"clerc": "^0.44.0",
|
||||||
"confbox": "latest",
|
"confbox": "^0.2.1",
|
||||||
"drizzle-orm": "latest",
|
"drizzle-orm": "^0.41.0",
|
||||||
"hono": "latest",
|
"hono": "^4.7.5",
|
||||||
"html-to-text": "latest",
|
"html-to-text": "^9.0.5",
|
||||||
"ioredis": "latest",
|
"ioredis": "^5.6.0",
|
||||||
"ip-matching": "latest",
|
"ip-matching": "^2.1.2",
|
||||||
"iso-639-1": "latest",
|
"iso-639-1": "^3.1.5",
|
||||||
"jose": "latest",
|
"jose": "^6.0.10",
|
||||||
"linkify-html": "latest",
|
"linkify-html": "^4.2.0",
|
||||||
"linkify-string": "latest",
|
"linkify-string": "^4.2.0",
|
||||||
"linkifyjs": "latest",
|
"linkifyjs": "^4.2.0",
|
||||||
"magic-regexp": "latest",
|
"magic-regexp": "^0.8.0",
|
||||||
"markdown-it": "latest",
|
"markdown-it": "^14.1.0",
|
||||||
"markdown-it-anchor": "latest",
|
"markdown-it-anchor": "^9.2.0",
|
||||||
"markdown-it-container": "latest",
|
"markdown-it-container": "^4.0.0",
|
||||||
"markdown-it-toc-done-right": "latest",
|
"markdown-it-toc-done-right": "^4.2.0",
|
||||||
"mime-types": "latest",
|
"mime-types": "^3.0.1",
|
||||||
"mitata": "latest",
|
"mitata": "^1.0.34",
|
||||||
"oauth4webapi": "latest",
|
"oauth4webapi": "^3.3.1",
|
||||||
"ora": "latest",
|
"ora": "^8.2.0",
|
||||||
"pg": "latest",
|
"pg": "^8.14.1",
|
||||||
"qs": "latest",
|
"qs": "^6.14.0",
|
||||||
"sharp": "latest",
|
"sharp": "^0.33.5",
|
||||||
"sonic-channel": "latest",
|
"sonic-channel": "^1.3.1",
|
||||||
"string-comparison": "latest",
|
"string-comparison": "^1.3.0",
|
||||||
"stringify-entities": "latest",
|
"stringify-entities": "^4.0.4",
|
||||||
"uqr": "latest",
|
"uqr": "^0.1.2",
|
||||||
"web-push": "latest",
|
"web-push": "^3.6.7",
|
||||||
"xss": "latest",
|
"xss": "^1.0.15",
|
||||||
"zod": "latest",
|
"zod": "^3.24.2",
|
||||||
"zod-validation-error": "latest",
|
"zod-validation-error": "^3.4.0",
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@biomejs/biome": "latest",
|
"@biomejs/biome": "^1.9.4",
|
||||||
"@types/bun": "latest",
|
"@types/bun": "^1.2.7",
|
||||||
"@types/html-to-text": "latest",
|
"@types/html-to-text": "^9.0.4",
|
||||||
"@types/markdown-it-container": "latest",
|
"@types/markdown-it-container": "^2.0.10",
|
||||||
"@types/mime-types": "latest",
|
"@types/mime-types": "^2.1.4",
|
||||||
"@types/pg": "latest",
|
"@types/pg": "^8.11.11",
|
||||||
"@types/qs": "latest",
|
"@types/qs": "^6.9.18",
|
||||||
"@types/web-push": "latest",
|
"@types/web-push": "^3.6.4",
|
||||||
"drizzle-kit": "latest",
|
"drizzle-kit": "^0.30.6",
|
||||||
"markdown-it-image-figures": "latest",
|
"markdown-it-image-figures": "^2.1.1",
|
||||||
"markdown-it-mathjax3": "latest",
|
"markdown-it-mathjax3": "^4.3.2",
|
||||||
"ts-prune": "latest",
|
"ts-prune": "^0.10.3",
|
||||||
"typescript": "latest",
|
"typescript": "^5.8.2",
|
||||||
"vitepress": "latest",
|
"vitepress": "^1.6.3",
|
||||||
"vitepress-plugin-tabs": "latest",
|
"vitepress-plugin-tabs": "^0.6.0",
|
||||||
"vitepress-sidebar": "latest",
|
"vitepress-sidebar": "^1.31.1",
|
||||||
"vue": "latest",
|
"vue": "^3.5.13",
|
||||||
"zod-to-json-schema": "latest",
|
"zod-to-json-schema": "^3.24.5",
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"typescript": "^5.7.2",
|
"typescript": "^5.7.2",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue