From 8ec1e0cbf79ad0754fa71433451e7fc1e66ebfeb Mon Sep 17 00:00:00 2001 From: Adishwar Rishi Date: Tue, 16 Apr 2024 04:11:02 +1000 Subject: [PATCH 1/3] template(cloudflare): Update remix cloudflare template to latest package versions (#9197) --- contributors.yml | 1 + templates/cloudflare/package.json | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/contributors.yml b/contributors.yml index 04512169aff..ccf91fdc40a 100644 --- a/contributors.yml +++ b/contributors.yml @@ -7,6 +7,7 @@ - achinchen - adamwathan - adicuco +- AdiRishi - ahabhgk - ahbruns - ahmedeldessouki diff --git a/templates/cloudflare/package.json b/templates/cloudflare/package.json index 6e3f91793a3..87d0c9f2c22 100644 --- a/templates/cloudflare/package.json +++ b/templates/cloudflare/package.json @@ -16,12 +16,12 @@ "@remix-run/cloudflare-pages": "*", "@remix-run/react": "*", "isbot": "^4.1.0", - "miniflare": "^3.20231030.4", + "miniflare": "^3.20240404.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, "devDependencies": { - "@cloudflare/workers-types": "^4.20230518.0", + "@cloudflare/workers-types": "^4.20240405.0", "@remix-run/dev": "*", "@types/react": "^18.2.20", "@types/react-dom": "^18.2.7", @@ -37,7 +37,7 @@ "typescript": "^5.1.6", "vite": "^5.1.0", "vite-tsconfig-paths": "^4.2.1", - "wrangler": "^3.24.0" + "wrangler": "^3.48.0" }, "engines": { "node": ">=18.0.0" From 87b59c19c8160936427b30d4ece4938cd1ba976a Mon Sep 17 00:00:00 2001 From: Willow Cheng Date: Tue, 16 Apr 2024 10:04:51 -0400 Subject: [PATCH 2/3] Update errors.md for typo of "then" (#9235) --- contributors.yml | 1 + docs/guides/errors.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/contributors.yml b/contributors.yml index ccf91fdc40a..e874e2784e6 100644 --- a/contributors.yml +++ b/contributors.yml @@ -670,3 +670,4 @@ - zainfathoni - zayenz - zhe +- willowcheng diff --git a/docs/guides/errors.md b/docs/guides/errors.md index 6804318ea21..8e8f89c8972 100644 --- a/docs/guides/errors.md +++ b/docs/guides/errors.md @@ -81,7 +81,7 @@ export function ErrorBoundary() { } ``` -If you need to log these errors or report then to a third-party service such as [BugSnag][bugsnag] or [Sentry][sentry], then you can do this through a [`handleError`][handle-error] export in your [`app/entry.server.js`][entry-server]. This method receives the un-sanitized versions of the error since it is also running on the server. +If you need to log these errors or report them to a third-party service such as [BugSnag][bugsnag] or [Sentry][sentry], then you can do this through a [`handleError`][handle-error] export in your [`app/entry.server.js`][entry-server]. This method receives the un-sanitized versions of the error since it is also running on the server. If you want to trigger an error boundary and display a specific message or data in the browser, then you can throw a `Response` from a `action`/`loader` with that data instead: From 98a012dee1a77c248d38d99b9768ee406751ec1b Mon Sep 17 00:00:00 2001 From: Remix Run Bot Date: Tue, 16 Apr 2024 14:06:38 +0000 Subject: [PATCH 3/3] chore: format --- contributors.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contributors.yml b/contributors.yml index e874e2784e6..042ecc33f3d 100644 --- a/contributors.yml +++ b/contributors.yml @@ -647,6 +647,7 @@ - wilcoschoneveld - willhack - willin +- willowcheng - wizardlyhel - wKovacs64 - wladiston @@ -670,4 +671,3 @@ - zainfathoni - zayenz - zhe -- willowcheng