From f0f335e09a898015d40dee67b70863eb0ea51323 Mon Sep 17 00:00:00 2001 From: Snarling <84951833+Snarling@users.noreply.github.com> Date: Sun, 7 Jan 2024 08:37:38 -0500 Subject: [PATCH] changelog update, regenerate docs --- markdown/bitburner.go.cheat.md | 2 +- markdown/bitburner.go.md | 2 +- src/Constants.ts | 28 +++++++++++++++++++++++++--- src/Documentation/pages.ts | 32 ++++++++++++++++---------------- 4 files changed, 43 insertions(+), 21 deletions(-) diff --git a/markdown/bitburner.go.cheat.md b/markdown/bitburner.go.cheat.md index 0674e68a6..530cc1e5e 100644 --- a/markdown/bitburner.go.cheat.md +++ b/markdown/bitburner.go.cheat.md @@ -24,7 +24,7 @@ cheat: { x1: number, y1: number, x2: number, - x2: number, + y2: number, ): Promise<{ type: "invalid" | "move" | "pass" | "gameOver"; x: number; diff --git a/markdown/bitburner.go.md b/markdown/bitburner.go.md index 473f0ec4b..af3341053 100644 --- a/markdown/bitburner.go.md +++ b/markdown/bitburner.go.md @@ -17,7 +17,7 @@ export interface Go | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [analysis](./bitburner.go.analysis.md) | | { getValidMoves(): boolean\[\]\[\]; getChains(): (number \| null)\[\]\[\]; getLiberties(): number\[\]\[\]; getControlledEmptyNodes(): string\[\]; } | Tools to analyze the IPvGO subnet. | -| [cheat](./bitburner.go.cheat.md) | | { getCheatSuccessChance(): number; removeRouter( x: number, y: number, ): Promise<{ type: "invalid" \| "move" \| "pass" \| "gameOver"; x: number; y: number; success: boolean; }>; playTwoMoves( x1: number, y1: number, x2: number, x2: number, ): Promise<{ type: "invalid" \| "move" \| "pass" \| "gameOver"; x: number; y: number; success: boolean; }>; repairOfflineNode( x: number, y: number, ): Promise<{ type: "invalid" \| "move" \| "pass" \| "gameOver"; x: number; y: number; success: boolean; }>; destroyNode( x: number, y: number, ): Promise<{ type: "invalid" \| "move" \| "pass" \| "gameOver"; x: number; y: number; success: boolean; }>; } | Illicit and dangerous IPvGO tools. Not for the faint of heart. Requires Bitnode 14.2 to use. | +| [cheat](./bitburner.go.cheat.md) | | { getCheatSuccessChance(): number; removeRouter( x: number, y: number, ): Promise<{ type: "invalid" \| "move" \| "pass" \| "gameOver"; x: number; y: number; success: boolean; }>; playTwoMoves( x1: number, y1: number, x2: number, y2: number, ): Promise<{ type: "invalid" \| "move" \| "pass" \| "gameOver"; x: number; y: number; success: boolean; }>; repairOfflineNode( x: number, y: number, ): Promise<{ type: "invalid" \| "move" \| "pass" \| "gameOver"; x: number; y: number; success: boolean; }>; destroyNode( x: number, y: number, ): Promise<{ type: "invalid" \| "move" \| "pass" \| "gameOver"; x: number; y: number; success: boolean; }>; } | Illicit and dangerous IPvGO tools. Not for the faint of heart. Requires Bitnode 14.2 to use. | ## Methods diff --git a/src/Constants.ts b/src/Constants.ts index dd89dde79..ac0c9c4c6 100644 --- a/src/Constants.ts +++ b/src/Constants.ts @@ -223,15 +223,37 @@ export const CONSTANTS: { // Also update doc/source/changelog.rst LatestUpdate: ` -## v2.6.0 dev - Changelog last updated 26 December 2023 +## v2.6.0 dev - Changelog last updated 7 Jan 2024 ### MAJOR ADDITIONS -- A new minigame IPvGO, based on the game Go. See the "IPvGO Subnet" option from the sidebar. Documentation is also available under "How to Play" from that screen (@ficocelliguy) +- A new minigame IPvGO, based on the game Go. For testing, the "IPvGO Subnet" option is permanently enabled right now in the sidebar. Documentation is also available under "How to Play" from that screen. (@ficocelliguy) - A new BitNode has been added which focuses on the IPvGO mechanic (@ficocelliguy) ### API -- Added the ns.go API, which allows interaction with the new IPvGO mechanic. While this is in development, the API may undergo changes. (@ficocelliguy) +- (Go) Added the ns.go API, which allows interaction with the new IPvGO mechanic. While this is in development, the API may undergo changes. (@ficocelliguy) +- (Singularity) Add type information for getCurrentWork return value (@Semanual) +- (Stanek) Fix acceptGift which was not working in 2.5.2 (@jjclark1982) +- formatNumber now throws an error if specifying a suffixStart less than 1000 (@TheAimMan) + +### UI + +- (Corporation) Align columns correctly in warehouse breakdown table (@jjclark1982) +- (Documentation) Ingame documentation now displays line breaks inside tables correctly (@Snarling) +- (Documentation) Added a documentation page for converting .script to .js (@LJNeon, @jjclark1982, @Snarling) +- (Hashnet) Hash upgrade descriptions use proper number formatting options (@Snarling) +- (Infiltration) Changed how the CheatCodeGame is displayed (@alutman, @Snarling) +- "Disable Text Effects" option also disables the corrupted text display (@draughtnyan) +- The "flight" program now displays the related requirements in a more readable way (@TheAimMan) +- Miscellaneous wording fixes (@cigarmemr) + +### MISC + +- (CodingContract) Improve parsing of player input for arrays (@rocket3989) +- (RemoteAPI) Remote API can be targeted to a remote device instead of the default of localhost (@Specker) +- (ScriptEditor) When importing from other files that are also open in the editor, type information is now available in the IDE (@shyguy1412) +- Fix inconsistent importing of the arg library (@catloversg) +- Nerf noodle bar (various) `, }; diff --git a/src/Documentation/pages.ts b/src/Documentation/pages.ts index f72e869bf..13b9e9e33 100644 --- a/src/Documentation/pages.ts +++ b/src/Documentation/pages.ts @@ -33,14 +33,14 @@ import file30 from "!!raw-loader!./doc/help/bitnode_order.md"; import file31 from "!!raw-loader!./doc/help/getting_started.md"; import file32 from "!!raw-loader!./doc/help/tools_and_resources.md"; import file33 from "!!raw-loader!./doc/index.md"; -import file34 from "!!raw-loader!./doc/migrations/v1.md"; -import file35 from "!!raw-loader!./doc/migrations/v2.md"; -import file36 from "!!raw-loader!./doc/programming/game_frozen.md"; -import file37 from "!!raw-loader!./doc/programming/go_algorithms.md"; -import file38 from "!!raw-loader!./doc/programming/hackingalgorithms.md"; -import file39 from "!!raw-loader!./doc/programming/learn.md"; -import file40 from "!!raw-loader!./doc/programming/remote_api.md"; -import file41 from "!!raw-loader!./doc/migrations/ns2.md"; +import file34 from "!!raw-loader!./doc/migrations/ns2.md"; +import file35 from "!!raw-loader!./doc/migrations/v1.md"; +import file36 from "!!raw-loader!./doc/migrations/v2.md"; +import file37 from "!!raw-loader!./doc/programming/game_frozen.md"; +import file38 from "!!raw-loader!./doc/programming/go_algorithms.md"; +import file39 from "!!raw-loader!./doc/programming/hackingalgorithms.md"; +import file40 from "!!raw-loader!./doc/programming/learn.md"; +import file41 from "!!raw-loader!./doc/programming/remote_api.md"; interface Document { default: string; @@ -80,11 +80,11 @@ AllPages["help/bitnode_order.md"] = file30; AllPages["help/getting_started.md"] = file31; AllPages["help/tools_and_resources.md"] = file32; AllPages["index.md"] = file33; -AllPages["migrations/v1.md"] = file34; -AllPages["migrations/v2.md"] = file35; -AllPages["programming/game_frozen.md"] = file36; -AllPages["programming/go_algorithms.md"] = file37; -AllPages["programming/hackingalgorithms.md"] = file38; -AllPages["programming/learn.md"] = file39; -AllPages["programming/remote_api.md"] = file40; -AllPages["migrations/ns2.md"] = file41; +AllPages["migrations/ns2.md"] = file34; +AllPages["migrations/v1.md"] = file35; +AllPages["migrations/v2.md"] = file36; +AllPages["programming/game_frozen.md"] = file37; +AllPages["programming/go_algorithms.md"] = file38; +AllPages["programming/hackingalgorithms.md"] = file39; +AllPages["programming/learn.md"] = file40; +AllPages["programming/remote_api.md"] = file41;