Skip to content

Commit 684ea30

Browse files
committed
chore: change default KAPLAY preferred version to v4000
1 parent 77d6354 commit 684ea30

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
- Welcome screen on the first time visit - @imaginarny
1313
- KAPLAY Version filter added to Projects Browser - @imaginarny
14-
- Config option for global preferred KAPLAY version used for new projects and filter - @imaginarny
14+
- Config option for global preferred KAPLAY version used for new projects and filter (default v4000) - @imaginarny
1515
- New Project Preferences (Build Mode, Name, Favicon) - @imaginarny
1616
- Custom confirm and prompt dialogs added - @imaginarny
1717
- Native prompt will now notify you when leaving page with unsaved changes - @imaginarny

src/hooks/useConfig.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export interface Config {
1111
/** The last opened project, used for reload the playground */
1212
lastOpenedProject: string | null;
1313
/** Preferred KAPLAY version used as default */
14-
preferredVersion: string;
14+
preferredVersion: "master" | "4000.0" | "3001.0";
1515
/** It defines how deep it's the debugging logging in the browser console */
1616
debugLevel: number | null;
1717
/** If Editor should auto-run the format command */
@@ -24,7 +24,7 @@ export interface Config {
2424

2525
const defaultConfig: Config = {
2626
lastOpenedProject: null,
27-
preferredVersion: "3001.0",
27+
preferredVersion: "4000.0",
2828
debugLevel: null,
2929
autoFormat: true,
3030
funFormat: false,

0 commit comments

Comments
 (0)