Open-source status page, incident response and uptime monitoring
TypeScript alertingincident-managementmcpmcp-servermonitoringmonitoring-as-codeobservabilityon-callopen-sourcesrestatus-pagestatuspagesynthetic-monitoringterraformtinybirdtursouptimeuptime-checkeruptime-monitor
🚀 Add missing verbs (#1260)
Thibault Le Ouay08b86df55d9c
diff --git a/apps/checker/http.go b/apps/checker/http.goindex 101a2d837..75b86682a 100644--- a/apps/checker/http.go+++ b/apps/checker/http.go@@ -78,7 +78,8 @@ func Http(ctx context.Context, client *http.Client, inputData request.HttpChecke}}- if inputData.Method != http.MethodGet {+ // Maybe we should remove the default post to application JSON+ if inputData.Method == http.MethodPost {head := req.Header_, ok := head["Content-Type"]diff --git a/apps/web/package.json b/apps/web/package.jsonindex f9bb36390..973d179eb 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -12,7 +12,7 @@},"dependencies": {"@auth/core": "0.34.1",- "@auth/drizzle-adapter": "1.7.0",+ "@auth/drizzle-adapter": "1.9.1","@google-cloud/tasks": "4.0.1","@hookform/resolvers": "3.9.1","@libsql/client": "0.14.0",@@ -64,7 +64,7 @@"lucide-react": "0.468.0","nanoid": "5.0.7","next": "15.2.4",- "next-auth": "5.0.0-beta.25",+ "next-auth": "5.0.0-beta.28","next-plausible": "3.12.4","next-themes": "0.2.1","nuqs": "2.2.3",diff --git a/apps/web/src/components/forms/monitor/section-request-http.tsx b/apps/web/src/components/forms/monitor/section-request-http.tsxindex 85bf538d9..8710064da 100644--- a/apps/web/src/components/forms/monitor/section-request-http.tsx+++ b/apps/web/src/components/forms/monitor/section-request-http.tsx@@ -208,7 +208,10 @@ export function SectionRequestHTTP({ form }: Props) {</Button></div></div>- {watchMethod === "POST" && (+ {(watchMethod === "POST" ||+ watchMethod === "PUT" ||+ watchMethod === "PATCH" ||+ watchMethod === "DELETE") && (<div className="sm:col-span-full"><FormFieldcontrol={form.control}diff --git a/apps/web/src/components/ping-response-analysis/utils.ts b/apps/web/src/components/ping-response-analysis/utils.tsindex 0c7216ec8..9691fa876 100644--- a/apps/web/src/components/ping-response-analysis/utils.ts+++ b/apps/web/src/components/ping-response-analysis/utils.ts@@ -124,7 +124,16 @@ export type Timing = z.infer<typeof timingSchema>;export type Checker = z.infer<typeof checkerSchema>;// FIXME: does not include TCP!export type RegionChecker = z.infer<typeof regionCheckerSchema>;-export type Method = "GET" | "POST" | "PUT" | "DELETE" | "HEAD";+export type Method =+ | "GET"+ | "HEAD"+ | "OPTIONS"+ | "POST"+ | "PUT"+ | "DELETE"+ | "PATCH"+ | "CONNECT"+ | "TRACE";export type CachedRegionChecker = z.infer<typeof cachedCheckerSchema>;export async function checkRegion(diff --git a/packages/db/src/schema/monitors/constants.ts b/packages/db/src/schema/monitors/constants.tsindex 22aee0cd0..9884569c5 100644--- a/packages/db/src/schema/monitors/constants.ts+++ b/packages/db/src/schema/monitors/constants.ts@@ -1,4 +1,14 @@-export const monitorMethods = ["GET", "POST", "HEAD"] as const;+export const monitorMethods = [+ "GET",+ "POST",+ "HEAD",+ "PUT",+ "DELETE",+ "CONNECT",+ "OPTIONS",+ "TRACE",+ "PATCH",+] as const;export const monitorStatus = ["active", "error", "degraded"] as const;export const monitorJobTypes = [diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex d40249fdd..9293868d9 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -201,8 +201,8 @@ importers:specifier: 0.34.1version: 0.34.1'@auth/drizzle-adapter':- specifier: 1.7.0- version: 1.7.0+ specifier: 1.9.1+ version: 1.9.1'@google-cloud/tasks':specifier: 4.0.1version: 4.0.1([email protected])@@ -357,8 +357,8 @@ importers:specifier: 15.2.4version: 15.2.4(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])next-auth:- specifier: 5.0.0-beta.25- version: 5.0.0-beta.25([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])+ specifier: 5.0.0-beta.28+ version: 5.0.0-beta.28([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected])next-plausible:specifier: 3.12.4version: 3.12.4([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])@@ -1375,8 +1375,8 @@ packages:nodemailer:optional: true- '@auth/[email protected]':- resolution: {integrity: sha512-LybAgfFC5dta3Mu3al0UbnzMGVBpZRqLMvvXupQOfETtPNlL7rXgTO13EVRTCdvPqMQrVYjODUDvgVfQM1M3Qg==}+ '@auth/[email protected]':+ resolution: {integrity: sha512-kUvzyvkcd6h1vpeMAojK2y7+PAV5H+0Cc9+ZlKYDFhDY31AlvsB+GW5vNO4qE3Y07KeQgvNO9U0QUx/fN62kBw==}peerDependencies:'@simplewebauthn/browser': ^9.0.1'@simplewebauthn/server': ^9.0.2@@ -1389,8 +1389,8 @@ packages:nodemailer:optional: true- '@auth/[email protected]':- resolution: {integrity: sha512-kUvzyvkcd6h1vpeMAojK2y7+PAV5H+0Cc9+ZlKYDFhDY31AlvsB+GW5vNO4qE3Y07KeQgvNO9U0QUx/fN62kBw==}+ '@auth/[email protected]':+ resolution: {integrity: sha512-McD8slui0oOA1pjR5sPjLPl5Zm//nLP/8T3kr8hxIsvNLvsiudYvPHhDFPjh1KcZ2nFxCkZmP6bRxaaPd/AnLA==}peerDependencies:'@simplewebauthn/browser': ^9.0.1'@simplewebauthn/server': ^9.0.2@@ -1403,8 +1403,8 @@ packages:nodemailer:optional: true- '@auth/[email protected]':- resolution: {integrity: sha512-hijoZnkCf9UxiTiNgm0rw3t2JhzFyJSFRGugv9kT9zgdlUtVy7TzyW8/6Me3TPNuLXCzXW1PkPIc3zqZ/1JLdA==}+ '@auth/[email protected]':+ resolution: {integrity: sha512-WQ4vtDxpo3jAPfSLJbrjFx++/lMO1HJbV7ZwzCUBEkhqYMTrqQBJhLb+vcusDu95wiekVOUCPe1y6QSNbMeeYA==}'@aws-crypto/[email protected]':resolution: {integrity: sha512-IzSgsrxUcsrejQbPVilIKy16kAT52EwB6zSaI+M3xxIhKh5+aldEyvI+z6erM7TCLB2BJsFrtHjp6/4/sr+3dA==}@@ -6809,6 +6809,9 @@ packages:resolution: {integrity: sha512-WBBl6au1qg6OHj67yCffCgFR3BADJBXN8MdRvCgJDuMv3driV2nHr7jdGvaKX9IolosAsn+M0XRArqLXUhyJHQ==}+ resolution: {integrity: sha512-QxG7EaliDARm1O1S8BGakqncGT9s25bKL1WSf6/oa17Tkqwi8D2ZNglqCF+DsYF88/rV66Q/Q2mFAy697E1DUg==}+resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==}engines: {node: '>=10'}@@ -7473,6 +7476,22 @@ packages:nodemailer:optional: true+ resolution: {integrity: sha512-2RDR1h3DJb4nizcd5UBBwC2gtyP7j/jTvVLvEtDaFSKUWNfou3Gek2uTNHSga/Q4I/GF+OJobA4mFbRaWJgIDQ==}+ peerDependencies:+ '@simplewebauthn/browser': ^9.0.1+ '@simplewebauthn/server': ^9.0.2+ next: ^14.0.0-0 || ^15.0.0-0+ nodemailer: ^6.6.5+ react: ^18.2.0 || ^19.0.0-0+ peerDependenciesMeta:+ '@simplewebauthn/browser':+ optional: true+ '@simplewebauthn/server':+ optional: true+ nodemailer:+ optional: true+resolution: {integrity: sha512-cD3+ixJxf8yBYvsideTxqli3fvrB7R4BXcvsNJz8Sm2X1QN039WfiXjCyNWkub4h5++rRs6fHhchUMnOuJokcg==}peerDependencies:@@ -7610,6 +7629,9 @@ packages:resolution: {integrity: sha512-0h4FZjsntbKQ5IHGM9mFT7uOwQCRdcTG7YhC0xXlWIcCch24wUa6Vggaipa3Sw6Ab7nEnmO4rctROmyuHBfP7Q==}+ resolution: {integrity: sha512-txg/jZQwcbaF7PMJgY7aoxc9QuCxHVFMiEkDIJ60DwDz3PbtXPQnrzo+3X4IRYGChIwWLabRBRpf1k9hO9+xrQ==}+resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}engines: {node: '>=0.10.0'}@@ -7957,9 +7979,17 @@ packages:peerDependencies:preact: '>=10'+ resolution: {integrity: sha512-ubnauqoGczeGISiOh6RjX0/cdaF8v/oDXIjO85XALCQjwQP+SB4RDXXtvZ6yTYSjG+PC1QRP2AhPgCEsM2EvUw==}+ peerDependencies:+ preact: '>=10'+resolution: {integrity: sha512-eY93IVpod/zG3uMF22Unl8h9KkrcKIRs2EGar8hwLZZDU1lkjph303V9HZBwufh2s736U6VXuhD109LYqPoffg==}+ resolution: {integrity: sha512-Z2dPnBnMUfyQfSQ+GBdsGa16hz35YmLmtTLhM169uW944hYL6xzTYkJjC07j+Wosz733pMWx0fgON3JNw1jJQA==}+resolution: {integrity: sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==}engines: {node: '>=10'}@@ -9910,7 +9940,7 @@ snapshots:preact: 10.11.3preact-render-to-string: 5.2.3([email protected])- '@auth/[email protected]':+ '@auth/[email protected]':dependencies:'@panva/hkdf': 1.2.1'@types/cookie': 0.6.0@@ -9920,19 +9950,17 @@ snapshots:preact: 10.11.3preact-render-to-string: 5.2.3([email protected])- '@auth/[email protected]':+ '@auth/[email protected]':dependencies:'@panva/hkdf': 1.2.1- '@types/cookie': 0.6.0- cookie: 0.7.1- jose: 5.9.4- oauth4webapi: 3.1.1- preact: 10.11.3- preact-render-to-string: 5.2.3([email protected])+ jose: 6.0.11+ oauth4webapi: 3.5.1+ preact: 10.24.3+ preact-render-to-string: 6.5.11([email protected])- '@auth/[email protected]':+ '@auth/[email protected]':dependencies:- '@auth/core': 0.37.0+ '@auth/core': 0.39.1transitivePeerDependencies:- '@simplewebauthn/browser'- '@simplewebauthn/server'@@ -16121,6 +16149,8 @@ snapshots:+ [email protected]: {}+@@ -17140,6 +17170,12 @@ snapshots:next: 15.2.4(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])react: 19.1.0+ [email protected]([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]):+ dependencies:+ '@auth/core': 0.39.1+ next: 15.2.4(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])+ react: 19.1.0+[email protected]([email protected](@opentelemetry/[email protected])([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]):dependencies:next: 15.2.4(@opentelemetry/[email protected])([email protected]([email protected]))([email protected])@@ -17266,6 +17302,8 @@ snapshots:+ [email protected]: {}+@@ -17688,8 +17726,14 @@ snapshots:preact: 10.11.3pretty-format: 3.8.0+ dependencies:+ preact: 10.24.3++ [email protected]: {}+dependencies:detect-libc: 2.0.2