fastify 5.7.0 → 5.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/.idea/fastify.iml +12 -0
  2. package/.idea/inspectionProfiles/Project_Default.xml +6 -0
  3. package/.idea/jsLibraryMappings.xml +6 -0
  4. package/.idea/jsLinters/eslint.xml +6 -0
  5. package/.idea/modules.xml +8 -0
  6. package/.idea/vcs.xml +6 -0
  7. package/LICENSE +1 -4
  8. package/SPONSORS.md +2 -2
  9. package/docs/Guides/Ecosystem.md +2 -1
  10. package/docs/Guides/Plugins-Guide.md +8 -8
  11. package/docs/Reference/Server.md +6 -2
  12. package/docs/Reference/Validation-and-Serialization.md +15 -6
  13. package/fastify.js +1 -1
  14. package/lib/content-type-parser.js +40 -30
  15. package/lib/content-type.js +152 -0
  16. package/lib/error-serializer.js +24 -10
  17. package/lib/handle-request.js +12 -4
  18. package/package.json +2 -2
  19. package/test/content-parser.test.js +21 -39
  20. package/test/content-type.test.js +102 -1
  21. package/test/custom-parser.0.test.js +3 -3
  22. package/test/custom-parser.1.test.js +0 -35
  23. package/test/custom-parser.3.test.js +1 -1
  24. package/test/schema-validation.test.js +66 -33
  25. package/.claude/settings.local.json +0 -11
  26. package/docs/fastify-fastify-pr-6425-run-20528050272-Lint_Docs.log +0 -180
  27. package/docs/fastify-fastify-pr-6425-run-20528054188-PR_#6425.log +0 -4006
  28. package/docs/fastify-fastify-pr-6425-run-20528054403-Pull_Request_Labeler.log +0 -42
  29. package/docs/fastify-fastify-pr-6425-run-20528054421-Lint_Docs.log +0 -196
  30. package/docs/fastify-fastify-pr-6425-run-20528054423-Internal_Links_Check.log +0 -1864
  31. package/docs/fastify-fastify-pr-6425-run-20528054430-Test_compare.log +0 -5
  32. package/docs/fastify-fastify-pr-6425-run-20528054438-pull_request_title_check.log +0 -41
@@ -1,5 +0,0 @@
1
- Getting logs for all jobs in run 20528054430...
2
-
3
- === Job: run (ID: 58974851719) ===
4
- {"message":"Not Found","documentation_url":"https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run","status":"404"}gh: Not Found (HTTP 404)
5
- Failed to get logs for job 58974851719
@@ -1,41 +0,0 @@
1
- Getting logs for all jobs in run 20528054438...
2
-
3
- === Job: pull-request-title-check (ID: 58974851646) ===
4
- 2025-12-26T19:21:14.6883250Z Current runner version: '2.330.0'
5
- 2025-12-26T19:21:14.6906752Z ##[group]Runner Image Provisioner
6
- 2025-12-26T19:21:14.6907565Z Hosted Compute Agent
7
- 2025-12-26T19:21:14.6908166Z Version: 20251211.462
8
- 2025-12-26T19:21:14.6908807Z Commit: 6cbad8c2bb55d58165063d031ccabf57e2d2db61
9
- 2025-12-26T19:21:14.6909496Z Build Date: 2025-12-11T16:28:49Z
10
- 2025-12-26T19:21:14.6910153Z Worker ID: {1e0a3315-610e-47dc-a4cc-b3fb4c27f8f3}
11
- 2025-12-26T19:21:14.6910869Z ##[endgroup]
12
- 2025-12-26T19:21:14.6911360Z ##[group]Operating System
13
- 2025-12-26T19:21:14.6911956Z Ubuntu
14
- 2025-12-26T19:21:14.6912407Z 24.04.3
15
- 2025-12-26T19:21:14.6912856Z LTS
16
- 2025-12-26T19:21:14.6913260Z ##[endgroup]
17
- 2025-12-26T19:21:14.6913837Z ##[group]Runner Image
18
- 2025-12-26T19:21:14.6914360Z Image: ubuntu-24.04
19
- 2025-12-26T19:21:14.6914816Z Version: 20251215.174.1
20
- 2025-12-26T19:21:14.6916278Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20251215.174/images/ubuntu/Ubuntu2404-Readme.md
21
- 2025-12-26T19:21:14.6917827Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20251215.174
22
- 2025-12-26T19:21:14.6918905Z ##[endgroup]
23
- 2025-12-26T19:21:14.6919882Z ##[group]GITHUB_TOKEN Permissions
24
- 2025-12-26T19:21:14.6921805Z Metadata: read
25
- 2025-12-26T19:21:14.6922372Z PullRequests: read
26
- 2025-12-26T19:21:14.6922860Z ##[endgroup]
27
- 2025-12-26T19:21:14.6924960Z Secret source: Actions
28
- 2025-12-26T19:21:14.6925615Z Prepare workflow directory
29
- 2025-12-26T19:21:14.7249170Z Prepare all required actions
30
- 2025-12-26T19:21:14.7288750Z Getting action download info
31
- 2025-12-26T19:21:15.1198365Z Download action repository 'fastify/action-pr-title@v0' (SHA:e8f2ff244ca28c4a1a00edbf2df39b082002e8aa)
32
- 2025-12-26T19:21:16.2420090Z Complete job name: pull-request-title-check
33
- 2025-12-26T19:21:16.3076647Z ##[group]Run fastify/action-pr-title@v0
34
- 2025-12-26T19:21:16.3077629Z with:
35
- 2025-12-26T19:21:16.3078367Z regex: /^(build|chore|ci|docs|feat|types|fix|perf|refactor|style|test)(?:\([^\):]*\))?!?:\s/
36
- 2025-12-26T19:21:16.3079432Z github-token: ***
37
- 2025-12-26T19:21:16.3079893Z min-length: 1
38
- 2025-12-26T19:21:16.3080322Z max-length: -1
39
- 2025-12-26T19:21:16.3080968Z ##[endgroup]
40
- 2025-12-26T19:21:16.9972902Z Checking pull-request title: "docs: add security warning for requestIdHeader"
41
- 2025-12-26T19:21:17.0331869Z Cleaning up orphan processes