| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
style(types): enforce max line length (#6864) * style(types): enforce max line length * style(types): improve declaration formatting | 1 个月前 | |
refactor(types)!: remove deprecated FastifyRequestContext and FastifyReplyContext types (#6920) BREAKING CHANGE: FastifyRequestContext and FastifyReplyContext type exports have been removed. They were unused internally (Request#context and Reply#context were never typed via these interfaces) and deprecated in favor of routeOptions.config. FastifyContextConfig is unaffected. | 1 个月前 | |
refactor!: remove FSTDEP025 (#6909) * refactor!: enforce explicit HTTP method overrides Remove FSTDEP025 and throw FST_ERR_ROUTE_METHOD_ALREADY_SUPPORTED when addHttpMethod attempts to override a supported method without overrideExisting. BREAKING CHANGE: addHttpMethod now requires overrideExisting: true when overriding an existing HTTP method. * docs: add pr link docs/Reference/Errors.md Co-authored-by: KaKa <23028015+climba03003@users.noreply.github.com> Signed-off-by: Jean Michelet <110341611+jean-michelet@users.noreply.github.com> --------- Signed-off-by: Jean Michelet <110341611+jean-michelet@users.noreply.github.com> Co-authored-by: KaKa <23028015+climba03003@users.noreply.github.com> | 1 个月前 | |
style(types): enforce max line length (#6864) * style(types): enforce max line length * style(types): improve declaration formatting | 1 个月前 | |
refactor!: remove FSTDEP024 deprecation (#6912) Remove the deprecated top-level requestIdLogLabel option. Configure the request ID log label through LogController instead. BREAKING CHANGE: requestIdLogLabel is no longer supported as a top-level Fastify option. Pass it to LogController and provide the instance through logController. | 1 个月前 | |
refactor(types)!: remove ResSerializerReply type (#6911) * refactor(types)!: remove ResSerializerReply type Inline the partial reply shape used by response serializers and remove the exported alias. BREAKING CHANGE: ResSerializerReply is no longer exported from types/logger. * docs: fix types/logger.d.ts Co-authored-by: KaKa <23028015+climba03003@users.noreply.github.com> Signed-off-by: Jean Michelet <110341611+jean-michelet@users.noreply.github.com> * test: fix pino test --------- Signed-off-by: Jean Michelet <110341611+jean-michelet@users.noreply.github.com> Co-authored-by: KaKa <23028015+climba03003@users.noreply.github.com> Co-authored-by: KaKa <kaka@kakang.dev> | 1 个月前 | |
refactor(types)!: remove deprecated FastifyPlugin type (#6897) * fix(types): allow explicit http2: false in server options (#6888) * docs: clarify what attachValidation exposes on request.validationError (#6891) * docs: clarify what attachValidation exposes on request.validationError The docs described `request.validationError` as carrying "the raw validation result", and the inline example pointed only at `.validation`. That wording implied the descriptive message had to be rebuilt by hand, which is what prompted #5235. `wrapValidationError()` in lib/validation.js runs `schemaErrorFormatter` and `validationCompleted()` in lib/handle-request.js assigns that same error to `request.validationError`. There is no raw-only path, so `.message` is identical to the message sent when `attachValidation` is unset. List the properties actually available (`message`, `validation`, `validationContext`, `code`, `statusCode`) and add a test pinning the equivalence between the attached and the default message. * test: improve validation error message assertions in attached validation test * refactor(types): remove deprecated FastifyPlugin type Removed the deprecated FastifyPlugin type export and its corresponding test definitions. Users should use FastifyPluginAsync or FastifyPluginCallback instead. * fix: update url --------- Co-authored-by: Tiziano Basile <tiz.basile@gmail.com> | 1 个月前 | |
style(types): enforce max line length (#6864) * style(types): enforce max line length * style(types): improve declaration formatting | 1 个月前 | |
style(types): enforce max line length (#6864) * style(types): enforce max line length * style(types): improve declaration formatting | 1 个月前 | |
refactor(types)!: remove deprecated req in request.d.ts (#6935) | 1 个月前 | |
style(types): enforce max line length (#6864) * style(types): enforce max line length * style(types): improve declaration formatting | 1 个月前 | |
fix: (types) allow FastifySchemaValidationError[] as an error (#6326) | 11 个月前 | |
refactor: rename source file names with kebab-case (#6331) | 11 个月前 | |
style(types): enforce max line length (#6864) * style(types): enforce max line length * style(types): improve declaration formatting | 1 个月前 | |
feat: rfc10008 http query method (#6832) | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 1 个月前 | ||
| 2 个月前 |