-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hyperdrive]
nodejs_compat
update (#17486)
* Adding a new partial for compatibility_flags and compatibility_date. * Using partial file in the relevant location. * Revert "Using partial file in the relevant location." This reverts commit de132a3. * Update src/content/docs/hyperdrive/tutorials/serverless-timeseries-api-with-timescale/index.mdx * Updating the compatibility reference in the table. * Update src/content/docs/hyperdrive/configuration/connect-to-postgres.mdx * Update src/content/docs/hyperdrive/configuration/connect-to-postgres.mdx --------- Co-authored-by: Thomas Gauvin <35609369+thomasgauvin@users.noreply.github.com>
- Loading branch information
1 parent
0060ab7
commit cbc4f3d
Showing
3 changed files
with
19 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
src/content/partials/workers/nodejs-compat-wrangler-toml.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
{} | ||
|
||
--- | ||
|
||
```toml title="wrangler.toml" | ||
# other fields elided | ||
# | ||
# Required for node-postgres to work | ||
compatibility_flags = [ "nodejs_compat" ] | ||
compatibility_date = "2024-09-23" | ||
``` |