Skip to content

Commit dd502d5

Browse files
committed
chore: update deno to 2.1.4
1 parent 3d8b13b commit dd502d5

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Setup Deno
3333
uses: denoland/setup-deno@v2
3434
with:
35-
deno-version: '1.45.2'
35+
deno-version: '2.1.4'
3636

3737
- name: Install sqruff
3838
uses: ./.github/actions/setup-sqruff
@@ -76,7 +76,7 @@ jobs:
7676
- name: Setup Deno
7777
uses: denoland/setup-deno@v2
7878
with:
79-
deno-version: '1.45.2'
79+
deno-version: '2.1.4'
8080

8181
- name: Install sqruff
8282
uses: ./.github/actions/setup-sqruff

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
nodejs 24.11.0
22
pnpm 10.20.0
3+
deno 2.1.4

apps/demo/supabase/functions/article_flow_worker/tasks/fetch-article.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export async function fetchArticle(url: string) {
4141
};
4242
} catch (error) {
4343
console.error('Error fetching article:', error);
44-
throw new Error(`Failed to fetch article from ${url}: ${error.message}`);
44+
const message = error instanceof Error ? error.message : String(error);
45+
throw new Error(`Failed to fetch article from ${url}: ${message}`);
4546
}
4647
}

pkgs/cli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This package provides essential tools for setting up, managing, and deploying pg
1616
## Prerequisites
1717

1818
- Supabase CLI v2.34.3 or higher
19-
- Deno v1.45.x or higher (for flow compilation)
19+
- Deno v2.1.x or higher (for flow compilation)
2020
- Local Supabase project initialized
2121

2222
## Installation

pkgs/edge-worker/deno.test.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"lint": {
2424
"exclude": ["supabase/functions/", "dist/", "node_modules/"],
2525
"rules": {
26-
"exclude": ["no-slow-types"]
26+
"exclude": ["no-slow-types", "no-sloppy-imports"]
2727
}
2828
},
2929
"publish": {

pkgs/website/src/content/docs/news/pgflow-0-8-0-modernizing-dependencies-pgmq-1-5-0-and-postgresql-17.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ import { Aside } from "@astrojs/starlight/components";
1919

2020
pgflow 0.8.0 requires pgmq 1.5.0 or higher and PostgreSQL 17. This release removes the pgmq compatibility layer and prepares the foundation for upcoming flow auto-compilation features.
2121

22-
<Aside type="caution" title="Breaking Change">
23-
This version will NOT work with pgmq 1.4.x or earlier. The migration includes a compatibility check that will abort with a clear error message if pgmq 1.5.0 is not detected.
24-
</Aside>
22+
:::danger[Breaking Change]
23+
This version **will NOT work with pgmq 1.4.x or earlier**. The migration includes a compatibility check that will abort with a clear error message if pgmq 1.5.0 is not detected.
24+
:::
2525

2626
## What's Changing
2727

0 commit comments

Comments
 (0)