Skip to content

Commit ba45e13

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

File tree

11 files changed

+175
-344
lines changed

11 files changed

+175
-344
lines changed

.changeset/modernize-dependencies-0-8-0.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
'@pgflow/core': minor
33
'@pgflow/client': minor
44
'@pgflow/edge-worker': minor
5-
'@pgflow/website': minor
65
---
76

87
BREAKING CHANGE: pgflow 0.8.0 requires pgmq 1.5.0+, PostgreSQL 17, and Supabase CLI 2.34.3+

.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

0 commit comments

Comments
 (0)