2.3.1 release

This commit is contained in:
omuretsu 2023-06-07 14:41:16 -04:00
parent cc5247ac89
commit f55551c0cd
6 changed files with 98 additions and 15 deletions

@ -3,6 +3,66 @@
Changelog 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) v2.3.0 - SF3 rework and performance improvements (25 May 2023)
-------------------------------------------------------------- --------------------------------------------------------------

@ -1,12 +1,12 @@
{ {
"name": "bitburner", "name": "bitburner",
"version": "2.3.0", "version": "2.3.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "bitburner", "name": "bitburner",
"version": "2.3.0", "version": "2.3.1",
"dependencies": { "dependencies": {
"electron-config": "^2.0.0", "electron-config": "^2.0.0",
"electron-log": "^4.4.8", "electron-log": "^4.4.8",

@ -1,6 +1,6 @@
{ {
"name": "bitburner", "name": "bitburner",
"version": "2.3.0", "version": "2.3.1",
"description": "A cyberpunk-themed programming incremental game", "description": "A cyberpunk-themed programming incremental game",
"main": "main.js", "main": "main.js",
"author": "Daniel Xie, Olivier Gagnon, et al.", "author": "Daniel Xie, Olivier Gagnon, et al.",

4
package-lock.json generated

@ -1,12 +1,12 @@
{ {
"name": "bitburner", "name": "bitburner",
"version": "2.3.0dev", "version": "2.3.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "bitburner", "name": "bitburner",
"version": "2.3.0dev", "version": "2.3.1",
"hasInstallScript": true, "hasInstallScript": true,
"license": "SEE LICENSE IN license.txt", "license": "SEE LICENSE IN license.txt",
"dependencies": { "dependencies": {

@ -1,7 +1,7 @@
{ {
"name": "bitburner", "name": "bitburner",
"license": "SEE LICENSE IN license.txt", "license": "SEE LICENSE IN license.txt",
"version": "2.3.0dev", "version": "2.3.1",
"main": "electron-main.js", "main": "electron-main.js",
"author": { "author": {
"name": "Daniel Xie, Olivier Gagnon, et al." "name": "Daniel Xie, Olivier Gagnon, et al."

@ -89,8 +89,8 @@ export const CONSTANTS: {
LatestUpdate: string; LatestUpdate: string;
} = { } = {
VersionString: "2.3.1", VersionString: "2.3.1",
isDevBranch: true, isDevBranch: false,
VersionNumber: 31, VersionNumber: 32,
/** Max level for any skill, assuming no multipliers. Determined by max numerical value in javascript for experience /** 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 * 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 // Also update doc/source/changelog.rst
LatestUpdate: ` LatestUpdate: `
v2.3.1 dev - Changelog last updated 4 Jun 2023 v2.3.1 - Bugfixes 7 June 2023
---------------------------------------------- -----------------------------
GENERAL / MISC:
NETSCRIPT: NETSCRIPT:
* Added ns.setTitle, which sets the titlebar of a script's tail window (@d0sboots) * 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) * 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: GENERAL / MISC:
* Fixed several issues with script editor tabs (@bezrodnov) * Changed tail window buttons into icon buttons, allow setting custom title, and tail window bugfixes. (@d0sboots)
* Changed tail window buttons into icon buttons, plus tail window bugfixes (@d0sboots)
* Terminal no longer scrolls to the bottom constantly while an action is being performed (@bezrodnov) * Terminal no longer scrolls to the bottom constantly while an action is being performed (@bezrodnov)
* Added a close button to modals (@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 * 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: SPOILER SECTIONS:
SF2: SF2:
@ -262,6 +278,13 @@ SF3:
* Fixed an issue with sell price parsing for materials (@zerbosh) * Fixed an issue with sell price parsing for materials (@zerbosh)
* Fixed display of market price for materials and products (@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) * 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: SF4: