Commit Graph

175 Commits

Author SHA1 Message Date
maxbronnikov10
07603b53f2 refactor(core,express,fastify): HTTP adapter error mapping 2026-02-16 00:53:54 +03:00
Kamil Myśliwiec
09c81568f8 feat: introduce standard schema serializer 2026-02-15 13:07:08 +01:00
Kamil Myśliwiec
473810cc85 chore: introduce the internal export path 2026-02-13 17:40:00 +01:00
Kamil Myśliwiec
288453fabb test: fix coverage collection, add more tests 2026-02-11 20:44:14 +01:00
Kamil Myśliwiec
fa6d45da74 build: migrate from cjs to esm 2026-02-09 14:10:04 +01:00
Kamil Myśliwiec
c4cedda15a fix(platform-fastify): middie bypassing through decoded chars 2025-12-29 13:44:26 +01:00
Kamil Myśliwiec
0c93692bc9 chore: update prettier 2025-12-05 13:35:27 +01:00
Seongjee Kim
ab753307ea fix(fastify): Migrate fastify top-level options to routerOptions 2025-10-24 16:01:28 +09:00
Kamil Mysliwiec
b34d428c5c Merge pull request #15385 from mag123c/fix/fastify-adapter-middleware-init
fix(testing): auto-init fastify adapter for middleware registration
2025-07-16 09:38:57 +02:00
mag123c
07291c21aa feat(platform-fastify): implement lazy middleware registration 2025-07-15 21:37:04 +09:00
Kamil Mysliwiec
b7ca2bd5a2 Merge pull request #14789 from piotrfrankowski/pf/feat/add-fastify-schema-decorators
feat(fastify): add decorator for custom schema
2025-07-15 12:01:32 +02:00
mag123c
d602f74c37 fix(platform-fastify): improve middleware registration error message 2025-07-15 10:04:12 +09:00
Kamil Myśliwiec
adc7e1547f feat: enhance introspection capabilities 2025-07-14 11:37:49 +02:00
Micael Levi L. Cavalcante
cb6080e0ba refactor(core,platform-fastify): drop useless optional signature 2025-05-02 22:40:48 -04:00
Piotr Frankowski
a5dab19b22 feat(fastify): add decorator for custom schema
Add an ability to attach json schema to request with a RequestSchema decorator
2025-04-25 16:07:56 +02:00
Johan Legrand
623e27dcfc fix(fastify): methods comparison 2025-04-10 09:54:56 +02:00
Johan Legrand
0a86ba060c Merge branch 'nestjs:master' into fix-fastify-platfom-custom-methods 2025-04-03 15:01:17 +02:00
Kyle Lilly
c91eeff7bb fix(fastify-adapter): global prefix exclusion path handling w/middleware 2025-04-02 10:37:31 -04:00
Johan Legrand
92bdc6d189 Merge branch 'nestjs:master' into fix-fastify-platfom-custom-methods 2025-03-26 00:55:45 +01:00
Stanislav Modrak
9e30447cbc perf: Switch deprecated parser querystring for fast-querystring 2025-02-21 13:15:00 +00:00
Johaven
2c2f385370 fix(fastify): adds the non-standard http methods to the instance 2025-01-24 16:44:26 +01:00
Kamil Myśliwiec
6791b6cbef style: address lint errors 2025-01-09 12:42:10 +01:00
Kamil Myśliwiec
db2a9b5aa3 chore: resolve conflicts 2025-01-09 11:54:46 +01:00
Kamil Myśliwiec
9e5f77c169 chore: resolve conflicts 2025-01-07 12:24:10 +01:00
Kamil Myśliwiec
8bcd1e5b81 chore: resolve conflicts 2025-01-07 12:14:37 +01:00
Kamil Myśliwiec
7f142e9399 feat: add legacy route converter, update tests 2024-11-28 11:28:56 +01:00
Kamil Myśliwiec
7d3e5c1a38 build: use strict null checks part 5 2024-11-26 14:39:51 +01:00
Kamil Myśliwiec
cfe0f47e8a Merge branch 'chore/eslint-v9' of https://github.com/nestjs/nest into chore/eslint-v9 2024-11-26 12:47:16 +01:00
Kamil Myśliwiec
10fdf16c47 build: use strict null checks part 1 2024-11-26 12:46:59 +01:00
Kamil Mysliwiec
5662fc1ac9 Merge branch '11.0.0' into chore/eslint-v9 2024-11-26 12:00:34 +01:00
Kamil Myśliwiec
8829b8d1d7 style: address packages lint errors 2024-11-26 10:38:31 +01:00
Kamil Myśliwiec
236b633a76 style: address integration tests lint errors 2024-11-26 09:39:20 +01:00
Kamil Mysliwiec
59374c9b8c Merge pull request #13797 from patrickacioli/fix-fastify-global-route-prefix
fix(fastify-adapter): middleware not executed when root path is excluded
2024-11-25 13:37:55 +01:00
Johaven
e1c1945a45 fix(platform-fastify): uppercase methods 2024-10-08 13:49:56 +02:00
Johaven
0d5ad26268 Merge branch 'nestjs:master' into feat-webdav-methods 2024-10-08 13:42:54 +02:00
Rick Dutour Geerling
4d46bd8f75 test: GET endpoints should respond to HEAD reqs 2024-09-23 10:12:19 +02:00
Rick Dutour Geerling
29fca46d55 fix(fastify): uppercase http method names
Fastify expects uppercase and won't auto-add the HEAD method otherwise

Closes #13016
2024-09-20 14:01:31 +02:00
johaven
b62b9255cf feat(core,common,platform-fastify): add webdav http methods support 2024-08-12 11:18:40 +02:00
Kamil Mysliwiec
00483139cc Merge pull request #13807 from johaven/fix-search-method
fix(platform-fastify): search method not declared
2024-08-12 10:15:44 +02:00
Stefan van der Wolf
d0115e6cea feat(fastify): add type for http options
Fastify has support for http options through the fastify function call
which was not officially included in the nest adapter. Currently passing
an object with a http field works, but gives the developer no type
hinting about the `http` field.
2024-08-08 09:14:49 +02:00
Johaven
365fd1e5d8 fix: typing 2024-07-22 01:18:59 +02:00
Johaven
9f7c42744f fix(platform-fastify): search method not declared 2024-07-22 01:03:19 +02:00
Patrick Acioli
ba761c1488 fix(fastify-adapter): middleware not executed when root path is excluded 2024-07-17 20:45:44 -03:00
Anthony Cyrille
c7d2978d31 feat(fastify-adapter): support for skipping middie registration 2024-07-01 10:20:45 +02:00
Kamil Mysliwiec
a7e455751d Merge pull request #13493 from johaven/refactor-fastify-route-injection
refactor(platform-fastify): use the route method to inject routes
2024-06-03 13:50:26 +02:00
Abdeldjalil Fortas
7a61ecc9d3 fix(fastify): Make versioningOptions field optional 2024-05-06 09:42:24 +02:00
Abdeldjalil Fortas
c0af8af0cd feat(fastify): Do not crash if enableVersioning is not used (fixes #13496) 2024-05-05 09:25:58 +02:00
Johaven
2e91c14ef1 refactor(platform-fastify): use the route method to inject routes 2024-04-25 01:04:59 +02:00
Kamil Myśliwiec
3321f6ca20 fix(core): middleware is not executed for root route with prefix 2024-03-18 11:35:49 +01:00
Marek Dorda
8af7183c30 fix: typings for fastify enableCors method
Fastify adapter uses typings from `@fastify/cors` package for `enableCors` method

Fix nestjs/nest#13234
2024-02-22 07:34:33 +01:00