Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,51 @@ To be released.
[#1274]: https://github.com/fedify-dev/fedify/issues/1274
[#1276]: https://github.com/fedify-dev/fedify/pull/1276

### @fedify/elysia

- Fixed federation endpoints returning `404 Not Found` instead of
`406 Not Acceptable` when the application cannot handle a request with an
unsupported `Accept` header. Application responses, including explicit
404s, are preserved. The fallback includes `Vary: Accept`.
[[#1277], [#1280]]

[#1277]: https://github.com/fedify-dev/fedify/issues/1277
[#1280]: https://github.com/fedify-dev/fedify/pull/1280

### @fedify/express

- Fixed federation endpoints returning `404 Not Found` instead of
`406 Not Acceptable` when the application cannot handle a request with an
unsupported `Accept` header. Application responses, including explicit
404s, are preserved. The fallback includes `Vary: Accept`.
[[#1277], [#1280]]

### @fedify/hono

- Fixed federation endpoints returning `404 Not Found` instead of
`406 Not Acceptable` when the application cannot handle a request with an
unsupported `Accept` header. Application responses, including explicit
404s, are preserved. Matched application routes and downstream wildcard
middleware retain their 404 responses, even when they delegate to Hono's
default not-found handler. The fallback includes `Vary: Accept`.
[[#1277], [#1280]]

### @fedify/koa

- Fixed federation endpoints returning `404 Not Found` instead of
`406 Not Acceptable` when the application cannot handle a request with an
unsupported `Accept` header. Application responses, including explicit
404s, are preserved. The fallback includes `Vary: Accept`.
[[#1277], [#1280]]

### @fedify/nestjs

- Fixed federation endpoints returning `404 Not Found` instead of
`406 Not Acceptable` when the application cannot handle a request with an
unsupported `Accept` header. Application responses, including explicit
404s, are preserved. The fallback includes `Vary: Accept`.
[[#1277], [#1280]]


Version 2.0.32
--------------
Expand Down
10 changes: 10 additions & 0 deletions changes.d/elysia/not-acceptable-fallback.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
links:
'#1277': https://github.com/fedify-dev/fedify/issues/1277
'#1280': https://github.com/fedify-dev/fedify/pull/1280
---
- Fixed federation endpoints returning `404 Not Found` instead of
`406 Not Acceptable` when the application cannot handle a request with an
unsupported `Accept` header. Application responses, including explicit
404s, are preserved. The fallback includes `Vary: Accept`.
[[#1277], [#1280]]
10 changes: 10 additions & 0 deletions changes.d/express/not-acceptable-fallback.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
links:
'#1277': https://github.com/fedify-dev/fedify/issues/1277
'#1280': https://github.com/fedify-dev/fedify/pull/1280
---
- Fixed federation endpoints returning `404 Not Found` instead of
`406 Not Acceptable` when the application cannot handle a request with an
unsupported `Accept` header. Application responses, including explicit
404s, are preserved. The fallback includes `Vary: Accept`.
[[#1277], [#1280]]
12 changes: 12 additions & 0 deletions changes.d/hono/not-acceptable-fallback.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
links:
'#1277': https://github.com/fedify-dev/fedify/issues/1277
'#1280': https://github.com/fedify-dev/fedify/pull/1280
---
- Fixed federation endpoints returning `404 Not Found` instead of
`406 Not Acceptable` when the application cannot handle a request with an
unsupported `Accept` header. Application responses, including explicit
404s, are preserved. Matched application routes and downstream wildcard
middleware retain their 404 responses, even when they delegate to Hono's
default not-found handler. The fallback includes `Vary: Accept`.
[[#1277], [#1280]]
10 changes: 10 additions & 0 deletions changes.d/koa/not-acceptable-fallback.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
links:
'#1277': https://github.com/fedify-dev/fedify/issues/1277
'#1280': https://github.com/fedify-dev/fedify/pull/1280
---
- Fixed federation endpoints returning `404 Not Found` instead of
`406 Not Acceptable` when the application cannot handle a request with an
unsupported `Accept` header. Application responses, including explicit
404s, are preserved. The fallback includes `Vary: Accept`.
[[#1277], [#1280]]
10 changes: 10 additions & 0 deletions changes.d/nestjs/not-acceptable-fallback.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
links:
'#1277': https://github.com/fedify-dev/fedify/issues/1277
'#1280': https://github.com/fedify-dev/fedify/pull/1280
---
- Fixed federation endpoints returning `404 Not Found` instead of
`406 Not Acceptable` when the application cannot handle a request with an
unsupported `Accept` header. Application responses, including explicit
404s, are preserved. The fallback includes `Vary: Accept`.
[[#1277], [#1280]]
19 changes: 14 additions & 5 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
"@logtape/file": "jsr:@logtape/file@^2.0.0",
"@logtape/logtape": "jsr:@logtape/logtape@^2.0.0",
"@nestjs/common": "npm:@nestjs/common@^11.0.1",
"@nestjs/core": "npm:@nestjs/core@11.1.4",
"@nestjs/platform-express": "npm:@nestjs/platform-express@11.1.4",
"@opentelemetry/api": "npm:@opentelemetry/api@^1.9.0",
"@opentelemetry/context-async-hooks": "npm:@opentelemetry/context-async-hooks@^2.5.0",
"@opentelemetry/core": "npm:@opentelemetry/core@^2.5.0",
Expand All @@ -62,6 +64,7 @@
"json-preserve-indent": "npm:json-preserve-indent@^1.1.3",
"postgres": "npm:postgres@^3.4.7",
"preact": "npm:preact@10.19.6",
"reflect-metadata": "npm:reflect-metadata@^0.2.2",
"tsdown": "npm:tsdown@^0.21.6"
},
"unstable": [
Expand Down Expand Up @@ -114,16 +117,20 @@
]
},
"pnpm:build-vocab-runtime": {
"command": "pnpm -C packages/vocab-runtime build"
"command": "pnpm -C packages/vocab-runtime build",
"dependencies": ["install"]
},
"pnpm:build-vocab-tools": {
"command": "pnpm -C packages/vocab-tools build"
"command": "pnpm -C packages/vocab-tools build",
"dependencies": ["install"]
},
"pnpm:build-fixture": {
"command": "pnpm -C packages/fixture build"
"command": "pnpm -C packages/fixture build",
"dependencies": ["install"]
},
"pnpm:build-webfinger": {
"command": "pnpm -C packages/webfinger build"
"command": "pnpm -C packages/webfinger build",
"dependencies": ["install"]
},
"pnpm:build-vocab": {
"command": "pnpm -C packages/vocab build",
Expand Down Expand Up @@ -170,7 +177,9 @@
"./packages"
],
"exclude": [
"./packages/init/src/templates/**"
"./packages/init/src/templates/**",
"packages/elysia/src/**/*.test.ts",
"packages/nestjs/src/**/*.test.ts"
]
}
}
Loading
Loading