chore: ⬆️ Upgrade to Bun 1.3.2

This commit is contained in:
Jesse Wierzbinski 2025-11-21 08:49:19 +01:00
parent f00ac1a590
commit 1430d6f7e7
No known key found for this signature in database
10 changed files with 16 additions and 13 deletions

View file

@ -9,7 +9,7 @@
### Backend
- [x] 🚀 Upgraded Bun to `1.2.18`
- [x] 🚀 Upgraded Bun to `1.3.2`
# `0.8.0` • Federation 2: Electric Boogaloo

View file

@ -24,7 +24,7 @@ RUN bun run build api
WORKDIR /temp/dist
# Copy production dependencies and source code into final image
FROM oven/bun:1.2.18-alpine
FROM oven/bun:1.3.2-alpine
# Install libstdc++ for Bun and create app directory
RUN mkdir -p /app

View file

@ -24,7 +24,7 @@ RUN bun run build worker
WORKDIR /temp/dist
# Copy production dependencies and source code into final image
FROM oven/bun:1.2.18-alpine
FROM oven/bun:1.3.2-alpine
# Install libstdc++ for Bun and create app directory
RUN mkdir -p /app

View file

@ -1,5 +1,6 @@
{
"lockfileVersion": 1,
"configVersion": 1,
"workspaces": {
"": {
"name": "versia-server",
@ -244,7 +245,7 @@
"@logtape/sentry": "~1.0.0",
"@scalar/hono-api-reference": "~0.9.25",
"@sentry/bun": "~10.26.0",
"@types/bun": "~1.2.18",
"@types/bun": "~1.3.2",
"@types/html-to-text": "~9.0.4",
"@types/markdown-it-container": "~2.0.10",
"@types/mime-types": "~3.0.1",
@ -783,7 +784,7 @@
"@ts-morph/common": ["@ts-morph/common@0.12.3", "", { "dependencies": { "fast-glob": "^3.2.7", "minimatch": "^3.0.4", "mkdirp": "^1.0.4", "path-browserify": "^1.0.1" } }, "sha512-4tUmeLyXJnJWvTFOKtcNJ1yh0a3SsTLi2MUoyj8iUNznFRN1ZquaNe7Oukqrnki2FzZkm0J9adCNLDZxUzvj+w=="],
"@types/bun": ["@types/bun@1.2.23", "", { "dependencies": { "bun-types": "1.2.23" } }, "sha512-le8ueOY5b6VKYf19xT3McVbXqLqmxzPXHsQT/q9JHgikJ2X22wyTW3g3ohz2ZMnp7dod6aduIiq8A14Xyimm0A=="],
"@types/bun": ["@types/bun@1.3.2", "", { "dependencies": { "bun-types": "1.3.2" } }, "sha512-t15P7k5UIgHKkxwnMNkJbWlh/617rkDGEdSsDbu+qNHTaz9SKf7aC8fiIlUdD5RPpH6GEkP0cK7WlvmrEBRtWg=="],
"@types/connect": ["@types/connect@3.4.38", "", { "dependencies": { "@types/node": "*" } }, "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug=="],
@ -925,7 +926,7 @@
"bun-bagel": ["bun-bagel@1.2.0", "", { "peerDependencies": { "typescript": "^5.0.0" } }, "sha512-c4S68dNddpnog9nxXp9PAhcep0alOy49jpRlC1yACoxplUvgX22NZxeQUIIov5TCJJDH/snT5R9bMyix7AG0KQ=="],
"bun-types": ["bun-types@1.2.23", "", { "dependencies": { "@types/node": "*" }, "peerDependencies": { "@types/react": "^19" } }, "sha512-R9f0hKAZXgFU3mlrA0YpE/fiDvwV0FT9rORApt2aQVWSuJDzZOyB5QLc0N/4HF57CS8IXJ6+L5E4W1bW6NS2Aw=="],
"bun-types": ["bun-types@1.3.2", "", { "dependencies": { "@types/node": "*" }, "peerDependencies": { "@types/react": "^19" } }, "sha512-i/Gln4tbzKNuxP70OWhJRZz1MRfvqExowP7U6JKoI8cntFrtxg7RJK3jvz7wQW54UuvNC8tbKHHri5fy74FVqg=="],
"call-bind-apply-helpers": ["call-bind-apply-helpers@1.0.2", "", { "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2" } }, "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ=="],

View file

@ -3,3 +3,6 @@
[test]
preload = ["./packages/tests/setup.ts"]
[install]
linker = "hoisted"

View file

@ -20,11 +20,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1751637120,
"narHash": "sha256-xVNy/XopSfIG9c46nRmPaKfH1Gn/56vQ8++xWA8itO4=",
"lastModified": 1763421233,
"narHash": "sha256-Stk9ZYRkGrnnpyJ4eqt9eQtdFWRRIvMxpNRf4sIegnw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "5c724ed1388e53cc231ed98330a60eb2f7be4be3",
"rev": "89c2b2330e733d6cdb5eae7b899326930c2c0648",
"type": "github"
},
"original": {

View file

@ -54,7 +54,7 @@ in
# Required else we get errors that our fixed-output derivation references store paths
dontFixup = true;
outputHash = "sha256-U1bCDAFWmA4kJw9LODdhP0bKIZ4pxAscS6aVLNV9lkI=";
outputHash = "sha256-2ytoiv8+0XTcGhxb/f/xmFk8xWpfotFD0Z+ZIfG9j/I=";
outputHashAlgo = "sha256";
outputHashMode = "recursive";
};

View file

@ -41,7 +41,7 @@
],
"catalog": {
"@biomejs/biome": "2.3.4",
"@types/bun": "~1.2.18",
"@types/bun": "~1.3.2",
"@types/html-to-text": "~9.0.4",
"@types/markdown-it-container": "~2.0.10",
"@types/mime-types": "~3.0.1",

View file

@ -189,7 +189,6 @@ export class Notification extends BaseInterface<
created_at: new Date(this.data.createdAt).toISOString(),
id: this.data.id,
type: this.data.type,
event: undefined,
status: this.data.status
? await new Note(this.data.status).toApi(account)
: undefined,

View file

@ -8,7 +8,7 @@ import type { HonoEnv } from "~/types/api.ts";
export const createServer = (
config: z.infer<typeof ConfigSchema>,
app: Hono<HonoEnv>,
): Server =>
): Server<undefined> =>
serve({
port: config.http.bind_port,
reusePort: true,