From f55551c0cd1f1cb26eb5f74a4235dfee15bf27ab Mon Sep 17 00:00:00 2001 From: omuretsu <84951833+Snarling@users.noreply.github.com> Date: Wed, 7 Jun 2023 14:41:16 -0400 Subject: [PATCH] 2.3.1 release --- doc/source/changelog.rst | 60 ++++++++++++++++++++++++++++++++++++++ electron/package-lock.json | 4 +-- electron/package.json | 2 +- package-lock.json | 4 +-- package.json | 2 +- src/Constants.ts | 41 ++++++++++++++++++++------ 6 files changed, 98 insertions(+), 15 deletions(-) diff --git a/doc/source/changelog.rst b/doc/source/changelog.rst index a766bdb132..e10957e8a6 100644 --- a/doc/source/changelog.rst +++ b/doc/source/changelog.rst @@ -3,6 +3,66 @@ Changelog ========= +v2.3.1 - Bugfixes 7 June 2023 +----------------------------- + +NETSCRIPT: + +* Added ns.setTitle, which sets the titlebar of a script's tail window (@d0sboots) +* Added ns.getFunctionRamCost, which gets the ramcost of a netscript function (@G4mingJon4s) +* ns.ls results will filter as if the filenames have a leading slash (@Snarling) + +GENERAL / MISC: + +* Changed tail window buttons into icon buttons, allow setting custom title, and tail window bugfixes. (@d0sboots) +* Terminal no longer scrolls to the bottom constantly while an action is being performed (@bezrodnov) +* Added a close button to modals (@bezrodnov) +* Fixed several issues with script editor tabs (@bezrodnov) +* scp terminal command can copy multiple files at once, like help text indicates (@Snarling) +* Root directory is no longer displayed as ~ in the terminal prompt, it is displayed as / (@Snarling) +* cd with no arguments will change to the root directory (@Snarling) +* Documentation updates (various) +* Nerf noodle bar + +HOTFIXES (these were already backported to 2.3.0 before 2.3.1 release): + +* Several important fixes for savegame migration issues from older version (@d0sboots) +* Prevent scripts from loading during intial migration to 2.3.0 save format, to prevent a crash that could occur. (@Snarling) +* Fix scp logging (hostname was being logged incorrectly in multiple places and showing as [Object object]) (@Snarling) +* Update terminal parsing logic so that the old syntax for alias works again. (@Snarling) +* Fix clickable script links from ls command not working outside root directory (@Snarling) +* Fix an issue with Find All Valid Math Expressions not accepting empty array when that was the solution. (@Snarling) +* Fix an issue with scan-analyze display when the player had AutoLink.exe (@Snarling) +* Reverted undocumented change that program filenames were case sensitive for ns.fileExists. They are case insensitive again. (@Snarling) +* An issue from pre-2.3 could cause scripts to have the wrong "server" property. This caused issues in 2.3, and a fix now repairs any scripts with a mismatched server property. (@Snarling) +* More fixes to help old savegames load correctly (@Snarling) +* Servers can no longer have infinite time-to-hack. (@Snarling) + +SPOILER SECTIONS: + +SF2: + +* Overall gang respect gain rate now reads accurately, instead of showing ~10x. (@Snarling) + +SF3: + +* Added "maxProducts" property to ns.corporation.getDivision return value (@kateract) +* Fixed an issue with sell price parsing for materials (@zerbosh) +* Fixed display of market price for materials and products (@zerbosh) +* Fixes for Corp import/export issues, such as -IPROD and Smart Supply not working right (@d0sboots) +* Improvements to the max-affordable-upgrades calculation (@bezrodnov) +* Perform additional validation when setting up an export. Exports are now unique per targeted division+city. (@Snarling) +* ns.corporation.cancelExport no longer requires the exported amount (@Snarling) +* Fix NaN bug that could impact Robot material in Robotics division (@Snarling, @kateract) +* Can no longer commence product development in a city with no office (which would immediately error out the game loop) (@Snarling) +* (Hotfix) Fix issue that could lead to SF3 research desync. (@Snarling) +* (Hotfix) Fix SF3 "Spring Water" industry (@Snarling) + +SF4: + +* Fixed an issue that could cause singularity run-after-reset callback scripts to not launch correctly (@Snarling) + + v2.3.0 - SF3 rework and performance improvements (25 May 2023) -------------------------------------------------------------- diff --git a/electron/package-lock.json b/electron/package-lock.json index 0295260e76..d117368292 100644 --- a/electron/package-lock.json +++ b/electron/package-lock.json @@ -1,12 +1,12 @@ { "name": "bitburner", - "version": "2.3.0", + "version": "2.3.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "bitburner", - "version": "2.3.0", + "version": "2.3.1", "dependencies": { "electron-config": "^2.0.0", "electron-log": "^4.4.8", diff --git a/electron/package.json b/electron/package.json index 7e6ca89c8a..5c4adefcc4 100755 --- a/electron/package.json +++ b/electron/package.json @@ -1,6 +1,6 @@ { "name": "bitburner", - "version": "2.3.0", + "version": "2.3.1", "description": "A cyberpunk-themed programming incremental game", "main": "main.js", "author": "Daniel Xie, Olivier Gagnon, et al.", diff --git a/package-lock.json b/package-lock.json index 46064fd436..18ebe695f1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bitburner", - "version": "2.3.0dev", + "version": "2.3.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "bitburner", - "version": "2.3.0dev", + "version": "2.3.1", "hasInstallScript": true, "license": "SEE LICENSE IN license.txt", "dependencies": { diff --git a/package.json b/package.json index c786b6da92..ca94f6d4a0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "bitburner", "license": "SEE LICENSE IN license.txt", - "version": "2.3.0dev", + "version": "2.3.1", "main": "electron-main.js", "author": { "name": "Daniel Xie, Olivier Gagnon, et al." diff --git a/src/Constants.ts b/src/Constants.ts index 234c900fc8..446f54491e 100644 --- a/src/Constants.ts +++ b/src/Constants.ts @@ -89,8 +89,8 @@ export const CONSTANTS: { LatestUpdate: string; } = { VersionString: "2.3.1", - isDevBranch: true, - VersionNumber: 31, + isDevBranch: false, + VersionNumber: 32, /** Max level for any skill, assuming no multipliers. Determined by max numerical value in javascript for experience * and the skill level formula in Player.js. Note that all this means it that when experience hits MAX_INT, then @@ -231,25 +231,41 @@ export const CONSTANTS: { // Also update doc/source/changelog.rst LatestUpdate: ` -v2.3.1 dev - Changelog last updated 4 Jun 2023 ----------------------------------------------- - -GENERAL / MISC: +v2.3.1 - Bugfixes 7 June 2023 +----------------------------- NETSCRIPT: * Added ns.setTitle, which sets the titlebar of a script's tail window (@d0sboots) * Added ns.getFunctionRamCost, which gets the ramcost of a netscript function (@G4mingJon4s) +* ns.ls results will filter as if the filenames have a leading slash (@Snarling) GENERAL / MISC: -* Fixed several issues with script editor tabs (@bezrodnov) -* Changed tail window buttons into icon buttons, plus tail window bugfixes (@d0sboots) +* Changed tail window buttons into icon buttons, allow setting custom title, and tail window bugfixes. (@d0sboots) * Terminal no longer scrolls to the bottom constantly while an action is being performed (@bezrodnov) * Added a close button to modals (@bezrodnov) -* Documentation fixes (various) +* Fixed several issues with script editor tabs (@bezrodnov) +* scp terminal command can copy multiple files at once, like help text indicates (@Snarling) +* Root directory is no longer displayed as ~ in the terminal prompt, it is displayed as / (@Snarling) +* cd with no arguments will change to the root directory (@Snarling) +* Documentation updates (various) * Nerf noodle bar +HOTFIXES (these were already backported to 2.3.0 before 2.3.1 release): + +* Several important fixes for savegame migration issues from older version (@d0sboots) +* Prevent scripts from loading during intial migration to 2.3.0 save format, to prevent a crash that could occur. (@Snarling) +* Fix scp logging (hostname was being logged incorrectly in multiple places and showing as [Object object]) (@Snarling) +* Update terminal parsing logic so that the old syntax for alias works again. (@Snarling) +* Fix clickable script links from ls command not working outside root directory (@Snarling) +* Fix an issue with Find All Valid Math Expressions not accepting empty array when that was the solution. (@Snarling) +* Fix an issue with scan-analyze display when the player had AutoLink.exe (@Snarling) +* Reverted undocumented change that program filenames were case sensitive for ns.fileExists. They are case insensitive again. (@Snarling) +* An issue from pre-2.3 could cause scripts to have the wrong "server" property. This caused issues in 2.3, and a fix now repairs any scripts with a mismatched server property. (@Snarling) +* More fixes to help old savegames load correctly (@Snarling) +* Servers can no longer have infinite time-to-hack. (@Snarling) + SPOILER SECTIONS: SF2: @@ -262,6 +278,13 @@ SF3: * Fixed an issue with sell price parsing for materials (@zerbosh) * Fixed display of market price for materials and products (@zerbosh) * Fixes for Corp import/export issues, such as -IPROD and Smart Supply not working right (@d0sboots) +* Improvements to the max-affordable-upgrades calculation (@bezrodnov) +* Perform additional validation when setting up an export. Exports are now unique per targeted division+city. (@Snarling) +* ns.corporation.cancelExport no longer requires the exported amount (@Snarling) +* Fix NaN bug that could impact Robot material in Robotics division (@Snarling, @kateract) +* Can no longer commence product development in a city with no office (which would immediately error out the game loop) (@Snarling) +* (Hotfix) Fix issue that could lead to SF3 research desync. (@Snarling) +* (Hotfix) Fix SF3 "Spring Water" industry (@Snarling) SF4: