-
Notifications
You must be signed in to change notification settings - Fork 552
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[D1] remove d1BetaWarning and all usages (#5422)
* Removing d1BetaWarning and all usages * add changeset * update tests --------- Co-authored-by: Max Rozen <3822106+rozenmd@users.noreply.github.com>
- Loading branch information
Showing
10 changed files
with
37 additions
and
75 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"wrangler": patch | ||
--- | ||
|
||
fix: remove d1BetaWarning and all usages | ||
|
||
This PR removes the warning that D1 is in beta for all D1 commands. |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,17 @@ | ||
import { d1BetaWarning } from "./utils"; | ||
import type { CommonYargsArgv } from "../yargs-types"; | ||
|
||
export function Name(yargs: CommonYargsArgv) { | ||
return yargs | ||
.positional("name", { | ||
describe: "The name or binding of the DB", | ||
type: "string", | ||
demandOption: true, | ||
}) | ||
.epilogue(d1BetaWarning); | ||
return yargs.positional("name", { | ||
describe: "The name or binding of the DB", | ||
type: "string", | ||
demandOption: true, | ||
}); | ||
} | ||
|
||
export function Database(yargs: CommonYargsArgv) { | ||
return yargs | ||
.positional("database", { | ||
describe: "The name or binding of the DB", | ||
type: "string", | ||
demandOption: true, | ||
}) | ||
.epilogue(d1BetaWarning); | ||
return yargs.positional("database", { | ||
describe: "The name or binding of the DB", | ||
type: "string", | ||
demandOption: true, | ||
}); | ||
} |
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