# Changelog

## v2.5.1 - 30 November 2023 Update

### NOTES

For the Steam version, any special options you have enabled in the File menu may need to be reselected after this update, due to a change in how these settings are stored.

### MAJOR ADDITIONS

- Added a faction rumors system, to learn the requirements for joining factions ingame (@jjclark1982)

### API

- (Bladeburner) Added ns.bladeburner.nextUpdate, which allows waiting for the next update of the bladeburner mechanic (@jjclark1982)
- (Bladeburner) Added ns.bladeburner.getNextBlackOp, which provides name and rank info for the next Black Operation that can be completed (@myCatsName)
- (Corporation) Added ns.corporation.nextUpdate, which allows waiting for the next update of the corporation mechanic (@jjclark1982)
- (Corporation) Added a size property to the return value of getProduct (@Caldwell-74)
- (Corporation) ns.corporation.getCorporation return value: 'state' property is deprecated. Added 'prevState' and 'nextState' properties. (@Caldwell-74)
- (Gang) Added ns.gang.nextUpdate, which allows waiting for the next update of the gang mechanic (@jjclark1982)
- (Singularity) Added a JobField enum, and used this for the ns.singularity.applyToCompany function (@alutman)
- (Singularity) ns.singularity.purchaseProgram now returns true for programs that are already owned even if the player doesn't have enough money to re-buy the program (@ncharris93)
- (Sleeve) Added nextCompletion promise as a property of sleeve bladeburner work tasks (@Snarling)
- (Stanek) Added an effect property to getFragment (@TheAimMan)
- (Stock) Added ns.stock.nextUpdate, which allows waiting for the next update of the stock mechanic (@jjclark1982)

### BUGFIX

- (Bladeburner) Fixed a bug that could allow reaching -1 contracts available (@TheAimMan)
- (Corporation) Fix an incorrect calculation when adding more employees to an office (@Caldwell-74)
- (Corporation) Bulk purchase can no longer be used to exceed maximum warehouse capacity (@TheAimMan)
- (Corporation) Fixed a bug that allowed out-of-order research (@TheAimMan)
- (Corporation) Product production cost is stored separately for each city (@Caldwell-74)
- (Sleeve) Sleeve crime work can no longer cause an overflow of %completion when performing quick crimes during bonus time (@TheAimMan)
- (Stanek) Multipliers from Stanek are now calculated correctly even if the player has Entropy (@yichizhng)
- (Stanek) Fix a bug where Stanek bonuses were not being removed correctly after a reset (@TheAimMan)
- Fix an error that would occur in some cases when using gymGains or universityGains (@cigarmemr)
- Fix tab autocompletion when running a sceript without the run command (@mytskine)
- Fix a bug that could cause the wrong coding contract to be deleted when using rm (@TheAimMan)
- Scripts no longer show $0 for offline money income (@alutman)
- Faction invitations are now cleared properly when performing a reset (@alutman)
- API functions that work on a hostname no longer work on servers that have not been added to the network. (@TheAimMan)
- Fix an issue where the "True Recursion" achievement could be granted incorrectly (@jjclark1982)

### MISC

- (Sleeve) Added ability to set a sleeve to idle through the UI (@Sphyxis)
- Updated lots of dependencies (@Caldwell-74)
- Updated electron to the latest version (Steam version only) (@Snarling)
- Various spelling / grammar / wording fixes (@ficocelliguy, @Squirlll, @Warrobot10)
- Minor reorganization and streamlining in Script Editor code (@Snarling)
- Tweaked the .lit file referencing Illuminati to give a better idea about joining requirements (@d0sboots)
- (Steam version) Replaced outdated electron-config with electron-store (@tiziodcaio)

### UI

- (Corporation) Improved the display of corporation state. (@Caldwell-74)
- (Corporation) Improved various Corporation UIs (@jjclark1982)
- (Gang) Removed the territory warfare toggle from the main Gang screen (@Tyasuh)
- Added number of exploits to import savegame comparison (@myCatsName)
- Dev menu improvements (@myCatsName, @Snarling)
- Added a credits button on the options page (@myCatsName)

## v2.5.0 (10/2/2023)

### NOTES

(Corporation) Bugfixes in Corporation may cause a large balance shift for this mechanic.

### HOTFIXES

- 10/4/23: Fixed an issue that caused popups (like faction invitations) to still appear during infiltration (@Snarling)

### API CHANGES:

- ns.print and ns.tprint now handle printing Set and Map objects directly (@ficocelliguy)
- ns.spawn can now use a configurable delay instead of always 10 seconds (@muesli4brekkies)
- (Corporation) Added CorporationDivisions property to BitNodeMultipliers interface (@Caldwell-74)
- (Corporation) Added makesMaterials and makesProducts properties to CorpIndustryData interface (@Caldwell-74)
- (Corporation) Added issueNewSharesCooldown property to the CorporationInfo interface (@Caldwell-74)
- (Corporation) Significantly lowered ram cost of all corporation functions (@jjclark1982)
- (Gang) Added ns.gang.getRecruitsAvailable: Gets the number of additional gang members that can currently be recruited (@myCatsName)
- (Gang) Added ns.gang.respectForNextRecruit: Gets the respect threshold for recruiting the next gang member (@myCatsName)
- (Gang) Added ns.gang.renameMember: Renames a gang member (@myCatsName)

### BUGFIX

- Taking a university class no longer gives the player an achievement for working out in a gym (@myCatsName)
- Bash keybind ctrl-C clears an ongoing terminal history search (@ncharris93)
- (Corporation): Fix bug in valuation calculation (@yichizhng)
- (Corporation): Fix bug in share price calculation (@jjclark1982)
- (Corporation) "Same sell amount in all cities" works with Products again (@Caldwell-74)
- (Hashnet) Buying multiple company favor upgrades at the same time will actually apply them all instead of just one (@aschmider)

### OTHER CHANGES

- MISC: Improved handling of aliases in the Terminal (@ficocelliguy)
- MISC: Improved error messages for ns.getPurchasedServer (@ficocelliguy)
- MISC: ns.sleep and ns.asleep now show a formatted time in the script log. (@ficocelliguy)
- MISC: Fix an exploit that allowed over 100% utilization of a server's ram (@d0sboots)
- MISC: (Bladeburner / Sleeve) Bladeburner training action is available for sleeves (@Zelow79)
- MISC: (Gang) Renamed the Territory Warfare mechanic (now referred to as Territory Clashes) to deconflict with the Territory Warfare gang member task (@ficocelliguy)
- UI: Infiltration now hides tail windows instead of temporarily removing them from the page. This means position/size will remain as they were before the infiltration, and any React content will remain active instead of being unmounted/remounted (@ficocelliguy)
- UI: Faction augmentation page updates more reliably (@zerbosh)
- UI: Added a text filter on the Faction Augmentations page (@ficocelliguy)
- UI: Improved pagination of Active Scripts page (@Ookamiko, @ficocelliguy)
- UI: Icarus message no longer shows repeatedly for players that are in the endgame (@ficocelliguy)
- UI: Remove work completion dialogs when performing an augmentation install (@ficocelliguy)
- UI: Improve soft reset dialog, and always show dialog when soft resetting (@myCatsName)
- UI: While closing, modals no longer update displayed info and become inert (@Snarling)
- UI: (Bladeburner) Fix a possible NaN display value in Bladeburner (@zerbosh)
- UI: (Corporation) Multiple UI improvements for Corporation (@jjclark1982)
- UI: (Corporation) Tweaked some number formatting to look better in Corp and Stats page (@zerbosh)
- UI: (Corporation) Market TA no longer has its own dialog box, it's set in the normal sell dialog (@Caldwell-74)
- UI: (Corporation) Fix an incorrect value in the party dialog box (@aschmider)
- UI: (Corporation) Improved the descriptions for Corporation states (@Caldwell-74)
- UI: (Gang) Various UI improvements for Gang (@myCatsName)
- DOCS: Improve documentation for ports (@muesli4brekkies)
- DOCS: Updated documentation for ns.tail and ns.getScriptLogs to make it clear a PID can be used (@myCatsName)
- DOCS: Improve documentation for FilenameOrPID functions (@VictorS)
- DOCS: Improved various existing ingame documentation pages (@myCatsName)
- DOCS: (Bladeburner / Gang) Added initial ingame documentation for Bladeburner and Gang (@myCatsName)
- DOCS: (Bladeburner / Gang) Improve API documentation for Bladeburner and Gang functions (@myCatsName)

## v2.4.1 Update (8/26/23)

### FEATURE ADDITIONS:

- Added "Enable terminal history search with arrow keys" option in Misc options category, inspired by similar functionality in shells like zsh. (@ficocelliguy)

### BUGFIX:

- Fixed a bug where buying NeuroFlux Governor would buy one less level than expected (@zerbosh)
- Fixed an issue that could cause the Coding Contract UI to become unreachable (@myCatsName)
- Infiltration: Knowledge of Apollo aug no longer highlights the incorrect wires (@Snarling)

### CODEBASE / DOCS / MISC:

- Added a new theme "zerenity" (@Zelow79)
- Reorganize game constants (@zerbosh)
- Reorganize ingame documentation folder structure, simplify documentation bundling (@Snarling)
- IP Address coding contract accepts single-quoted entries (@myCatsName)
- Updated an outdated message on ns.killall logs (@myCatsName)
- Updated documentation for ns.share and ns.getSharePower (@myCatsName)
- Removed functions (like ns.getServerRam) are no longer shown when enumerating ns entries. (@Snarling)
- Removed more references to ReadTheDocs that remained after 2.4.0 (@hydroflame)
- Fixed some typos/spacing (@myCatsName)
- Fixed an issue with incorrect React keys in active scripts page (@zornlemma)

### API CHANGES (NON-SPOILER)

- Added ns.stock.getConstants (@Snarling)
- Added ownedAugs and ownedSF properties to return data of ns.getResetInfo (@Snarling)

### API CHANGES (SPOILERS):

- Added ns.singularity.getAugmentationFactions to provide a list of factions that have a given augmentation (@myCatsName)
- ns.corporation.getConstants now has a ram cost of 0 (@Snarling)

### OTHER CHANGES (SPOILERS):

- Successes for next level is now accurate in the UI for Bladeburner operations (@myCatsName)
- ns.sleeve.setToFactionWork no longer allows working for factions the player has not joined (@Snarling)

## v2.4.0 - Death to readthedocs

NETSCRIPT:

- Added ns.getFunctionRamCost
- Added run and install identifier

CORP:

- Add product investment info to API
- Prevent issues with invalid materials in warehouse
- Update exportMaterial amount to `number | string`
- Validate city with office for starting product development

DOCUMENTATION:

- readthedoc.bitburner.whatever has been fully deprecated.
  That documentation is now available in-game. This will make
  documentation easier to maintain and easier to keep locked
  with the specific version of the game you're playing.
  It's also in `.md`, which is more common than `.rst`
- Add `printRaw` and `tprintRaw` docs
- Better docs for `ascension` result
- Complete the spec for hamming codes enhancement
- Fix example code for `scp`

MISC.

- Fixed a bug where RAM calculation would be innacurate for near copy of scripts on different servers
- Fix mislead error message about ram miscalculation when script contains syntax errors.
- Fix bug in calculating faction donation amount
- Fix bug where Sleeve would have difficulty doing certain University activities.
- Fix regression for crime in progress
- Prevent log scrolling on Active Script window drag
- show all skills in import save comparison tool
- Fix extremely minor calculation error where money drained after hack was being floor()
- Fix ram evaluation to include more edge-cases
- Fix potential double-free in atExit()

CODEBASE:

- Work on Enum Helper + Reorganise
- enforce eslint react checks
- corp code style improvement
- Added a lot of typesafety

## 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 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)

BREAKING CHANGES: These changes may require changes to your scripts.

- Major changes to the SF3 mechanic. See the related section below for more detailed info on the changes.
- The same script filename can now be ran multiple times with the same args. If running a script from another script (ns.run/ns.exec/etc), this limitation can be re-imposed with the preventDuplicates RunOption (see general section for info on RunOptions).
- The same .js script will now be the same js module whether the script was ran directly or used as an import. This means top-level variables (variables defined outside of any function) are shared across all instances of the script.
- The js module for a script will also be reused by any script that has the exact same compiled text, even if that script is on another server or has a different filename. This can lead to unexpected results when using top-level variables.
- Some properties removed from ns.getPlayer and added to a separate function ns.getResetInfo. These are still accessible from getPlayer but will produce a warning message the first time they are accessed per game session.
- hackAnalyzeThreads now returns -1, instead of 0, when no money can be hacked from the targeted server.
- ns.iKnowWhatImDoing has been removed, replaced by ns.tprintRaw for printing custom react content to the terminal (limited support).

PERFORMANCE:

- Minimize impact of unavoidable memory leak when modules are created, by reusing modules as much as possible (@d0sboots)
- Internal data structure changes (@d0sboots, @Snarling)
- Fix memory leak when initializing large number of netscript ports (@Snarling)
- Improve performance while on the Active Scripts page if many scripts are starting/ending. (@d0sboots)

NETSCRIPT GENERAL:

- Remove requirement for script args to be unique. This was also related to performance improvements. (@d0sboots)
- ns.hackAnalyzeThreads no longer indicates infinity any time a single thread would hack less than $1 (@Snarling)
- ns.renamePurchasedServer no longer crashes if player is connected to the server being renamed (@Snarling)
- ns.hackAnalyzeThreads now return -1 (instead of 0) if no money can be hacked from the targeted server. (@d0sboots)
- Fix a possible infinite atExit loop if a script killed itself. (@Snarling)
- Static timestamps of last resets can be obtained via ns.getResetInfo, replacing playtimeSinceLastX from ns.getPlayer (@G4mingJon4s)
- Improved support for printing react content directly to the terminal (ns.tprintRaw) or to a script log (ns.printRaw).
- Added RunOptions, which can optionally replace the "threads" argument for ns.run/ns.exec/ns.spawn. (@d0sboots)
  - RunOptions.threads: Provide a thread count (since RunOptions can replace the threads argument)
  - RunOptions.temporary: Prevents the script execution from being included in the save file.
  - RunOptions.ramOverride: Provide a static ram cost for the script to override what is calculated by the game. Dynamic ram checking is still enforced.
  - RunOptions.preventDuplicates: Fail to launch the script if the args are identical to a script already running.

GENERAL / MISC:

- Fixed a bug that could cause the overview skill bars to become desynced (@d0sboots)
- There is now an autoexec setting to specify a script on home to automatically run when loading the game. (@d0sboots)
- Monaco script editor updated to a newer version and has more config options available now. (@Snarling)
- Improve Electron's handling of external links (@Snarling)
- Improved support for ANSI color codes (@d0sboots)
- Improved consistency of file paths. Correct names for files no longer start with a / even if they are in a directory. (@Snarling)
- All Math Expressions contract no longer accepts wrong answers (@Snarling)
- Faction invites now trigger immediately when backdooring a server. (@Snarling)
- Fixed issue where duplicate programs could be created. (@Minzenkatze)
- UI improvements to create program page (@Minzenkatze)
- Fix inconsistency in skill xp to skill level conversion (@hydroflame)
- Updated blood donation counter to reflect number of confirmed blood donations. (@hydroflame)
- Minor improvements to ram calculation process (@Snarling)
- Improved terminal arguments detection (@Snarling)
- Improved display for ls terminal command. (@Snarling)
- Added more internal tests and improved test quality (@d0sboots)
- Various codebase improvements (@Snarling, @d0sboots)
- Documentation improvements (Many contributors)
- Nerf noodle bar

SPOILER SECTIONS:

SF2:

- Corrected the "Next equipment unlock" text for member upgrades. (@LiamGeorge1999)

SF3:

- Many Corporation API changes, due to functionality changes and due to property name changes. See documentation for correct usage.
- Can now have multiple divisions within the same industry. (@Mughur)
- Can now sell a division or sell the entire corporation. (@Mughur)
- Product quality now depends on material quality (@Mughur)
- Product price can be set separately per-city (@Mughur)
- Exports can be set relative to inventory or production (@Mughur)
- ns.corporation.getProduct is city-specific (@Mughur)
- Bulk purchasing is available from the start (@Mughur)
- Can buy multiple upgrades at a time, similar to hacknet node upgrades (@Mughur)
- Various UI changes (@Mughur)
- Removed happiness from employees (@Mughur)
- Coffee renamed to tea (@Mughur)
- Training position renamed to intern (@Mughur)
- More options for SmartSupply (@Mughur)
- Advertising nerf (@Mughur)
- Nerfed investors and reduced effectiveness of "fraud" (@Mughur)
- Fixed React errors, renamed most corp object properties (@Snarling)
- Various other changes (@Mughur, @Snarling)

SF4:

- Faction invites trigger immediately when running ns.singularity.getFactionInvitations (@Snarling)
- Added ns.singularity.getCompanyPositionInfo (@jeek)

SF6:

- Failing a contract or operation now consumes the action (@Zelow79)

SF9:

- The SF9.3 bonus is also given to the player when inside of BN9. (@Zelow79)
- Adjusted the SF1 bonus for hacknet costs (slight nerf), and raised the SF9 bonus to compensate. (@d0sboots)
- Added option to purchase company favor using hashes. (@jeek)

SF10:

- Sleeve shock recovery now scales with intelligence. (@Tyasuh)
- Sleeve kills during crimes count towards numPeopleKilled (@Zelow79)
- Fix a misspelled moneySourceTracker call for sleeves (@zerbosh)
- ns.sleeve.getTask return value now includes cyclesNeeded where applicable (@Snarling)
- Internal type refactoring on Sleeve Work. (@Snarling)

SF12:

- Fix inconsistency in how BN12 multipliers were calculated

SF13:

- Improve performance of Stanek's gift update cycle, and rework (buff) bonus time handling. (@Snarling)

## v2.2.2 - 21 Feb 2023

PLANNED 2.3 BREAKING CHANGES:

- 2.3 will include a large planned rework to corporation. This may cause api breaks for any corporation scripts, and there will be large changes in how the corporation mechanic functions.

NETSCRIPT API:

- Added ns.formatNumber, ns.formatRam, and ns.formatPercent, which allow formatting these types of numbers the same way the game does (@Snarling, See UI section).
- Deprecated ns.nFormat. Likely to be removed in 2.3. Now just directly wraps numeral.format (@Snarling)
- EXPERIMENTAL CHANGE (may be reverted next patch): BasicHGWOptions now allows specifying a number of additionalMsec. This should allow easier and more reliable coordination
  of completion times for hack, grow, and weaken. Since this is an experimental change, be prepared for a possible API break next patch if you use this functionality. (@d0sboots)

- Corporation API:

  - Fix bugs with ns.corporation.setAutoJobAssignment. (@zerbosh and @croy)

- Formulas API:

  - Added ns.formulas.hacking.growThreads function (@d0sboots)

- Sleeve API:

  - ns.sleeve.getTask now also includes cyclesWorked for the task types where this applies. (@Zelow79)
  - Added ns.sleeve.setToIdle function (@Zelow79)

- Unsupported API:

  - Added ns.printRaw - allows printing custom React content to script logs. Use at your own risk, misuse is very likely to cause a crash. (@d0sboots)

ELECTRON (STEAM) VERSION:

- Fix security issue where player scripts were allowed to access any part of the player's filesystem. Now access is limited to the game's 'dist' folder. (@Snarling)

SCRIPTS:

- Fix an issue where multiple copies of the same script could be launched with same args/same server (@Mughur)
- Followup changes to API wrapping from 2.2.1 changes. (@d0sboots)

UI:

- Add new number formatting code to replace internal use of unmaintained package numeral.js. Added several Numeric Display options. (@Snarling)
- Removed ingame donation section. (@hydroflame)
- Improve some bladeburner number formatting (@Zelow79)
- Added IronMan theme (@MattiYT)
- Factions that have not been joined yet will show how many unowned augments they have available. (@Zelow79)
- Added more features to dev menu (@Zelow79 and @Snarling)

CORPORATION:

- Reverted previous change to employee needs. Now they will trend up on their own again. (@d0sboots)
- Improvements to how Market TA II works (@d0sboots)
- ns.corporation.getOffice return value now includes a totalExperience property. (@Snarling)

HACKNET:

- Hacknet servers are now named hacknet-server-# instead of hacknet-node-#. (@Tyasuh)
- Fix bug related to renaming hacknet servers (@Mughur)

GRAFTING:

- Bladeburner augs can be grafted if player is in Bladeburner faction (@Tyasuh)

DOCUMENTATION

- Many documentation updates (@Mughur, @d0sboots, @Snarling, @teauxfu).
- Official non-markdown docs are at https://github.com/bitburner-official/bitburner-src/tree/dev/src/Documentation/doc
- Official dev version markdown docs are at https://github.com/bitburner-official/bitburner-src/blob/dev/markdown/bitburner.ns.md
- Official stable version markdown docs are at https://github.com/bitburner-official/bitburner-src/blob/stable/markdown/bitburner.ns.md
- Dev version documentation is now kept up to date as changes are made. (@Snarling)

CODEBASE:

- Updated many dependencies (@d0sboots)
- Updated lots of the build processes and GitHub workflows. (@Snarling)
- Internal refactoring of how BitNode multipliers are stored (@d0sboots)
- Added some extra helper function (useRerender hook, positiveInteger ns argument validator). (@Snarling)

MISC:

- Nerf noodle bar

## v2.2.1 Hotfixes

Hotfix / bugfix:

- (@d0sboots) Implemented a new API wrapping solution that prevents the need for binding functions to ns when placing them in a new variable, but maintains and perhaps improves upon the performance gains from the previous v2.2.0 changes.
- Fixed some issues with savegames failing to load, or causing the main engine loop to stall after load.
- Fixed an issue where .script files were not receiving the correct args when ran
- Fixed an issue with sleeve HP calculation
- Possible fix for MathJax "Typesetting Failed" errors
- There was an issue with Corporations decaying their employees to 0 stats, even though the minimum was supposed to be 5. Moved the variable storing the min decay value to corporation constants, and raised it to 10.
- Regenerated documentation at https://github.com/bitburner-official/bitburner-src/blob/dev/markdown/bitburner.ns.md due to corporation changes related to min decay stats.
- Faction XP was unintentionally providing 20x the experience gain as it did prior to v2.0. This caused faction work to exceed gym/university as the optimal way to gain experience. Values have been reduced to only about 2x what they were prior to v2.0, and they are no longer better than gym/university.
- Fixed an issue where the overview skill bars could be displayed inaccurately based on player multipliers.

## v2.2.0 - Jan 2 2023 Development Reboot

Dev notes

- The previous main developer, hydroflame, is stepping back from this project for the foreseeable future. To facilitate this, we've moved the repo to a new location at https://github.com/bitburner-official/bitburner-src.
- Sorry for the large number of API breaks in this version. To ease the pain here, attempting to use any of the removed functions will provide an error guiding you to the new replacement function to use instead.

BREAKING API CHANGES:

- No longer applicable as of v2.2.1! (ns2 only) ns functions use the 'this' value from ns: if you move the function to its own variable off of ns, it needs to be bound to ns. The internal changes that make this necessary led to very large performance gains for running many scripts at once. e.g.:

  const tprint1 = ns.tprint; // This doesn't work and will error out when calling tprint1();

  const tprint = ns.tprint.bind(ns); // This works because the 'this' value is preserved.

- ns.getPlayer no longer provides properties tor, inBladeburner, or hasCorporation. This information can be looked up using standlone functions: ns.hasTorRouter(), ns.bladeburner.inBladeburner(), ns.corporation.hasCorporation().
- Removed many functions, with replacement ways to get the same info.

  - getServerRam: use getServerMaxRam and getServerUsedRam instead.
  - corporation.assignJob: use setAutoJobAssignment instead.
  - corporation.getEmployee: No longer available (employees are not individual objects).
  - corporation.getExpandCityCost: use ns.corporation.getConstants().officeInitialCost
  - corporation.getExpandIndustryCost: use getIndustryData instead.
  - corporation.getIndustryTypes: use ns.corporation.getConstants().industryNames
  - corporation.getMaterialNames: use ns.corporation.getConstants().materialNames
  - corporation.getPurchaseWarehouseCost: use ns.corporation.getConstants().warehouseInitialCost
  - corporation.getResearchNames: use ns.corporation.getConstants().researchNames
  - corporation.getUnlockables: use ns.corporation.getConstants().unlockNames
  - corporation.getUpgradeNames: use ns.corporation.getConstants().upgradeNames
  - formulas.work.classGains: split into universityGains and gymGains
  - singularity.getAugmentationCost: use getAugmentationPrice and getAugmentationRepReq instead
  - sleeve.getSleeveStats: use getSleeve instead
  - sleeve.getInformation: use getSleeve instead

- An error dialog will inform the player of the above API changes if the player tries to use one of the removed functions above.
- enums.toast was renamed ToastVariant to provide consistency with internal code.

- codingcontract.attempt always returns a string (empty string for a failed attempt). This may break player code if a direct boolean comparison (e.g. 'attemptResult === true') was being made. The string can be used directly as the conditional, because empty string evaluates to false as a boolean.

- corporation.getCorporation().divisions now returns an array of division names, instead of division objects. Use corporation.getDivision(name) to get the division info object.

DEVELOPMENT

- Development repo moved to https://github.com/bitburner-official/bitburner-src
- Dev version available on web at https://bitburner-official.github.io/bitburner-src/
- Development is active again for non-bugfix.
- A bunch of fixes, setup, and assistance related to moving to a new repo (@hydroflame)

TUTORIAL

- Removed NS1/NS2 selection. Tutorial now only references .js files (NS1 is essentially deprecated) (@Mughur)
- Fix Ram Text (by @jaculler)

NETSCRIPT

- Base NS API:
  - More enums and more types are exposed to the player instead of "magic strings", as type documentation and on ns.enums.
  - Added ns.pid property to access a script's PID without a function call. (@jeek)
  - Much faster API wrapping on script launch. (@d0sboots) To support this, ns functions need to keep their "this" value from their parent object.
  - tFormat: Fix display for negative time
  - ns.getPlayer: removed tor, inBladeburner, and hasCorporation properties
  - Added ns.hasTorRouter() function.
- Coding Contract API
  - ns.codingcontract.attempt always returns a string. (@Snarling)
- Corporation API
  - Removed ns.corporation.getEmployee and ns.corporation.assignJob, due to employees no longer being objects.
  - Added ns.corporation.hasCorporation()
  - Reworked how ram costs are applied for corporation.
- Formulas API
  - ns.formulas.work.classGains removed, replaced with ns.formulas.work.universityGains and ns.formulas.work.gymGains (@Snarling)
  - Add ns.formulas.work.companyGains function (@AlexeyKozhemiakin)
- Ports
  - added portHandle.nextWrite() (@LJNeon)
  - Make ns.writePort synchronous (@Snarling)
- Sleeve API
  - ns.sleeve.getSleeve added. getPlayer and getSleeve can both be used for formulas. (@Snarling)
  - getSleeve also includes storedCycles (i.e. bonusTime) (@zerbosh)
- Stock API
  - ns.stock.getOrganization added for getting org from stock symbol (@SamuraiNinjaGuy)

SCRIPTS

- Fixed bug where zombie scripts could be created after a soft reset (@Snarling)
- Scripts now have a maximum ram cost of 1024GB per thread.

SCRIPT LOGS

- Add ctrl-a support for selecting all text in tail window (@Snarling)

CORPORATION

- Remove corp employees as objects (by @Kelenius)
- API access is provided automatically if the player is in BN3. (@zerbosh)
- Happiness/Energy/Morale trend down even for productive corps (by @Snarling)
- Typo fixes in modals to sell materials and products (by @quacksouls)
- Reworked MP formula validation to prevent possible save corruption on invalid entry (by @Snarling)
- Internal reorganization of Industry data (by @Snarling)
- Added check to material buy amount (by @G4mingJon4s)
- Check there is room to make a new product before opening popup. (by @G4mingJon4s)
- Fix typos in research descriptions (by @quacksouls)

SLEEVE

- Fixed inconsistencies in how sleeve work rewards are handled. (by @Snarling)
- Fix bug that prevented selecting some crimes from UI. (by @Snarling)
- Internally shock starts at 100 and lowers to 0. Previously this was backwards.

STOCKMARKET

- Fix broken initializer when manually buying WSE access (by @Snarling)

TERMINAL

- Added changelog command to re-display the changelog dialog.
- Connect command will connect to player owned servers from anywhere. (by @Snarling)

UI

- Improve UI performance of sidebar and character overview using memoization (@d0sboots)
- Other UI additions / improvements (@Mughur, @d0sboots, probably others)
- Fixed spacing of text in Trade for reputation button after Infiltration (by @PyroGenesis)
- Fix spacing on ANSI background escape codes (by @Snarling)
- Fix several instances where newlines were not being displayed properly (by @quacksouls)
- SoftResetButton.tsx Tooltip changed to make more sense (by @rai68)
- GANG: Fix Gang UI to correctly report the bonus time multiplier as 25x (by @TheMas3212)
- Change formatting for skill levels to use localeStr (@G4mingJon4s)

DOC

- Fix incorrect examples for grow (by @quacksouls)
- Updated limitMaterialProduction() and limitProductProduction() documentation to mention removing limits. (by @PyroGenesis)
- Add ns documentation for possible sleeve tasks (by @Snarling)
- Update documentation for workForFaction and workForCompany (by @quacksouls)
- Improve CCT documentation for HammingCodes (by @quacksouls)
- cleanup in doc of Netscript functions (by @quacksouls)
- Various other doc fixes (by @quacksouls)
- Update documentation for ns.args (by @Snarling)
- De-uglify ns.print examples (by @LJNeon)

STATS

- Fix logic for increasing HP based on defense skill levels (by @mattgarretson)
- Fix a bug where HP could be something other than max after a bitnode reset.

INFILTRATION

- Fix SlashGame scaling. (by @Snarling)

GANG

- When starting a gang, any in progress work with that faction will end. (@G4mingJon4s)

MISC

- Lots of typesafety improvements with internal code
- Remove google analytics (@hydroflame)
- Some error handling streamlining (by @Snarling)
- fix: check both ts and js source now (by @Tanimodori)
- chore: sync version in package-lock.json (by @Tanimodori)
- Better safety when loading game for multiple save corruption issues (by @Snarling)
- Nerf Noodle bar

## v2.1.0 - 2022-09-23 Remote File API

Dev note

- The most important change about this update is the introduction of the Remote File API (RFA).
  With this we also deprecate the HTTP file API and the Visual Studio extension. Those things
  were made during the rush of Steam and aren't well thought out. This new process works with
  both the web and Steam version of the game and every text editor. Moving forward we also
  won't be doing much, if any, upgrades to the in-game editor. We think it's good enough for
  now and if you need more we recommend you hook up your favorite external editor.

--- NEW FEATURES ---

- New Remote File API for transmitting files to the game (by @Hoekstraa)
- Added a new Augmentation, Z.O.Ë., which allows Sleeves to benefit from Stanek.

--- FIXES ---

API

- Remove incorrectly placed 's' in ns.tFormat() (by @LJNeon)
- More ports (previously max 20, now practically unlimited) (by @Hoekstraa)
- Corp functions now return copy of constant arrays instead of the original (by @Mughur)
- All the player sub-objects need to be copied for `getPlayer`. (by @MageKing17)
- add corp get<constant> functions, UI (by @Mughur)
- destroyW0r1dD43m0n now properly gives achievements
- favor now properly syncs across pages and the Donate achievement is now given correctly (by @Aerophia)
- getCrimeStats use bitnode multipliers in the output of crime stats (by @phyzical)
- add singularity function for exporting game save back (by @phyzical)

CODING CONTRACTS

- inconsistent probability for generation between online and offline (by @quacksouls)
- Don't stringify answer if already a string (by @alainbryden)
- change input handling for contract attempts (by @Snarling)

CORPORATION

- Bunch of corporation fixes (by @Mughur)
- Gave investors some economics classes (by @Mughur)
- Limit shareholder priority on newly issued shares (by @Undeemiss)
- dont take research points for something already researched via api (by @phyzical)

CORPORATION API

- Fix up param order for limitProductProduction to match docs (by @phyzical)
- Expose exports from Material (by @Rasmoh)

DOCUMENTATION

- update docs a bit more, amending some BN and SF texts (by @Mughur)
- Fixed Argument order for scp() (by @njalooo)
- Some typo fixes in Netscript functions (by @quacksouls)
- Why use Coding Contract API (by @quacksouls)
- typo fix in description of Caesar cipher (by @quacksouls)
- typo fix in terminal.rst (by @BugiDev)
- Update bitburner.sleeve.settobladeburneraction.md (by @borisflagell)
- Correct documentation for `run()` with 0 threads. (by @MageKing17)
- Some doc updates (by @Mughur)
- fix documentation for remote api (by @hydroflame)

NETSCRIPT

- Added functions to resize, move, and close tail windows
- ns.exit now exits immediately (by @Snarling)
- Fix dynamic ram check (by @Snarling)
- ns1 wraps deeper layers correctly. (by @Snarling)
- Prevent bladeburner.setActionLevel from setting invalid action levels (by @MPJ-K)
- Typo fixes in CodingContract, Hacknet, Singularity APIs (by @quacksouls)
- Fix a typo in doc of Singularity.travelToCity() (by @quacksouls)
- Update netscript definition file for scp, write, read, and flags (by @Snarling)
- Correct missing ! for boolean coercion in Corporation.createCorporation(). (by @Risenafis)
- Normalized Stock API logging (by @Snarling)
- allow null duration in toast ns function (by @RollerKnobster)
- Correct missing `!` for boolean coercion in `singularity.workForCompany()`. (by @MageKing17)
- ns.scp and ns.write are now synchronous + fix exec race condition (by @Snarling)
- atExit now allows synchronous ns functions (by @Snarling)
- Improve real life CPU and memory performance of scripts. (by @Snarling)
- Prompt Add user friendly message to avoid throwing recovery screen for invalid choices (by @phyzical)
- Rerunning a script from tail window recalculates ram usage (by @Snarling)
- The correct script will be closed even if the player modifies args (v2.0) (by @Snarling)
- Corrected ns formula for infiltration rewards (by @ezylot)
- Add singularity check for finishing company work (by @Snarling)

SLEEVES

- Allow using the regeneration chamber with sleeves to heal them. (by @coderanger)
- fix crash when player tries to assign more than 3 sleeves to Bladeburner contracts (by @Snarling)
- Sleeves no longer crash when player quits company sleeve was working (by @Snarling)
- Sleeve crime gain bitnode multiplier fix (by @Mughur)

REMOTE FILE API

- NetscriptDefinitions retains export strings (by @Hoekstraa)
- Fix type of RFAMessages with non-String results (by @Hoekstraa)

UI

- add a setting to display middle time unit in Time Elapsed String (by @hydroflame)
- fix incorrect experience display in Crime UI. (by @SilverNexus)
- Bitnode stats now show if BB/Corporation are disabled (by @Kelenius)
- Removed three empty lines from BB status screen (by @Kelenius)
- Add missing space to BN7 description (by @hex7cd)
- Improvements to crime work UI (by @Kelenius)
- Script Editor more responsive on resize, and fix dirty file indicator (by @Snarling)

MISC

- Added weight to GangMemberTask construction call (by @ezylot)
- Fix ANSI display bugs (by @Snarling)
- Debounce updateRAM calls in script editor. (by @Snarling)
- Allow characters & and ' in filenames (by @Snarling)
- Corrected tutorial text (by @mihilt)
- Fix infil definitions.d.ts (by @phyzical)
- Modify PR template (by @Hoekstraa)
- crime gains, sleeve gang augs and faq (by @Mughur)
- Preventing server starting security level from going above 100 (by @Shiiyu)
- Adds Shadows of Anarchy (by @Lagicrus)
- Added intormation about hacking managers to hacking algorithms page (by @Kelenius)
- Fix Jest CI Error (by @geggleto)
- multiple hasAugmentation checks didn't check if the augment was installed (by @Mughur)
- & (by @G4mingJon4s)
- Adds info regarding augments and focus (by @Lagicrus)
- Removed console.log line (by @dhosborne)
- Update some doc (by @hydroflame)
- trying to fix int problems (by @hydroflame)
- Fix broken ns filesnames (by @hydroflame)
- new formula functions (by @hydroflame)
- test fixes/md updates (by @phyzical)
- Remove "based" from positive adjectives in infiltrations (by @faangbait)
- minor fix in instance calculation (by @hydroflame)
- fix dynamic ram miscalc not triggering (by @hydroflame)
- Refactor game options into separate components (by @hydroflame)
- fix settings unfocusing on every key stroke (by @hydroflame)
- fix some stuff with the timestamp settings (by @hydroflame)
- Fix unique key problem with ascii elements (by @hydroflame)
- Improve wrong arg user message and add ui.windowSize (by @hydroflame)
- fix stack trace missing in some errors (by @hydroflame)
- Fix scp and write in ns1 (by @hydroflame)
- Did some changes of the remote api and added documentation (by @hydroflame)
- Add dummy function to generate a mock server or player for formulas stuff (by @hydroflame)
- fix compile error (by @hydroflame)
- regen doc (by @hydroflame)
- rm console log (by @hydroflame)
- regen doc (by @hydroflame)
- Added more info about blood program, change some aug descriptions (by @hydroflame)
- use triple equal (by @hydroflame)
- Minor improvements to Netscript Port loading and unloading (by @hydroflame)
- Fix hostname generation being weird about dash 0 added (by @hydroflame)
- upgrade version number. (by @hydroflame)
- Nerf noodle bar.

## v2.0.0 - 2022-07-19 Work rework

API break rewards

- Everyone is awarded 10 NFG.
- All work in progress program is auto completed.
- All work in progress crafting is auto completed without adding entropy.

  Work (Create program / Work for faction / Studying / etc ...)

- Working has been rebuilt from the grounds up. The motivation for that change is that all
  different types of work all required different cached variables on the main Player object.
  This caused a lot of bugs and crashes. It's been reworked in such a way as to prevent bugs
  and make it nearly trivial to add new kinds of work. However, since this caused a few API break
  I've decided to mark this version following semver protocols and call it 2.0.0
- Crime can be unfocused and auto loops, no more spam clicking.
- All work type give their reward immediately. No need to stop work to bank rewards like reputation.
- Faction and Company work no longer have a time limit.
- Company work no longer reduces rep gain by half for quitting early.
- Company faction require 400k rep to join (from 200k)
- Backdooring company server reduces faction requirement to 300k.
- All work generally no longer keep track of cumulative gains like exp and reputation since it's applied instantly.
- getPlayer returns way less fields but does return the new 'currentWork' field, some fields are moved around.

API breaks

- workForCompany argument 'companyName' is now not-optional
- commitCrime now has 'focus' optional parameter
- using getScriptIncome to get total income has been separated to getTotalScriptIncome.
- using getScriptExpGain to get total income has been separated to getTotalScriptExpGain.
- scp has it's 2 last argument reversed, the signature is now (files, destination, optional_source)
- ns.connect and other singularity function are no longer available at the top level.
  They were already hidden from documentation but now they're gone.
- stock.buy and stock.sell were renamed to stock.buyStock and stock.sellStock because 'buy' and 'sell'
  are very common tokens.
- corporation.bribe no longer allows to give shares as bribe.

  Netscript

- Add singularity.getCurrentWork
- Add singularity.getAugmentationBasePrice
- Add sleeve.getSleeveAugmentationPrice
- Add sleeve.getSleeveAugmentationRepReq
- Fix infiltration.getInfiltrationLocations
- Singularity.goToLocation support for non-city-specific locations (@Ansopedian)
- All corporation functions are synchronous. Job assignment only works on the following cycle. (@stalefishies)
- Add batch functionality to NS spendHashes API (@undeemiss)
- Fix #3661 Add missing memory property to Sleeve API (@borisflagell)
- FIX#3732 Cannot assign two sleeve on "Take on contracts" regardless of contract type. (@borisflagell)

  Corporation

- Dividend fixes and exposing dividends info via scripts (@stalefishies)
- Add big number format support in some Corporation's modal (@borisflagell)
- Fix #3261 Industry overview number formatting (@nickofolas)

  Multipliers

- The main player object was also plagues with a million fields all called '\*\_mult'. Representing the different multipliers
- These have been refactored in a field called 'mults'.

  Misc.

- #3596 Enhanced terminal command parsing (@RevanProdigalKnight)
- Fix #3366 Sleeve UI would sometimes displays the wrong stat while working out. (@borisflagell)
- Two new encryption themed contracts - caesar and vigenere (@Markus-D-M)
- Fixes #3132 several Sleeve can no longer works concurrently in the same company (@borisflagell)
- FIX #3514 Clear recently killed tab on BN end event (@Daniel-Barbera)
- HammingCodes description and implementation fixes (@s2ks)
- FIX #3794 Sleeve were getting less shocked when hospitalized (was positive, should have detrimental) (@borisflagell)
- Fix #3803 Servers can no longer have duplicate IPs (@crimsonhawk47)
- Fix #3854 ctrl+c does not clear terminal input (@evil-tim)
- Nerf noodle bar, obviously.

## v1.6.3 - 2022-04-01 Few stanek fixes

Stanek Gift

- Has a minimum size of 2x3
- Active Fragment property 'avgCharge' renamed to 'highestCharge'
- Formula for fragment effect updated to make 561% more sense.
  Now you can charge to your heart content.
- Logs for the 'chargeFragment' function updated.

  Misc.

- Nerf noodle bar.

## v1.6.0 - 2022-03-29 Grafting

** Vitalife secret lab **

- A new mechanic called Augmentation Grafting has been added. Resleeving has been removed.
- Credit to @nickofolas for his incredible work.

** Stanek **

- BREAKING: Many functions in the stanek API were renamed in order to avoid name collision with things like Map.prototype.get

** UI **

- Major update to Sleeve, Gang UI, and Create Program (@nickofolas)
- re-add pre tags to support slash n in prompt (@jacktose)
- Tabelize linked output of 'ls' (@Master-Guy)
- Add the ability to filter open scripts (@phyzical)
- Add minHeight to editor tabs (@nickofolas)
- Properly expand gang equipment cards to fill entire screen (@nickofolas)
- Add shortcut to Faction augmentations page from FactionsRoot (@nickofolas)
- Fix extra space on editor tabs (@nickofolas)
- Present offline message as list (@DSteve595)
- add box showing remaining augments per faction (@jjayeon)
- Add tab switching support to vim mode (@JParisFerrer)
- Show current task on gang management screen (@zeddrak)
- Fix for ui of gang members current task when set via api (@phyzical)
- Don't hide irrelevant materials if their stock is not empty and hide irrelevant divisions from Export (@SagePtr)
- Fix regex to enable alpha transparency hex codes (8 digits) (@surdaft)

** API **

- Added dark web functions to ns api
- BREAKING: purchaseTor() should returns true if player already has Tor. (@DavidGrinberg, @waffleattack)
- Implement getBonusTime in Corporation API (@t-wolfeadam)
- Added functions to purchase TIX and WSI (@incubusnb)
- purchaseSleeveAug checks shock value (@incubusnb)
- Fix bug with hacknet api
- Fix spendHashes bug
- Added 0 cost of asleep() (@Master-Guy)
- Fix some misleading corporation errors (@TheRealMaxion)
- expose the inBladeburner on the player object (@phyzical)
- added ram charge for stanek width and height (@phyzical)
- Fix sufficient player money check to buy back shares. (@ChrissiQ)
- Fix Static Ram Circumventing for some NS functions (@CrafterKolyan)
- added CorporationSoftCap to NetscriptDefinitions (@phyzical)
- Added definition of autocomplete() 'data' argument. (@tigercat2000)
- Adding support for text/select options in Prompt command (@PhilipArmstead)
- Added the ability to exportGame via api (@phyzical)

** Arcade **

- Added an arcade to New Tokyo where you can play a 4 year old version of bitburner.

** Misc. **

- Add a warning triggered while auto-saves are off. (@MartinFournier)
- Log info for field analysis now displays actual rank gained. (@ApamNapat)
- Removed BladeburnerSkillCost from skill point cost description. (@ApamNapat)
- Fix handling for UpArrow in bladeburner console. (@dowinter)
- Add GitHub action to check PRs for generated files. (@MartinFournier)
- Cap Staneks gift at 25x25 to prevent crashes. (@waffleattack)
- Remove old & unused files from repository. (@MartinFournier)
- Factions on the factions screens are sorted by story progress / type. (@phyzical)
- Fix log manager not picking up new runs of scripts. (@phyzical)
- Added prettier to cicd.
- UI improvements (@phyzical)
- Documentation / Typos (@nanogyth, @Master-Guy, @incubusnb, @ApamNapat, @phyzical, @SagePtr)
- Give player code a copy of Division.upgrades instead of the live object (@Ornedan)
- Fix bug with small town achievement.
- Fix bug with purchaseSleeveAug (@phyzical)
- Check before unlocking corp upgrade (@gianfun)
- General codebase improvements. (@phyzical, @Master-Guy, @ApamNapat)
- Waiting on promises in NS1 no longer freezes the script. (@Master-Guy)
- Fix bug with missing ramcost for tFormat (@TheMas3212)
- Fix crash with new prompt
- Quick fix to prevent division by 0 in terminal (@Master-Guy)
- removed ip references (@phyzical, @Master-Guy)
- Terminal now supports 'ls -l'
- Fix negative number formatting (@Master-Guy)
- Fix unique ip generation (@InDieTasten)
- remove terminal command theme from docs (@phyzical)
- Fix 'Augmentations Left' with gang factions (@nickofolas)
- Attempt to fix 'bladeburner.process()' early routing issue (@MartinFournier)
- work in progress augment fix (@phyzical)
- Fixes missing space in Smart Supply (@TheRealMaxion)
- Change license to Apache 2 with Commons Clause
- updated regex sanitization (@mbrannen)
- Sleeve fix for when faction isnt found (@phyzical)
- Fix editor "close" naming (@phyzical)
- Fix bug with sleeves where some factions would be listed as workable. (@phyzical)
- Fix research tree of product industries post-prestige (@pd)
- Added a check for exisiting industry type before expanding (@phyzical)
- fix hackAnalyzeThreads returning infinity (@chrisrabe)
- Make growthAnalyze more accurate (@dwRchyngqxs)
- Add 'Zoom -> Reset Zoom' command to Steam (@smolgumball)
- Add hasOwnProperty check to GetServer (@SagePtr)
- Speed up employee productivity calculation (@pd)
- Field Work and Security Work benefit from 'share' (@SagePtr)
- Nerf noodle bar.

## v1.5.0 - Steam Cloud integration

** Steam Cloud Saving **

- Added support for steam cloud saving (@MartinFournier)

** UI **

- background now matches game primary color (@nickofolas)
- page title contains version (@MartinFourier)
- Major text editor improvements (@nickofolas)
- Display bonus time on sleeve page (@MartinFourier)
- Several UI improvements (@nickofolas, @smolgumball, @DrCuriosity, @phyzical)
- Fix aug display in alpha (@Dominik Winter)
- Fix display of corporation product equation (@SagePtr)
- Make Bitverse more accessible (@ChrissiQ)
- Make corporation warehouse more accessible (@ChrissiQ)
- Make tab style more consistent (@nickofolas)

** Netscript **

- Fix bug with async.
- Add 'printf' ns function (@Ninetailed)
- Remove blob caching.
- Fix formulas access check (@Ornedan)
- Fix bug in exp calculation (@qcorradi)
- Fix NaN comparison (@qcorradi)
- Fix travelToCity with bad argument (@SlyCedix)
- Fix bug where augs could not be purchased via sing (@reacocard)
- Fix rounding error in donateToFaction (@Risenafis)
- Fix bug with weakenAnalyze (@rhobes)
- Prevent exploit with atExit (@Ornedan)
- Double 'share' power

** Corporations **

- Fix bugs with corp API (@pigalot)
- Add smart supply func to corp API (@pd)

** Misc. **

- The file API now allows GET and DELETE (@lordducky)
- Force achievement calculation on BN completion (@SagePtr)
- Cleanup in repository (@MartinFourier)
- Several improvements to the electron version (@MartinFourier)
- Fix bug with casino roulette (@jamie-mac)
- Terminal history persists in savefile (@MartinFourier)
- Fix tests (@jamie-mac)
- Fix crash with electron windows tracker (@smolgumball)
- Fix BN6/7 passive reputation gain (@BrianLDev)
- Fix Sleeve not resetting on install (@waffleattack)
- Sort joined factions (@jjayeon)
- Update documentation / typo (@lethern, @Meowdoleon, @JohnnyUrosevic, @JosephDavidTalbot,
  @pd, @lethern, @lordducky, @zeddrak, @fearnlj01, @reasonablytall, @MatthewTh0,
  @SagePtr, @manniL, @Jedimaster4559, @loganville, @Arrow2thekn33, @wdpk, @fwolfst,
  @fschoenfeldt, @Waladil, @AdamTReineke, @citrusmunch, @factubsio, @ashtongreen,
  @ChrissiQ, @DJ-Laser, @waffleattack, @ApamNapat, @CrafterKolyan, @DSteve595)
- Nerf noodle bar.

## v1.4.0 - 2022-01-18 Sharing is caring

** Computer sharing **

- A new mechanic has been added, it's is invoked by calling the new function 'share'.
  This mechanic helps you farm reputation faster.

** gang **

- Installing augs means losing a little bit of ascension multipliers.

** Misc. **

- Prevent gang API from performing actions for the type of gang they are not. (@TheMas3212)
- Fix donation to gang faction. (@TheMas3212)
- Fix gang check crashing the game. (@TheMas3212)
- Make time compression more robust.
- Fix bug with scp.
- Add zoom to steam version. (@MartinFourier)
- Fix donateToFaction accepts donation of NaN. (@woody-lam-cwl)
- Show correct hash capacity gain on cache level upgrade tooltip. (@woody-lam-cwl)
- Fix tests (@woody-lam-cwl)
- Fix cache tooltip (@woody-lam-cwl)
- Added script to prettify save file for debugging (@MartinFourier)
- Update documentation / typos (@theit8514, @thadguidry, @tigercat2000, @SlyCedix, @Spacejoker, @KenJohansson,
  @Ornedan, @JustAnOkapi, @nickofolas, @philarmstead, @TheMas3212, @dcragusa, @XxKingsxX-Pinu,
  @paiv, @smolgumball, @zeddrak, @stinky-lizard, @nickofolas, @Feodoric, @daanflore,
  @markusariliu, @mstruebing, @erplsf, @waffleattack, @Dexalt142, @AIT-OLPE, @deathly809, @BuckAMayzing,
  @MartinFourier, @pigalot, @lethern)
- Fix BN3+ achievement (@SagePtr)
- Fix reputation carry over bug (@TheMas3212)
- Add button to exit infiltrations (@TheMas3212)
- Add dev menu achievement check (@TheMas3212)
- Add 'host' config for electron server (@MartinFourier)
- Suppress save toast only works for autosave (@MartinFourier)
- Fix some achievements not triggering with 'backdoor' (@SagePtr)
- Update Neuroflux Governor description.
- Fix bug with electron server.
- Fix bug with corporation employee assignment function (@Ornedan)
- Add detailed information to terminal 'mem' command (@MartinFourier)
- Add savestamp to savefile (@MartinFourier)
- Dev menu can apply export bonus (@MartinFourier)
- Icarus message no longer applies on top of itself (@Feodoric)
- purchase augment via API can no longer buy Neuroflux when it shouldn't (@Feodoric)
- Syntax highlighter should be smarter (@neuralsim)
- Fix some miscalculation when calculating money stolen (@zeddrak)
- Fix max cache achievement working with 0 cache (@MartinFourier)
- Add achievements in the game, not just steam (@MartinFourier)
- Overflow hash converts to money automatically (@MartinFourier)
- Make mathjax load locally (@MartinFourier)
- Make favor calculation more efficient (@kittycat2002)
- Fix some scripts crashing the game on startup (@MartinFourier)
- Toasts will appear above tail window (@MartinFourier)
- Fix issue that can cause terminal actions to start on one server and end on another (@MartinFourier)
- Fix 'fileExists' not correctly matching file names (@TheMas3212)
- Refactor some code to be more efficient (@TheMas3212)
- Fix exp gain for terminal grow and weaken (@nickofolas)
- Refactor script death code to reject waiting promises instead of resolving (@Ornedan)
- HP recalculates on defense exp gain (@TheMas3212)
- Fix log for ascendMember (@TheMas3212)
- Netscript ports clear on reset (@TheMas3212)
- Fix bug related to company (@TheMas3212)
- Fix bug where corporation handbook would not be correctly added (@TheMas3212)
- Servers in hash upgrades are sorted alpha (@MartinFourier)
- Fix very old save not properly migrating augmentation renamed in 0.56 (@MartinFourier)
- Add font height and line height in theme settings (@MartinFourier)
- Fix crash when quitting job (@MartinFourier)
- Added save file validation system (@TheMas3212)
- React and ReactDOM are now global objects (@pigalot)
- 'nano' supports globs (@smolgumball)
- Character overview can be dragged (@MartinFourier)
- Job page updates in real time (@nickofolas)
- Company favor gain uses the same calculation as faction, this is just performance
  the value didn't change (@nickofolas)
- ns2 files work with more import options (@theit8514)
- Allow autocomplete for partial executables (@nickofolas)
- Add support for contract completion (@nickofolas)
- 'ls' link are clickable (@smolgumball)
- Prevent steam from opening external LOCAL files (@MartinFourier)
- Fix a bug with autocomplete (@Feodoric)
- Optimise achievement checks (@Feodoric)
- Hacknet server achievements grant associated hacknet node achievement (@Feodoric)
- Fix display bug with hacknet (@Feodoric)
- 'analyze' now says if the server is backdoored (@deathly809)
- Add option to exclude running script from save (@MartinFourier)
- Game now catches more errors and redirects to recovery page (@MartinFourier)
- Fix bug with autocomplete (@nickofolas)
- Add tooltip to unfocus work (@nickofolas)
- Add detailst overview (@MartinFourier)
- Fix focus bug (@deathly809)
- Fix some NaN handling (@deathly809)
- Added 'mv' ns function (@deathly809)
- Add focus argument to some singularity functions (@nickofolas)
- Fix some functions not disabling log correctly (@deathly809)
- General UI improvements (@nickofolas)
- Handle steamworks errors gravefully (@MartinFourier)
- Fix some react component not unmounting correctly (@MartinFourier)
- 'help' autocompletes (@nickofolas)
- No longer push all achievements to steam (@Ornedan)
- Recovery page has more information (@MartinFourier)
- Added 'getGameInfo' ns function (@MartinFourier)
- SF3.3 unlocks all corp API (@pigalot)
- Major improvements to corp API (@pigalot)
- Prevent seed money outside BN3 (@pigalot)
- Fix bug where using keyboard shortcuts would crash if the feature is not available (@MartinFourier)\
- Sidebar remains opened/closed on save (@MartinFourier)
- Added tooltip to sidebar when closed (@MartinFourier)
- Fix bug where Formulas.exe is not available when starting BN5 (@TheMas3212)
- Fix CI (@tvanderpol)
- Change shortcuts to match sidebar (@MartinFourier)
- Format gang respect (@attrib)
- Add modal to text editor with ram details (@nickofolas)
- Fix several bugs with singularity focus (@nickofolas)
- Nerf noodle bar.

## v1.3.0 - 2022-01-04 Cleaning up

** External IDE integration **

- The Steam version has a webserver that allows integration with external IDEs.
  A VSCode extension is available on the market place. (The documentation for the ext. isn't
  written yet)

** Source-Files **

- SF4 has been reworked.
- New SF -1.

** UI **

- Fix some edge case with skill bat tooltips (@MartinFournier)
- Made some background match theme color (@Kejikus)
- Fix problem with script editor height not adjusting correctly (@billyvg)
- Fix some formatting issues with Bladeburner (@MartinFournier, @nickofolas)
- Fix some functions like 'alert' format messages better (@MageKing17)
- Many community themes added.
- New script editor theme (@Hedrauta, @Dexalt142)
- Improvements to tail windows (@theit8514)
- Training is more consise (@mikomyazaki)
- Fix Investopedia not displaying properly (@JotaroS)
- Remove alpha from theme editor (@MartinFournier)
- Fix corporation tooltip not displaying properly (@MartinFournier)
- Add tooltip on backdoored location names (@MartinFournier)
- Allow toasts to be dismissed by clicking them (@nickofolas)
- Darkweb item listing now shows what you own. (@hexnaught)

** Bug fix **

- Fix unit tests (@MartinFournier)
- Fixed issue with 'cat' and 'read' not finding foldered files (@Nick-Colclasure)
- Buying on the dark web will remove incomplete exe (@hexnaught)
- Fix bug that would cause the game to crash trying to go to a job without a job (@hexnaught)
- purchaseServer validation (@nickofolas)
- Script Editor focuses code when changing tab (@MartinFournier)
- Fix script editor for .txt files (@65-7a)
- Fix 'buy' command not displaying correctly. (@hexnaught)
- Fix hackAnalyzeThread returning NaN (@mikomyazaki)
- Electron handles exceptions better (@MageKing17)
- Electron will handle 'unresponsive' event and present the opportunity to reload the game with no scripts (@MartinFournier)
- Fix 'cp' between folders (@theit8514)
- Fix throwing null/undefined errors (@nickofolas)
- Allow shortcuts to work when unfocused (@MageKing17)
- Fix some dependency issue (@locriacyber)
- Fix corporation state returning an object instead of a string (@antonvmironov)
- Fix 'mv' overwriting files (@theit8514)
- Fix joesguns not being influenced by hack/grow (@dou867, @MartinFournier)
- Added warning when opening external links. (@MartinFournier)
- Prevent applying for positions that aren't offered (@TheMas3212)
- Import has validation (@MartinFournier)

** Misc. **

- Added vim mode to script editor (@billyvg)
- Clean up script editor code (@Rez855)
- 'cat' works on scripts (@65-7a)
- Add wordWrap for Monaco (@MartinFournier)
- Include map bundles in electron for easier debugging (@MartinFournier)
- Fix importing very large files (@MartinFournier)
- Cache program blob, reducing ram usage of the game (@theit8514)
- Dev menu can set server to $0 (@mikomyazaki)
- 'backdoor' allows direct connect (@mikomyazaki)
- Github workflow work (@MartinFournier)
- workForFaction / workForCompany have a new parameter (@theit8514)
- Alias accept single quotes (@sporkwitch, @FaintSpeaker)
- Add grep options to 'ps' (@maxtimum)
- Added buy all option to 'buy' (@anthonydroberts)
- Added more shortcuts to terminal input (@Frank-py)
- Refactor some port code (@ErzengelLichtes)
- Settings to control GiB vs GB (@ErzengelLichtes)
- Add electron option to export save game (@MartinFournier)
- Electron improvements (@MartinFournier)
- Expose some notifications functions to electron (@MartinFournier)
- Documentation (@MartinFournier, @cyn, @millennIumAMbiguity, @2PacIsAlive,
  @TheCoderJT, @hexnaught, @sschmidTU, @FOLLGAD, @Hedrauta, @Xynrati,
  @mikomyazaki, @Icehawk78, @aaronransley, @TheMas3212, @Hedrauta, @alkemann,
  @ReeseJones, @amclark42, @thadguidry, @jasonhaxstuff, @pan-kuleczka, @jhollowe,
  @ApatheticsAnonymous, @erplsf, @daanflore, @nickofolas, @Kebap, @smolgumball,
  @woody-lam-cwl)

## v1.1.0 - 2021-12-18 You guys are awesome (community because they're god damn awesome)

** Script Editor **

- The text editor can open several files at once. (@Rez855 / @Shadow72)
  It's not perfect so keep the feedback coming.

** Steam **

- Windows has a new launch option that lets player start with killing all their scripts
  This is a safety net in case all the other safety nets fail.
- Linux has several launch options that use different flags for different OS.
- Debug and Fullscreen are available in the window utility bar.
- Tried (and maybe failed) to make the game completely kill itself after closing.
  This one I still don't know wtf is going.
- No longer has background throttling.
- Default color should be pitch black when loading
- Add BN13: Challenge achievement.

** Tutorial **

- I watched someone play bitburner on youtube and reworked part of
  the tutorial to try to make some parts of the game clearer.
  https://www.youtube.com/watch?v=-_JETXff4Zo
- Add option to restart tutorial.

** Netscript **

- getGangInformation returns more information.
- getAscensionResult added
- getMemberInformation returns more info
- Formulas API has new functions for gang.
- Added documentation for corp API.
- exec has clearer error message when you send invalid data.
- getServer returns all defined field for hacknet servers.
- Fix a bug with scp multiple files (@theit8514)
- Stack traces should be smarter at replacing blobs with filenames
- Fix a weird error message that would occur when throwing raw strings.
- Fix shortcuts not working.
- Re-added setFocus and isFocused (@theit8514)
- new function getHashUpgrades (@MartinFournier)
- enableLog accepts "ALL" like disableLog (@wynro)
- toast() doesn't crash on invalid data (@ivanjermakov)
- alert() doesn't crash on invalid data (@Siern)
- Fixed an issue where scripts don't run where they should.
- Sleeve getInformation now returns cha
- getServer does work with no argument now
- workForFaction returns false when it mistakenly returned null

** Character Overview **

- The character overview now shows the amount of exp needed to next level (@MartinFournier)

** Misc. **

- Add option to supress Game Saved! toasts (@MartinFournier)
- Fix bug where ctrl+alt+j was eaten by the wrong process. (@billyvg)
- Theme Editor lets you paste colors (@MartinFournier)
- ctrl + u/k/w should work on terminal (@billyvg)
- Game now shows commit number, this is mostly for me. (@MartinFourier)
- running a bad script will give a clearer error message (@TheCoderJT)
- Default terminal capacity is maximum (@SayntGarmo)
- Fix problems with cp and mv (@theit8514)
- Make monaco load fully offline for players behind firewalls.
- change beginer guide to use n00dles instead of foodnstuff
- BN13 is harder
- nerf int gain from manualHack
- Fix UI displaying wrong stats (@DJMatch3000)
- Fix button not disabling as it should.
- New location in Ishima.
- Add setting to suppress stock market popups.
- Typo fixes (@Hedrauta, @cvr-119, @Ationi, @millennIumAMbiguity
  @TealKoi, @TheCoderJT, @cblte, @2PacIsAlive, @MageKing17,
  @Xynrati, @Adraxas, @pobiega)
- Fix 100% territory achievement.
- Reword message on active scripts page.
- Fix terminal not clearing after BN
- Remove references to .fconf
- Augmentation pages shows BN difficulty with SF5
- Fix scripts saving on wrong server while 'connect'ing
- Fix gym discount not working.
- Fix scan-analyze not working with timestamps
- Hash upgrades remember last choice.
- Save files now sort by date
- The covenant no longer supports negative memory purchases
- Fix corp shares buyback triggering by pressing enter
- Staneks gift display avg / num charges
- Infiltration rewards no longer decay with better stats
- terminal 'true' is parsed as boolean not string
- tail and kill use autocomplete()
- Fix focus for coding contract
- massive boost to noodle bar.

** Special Thanks **

- Special thank you to everyone on Discord who can answer
  new player questions so I can focus on more important things.

## v1.1.0 - 2021-12-03 BN13: They're Lunatics (hydroflame & community)

** BN13: They're Lunatics **

- BN13 added.

** Steam **

- Tested on all 3 major OS.
- 94 achievements added
- Release is 2021-12-10.

** Corporation API **

- Added corporation API. (Unstable)

** Netscript **

- tprintf crashes when not giving a format as first arg.
- tprintf no longer prints filename (@BartKoppelmans)
- TIX buy/sell/sellShort all return askprice/bidprice (@Insight)
- getRunningScript now works.
- Fix disableLog for gang and TIX API
- getOwnedSourceFiles is not singularity anymore (makes it easier to share scripts.) (@theit8514)
- true/false is a valid value to send to other scripts.
- workForFaction no longer returns null when trying to work for gang.
- Scripts logging no longer generates the string if logging is disabled.
  This should give performance boost for some scripts.

** Gang **

- Gang with 0 territory can no longer fight
- Territory now caps at exactly 0 or 1.

** Misc. **

- Clicking "previous" on the browser will not pretend you had unsaved information
  allowing you to cancel if needs be.
- Fixed some tail box coloring issue.
- Fixed BladeBurner getCityCommunities ram cost
- The download terminal command no longer duplicate extensions (@Insight)
- Fix #000 on #000 text in blackjack. (@Insight)
- Remove reference to .fconf
- Tail boxes all die on soft reset.
- Fix codign contract focus bug.
- Megacorp factions simply re-invite you instead of auto added on reset. (@theit8514)
- Tail window is bound to html body.
- Infiltration reward is tied to your potential stats, not your actual stats
  So you won't lose reward for doing the same thing over and over.
- intelligence lowers program creation requirements.
- Terminal parses true as the boolean, not the string.
- Tail and kill autocomplete using the ns2 autocomplete feature.
- scan-analyze doesn't take up as many terminal entries.
- GangOtherInfo documentation now renders correctly.
- ActiveScripts search box also searches for script names.
- Infinite money no longer allows for infinite hacknet server.
- Blackjack doesn't make you lose money twice.
- Recent Scripts is now from most to least recent.
- Fix mathjax ascii art bug in NiteSec.
- Remove warning that the theme editor is slow, it's only slow in dev mode.
- In BN8 is it possible to reduce the money on a server without gaining any.
- In the options, the timestamp feature has a placeholder explaining the expected format.
- Bunch of doc typo fix. (hydroflame & @BartKoppelmans & @cvr-119)
- nerf noodle bar

## v1.0.2 - 2021-11-17 It's the little things (hydroflame)

** Breaking (very small I promise!) **

- buy / sell now return getAskPrice / getBidPrice instead of just price.
  This should help solve some inconsistencies.

** Misc. **

- scripts logs are colorized. Start your log with SUCCESS, ERROR, FAIL, WARN, INFO.
- documentation for scp not say string | string[]
- Donation link updated.
- nerf noodle bar

## v1.0.1 - 2021-11-17 New documentation (hydroflame)

** Documentation **

- The new documentation for the netscript API is available at
  https://github.com/bitburner-official/bitburner-src/blob/dev/markdown/bitburner.ns.md
  This documentation is used in-game to validate the code, in-editor to autocomplete, and
  for users to reference. This is a huge quality of life improvements for me.

** Reputation **

- Fixed favor not affecting faction work reputation gain (Yeah, I know right?)

** Hacknet **

- Servers are now considerd "purchasedByPlayers"

** Script Editor **

- solarized themes now work.

** Corporation **

- Dividends are now much more taxed.
- The 2 upgrades that reduced taxes are now much stronger.

** Misc. **

- Starting / Stopping scripts on hashnet servers immediately updates their hash rate (instead of on the next tick)
- Hacknet has tooltip showing what the result of the upgrade would be.
- Augmentations page displayes current price multiplier as well as explains the mechanic.
- Terminal now is 25x stronger.
- Tail boxes use pre-wrap for it's lines.
- Tail boxes allow you to rerun dead scripts.
- Tail boxes can no longer open the same one twice.
- Terminal now autocompletes through aliases.
- Make alter reality harder.
- Fix bladeburner cancelling actions when manually starting anything with Simulacrum.
- Buying hash upgrade to increase uni class or gym training will apply to current class.
- Internally the game no longer uses the decimal library.
- Fix an issue where 'download \*' would generate weird windows files.
- Timestamps can be set to any format in the options.
- Fix typo in documentation share popup.
- Remove bunch of debug log.
- Fix typo in corporation handbook literature.
- Fix typo in documentation
- Fix duplicate SF -1 exploit. (Yeah, an exploit of exploits, now were meta)
- Fix offline hacking earning being attributed to hacknet.
- nerf noodle bar

## v1.0.0 - 2021-11-10 Breaking the API :( (blame hydroflame)

** Announcement **

- Several API breaks have been implemented.
- See the v1.0.0 migration guide under Documentation
- Everyone gets 10 free neuroflux level.

** Netscript **

- Fix a bug that would cause RAM to not get recalculated.
- New function: hackAnalyzeSecurity
- New function: growthAnalyzeSecurity
- New function: weakenAnalyze

** Script Editor **

- Sometimes warn you about unawaited infinite loops.
- ns1 functions are now correctly colors in Monokai.

** Programs **

- Formulas.exe is a new program that lets you use the formulas API.

** Corporations **

- Real Estate takes up a tiny bit of room.
- Dividends are now taxes exponentially in certain bitnodes.
- UI displays how many level of each corporation upgrade.
- Fix exploit with going public.
- Employee salary no longer increase.

** Documentation **

- The documentation is now autogenerated into .md files.
  It is usable but not yet linked to readthedocs. It's on github.

** Misc. **

- Favor is not internall floating point. Meaning I don't have to save an extra variable.
- Manually starting a Bladeburner action cancels unfocused action.
- Updated description of gang territory to be clearer.
- Hacknet expenses and profit are in different categories.
- Fixed favor equation.
- Toast messages aren't hidden behind work in progress screen.
- Fix bug that made infiltration checkmark look off by one.
- Fix some inconsistency with running files that start or don't start with /
- Can't tail the same window twice.
- Added recovery mode. Hopefully no one will ever have to use it.
- Fix readthedocs
- Programs now give int exp based on time not program.
- Many sing. functions now give int exp.
- Active Scripts page now displays some arguments next to script name.
- Fixed some invisible black text.
- Button colors can be edited.
- Added 2 new colors in the theme editor: background primary and background secondary.
- infiltration uses key instead of keycode so it should work better on non-american keyboards.
- buff noodle bar.

## v0.58.0 - 2021-10-27 Road to Steam (hydroflame & community)

** Announcement **

- To prepare for Steam we will fix some inconsistencies in the Netscript API. Ideally we can also write a
  save file migration that will automatically convert all breaking changes in your scripts without any
  player input.

** BREAKING (kindof) **

- All stock market functions are now under the 'stock' namespace, like 'hacknet'
  However when you load your game with v0.58.0 for the first time it should automatically convert everything.

** SF -1 **

- new SF -1: Reality Alteration

** Gang **

- Ascension formula now better
- Karma requirement now much lower in most nodes
- Territory heavily penalizes gains
- T.R.P. not available outside BN2.

** Netscript **

- It is no longer possible to send anything but strings or numbers to other scripts. (prevents exploits)
- Improve code for some netscript functions (@omuretsu)

** Script Editor **

- Added Solarized light/dark as theme (@CalvinTrops)
- Fixed sleeve namespace smart autocomplete.

** Hacknet Servers **

- Cores affect grow/weaken like they do on home computer

** Infiltration **

- Slash game modified to be easier.

** Misc. **

- Fix typo in corp (@Saynt_Garmo)
- Fixed a bug where corp wouldn't let you buyback shares. (@Saynt_Garmo)
- Fixed a bug where sleeves couldn't perform some crimes. (@Saynt_Garmo)
- Hospitalization and Eating noodles are now toasts (@Saynt_Garmo)
- Fixed some repeated code (@omuretsu)
- Fixed Character Overview preventing clicks underneath it even when hidden. (@omuretsu)
- Fixed typo in tutorial. (@omuretsu)
- Create Programs and Factions invitation badges now dissapear when you open their respective pages.
- Add killall script in character overview.
- Fixed bug in corp that made last city production be the production for all cities for newly created product.
- Fix bug that allowed reputation to transfer to new jobs.
- Fixed memory leak with ns2.
- nerf noodle bar

## v0.57.0 - 2021-10-16 It was too cheap! (hydroflame & community)

** BREAKING (kindof) **

- purchased server cost now scales exponentially past 2^10.
  I'm going to actually explain this one: Currently the cost of a 2^20GB server is 57b
  Most players can get that before their first install. In an effort to nerf good players
  a softcap was added. This softcap is different for every BN.

** Script Editor **

- Added a theme that is close to monokai. Unfortunately a full monokai is impossible because
  Monaco doesn't have a very good tokenizer.
- Opening a file and connecting to a new server will still save the file on the server that the file
  was opened.

** Netscript **

- New function: alert, which creates a textbox.
- New function: toast, creates a notification in the bottom right.
- New function: upgradeHomeCores (@Saynt_Garmo)
- New function: atExit, allows you to set a callback for when the script closes.
- New kindof function: autocomplete, this allows you to tell the game what it should
  autocomplete on the terminal.

** Augmentation **

- ENM Core (the Augmentation from The Black Hand with the highest rep cost) rep cost
  reduced from 250 to 175. This will help new players transition from TBH to BitRunners more easily.

** Bladeburner **

- New general action: Incite Violence. This action adds other action counts but increases chaos.

** Misc. **

- Current bladeburner action is shown on the character overview.
- Fix blackop being #000 on #000.
- The last clicked Tail Box goes in front of the others.
- Fixed an issue where some values were loaded as 0 when they should be null.
- Implemented toasts.
- .msg are no longer saved in the text file.
- Tail boxes no longer display all the args, they use "..." after 30 characters.
- Fixed cancelation penalty bonus not being properly applied after the IP <-> hostname switch.
- Fixed an exploit where you could send non-strings or numbers to other scripts.
- Fixed issue when trying to work for a faction with a work type that doesn't exist while
  already working for that faction.
- Fixed not being able to work for the CIA. (Don't ask)
- nerf noodle bar

## v0.56.0 - 2021-10-11 Trimming the backlog (hydroflame & community)

** BREAKING **

- The 'write' function is now async. This helps when making scripts that write scripts.

** Terminal **

- 'grow' and 'weaken' have been added as terminal command. This should help player transition
  from commands to scripts. The tutorial also talks about it.
- 'cp' command added
- Improved performance by rate limiting refresh.

** IP vs Hostname **

- The game now uses hostname as primary key for it's servers (yeah believe it or not IPs were
  used until then). This has caused some issues with purchased servers (they couldn't be sold).
  You might need to soft reset for the game to fully convert itself.

** Sleeve **

- Fixed bug where they couldn't train at Volhaven.
- No longer consume all bonus time at once, making it look buggy.

** SF9 **

- Now boosts hacknet production by 8/12/14%

** Hacknet Servers **

- production nerfed by 10%
- Max money increase gets weaker above 10t max money

** Corporation **

- Warehouse tooltip now also displays the amount of space taken by products.
- Changed research box completely to avoid dependency on Treant (Treant is a pita)
- All textbox should accept MAX/MP case insensitive.
- Fixed export popup not refreshing dropdowns correctly.
- Fixed product mku becoming zero
- Increased scaling of Wilson to avoid feedback loop.
- Can no longer get in debt by buying real estate
- Bonus time is consumed faster.

** Netscript **

- isBusy takes bitverse and infiltration into account
- hospitalize can't be called when in infiltration.
- setToCommitCrime now accepts crime rough name instead of perfect name.
- disableLog All now works for bladeburner functions.
- Fixed netscript port for ns1.

** Augmentation **

- Added augmentation to Ti Di Hui that removes penalty for being unfocused.
- Neuroflux no longer appears in special factions.

** Script Editor **

- Ram check is debounced instead of refreshed every second.
- Added the vscode extension documentation to the game (it doesn't work well, thought)
- Fixed issue where autocomplete list would grow forever
- Added semi-monokai as theme.
- Fixed issue where modifying filename would mess it up.
- Font size can be changed now.

** Infiltration **

- Fixed issue where game controls would become unfocused.

** Misc. **

- Fixed loader incorrectly assuming some null values are incorrect.
- installBackdoor trigger Bitverse sequence
- Some improvements to the theme editor
- Improved documentation about where to learn javascript.
- Added some instructions for contributors.
- Fixed typo in corporation sell shares modal (@Saynt_Garmo)
- Fixed pagination being black on black in Active Scripts
- Create Script tab renamed to Script Editor
- Fixed an issue where corp some textbox wouldn't update when changing city.
- Fixed an issue where hacknet online time was always 0.
- Netscript function prompt fixed.
- Fixed miscalculation in growth.
- Script with syntax errors will try to be a tad more helpful.
- Corporations can no longer bribe bladeburners.
- Augmentation Graphene Branchiblade renamed to Brachi, like the rest of them.
- All ram is displayed in GB/TB/PB now.
- Game now saves when saving a file, this can be turned off.
- Several improvement to log window.
- Bladeburner current action returns General type instead of the name of the action.
- Bladeburner travel and Sleeve travel respect disable ASCII.
- Tutorial fits on small screens.
- Import is much slower but more consistent now.
- Fix intelligence not updating properly.
- Added SF -1: Time Compression
- ReadTheDoc theme now matches the game.
- Logbox should wrap text better
- Logbox behavior should feel better.
- Fix font for AutoLink.exe
- nerf noodle bar

## v0.55.0 - 2021-09-20 Material UI (hydroflame & community)

** Global **

- The game is now 100% in typescript, react, and Material-UI

** Misc. **

- Corporations can no longer bribe special factions
- Infiltration can no longer lose focus of the keyboard.
- Fix terminal line limit
- Added theme editor
- Theme applies on game load (@Nolshine)
- Sleeves no longer consume all bonus time for some actions
- Fix a bug where the autocomlete list would get duplicates
- Fix tutorial not scaling properly on small screens
- Import should be more consistent
- Typo with 'help' command
- Fix infinite loop in casino
- nerf noodle bar

## v0.54.0 - 2021-09-20 One big react node (hydroflame & community)

** UI **

- The UI is now completely(ish) in react and I'm starting to implement
  Material-UI everywhere. This will help make the game feel more consistent.
- Major help from (@threehams)
- New Terminal
- New Active Scripts page
- New sidebar.
- New Character overview
- New tutorial
- New options page
- New create program page (@Nolshine)

** Netscript **

- Add companyName to getPlayer

** Factions **

- Megacorp factions are no longer removed when installing.

** Corporation **

- All research tooltips are always visible.
- Smart supply is enabled by default if purchased (@Nolshine)

** Misc. **

- Fix "Game saved" animation. (@Nolshine)
- Update commitCrime documentation (@Tryneus)
- Fix logbox scrolling weird (@Nolshine)
- Fix weird scrolling in corporations (@BartKoppelmans)
- Fix typo (@BartKoppelmans & @Nolshine)
- Delete game now has a confirmation modal (@Nolshine)
- Fix issue where skills would not get properly updated when entering new
  BN. (@Nolshine)
- Convert create gang to popup (@vmesecher)
- Fixed a bug that prevented travel to Sector-12 and New Tokyo when not using
  ASCII art.
- nerf noodle bar

## v0.53.0 - 2021-09-09 Way too many things. (hydroflame & community)

** Dev? **

- The entire codebase has been run through a code prettifier, hurray for consistency. (@threehams)
- Lots of test. (@threehams)
- Massive improvements to build speed. (@threehams)
- Dev notes: This won't affect any players but is immensely useful for me.

** Hacknet **

- Converted to ts/react

** Resleeving **

- Converted to ts/react

** Sleeves **

- Converted to ts/react. The ui should also have a better feel.
- Fixed a bug that allowed players to recover shock much faster than intended.

** BN10 **

- You have access to Sleeves right away
- In BN10 Sleeves start with 75 shock and 25 sync.

** MathJax **

- Several tooltips have been updated to display the relevant formula in Mathjax, e.g. Favor and reputation

** Corporation **

- Completely rewritten in React. Paving the way for bigger change.
- Smart Supply is now smarter and won't deadlock the warehouse. It is also more configurable.
- Several UI fixes.

** Bladeburner **

- Action count is no longer decided when joining the Bladeburners. Experiences for all players should be more similar.

** Factions **

- No factions have home computer ram requirement. This caused some confusion for new players.

** Gang **

- Made it clear when there's a new equipment coming up.

** Netscript **

- getActionCountRemaining now returns Infinity for bladeburner general actions. (@brubsy)
- getActionEstimatedSuccessChance now returns 100% for Diplomacy and Hyperbolic Regeneration Chamber. (@brubsy)
- disableLog('ALL') now disables all logs individually, meaning you can re-enable the ones you want after. (@Cass)
- getPlayer returns numPeopleKilled.
- Dynamic RAM calculation errors have a better error message.
- Hide some functions from autocomplete.
- Added getAugmentationPrice, getAugmentationRepReq, deprecated getAugmentationCost. (@TempFound)
- Fixed bug where some crime API would return "assassinate" when that's not accepted in other functions.

** Coding Contract **

- Spiralize Matrix is easier to read.

** Misc. **

- The world map is now used in sleeve travel and bladeburner travel.
- noselect a bunch of stuff.
- Ascii maps letters are more contrasting
- Updated documentation for infiltration.
- Most money costs in the game will turn grey/cyan when you don't have enough money.
- Donation textbox has better look & feel.
- Tech vendors ram & cores buttons have better look and feels.
- cores cost modified to be a formula instead of a semi-random array of numbers.
- Tech vendors now give a hint about where to get bigger servers.
- logboxes now displays whitespaces exactly. (@Cass)
- nerf noodle bar

## v0.52.9 - 2021-08-27 Less lag! (hydroflame & community)

** Active Scripts page **

- Now less laggy, has pagination.

** File diagnostic **

- Added a popup found under options that shows the files you own and how
  large they are. This help find bugs and leftover massive logs files.

** Corporation **

- Added safeguard against a very specific bug that causes NaN money. I'm
  still not sure what the root cause is but it should prevent corp from
  breaking.

** Netscript **

- tprintf is a new function that doesn't print the filename.

** Misc. **

- Infiltration kills you if you try to automate it. (@threehams)
- Fix beautify button not working
- Added bladeburner_analysis_mult to getPlayer() (@brubsby)
- Fixed joining bladeburner via netscript functions. (@omuretsu)
- All bladeburner actions are click-to-copy
- nerf noodle bar

## v0.52.8 - 2021-08-23 Fixing the previous patch tbh ROUND 2 (hydroflame)

** Script editor **

- Correctly reloads old script when clicking "Script Editor"
- No longer jumps to the end of the text for no reason.

** Hash upgrades **

- Fixed an issue where the default option would say ecorp but was really
  foodnstuff

** Misc. **

- The "Delete all active script" button under the options has a clearer
  description.
- Removed some debug console.log
- nerf noodle bar

## v0.52.7 - 2021-08-21 Fixing the previous patch tbh (hydroflame)

** Netscript **

- API BREAKING CHANGE: getActionEstimatedSuccessChance now returns a pair of
  value to reflect the UI changes. I'm very sorry.

** Bladeburner **

- General actions now display time required.
- Recruitment now displays success chance.
- All other success chance now display a range instead of a single value
  The real value is guaranteed to be within that range.

** Misc. **

- Fix tutorial not working after Monaco upate
- Fix logbox logs not taking up the whole logbox
- Fix script editor shortcut (ctrl+b)
- Fix Corporation popup appearing in the wrong order, hiding one of them
- Fix error when loading Corp
- Fix logbox dragging (smoother now)
- Fix logbox name collision
- Fix logbox allowing to open the same box multiple times
- Fix netscript write.
- nerf noodle bar

## v0.52.6 - 2021-08-21 Logboxes and VS-code (hydroflame)

** Text Editor **

- Ace and Codemirror have been removed in favor of monaco (web version of
  vs-code). The options are a bit lackluster but more will be added as
  feedback comes.

** Log boxes **

- Multiple log boxes can be opened at once. They can be moved around the
  screen. (but the movement behavior is a bit weird.)

** Misc. **

- Job promotion now correctly updates the UI.
- Milestones now call the faction CyberSec instead of CSEC
- Can no longer create file that break the filesystem.
- Remove dollar sign in blade contract UI element
- nerf noodle bar

## v0.52.5 - 2021-08-19 CPU cores are useful!? (hydroflame)

** Terminal **

- When executing 'run SCRIPT' any script can now add '--tail' to
  automatically bring up the logs.

** Netscript **

- The 'flags' function now works with single letter flags but they only take
  one dash.
- Fix several broken bladeburner netscript functions.
- Fix gang.getMemberInformation returning inconsistent data after the gang
  rework.

** CPU Cores **

- CPU Cores on the home computer now provide a bonus to grow() money gain
  and makes weaken lower more security. Only for scripts running on 'home'

** Misc. **

- Fix weird scrolling in the new Bladeburner React console.
- nerf noodle bar

## v0.52.4 - 2021-08-19 Bladeburner in React (hydroflame)

** Bladeburner **

- The entire UI was rebuild in React. It should be more responsive

** Hacknet **

- Displays how many time each hash upgrade was bought.
- Displays cummulative effect of the upgrade.
- Removed "Close" button from hash upgrade menu.

** Misc. **

- More popup/modals have dark background, can be dismissed by clicking
  outside, or by pressing escape.
- Small reword in the guide.
- Fix several typos in the bladeburner documentation.
- Linting (no one cares except the dev)
- nerf noodle bar

## v0.52.3 - 2021-08-15 Gangs were OP (hydroflame)

** Gang **

- Significant rework. Ascension is now based on exp gained.
- All upgrades give exp bonuses.
- Maximum gang members reduced to 12.
- Respect required to recruit sharply increased.
- Rewritten in React, the UI should be smoother and less laggy now.

** Infiltration **

- Now isTrusted protected.

** Misc. **

- Many UI element are now "noselect" protected.
- Fixed an issue where you could join the same faction twice via script and
  UI simultaneously.
- Factions list screen converted to React.
- nerf noodle bar

## v0.52.2 - 2021-08-15 Oh yeah, BN11 is a thing (drunk hydroflame tbh)

** Source-Files **

- Source-File 11 now also provides a small reduction to the price increase
  multiplier.

** Augmentations **

- New Augmentation offered by Aevum, themed around 777 and offers some basic
  programs.
- Augmentation descriptions are now more concise and consistent.

** Misc. **

- nerf noodle bar

## v0.52.1 - 2021-08-10 bugfixing (hydroflame & community)

** Misc. **

- Fix game crash/corruption when quitting a job while working for it unfocused.
- Fix typo in corporation Market Data.
- Fix typo in docs for hackPercent.
- The tutorial encourages the players to connect to home before creating `n00dles.script`
- The dark web `buy` command now accepts `-1` (one) and `--list` instead of just `-l`. Helps some confused players.
- Character overview screen no longer hidden on the corporation screen.
- Infiltration difficulty display is now more explicit (It's a big arrow instead of just one word.)
- Fix wrong ram value in tutorial. (@MageKing17)
- Plenty of augmentation description cleanup (@Kwazygloo)
- Plenty of typo/description fixed (@MageKing17)
- Cleanup description of singularity function on readthedocs (@PurePandemonium)
- Fix bug when autolinking a server while backdooring (@schroederIT)
- nerf noodle bar

## v0.52.0 - 2021-06-13 Infiltration 2.0 (hydroflame & community)

**Infiltration**

- Completely reworked. Not the same mechanic at all.

**Terminal**

- tail is smarter. It automatically assume the only possible options in some
  cases.

**Intelligence**

- Now available when starting BN5 instead of after beating it for the first
  time.
- Nerf the effect of intelligence on reputation gain.

**Augmentation**

- Added a new augmentation, the 'Unstable Circadian Modulator', whose
  gimmick is that its stats are randomized every hour.

**Netscript**

- 'getPlayer' is not a singularity function anymore.
- 'hacknetNodes.constants' returns the correct values.
- 'createGang' has been added.
- 'inGang' has been added.

**Tutorial**

- Updated the tutorial. Made it look cleaner, fixed typos, etc.

**Misc.**

- Fix many typos in literature (@kwazygloo)
- Fix being able to unfocus from gym and university.
- Fix being able to do hacking missions while unfocused.
- Fix many typos in Augmentation descriptions (@kwazygloo)
- More numbers handle absurdly large values. (@Tesseract1234567890)
- Fix many typos (@Tesseract1234567890)
- Fixed an issue that caused a UI desync when sleeves were set to workout
  stats other than strength at the gym.
- Fix weird alignment of donation text box and button. (@Tesseract1234567890)
- Fixed an issue where reputation could be transfered to new jobs when unfocused.
- Empty stack traces should no longer appear.
- Purchasing anything with Infinity money doesn't result in NaN.
- nerf noodle bar

## v0.51.10 - 2021-05-31 Focus Mark, Focus! (hydroflame)

**Focus**

- You can now use the terminal and write scripts while working for factions
  but you will gain reputation at a slower rate.

**SF -1**

- Added a new SF -1: Bypass

**Gang**

- "Vigilante justice"/"Ethical hacking" now reduces wanted level by a very
  small percentage as well an absolute value.

**Netscript**

- 'tFormat' now has a second argument to display with millisecond precision.
- 'purchaseSleeveAug' can no longer purchase the same aug over and over for
  the same sleeve.
- fix typo in logging for 'getServerSecurityLevel'
- Fixed some weird issue where very rarely you would get 0 exp from 'grow'
- 'getActionTime' now returns correct values for Diplomacy and Regeneration.

**Corporations**

- Fixed an exploit where you could get nearly infinite corporation funds by
  entering negative numbers in textboxes.
- Fixed an exploit where shares could be sold again by clicking the
  "sell share" button via scripts.

**Documentation**

- typo fix in purchaseTor
- typo fix in basicgameplay/stats

**Misc.**

- Very large number will no longer appear as "$NaNt"
- Hash capacity now displays in the "big number" format.
- nerf noodle bar

## v0.51.9 - 2021-05-17 offline progress and exports! (hydroflame & community)

**Alias**

- several commands can be included in 1 alias. Recursive alias now work to
  a depth of 10. (@Dawe)

**Offline**

- Offline money gain has been reworked (it is more generous)
- If you're not working anywhere and go offline the game will work for you
  at all your factions evenly.

**Export**

- Exporting now gives +1 favor to all joined factions every 24h.

**Corp**

- Self-fund with an invalid name no longer takes away 150b anyway.
- Can no longer export negative amount

**Bladeburner**

- No longer waste overflowing time.

**Text Editors**

- All settings will now be saved and loaded correctly.

**Terminal**

- 'scan' now works for servers that are more than 21 character long.

**Misc.**

- ls now correctly lists all files.
- importing auto save+reloads (@Dawe)
- Fix a bug where .fconf could not be created
- Fix formatting inconsistencies for some logs of netscript functions.
- Fix a bug where Cashroot starter kit would appear as [object Object] in
  confirmation dialog.
- Fix some ram not displayed as 0.00GB
- Fix error message throw undefined variable error
- City hall now has some generic text if you can't create a corp yet.
- Deleting a file without extension now returns an appropriate error message.
- Fixed an issue where bladeburner would miscalculate the cost of hospitalization.
- It is now possible to suppress bladeburner "action stopped" popup.
- Updated several dependencies (big who cares, I know)
- ls no longer prints lingering newline.
- Money earned/spent by sleeves is now tracked under Character>Money
- nerf noodle bar

## v0.51.8 - 2021-05-07 It was there all along (hydroflame & community)

**Servers**

- Update n00dles metadata

**Netscript**

- 'hashGainRate' use the correct 'usedRam' and 'maxRam'
- Fix 'setActionAutolevel' logging.
- Fix 'setActionLevel' not working at all.
- Add 'installBackdoor' singularity function.

**Hacknet**

- Fix Hacknet Servers total production always displaying 0

**Documentation**

- Updated guide to no longer recommend BN12.
- Fix documentation for maxNumNodes (@ModdedGamers)
- Fix typo in 'sourcefiles.rst'
- Fix typo in 'recommendedbitnodeorder.rst'
- Fix 'getServer' documentation missing 'server' argument.
- Fix missing ram cost in 'getData.rst'
- Fix basic formulas examples.
- Fix typo in BN11 description.
- Fix formatting issue in Bladeburner (@Pimgd)

**Misc.**

- Fix negative money being displayed in full.
- Fix Hacking Missions not working.
- Fix Corporation tree not rendering.
- Fix script being needlessly recompiled. This should save real ram (not game ram)
- w0r1d_d43m0n can be backdoored
- Coding Contracts title is click-to-copy (@Rodeth)
- Covenant memory upgrade works better.
- Fix Neuroflux not being correctly calculated when entering BN with SF12.
- Delete Active Script now delete all active scripts, not just home.
- Now you can 'cd' in directories that only contain '.txt' files.
- Fix 'analyze' always saying players had root access
- Passive faction rep no longer builds for special factions.
- Donation option no longer appears for special factions.
- Rephrased some milestones.
- donation textbox now accepts money in the format '1b' and the like (@Dawe)
- Fix being able to join hated factions simultaneously. (@Dawe)
- 'ls' now displays files in multiple column. (Helps players with many files)
- Bladeburner multiplers now appear under Character>Stats and
  Character>Augmentation when they are relevant.
- Fix missing functions syntax highlight in codemirror.
- Fix infiltration number formatting.
- script income transfers to parent on death. This helps keep track of
  income for scripts that spawn short lived scripts.
- nerf noodle bar

## v0.51.7 - 2021-04-28 n00dles (hydroflame & community)

**Tutorial servers**

- All the tutorial servers have been reverted to their original value
- The new server n00dles has been added as tutorial server.

**Terminal**

- 'tail' now accepts Pid.
- 'analyze' now handles Hacknet Servers correctly.
- 'ServerProfiler.exe' now handles Hacknet Servers correctly.

**SF12**

- Now makes you start with Neuroflux Governor equal to the level of the SF.

**Netscript**

- Deprecated 'getServerRam'.
- 'getServerMaxRam' added to replace 'getServerRam'
- 'getServerUsedRam' added to replace 'getServerRam'
- 'getBitnodeMultipliers' is available inside BN5
- Time logged by hack/grow/weaken now displays in human time.
- thread count logged by hack/grow/weaken now displays with commas every
  thousands place.

**Donation**

- Always visible but locked until favor requirements are reached.

**Augmentations**

- City factions has been rebalanced to give a reason to visit them all.

**Sleeves**

- Fix sleeves not being able to work at Volhavens gym.

**Lint**

- This shouldn't change anything but was like 10h of work. So I'm logging it.

**Misc.**

- Plethora of typo fixed (@Pimgd)
- ps documentation fix (@Dawe)
- The dev menu now has a quick bitflume option.
- Fix SF -1 not being as powerful as intended.
- Fix cashroot starter kit not displaying correctly.
- Fix DOM element 'character-overview-text' being nested twice.
- Hacknet documentation example fix.
- Money amount under 1000 dont display 3 decimal anymore.
- Fix nextSourceFile flag miscalculation on the bitverse (for Bn12)
- Faction invite text says "Decide later"/"Join!" instead of "No"/"Yes"
- nerf noodle bar

## v0.51.6 - 2021-04-28 Backdoor! (hydroflame & community)

**Backdoor**

- a new terminal command, backdoor, has been added to help differentiate
  between the terminal hack command and the netscript hack function. (@dewint)

**Servers**

- foodnstuff, sigma-cosmetics, and joesguns have been rebalanced to help new players.

**Milestones**

- A new tab under the Help menu has been added to guide players through the
  game.

**Casino**

- Blackjack has been added (@BigD)

**Netscript**

- 'prompt' now converts input to JSON.
- 'getRunningScript' is a new netscript function that returns a bunch of
  data related to a running script.

**Coding contracts**

- trivial puzzles should no longer appear.

**Infiltration**

- All numbers are formatted like the rest of the game.

**Misc.**

- Server security is capped at 100.
- Added option to quit a job.
- 'cd' no longer works on unexistent folders.
- cd with no arguments brings you back to top level folder (@Andreas)
- 'softReset' documentation udpated.
- Money tracker now accounts for going to the hospital manually.
- codemirror is now the default editor (for new save files)
- fix typo in dark web help text (@Rodeth)
- so many documentation and typos fixes (@Pimgd)
- A corruption visual effect has been added to location with servers that
  have backdoor installed. (@dewint)
- nerf noodle bar

## v0.51.5 - 2021-04-20 Flags! (hydroflame)

**Netscript**

- 'flags' is a new function that helps script handle flags.
  This is subject to change if it doesn't meet the need of the players.
- 'ps' now returns the pid.
- 'tail' now works with pid as first argument.
- 'tail' hostname defaults to current server. (like the documentation says)
- 'isRunning' hostname defaults to current server.
- 'isRunning' now works with pid as first argument.

**Gang**

- Nerfed ascension mechanic once again :(

**Misc.**

- Souce-File typo fix
- Fix 'while you were away' screen.
- Bladeburner team size can no longer be set to negative amounts.
- nerf noodle bar

## v0.51.4 - 2021-04-19 Manual hacking is fun (hydroflame)

**Manual hacking**

- These bonus require an install or a soft reset to take effect.
- Manual hacking gyms and university gives you a 10% discount.
- Manual hacking a corporation server decreases the penalty for leaving work
  early.

**BladeBurner**

- nerfed int exp gained.

**Documentation**

- purchaseServer specifies what happens on failure.
- Fixed typo in recommended bitnode page.
- Removed misleading ram requirements for hacking factions.

**Netscript**

- growthAnalyze handles Infinity correctly.

**Misc.**

- Faction Augmentation will list how much reputation is required even after
  that goal has been reached.
- Removed dollar sign in travel agency confirmation dialog box.
- Fixed typo in alpha-omega.lit
- the 'Game saved!' text no longer blocks the save game/options button.
- The text editor now remembers the location of your cursor and restores it.
- skills are recalculated instantly.
- Fix typo in Operation Zero description.
- nerf noodle bar

## v0.51.3 - 2021-04-16 Y'all broke it on the first day (hydroflame)

**Passive faction reputation**

- Reworked, from 1 rep / 2 minute. Now is a complicated percentage of the
  reputation you'd gain working for them. It's not op but it feels a bit
  more useful.

**Netscript**

- print/tprint now take any number of arguments.
- print/tprint will now print object as json.
- print/tprint now handle passing in an undefined argument properly.

**Casino**

- Cannot bet negative money anymore.
- Roulette max bet is a bit higher.
- Coin Flip has a small cooldown.
- All buttons reject unstrusted mouse events.

**Documentation**

- Changed a message that said nsjs only works on Chrome.

**Bugfix**

- hacknet.maxNumNodes now works for both nodes and servers.
- Fixed a bug where the popup boxes would contain data from previous popup boxes.
- .js files will also have the 'export async function' boilerplate.

**Misc.**

- turned off web form autocomplete for the terminal text input.
- Fixed an issue on Windows+Firefox where pressing up on the terminal would
  bring the cursor to the begining of the line. (Issue #836)
- Hacknet node names is easier to handle for screen readers.
- Money spent on classes is now tracked independently of work money.
- running coding contract from the terminal will display its name.
- nerf noodle bar

## v0.51.2 - 2021-04-09 Vegas, Baby! (hydroflame)

**New location: The Iker Molina Casino**

- A casino opened in Aevum. However the house is rumored to cheat. If only
  we could give them a taste of their own medicine.

**Misc.**

- Link to discord added under options
- 'getMemberInformation' doc updated, oops
- tech vendor now handle max ram and cores.
- nerf noodle bar

## v0.51.1 - 2021-04-06 Bugfixes because the author of the last patch sucks (it's hydroflame)

**Netscript**

- 'getPlayer' returns players faction and tor
- 'hospitalization' is a new singularity function.
- 'gang.getMemberInformation' now returns more information.
- 'hacknet.hashCapacity' is a new hacknet function that returns the maximum hash capacity.

**Hospitalization**

- Now only cost at most 10% of your money.

**Bugfix**

- confirmation dialog box no longer use previous text

**Accessibility**

- The game is a little easier to handle for screen readers (yes, there's an
  absolute legend playing this game with a screen reader)
- Infiltration use buttons instead of a-links
- New option to disable ASCII art. This will make the metro map and world
  map display as a list of buttons.

**Misc.**

- 'fl1ght.exe' will no longer suggest the combat path. Related faction
  requirements unchanged.
- nerf noodle bar

## v0.51.0 - 2021-03-31 Formulas (hydroflame)

**Formulas API**

- A new API is introduced, this gives players access to various formulas used in the game.
  It'll help you make more informed decisions.

**Netscript**

- 'getServer' is a new function meant to be used with the formulas API.
- 'getPlayer' is a new function meant to be used with the formulas API.
- 'getStats' and 'getCharacterInformation' are deprecated in favor of 'getPlayer'
- 'getCurrentServer' is a new function that returns the server the player is currently connected.

**Display**

- All money should now consistently be orange.
- All rep should now consistently be light-yellow.
- Most numbers should display consistently now (aka all money is formatted the same).

**Click to copy**

- Certain UI elements are now 'click-to-copy'

** Misc. **

- nerf noodle bar

## v0.50.2 - 2021-03-25 Everyone asked for this one. (hydroflame)

**BitNodeMultipliers**

- 'GangKarmaRequirements': a new multipler that influences how much karma is required to make a gang different bitnodes.

**Netscript**

- 'connect': a new singularity function that connects you to a server. (like the terminal command)
- 'manualHack': a new singularity function that performs a manual hack on the players current server.
- ns2 stack trace works on Firefox now.

**Misc.**

- New shortcut, Alt + b, brings you to bladeburner
- New shortcut, Alt + g, brings you to gang
- nerf noodle bar

## v0.50.1 - 2021-03-22 (hydroflame)

**Netscript**

- getTaskStats works

**Source-File -1**

- Added a new Exploit

**Factions**

- Augmentations offered by a Faction but already bought are in a separate list at the bottom of the page.

**Bug fixed**

- Fixed a bug where completing a maxed non-repeatable BitNode would make its color on the BitVerse like level 1.

**Misc.**

- Minor spacing in stats tables.
- nerf noodle bar

## v0.50.0 - 2021-03-20 Intelligence (hydroflame)

**Intelligence**

- int exp gain and effect has been reworked. It is now much more easy to
  acquire and far more powerful. The goal here is to feel like players have
  another tool in their arsenal.

**Factions**

- Hacking factions no longer have hacking level requirements since their associated servers do.

**Misc.**

- Sleeve styling.
- number formatting
- remove wiki button in Hacking Missions.
- Fix NaN displayed when very very large numbers are reached.
- nerf noodle bar

## v0.49.2 - 2021-03-13 (hydroflame)

**BN8**

- A new bitnode multipler has been added, it lets you reduce money from a
  server without gaining actually any money. This is important for BN8 where
  hack/grow can influence the stock market. No money can be gained from
  hacking but server money can still be reduced.

**Documentation**

- readthedocs should now be more consistent and many examples were added.

**Netscript**

- Ace editor will now correctly highlight all functions.
- 'tFormat' is a new netscript function that returns a human readable
  representation of milliseconds. eg. "2 hours 15 minute 43 seconds"

**Gang**

- style improvements

**Bladeburner**

- style improvements
- fix bug where 'skill list SKILL' would crash if skill is level 0.

**Sleeve**

- karma gain now scales with sync.

**Misc.**

- Fix issue where the effective stats under Character>Stats were being calculated.
- nerf noodle bar

## v0.49.0 - 2021-03-11 Source-File -1 (hydroflame)

**Source-File -1**

- For advanced players: The game now embraces exploits and will reward
  players for doing so.

**Gang**

- ascension is less effective as the ascension multiplier goes up.
- territory gain scales with power difference.

**Netscript**

- 'gang.getEquipmentStats' returns the stats of the equipment.
- 'gang.getTaskStats' returns the stats of a task.
- 'getCrimeStats' returns the stats of a crime.
- Crashes should now print the ns stack trace.
- Log messages are now more consistent.
- 'softReset' now accepts a callback script like 'installAugmentations'

**Misc.**

- Minor formatting under Hacking>Active Scripts
- option menu colors now match the rest of the game, kinda.
- nerf noodle bar

## v0.48.0 - ASCII - 2021-03-07 (hydroflame)

**ASCII**

- Travel Agency now displays a world map
- Cities are now top view of metro station maps

**Netscript**

- 'softReset' is a new netscript function that performs a soft reset
  regardless of if the player has bought augmentations or not.
- 'getAugmentationStats' is a new netscript function that returns the stats of
  an augmentation.
- getCharacterInformation now additionally returns exp
- pid resets back to 1 when installing or destroying a BitNode.
- New '.ns' scripts start with a main function.
- 'hacknet.maxNumNodes' returns the maximum number of hacknet nodes.

**Bladeburner**

- Current stamina will scale as max stamina increases, this prevents players
  from having very high penalty when they gain huge amount of exp at the
  start of a reset.

**Misc.**

- Fixed an issue where SF3 was listed as infinitly repeatable and SF12 as
  having a limit of 3.
- Fixed an issue where the gang equipment screen would freeze the game if a
  script installed augmentations while it is open.
- All BonusTime now displays in the 'H M S' format.
- Donation textbox style updated to match the rest of the game.
- Corporation name style updated to match the rest of the game.
- minor formatting under Hacking>Active Scripts
- typo in BN12 description
- BN12 now reduces contract money
- Character>Stats percentages are aligned, server and hacknet limit are
  displayed, if the player has SF5 the reduces stats are shown.
- Character>Augmentations now displays by how much the player stats will
  increase.
- Character>Augmentations has a badge indicating how many augs the player
  has bought but not installed
- Character>Factions has a badge indicating how many factions have pending
  invites.
- nerf noodle bar

## v0.47.2 - 7/15/2019

**Netscript Changes**

- Added tail() Netscript function
- hacknet.getNodeStats() function now returns an additional property for Hacknet Servers: hashCapacity
- When writing to a file, the write() function now casts the data being written to a string (using String())
- BitNode-selection page now shows what Source-File level you have for each BitNode
- Overloaded kill() function so that you can kill a script by its PID
- spawn() now only takes 10 seconds to run (decreased from 20 seconds)
- run() and exec() now return the PID of the newly-executed scripts, rather than a boolean
  - (A PID is just a positive integer)
- run(), exec(), and spawn() no longer need to be await-ed in NetscriptJS
- Script parsing and RAM calculations now support ES9
- installAugmentations() no longer has a return value since it causes all scripts to die
- isBusy() now returns true if you are in a Hacking Mission
- Bug fix: workForFaction() function now properly accounts for disabled logs
- Bug fix: RAM should now be properly calculated when running a callback script with installAugmentations()
- Bug fix: Fixed bug that caused scripts killed by exit()/spawn() to "clean up" twice

**Misc Changes**

- The 'kill' Terminal command can now kill a script by its PID
- Added 'Solarized Dark' theme to CodeMirror editor
- After Infiltration, you will now return to the company page rather than the city page
- Bug fix: Stock Market UI should no longer crash for certain locale settings
- Bug fix: You can now properly remove unfinished programs (the `*.exe-N%-INC` files)
- Bug fix: Fixed an issue that allowed you to increase money on servers with a 'maxMoney' of 0 (like CSEC)
- Bug fix: Scripts no longer persist if they were started with syntax/import errors
- Bug fix: 'hack' and 'analyze' Terminal commands are now blocking
- Bug fix: Exp earned by duplicate sleeves at universities/gyms now takes hash upgrades into account

## v0.47.1 - 6/27/2019

- Stock Market changes:

  - Transactions no longer influence stock prices (but they still influence forecast)
  - Changed the way stocks behave, particularly with regard to how the stock forecast occasionally "flips"
  - Hacking & growing a server can potentially affect the way the corresponding stock's forecast changes
  - Working for a company positively affects the way the corresponding stock's forecast changes

- Scripts now start/stop instantly
- Improved performance when starting up many copies of a new NetscriptJS script (by Ornedan)
- Improved performance when killing scripts
- Dialog boxes can now be closed with the ESC key (by jaguilar)
- NetscriptJS scripts should now be "re-compiled" if their dependencies change (by jaguilar)
- write() function should now properly cause NetscriptJS scripts to "re-compile" (by jaguilar)

## v0.47.0 - 5/17/2019

- Stock Market changes:

  - Implemented spread. Stock's now have bid and ask prices at which transactions occur
  - Large transactions will now influence a stock's price and forecast
  - This "influencing" can take effect in the middle of a transaction
  - See documentation for more details on these changes
  - Added getStockAskPrice(), getStockBidPrice() Netscript functions to the TIX API
  - Added getStockPurchaseCost(), getStockSaleGain() Netscript functions to the TIX API

- Re-sleeves can no longer have the NeuroFlux Governor augmentation

  - This is just a temporary patch until the mechanic gets re-worked

- hack(), grow(), and weaken() functions now take optional arguments for number of threads to use (by MasonD)
- codingcontract.attempt() now takes an optional argument that allows you to configure the function to return a contract's reward
- Adjusted RAM costs of Netscript Singularity functions (mostly increased)
- Adjusted RAM cost of codingcontract.getNumTriesRemaining() Netscript function
- Netscript Singularity functions no longer cost extra RAM outside of BitNode-4
- Corporation employees no longer have an "age" stat
- Gang Wanted level gain rate capped at 100 (per employee)
- Script startup/kill is now processed every 3 seconds, instead of 6 seconds
- getHackTime(), getGrowTime(), and getWeakenTime() now return Infinity if called on a Hacknet Server
- Money/Income tracker now displays money lost from hospitalizations
- Exported saves now have a unique filename based on current BitNode and timestamp
- Maximum number of Hacknet Servers decreased from 25 to 20
- Bug Fix: Corporation employees stats should no longer become negative
- Bug Fix: Fixed sleeve.getInformation() throwing error in certain scenarios
- Bug Fix: Coding contracts should no longer generate on the w0r1d_d43m0n server
- Bug Fix: Duplicate Sleeves now properly have access to all Augmentations if you have a gang
- Bug Fix: getAugmentationsFromFaction() & purchaseAugmentation() functions should now work properly if you have a gang
- Bug Fix: Fixed issue that caused messages (.msg) to be sent when refreshing/reloading the game
- Bug Fix: Purchasing hash upgrades for Bladeburner/Corporation when you don't actually have access to those mechanics no longer gives hashes
- Bug Fix: run(), exec(), and spawn() Netscript functions now throw if called with 0 threads
- Bug Fix: Faction UI should now automatically update reputation
- Bug Fix: Fixed purchase4SMarketData()
- Bug Fix: Netscript1.0 now works properly for multiple 'namespace' imports (import \* as namespace from "script")
- Bug Fix: Terminal 'wget' command now correctly evaluates directory paths
- Bug Fix: wget(), write(), and scp() Netscript functions now fail if an invalid filepath is passed in
- Bug Fix: Having Corporation warehouses at full capacity should no longer freeze game in certain conditions
- Bug Fix: Prevented an exploit that allows you to buy multiple copies of an Augmentation by holding the 'Enter' button
- Bug Fix: gang.getOtherGangInformation() now properly returns a deep copy
- Bug Fix: Fixed getScriptIncome() returning an undefined value
- Bug Fix: Fixed an issue with Hacknet Server hash rate not always updating

## v0.46.3 - 4/20/2019

- Added a new Augmentation: The Shadow's Simulacrum
- Improved tab autocompletion feature in Terminal so that it works better with directories
- Bug Fix: Tech vendor location UI now properly refreshed when purchasing a TOR router
- Bug Fix: Fixed UI issue with faction donations
- Bug Fix: The money statistics & breakdown should now properly track money earned from Hacknet Server (hashes -> money)
- Bug Fix: Fixed issue with changing input in 'Minimum Path Sum in a Triangle' coding contract problem
- Fixed several typos in various places

## v0.46.2 - 4/14/2019

- Source-File 2 now allows you to form gangs in other BitNodes when your karma reaches a very large negative value

  - (Karma is a hidden stat and is lowered by committing crimes)

- Gang changes:

  - Bug Fix: Gangs can no longer clash with themselve
  - Bug Fix: Winning against another gang should properly reduce their power

- Bug Fix: Terminal 'wget' command now works properly
- Bug Fix: Hacknet Server Hash upgrades now properly reset upon installing Augs/switching BitNodes
- Bug Fix: Fixed button for creating Corporations

## v0.46.1 - 4/12/2019

- Added a very rudimentary directory system to the Terminal

- Added numHashes(), hashCost(), and spendHashes() functions to the Netscript Hacknet Node API
- 'Generate Coding Contract' hash upgrade is now more expensive
- 'Generate Coding Contract' hash upgrade now generates the contract randomly on the server, rather than on home computer
- The cost of selling hashes for money no longer increases each time
- Selling hashes for money now costs 4 hashes (in exchange for $1m)
- Bug Fix: Hacknet Node earnings should work properly when game is inactive/offline
- Bug Fix: Duplicate Sleeve augmentations are now properly reset when switching to a new BitNode

## v0.46.0 - 4/3/2019

- Added BitNode-9: Hacktocracy
- Changed BitNode-11's multipliers to make it slightly harder overall
- Source-File 11 is now slightly stronger
- Added several functions to Netscript Sleeve API for buying Sleeve augmentations (by hydroflame)
- Added a new stat for Duplicate Sleeves: Memory
- Increase baseline experience earned from Infiltration, but it now gives diminishing returns (on exp) as you get to higher difficulties/levels
- In Bladeburner, stamina gained from Hyperbolic Regeneration Chamber is now a percentage of your max stamina

- Corporation Changes:

  - 'Demand' value of products decreases more slowly
  - Bug Fix: Fixed a Corporation issue that broke the Market-TA2 Research
  - Bug Fix: Issuing New Shares now works properly

- Bug Fix: Money Statistics tracker was incorrectly recording profits when selling stocks manually
- Bug Fix: Fixed an issue with the job requirement tooltip for security jobs

## v0.45.1 - 3/23/2019

- Added two new Corporation Researches
- General UI improvements (by hydroflame and koriar)
- Bug Fix: Sleeve Netscript API should no longer cause Dynamic RAM errors
- Bug Fix: sleeve.getSleeveStats() should now work properly

## v0.45.0 - 3/22/2019

- Corporation changes:

  - Decreased the time of a full market cycle from 15 seconds to 10 seconds.
  - This means that each Corporation 'state' will now only take 2 seconds, rather than 3
  - Increased initial salaries for newly-hired employees
  - Increased the cost multiplier for upgrading office size (the cost will increase faster)
  - The stats of your employees now has a slightly larger effect on production & sales
  - Added several new Research upgrades
  - Market-TA research now allows you to automatically set sale price at optimal values
  - Market-TA research now works for Products (not just Materials)
  - Reduced the amount of Scientific Research needed to unlock the Hi-Tech R&D Laboratory from 10k to 5k
  - Energy Material requirement of the Software industry reduced from 1 to 0.5
  - It is now slightly easier to increase the Software industry's production multiplier
  - Industries now have a maximum number of allowed products, starting at 3. This can be increased through research.
  - You can now see an approximation of how each material affects an industry's production multiplier by clicking the "?" help tip next to it
  - Significantly changed the effects of the different employee positions. See updated descriptions
  - Reduced the amount of money you gain from private investors
  - Training employees is now 3x more effective
  - Bug Fix: An industry's products are now properly separated between different cities

- The QLink Augemntation is now significantly stronger, but also significantly more expensive (by hydroflame)
- Added a Netscript API for Duplicate Sleeves (by hydroflame)
- Modified the multipliers of BitNode-3 and BitNode-8 to make them slightly harder
- After installing Augmentations, Duplicate Sleeves will now default to Synchronize if their Shock is 0
- Bug Fix: Bladeburner's Hyperbolic Regeneration Chamber should no longer instantly refill all stamina
- Bug Fix: growthAnalyze() function now properly accounts for BitNode multipliers
- Bug Fix: The cost of purchasing Augmentations for Duplicate Sleeves no longer scales with how many Augs you've purchased for yourself

## v0.44.1 - 3/4/2019

- Duplicate Sleeve changes:

  - You can now purchase Augmentations for your Duplicate Sleeves
  - Sleeves are now assigned to Shock Recovery task by default
  - Shock Recovery and Synchronize tasks are now twice as effective

- Changed documentation so that Netscript functions are own their own pages. Sorry if this is annoying, it was necessary for properly cross-referencing
- Officially deprecated the Wiki (the fandom site). Use the 'readthedocs' Documentation instead
- Bug Fix: 'rm' Terminal and Netscript commands now work on non-program files that have '.exe' in the name (by Github user MasonD)
- Bug Fix: The 'Find All Valid Math Expressions' Coding Contract should now properly ignore whitespace in answers
- Bug Fix: The 'Merge Overlapping Intervals' Coding Contract should now properly accept 2D arrays when being attempted through Netscript

## v0.44.0 - 2/26/2019

- Bladeburner Changes:
  - Reduced the amount of rank needed to earn a skill point
  - Reduced the effects of the "Reaper" and "Evasive System" skills
  - Increased the effect of the "Hyperdrive" and "Hands of Midas" skills
  - Slightly increased the rate which the skill point cost rises for almost all skills
  - The "Overlock" Skill now has a maximum level of 90 instead of 95
  - Money earned from Contracts increased by 400%
  - Changed the way population affects success rate. Extreme populations now have less dramatic effects
  - Added two new General Actions: Diplomacy and Hyperbolic Regeneration Chamber
  - Lowered the rep and money cost of the "Blade's Simulacrum" augmentation
  - Significantly decreased the initial amount of Contracts/Operations (the "Contracts/Operations remaining" value)
  - Decreased the rate at which the amount of Contracts/Operations increases over time
  - Decreased the number of successes you need to increase the max level of a Contract/Operation
  - Increased the average number of Synthoid communities each city has
  - Reduced the amount by which a successful raid will decrease the population of a city
  - The "riots" event will now increase the chaos of a city by a greater amount
  - Significantly increased the effect that Agility and Dexterity have on action time
- Added new BitNode multipliers:
  - HomeComputerRamCost - Affects how much it costs to upgrade home computer's RAM
  - DaedalusAugsRequirement - Affects how many Augmentations you need in order to get invited to Daedalus
  - FourSigmaMarketDataCost - Affects how much it costs to unlock the stock market's 4S Market Data
  - FourSigmaMarketDataApiCost - Affects how much it costs to unlock the stock market's 4S Market Data API
- A few minor changes to BitNode multipliers across the board (mostly for the new multipliers)
- 'The Covenant' now requires 20 total Augmentations to get invited, rather than 30
- You can now purchase permanent Duplicate Sleeves from 'The Covenant'. This requires Source-File 10, and you must be in BN-10 or after
- You can now track where all of your money comes from in the 'Stats' page
- Increased the money gained from Coding Contracts by 50%
- getCharacterInformation() function now returns the player's HP and max HP
- Bug Fix: You can no longer disconnect the enemy's connections in Hacking Missions
- Bug Fix: Duplicate Sleeve faction reputation gain is now properly affected by faction favor
- Bug Fix: After installing Augmentations, the Terminal display will now correctly show the current server as "home"
- Bug Fix: Fixed an exploit where you could change the duration of timed functions (e.g. hack, weaken) in NetscriptJS
- Bug Fix: You should now properly be able to use the ServerProfile.exe program
- Bug Fix: Prevented exploit that allowed you to accept faction invites programmatically through NetscriptJS
- Bug Fix: Faction invitations for megacorporations should now work properly

## v0.43.1 - 2/11/2019

- Terminal changes:

  - Quoted arguments are now properly parsed. (e.g. 'run f.script "this is one argument"' will be correctly parsed)
  - Errors are now shown in red text
  - 'unalias' command now has a different format and no longer needs the quotations
  - Bug Fix: Fixed several edge cases where autocomplete wasn't working properly

- Added two new Bladeburner skills for increasing money and experience gain
- Made some minor adjustments to Bladeburner UI
- Corporation "Smart Factories" and "Smart Storage" upgrades have slightly lower price multipliers
- Added nFormat Netscript function
- Added 6 new Coding Contract problems
- Updated documentation with list of all Coding Contract problems
- Minor improvements for 'Active Scripts' UI
- Implemented several optimizations for active scripts. The game should now use less memory and the savefile should be slightly smaller when there are many scripts running
- Bug Fix: A Stock Forecast should no longer go above 1 (i.e. 100%)
- Bug Fix: The cost of Resleeves should no longer be affected by buying Augs
- Bug Fix: Duplicate Sleeves now use their own stats to determine crime success rate, instead of the host consciousness' stats
- Bug Fix: You can now call the prompt() Netscript function from multiple scripts simultaneously

## v0.43.0 - 2/4/2019

- Added BitNode-10: Digital Carbon

- Stock Market Changes:

  - Each stock now has a maximum number of shares you can purchase (both Long and Short positions combined)
  - Added getStockMaxShares() Netscript function to the TIX API
  - The cost of 4S Market Data TIX API Access increased from $20b to $25b

- Job Changes:

  - You can now hold multiple jobs at once. This means you no longer lose reputation when leaving a company
  - Because of this change, the getCharacterInformation() Netscript function returns a slightly different value

- Script Editor Changes:

  - Added new script editor: CodeMirror. You can choose between the old editor (Ace) or CodeMirror
  - Navigation keyboard shortcuts no longer work if the script editor is focused

- Trying to programmatically run a script (run(), exec()) with a 'threads' argument of 0 will now cause the function to return false without running the script
- Home Computer RAM is now capped at 2 ^ 30 GB (1073741824 GB)
- The maximum amount, maximum RAM, and cost of purchasing servers can now vary between different BitNodes (new BitNode multipliers)
- Pop-up dialog boxes are a little bit bigger
- Bug Fix: When importing scripts, "./" will now be properly ignored (e.g. import { foo } from "./lib.script" )

## v0.42.0 - 1/8/2019

- Corporation Changes:

  - Corporation can now be self-funded with $150b or using seed money in exchange for 500m newly-issued shares
  - In BitNode-3, you no longer start with $150b
  - Changed initial market prices for many materials
  - Changed the way a material's demand, competition, and market price change over time
  - The sale price of materials can no longer be marked-up as high
  - Added a Research Tree mechanic. Spend Scientific Research on permanent upgrades for each industry
  - You can now redistribute earnings to shareholders (including yourself) as dividends
  - Cost of "Smart Supply" upgraded reduced from $50b to $25b
  - Now has offline progress, which works similarly to the Gang/Bladeburner mechanics
  - Slightly reduced the amount of money offered to you by investment firms
  - Employee salaries now slowly increase over time
  - Slightly reduced the effect "Real Estate" has on the Production Multiplier for the Agriculture industry
  - Changed the way your Corporation's value is calculated (this is what determines stock price)
  - After taking your corporation public, it is now possible to issue new shares to raise capital
  - Issuing new shares can only be done once every 12 hours
  - Buying back shares must now be done at a premium
  - Selling shares can now only be done once per hour
  - Selling large amounts of shares now immediately impacts stock price (during the transaction)
  - Reduced the initial cost of the DreamSense upgrade from $8b to $4b, but increased its price multiplier
  - Reduced the price multiplier for ABC SalesBots upgrade

- Added getOrders() Netscript function to the TIX API
- Added getAugmentationPrereq() Singularity function (by havocmayhem)
- Added hackAnalyzePercent() and hackAnalyzeThreads() Netscript functions
- Stock Market, Travel, and Corporation main menu links are now properly styled
- Many pop-up/dialog boxes now support the 'Enter' and 'Esc' hotkeys. If you find a pop-up/dialog box that doesnt support this, let me know specifically which one ('Enter' for the default option, 'Esc' for cancelling and closing the pop-up box)
- Added "brace_style = preserve_inline" configuration to Script Editor Beautifier
- ServerProfiler.exe can now be purchased from the Dark Web
- Added an option to copy save data to clipboard
- Added total multiplier information on the "Augmentations" page
- Bug Fix: gymWorkout() Singularity function should now work properly with Millenium Fitness Gym
- Began migrating gameplay information to the ReadTheDocs documentation

## v0.41.2 - 11/23/2018

- IMPORTANT - Netscript Changes:

  - rm() now takes an optional parameter that lets you specify on which server to delete the file
  - Added growthAnalyze() Netscript function

- Gang Changes:

  - UI now displays your chance to win a clash with other gangs
  - Added getChanceToWinClash() function to the Gang API
  - Added getEquipmentType() function to the Gang API
  - Added several new hacking-based equipment and Augmentations
  - Rebalanced several equipment/upgrades to give less defense
  - Wanted level gain rate is now be slightly higher for all tasks
  - Rebalanced parameters for "hacking" tasks

- Added new Main Menu configuration in .fconf: "compact"
- Added the terminal command 'expr', which can be used to evaluate simple mathematical expressions
- Bug Fix: Can no longer purchase duplicate equipment/Augmentations through gang.purchaseEquipment()
- Bug Fix: scp() should no longer throw errors when used with 2-arguments and an array of files
- Bug Fix: Coding Contracts no longer give money in BitNode-8
- Bug Fix: In Bladeburner, you can no longer start a BlackOp through the Netscript API if it has already been completed
- Bug Fix: In Bladeburner, fixed a bug which caused the configured 'automate' actions to occasionally be switched to other actions
- Bug Fix: 'Return to World' button at locations no longer accumulates event listeners
- Bug Fix: Working & taking classes now continuously add/subtract money during the action, instead of doing it at completion
- Bug Fix: Top-right overview panel now displays negative money using '-' instead of '()'
- Bug Fix: Stock Market UI should no longer show 'NaN' profit immediately after buying a stock

## v0.41.1 - 11/5/2018

- IMPORTANT - Netscript Changes:

  - purchaseTor() now returns true if you already have a TOR router (it used to return false)
  - getPurchasedServerCost() now returns Infinity if the specified RAM is an invalid amount or is greater than the max amount of RAM (2 ^ 20 GB)
  - Added purchase4SMarketData() and purchase4SMarketDataTixApi() functions
  - getScriptLogs() now takes in optional arguments that let you get the logs of another script

- Stock Market changes:

  - Stocks now have "maximum prices". These are hidden from the player
  - If a stock reaches its "maximum price", it will most likely drop in value (although it might still rise)
  - Each stock has its own, unique maximum price
  - Maximum price for each stock are randomly generated and change during each 'reset'
  - Stock Market cycles are now accumulated/stored, much like it is for Gangs and Bladeburners
  - Accumulated/stored cycles cause stock prices to update up to 50% faster (from every 6 seconds to 4 seconds)
    - This means that after coming back from being offline, stock prices will update faster to make up for offline time

- Decreased the Hacking Level multiplier for BitNodes 6 and 7 to 0.4 (from 0.5)
- Bladeburner console history is now saved and persists when switching screens or closing/reopening the game
- In Bladeburner, if your stamina reaches 0 your current action will be cancelled
- b1t_flum3.exe is no longer removed from your home computer upon reset
- Added main menu link for the Stock Market (once you've purchased an account)
- Job main menu link only appears if you actually have a job
- Bug Fix: Netscript Gang API functions purchaseEquipment() and ascendMember() should now work properly
- Bug Fix: After installing Augs, the "Portfolio Mode" button on the Stock Market page should be properly reset
- Bug Fix: bladeburner.getActionCountRemaining()'s return value is now rounded down (by Kline-)

## v0.41.0 - 10/29/2018

- WARNING: In NetscriptJS, defining a function called print() is no longer possible
- Gang Mechanic Changes (BitNode-2):
  - Added a Gang Netscript API
  - Added new 'ascension' mechanic for Gang Members
  - The first three gang members are now 'free' (can be recruited instantly)
  - Maximum number of increased Gang Members increased from 20 to 30
  - Changed the formula for calculating respect needed to recruit the next gang member
  - Added a new category of upgrades for Gang Members: Augmentations
  - Non-Augmentation Gang member upgrades are now significantly weaker
  - Reputation for your Gang faction can no longer be gained through Infiltration
  - Re-worked the territory 'warfare' mechanic so that player can choose when to engage in it
  - Gang Members can now be killed during territory 'warfare'
  - Changed BitNode-2 Multipliers to make hacking slightly less profitable
  - Gang Member Equipment + Upgrades now get cheaper as your gang grows in power and respect
  - The effects of Source-File 2 are now slightly more powerful
- RAM Cost of accessing the global document object lowered from 100 GB to 25 GB
- RAM Cost to use Singularity Functions outside of BitNode-4 lowered by 75%. They now only cost twice as much as they do in BitNode-4
- b1t_flum3.exe now takes significantly less time to create
- Crimes commited through Singularity function no longer give half money/exp (there is now no penalty)
- Improved number formatting for Player 'work' actions (including crimes, etc.). These numbers should also adhere to locale settings now (by Kline-)
- The order that Augmentations are listed in (when purchasing from Faction and viewing your Augmentations) is now saved and persists when choosing different orders
- getCharacterInformation() Singularity function now returns multiplier information (from Augmentations/Source Files)
- Bug Fix: Calling print() in NetscriptJS no longer brings up the print dialog
- Bug Fix: Fixed a bug that sometimes caused a blank black screen when destroying/resetting/switching BitNodes
- Bug Fix: Netscript calls that throw errors will now no longer cause the 'concurrent calls' error if they are caught in the script. i.e. try/catch should now work properly in scripts
- Bug Fix: Fixed a bug where sometimes the NeuroFlux Governor Augmentation level would be incorrectly calculated when the game was loaded
- Bug Fix: Fixed a bug where calling the scp() Netscript function with invalid hostname/ips would throw an unclear error message
- Bug Fix: Bladeburner API function getActionCountRemaining() should now work properly for BlackOps
- Bug Fix: Black Ops can no longer be attempted out-of-order or without the required rank via Bladeburner API
- Bug Fix: Dynamic RAM Calculation now properly accounts for number of threads
- RAM cost for basic Netscript functions added to documentation (by CBJamo)

## v0.40.5 - 10/09/2018

- Added codingcontract.getContractType() Netscript function
- Bug Fix: codingcontract.getData() Netscript function now returns arrays by value rather than reference
- Bug Fix: Decreased highest possible data value for 'Find Largest Prime Factor' Coding Contract (to avoid hangs when solving it)
- Bug Fix: Fixed a bug that caused game to freeze during Coding Contract generation

## v0.40.4 - 9/29/2018

- Added new Coding Contracts mechanic. Solve programming problems to earn rewards
- The write() and read() Netscript functions now work on scripts
- Added getStockSymbols() Netscript function to the TIX API (by InfraK)
- Added wget() Netscript function
- Added bladeburner.getActionRepGain() function to the Netscript Bladeburner API
- The getLevelUpgradeCost(), getRamUpgradeCost(), and getCoreUpgradeCost() functions in the Hacknet API now return Infinity if the node is at max level. See documentation
- It is now possible to use freely use angled bracket (<, >) and create DOM elements using tprint()
- The game's theme colors can now be set through the Terminal configuration (.fconf).
- You can now switch to the old left-hand main menu bar through the Terminal configuration (.fconf)
- Bug Fix: grow() percentage is no longer reported as Infinity when a server's money is grown from 0 to X
- Bug Fix: Infiltration popup now displays the correct amount of exp gained

## v0.40.3 - 9/15/2018

- Bladeburner Changes:
  - Increased the effect that agi and dexterity have on action time
  - Starting number of contracts/operations available will be slightly lower
  - Random events will now happen slightly more often
  - Slightly increased the rate at which the Overclock skill point cost increases
- The maximum volatility of stocks is now randomized (randomly generated within a certain range every time the game resets)
- Increased the range of possible values for initial stock prices
- b1t_flum3.exe program can now be created immediately at Hacking level 1 (rather than hacking level 5)
- UI improvements for the character overview panel and the left-hand menu (by mat-jaworski)
- General UI improvements for displays and Terminal (by mat-jaworski)
- Added optional parameters to the getHackTime(), getGrowTime(), and getWeakenTime() Netscript functions
- Added isLogEnabled() and getScriptLogs() Netscript functions
- Added donateToFaction() Singularity function
- Updated documentation to reflect the fact that Netscript port handles (getPortHandle()) only works in NetscriptJS (2.0), NOT Netscript 1.0
- Added tryWrite() Netscript function
- When working (for a company/faction), experience is gained immediately/continuously rather than all at once when the work is finished
- Added a setting in .fconf for enabling line-wrap in the Terminal input
- Adding a game option for changing the locale that most numbers are displayed in (this mostly applies for whenever money is displayed)
- The randomized parameters of many high-level servers can now take on a higher range of values
- Many 'foreign' servers (hackable servers that you don't own) now have a randomized amount of RAM
- Added 'wget' Terminal command
- Improved the introductory tutorial

## v0.40.2 - 8/27/2018

- Bladeburner Changes:
  - Added getBonusTime(), getSkillUpgradeCost(), and getCity() Netscript functions to the API
  - Buffed the effects of many Bladeburner Augmentations
  - The Blade's Simulacrum Augmentation requires significantly less reputation but slightly more money
  - Slightly increased the amount of successes needed for a Contract/Operation in order to increase its max level
  - Increased the amount of money gained from Contracts by ~25%
  - Increased the base amount of rank gained from Operations by 10%
  - Significantly increased the 'randomness' in determining a Contract/Operation's initial count and rate of count increase
  - The number (count) of Operations should now increase significantly faster
  - There are now, on average, more Synthoid communities in a city
  - If automation is enabled (the feature in Bladeburner console), then switching to another action such as working for a company will now disable the automation
- Stock Market Changes:
  - Added a watchlist filter feature to the UI that allows you to specify which stocks to show
  - Added the Four Sigma (4S) Market Data feed, which provides volatility and price forecast information about stocks
  - Added the 4S Market Data TIX API, which lets you access the aforementioned data through Netscript
- There is now a setting for enabling/disabling the popup that appears when you are hospitalized
- Bug Fix: Stock market should now be correctly initialized in BitNode-8 (by Kline-)
- Bug Fix: bladeburner.getCurrentAction() should now properly an 'Idle' object rather than null (by Kline-)
- Bug Fix: Bladeburner skill cost multiplier should now properly increase in BitNode-12 (by hydroflame)
- Bug Fix: 'document', 'hacknet', and 'window' keywords should no longer be counted multiple times in RAM calculations
- Bug Fix: Joining factions through Singularity functions should now prevent you from joining opposing factions
- Bug Fix: Four Sigma should no longer have two 'Speech Enhancement' Augmentations (by Kline-)

## v0.40.1 - 8/5/2018 - Community Update

- Added getPurchasedServerCost() Netscript function (by kopelli)
- Added getFavorToDonate() Netscript function (by hydroflame)
- Added getFactionFavorGain() and getCompanyFavorGain() Singularity functions (by hydroflame)
- Accumulated 'bonus' time in Bladeburner is now displayed in the UI (by hydroflame)
- The Red Pill can now be purchased with negative money (since its supposed to be free) (by hydroflame)
- Cranial Signal Processor Augmentations now have the previous generation as a prerequisite. i.e. Cranial Signal Processor - Gen II requires Gen I (by Kline-)
- Terminal now supports semicolon usage (end of command). This allows chaining multiple Terminal commands (by hydroflame)
- Bladeburner Raid operations can no longer be performed if your estimate of Synthoid communities is zero (by hydroflame)
- The difficulty of BN-12 now scales faster (by hydroflame)
- Active Scripts UI now shows a RAM Usage bar for each server (by kopelli)
- Bug Fix: Corrected terminal timestamp format (by kopelli)
- Bug Fix: NetscriptJS scripts should now die properly if they don't have a 'main' function (by hydroflame)
- Bug Fix: write(), read(), and tryWrite() Netscript functions should now work properly for writing Arrays/objects to Netscript Ports
- Various minor UI/QOL fixes by hydroflame, kopelli, and Kline-

## v0.40.0 - 7/28/2018

- **WARNING: This update makes some significant changes to Netscript and therefore you may need to make some changes to your scripts. See** `this post <https://www.reddit.com/r/Bitburner/comments/9252j4/psa_netscript_10_changes_in_next_version_v0400/>`\_ **this post for details**
- Netscript 1.0 (NS1) now uses a fully-fledged ES5 JavaScript Interpreter. This means many new features are now available in NS1, and this also fixes several bugs.
  However this also means any ES6+ features are no longer supported in NS1
- When a server is hacked with a very large number of threads and left with no money, the server's security level
  now only increases by however many threads were needed to drain the server. For example, if you hack a server with
  5000 threads but it only needed 2000 threads to deplete the server's money, then the server's security will only increase
  as if you had hacked it with 2000 threads (change by hydroflame)
- Added getCurrentAction() to Bladeburner API
- Added a variety of functions to Bladeburner API that deal with action levels (change by hydroflame)
- Added getPurchasedServerLimit() and getPurchasedServerMaxRam() functions to Netscript (change by hydroflame & kopelli)
- Added getOwnedSourceFiles() Singularity function (by hydroflame)
- Completely re-designed the Hacknet Node API
- getSkillLevel() in Bladeburner API now returns an error if no argument is passed in (as opposed to an object with all skill levels). This may break scripts
- Minimum Netscript execution time reduced from 15ms to 10ms (configurable in Options)
- Company reputation needed to get invited to Megacorporation factions decreased from 250k to 200k
- HP is now reset (restored) when Augmenting
- Source-File 6 now increases both the level and experience gain of all combat stats (it was only experience gain previously)
- Reverted a previous change for Source-File 12. It's benefits are now multiplicative rather than additive
- Starting Infiltration security level for almost every location decreased by ~10%
- Changed 'fl1ght.exe' message when its listed conditions are fulfilled (by hydroflame)
- The 'Save Game' button in the top-right overview panel now flashes red if autosave is disabled
- Bug Fix: Infiltration buttons can no longer be clicked through NetscriptJS
- Bug Fix: Bladeburner 'Overclock' skill can no longer be leveled above max level through the API (by hydroflame)
- Bug Fix: Healthcare division in Bladeburner should no longer cause game to crash

## v0.39.1 - 7/4/2018

- Bladeburner Rank gain in BN-7 is now reduced by 40% instead of 50%
- Quadrupled the amount of money gained from Bladeburner contracts
- Added joinBladeburnerDivision() Netscript function to Bladeburner API
- Doubled the effects of Source-File 5. Now gives 8%, 12%, and 14% increase to all hacking multipliers at levels 1, 2, and 3, respectively (increased from 4%/6%, 7%)
- Increased the effect of Source-File 8. It now gives a 12%, 18% and 21% to your hacking growth multiplier at levels 1, 2, and 3, respectively (increased from 8%, 12%, 14%)
- The effect of Source-File 12 is now additive with itself, rather than multiplicative. This means that level N of Source-File 12 now increases all multipliers by N%
- The setting to suppress the confirmation box when purchasing Augmentations was moved into the main Options menu (by Github user hydroflame)
- Bug Fix: Crime Success rates were being calculated incorrectly (by Github user hydroflame)
- When an Infiltration is finished, you will now return back to the company's page, rather than the city
- Infiltration faction reputation selector now remembers your last choice
- Significantly increased the amount of money gained from Infiltration
- Bug Fix: Copying a NetscriptJS script to another server using scp now properly takes into account the script's changes.
- Bug Fix: Fixed an issue where game would not load in Edge due to incompatible features
- travelToCity() Singularity function no longer grants Intelligence exp"

## v0.39.0 - 6/25/2018

- Added BitNode-7: Bladeburner 2079
- Infiltration base difficulty decreased by 10% for most locations
- Experience gains from Infiltration slightly increased
- Money gained from Infiltration increased by 20%
- Added 'var' declarations in Netscript 1.0 (only works with 'var', not 'let' or 'const')
- Script base RAM cost is now 1.6 GB (increased from 1.4 GB)
- While/for loops and if statements no longer cost RAM in scripts
- Made short-circuit evaluation logic more consistent in Netscript 1.0
- Changelog button in the Options menu now links to the new Changelog URL (by Github user thePalindrome)
- Skill level calculation is now 'smoother' (by Github user hydroflame)
- Added a button to 'beautify' scripts in the text editor (by Github user hydroflame)
- Added favicon (by Github user kopelli)

## v0.38.1 - 6/15/2018

- Bug Fix: Using 'Object.prototype' functions like toLocaleString() or toString() should no longer cause errors in NetscriptJS
- Implemented by Github user hydroflame:
  - Accessing the 'window' and 'document' objects in Netscript JS now requires a large amount of RAM (100 GB)
  - Added game option to suppress travel confirmation
  - Text on buttons can no longer be highlighted
  - Bug Fix: Fixed an issue that caused NaN values when exporting Real Estate in Corporations
  - Bug Fix: Competition and Demand displays in Corporation are now correct (were reversed before)
  - Added ps() Netscript function
  - Bug Fix: grow() should no longer return/log a negative value when it runs on a server that's already at max money
  - Bug Fix: serverExists() Netscript function should now properly return false for non-existent hostname/ips
  - Bug Fix: Sever's security level should now properly increase when its money is grown to max value

## v0.38.0 - 6/12/2018

- New BitNode: BN-12 The Recursion - Implemented by Github user hydroflame
- Bladeburner Changes:
  - Bladeburner progress is no longer reset when installing Augmentations
  - The number of successess needed to increase a Contract/Operation's max level now scales with the current max level (gradually gets harder)
  - All Bladeburner Augmentations are now slightly more expensive and require more reputation
  - Black Operations now give higher rank rewards
  - Doubled the base amount of money gained from Contracts
  - Increased the amount of experience gained from Contracts/Actions
  - Added a new Augmentation: The Blade's Simulacrum
  - Bladeburner faction reputation gain is now properly affected by favor
- Hacking is now slightly less profitable in BitNode-3
- Updated Hacknet Nodes UI - Implemented by Github user kopelli
- Bug Fix: Fixed an exploit that allowed calling any Netscript function without incurring any RAM Cost in NetscriptJS

## v0.37.2 - 6/2/2018

- After joining the Bladeburners division, there is now a button to go to the Bladeburner content
  in the 'City' page
- You now start with $250m in BitNode-8 (increased from $100m)
- Bug Fix: You can now no longer directly edit Hacknet Node values through NetscriptJS (hopefully)
- Bug Fix: Bladeburners is no longer accessible in BN-8
- Bug Fix: getBitNodeMultipliers() Netscript function now returns a copy rather than the original object

## v0.37.1 - 5/22/2018

- You now earn money from successfully completing Bladeburner contracts. The amount you earn is based
  on the difficulty of the contract.
- Completing Field Analysis in Bladeburner now grants 0.1 rank
- The maximum RAM you can get on a purchased server is now 1,048,576 GB (2^20)
- Bug Fix: Fixed Netscript syntax highlighting issues with the new NetscriptJS
- Bug Fix: Netscript Functions now properly incur RAM costs in NetscriptJS
- Bug Fix: deleteServer() now fails if its called on the server you are currently connected to
- Removed in-game Netscript documentation, since it was outdated and difficult to maintain.
- Bug Fix: Updated the gymWorkout() Singularity function with the new exp/cost values for gyms

## v0.37.0 - 5/20/2018

- NetscriptJS (Netscript 2.0) released
- Running the game with the '?noScripts' query will start the game without loading any of your scripts. This should be used if you accidentally write a script that crashes your game

## v0.36.1 - 5/11/2018

- Bladeburner Changes:
  - Bug Fix: You can no longer get Bladeburner faction reputation through Infiltration
  - Initial difficulty of Tracking contracts reduced
  - Datamancer skill effect increased from 4% per level to 5%
  - Slightly decreased the base stamina cost of contracts/operations
  - Slightly increased the effects of the Tracer, Digital Observer, Short Circuit, Cloak, and Blade's Intuition skills
  - Overclock skill capped at level 95, rather than 99
  - Training gives significantly more exp/s
- Crime, Infiltration, and Hacking are now slightly more profitable in BN-6
- Gyms are now more expensive, but give slightly more exp
- Added getScriptName() and getHacknetMultipliers() Netscript functions (added by Github user hydroflame)
- getScriptRam() Netscript function now has default value for the second argument, which is hostname/ip (implemented by Github user hydroflame)
- There is now a soft-cap on stock price, which means it's no longer possible for the price of a stock to reach insanely-high values
- The ctrl+b hotkey in the text editor should now also be triggered by command+b on OSX (I don't have OSX so I can't confirm if this works)
- Many servers now have additional RAM
- Added an option to disable hotkeys/keyboard shortcuts
- Refactored 'Active Scripts' UI page to optimize its performance
- Added a new .fconf Terminal setting: ENABLE_TIMESTAMP
- 'Netscript Execution Time', which can be found in the Options, now has a minimum value of 15ms rather than 25ms
- Bug Fix: Fixed a typo in the Fulcrum Technologies company name (Technolgies -> Technologies)
- Bug Fix: hacknetnodes keyword should no longer incur RAM cost if its in a comment
- Bug Fix: disableLog() now works for the commitCrime() Netscript function (fixed by Github user hydroflame)

## v0.36.0 - 5/2/2018

- Added BN-6: Bladeburners
- Rebalanced many combat Augmentations so that they are slightly less powerful
- Bug Fix: When faction invites are suppressed, an invitation will no longer load the Faction page

## v0.35.2 - 3/26/2018

- Corporation Changes:
  - Fixed an issue with Warehouse upgrade cost. Should now be significantly cheaper than before.
  - Scientific Research now has a slightly more significant effect on Product quality
  - The Energy and Water Utilities industries are now slightly more profitable
  - The Robotics and Computer Hardware industries are now less profitable
  - The Software industry is slightly less profitable
  - When selling Materials and Products, the 'PROD' qualifier can now be used to set dynamic sell amounts based on your production
  - Exporting MAX should now work properly
  - You can no longer export past storage limits
  - Scientific Research production reduced
  - Effects of AdVert. Inc upgrade were reduced, but the effect that popularity and awareness have on sales was increased to compensate (popularity/awareness numbers were getting too big with Advert. Inc)
  - Bug Fix: Products from Computer Hardware division should now properly have ratings
- Improved Augmentation UI/UX. Now contains collapsible headers and sort buttons
- Improved Faction Augmentations display UI/UX. Now contains sort buttons. There is also an option to disable confirmation when purchasing Augmentations

## v0.35.1 - 3/12/2018

- You can now easily download all of your scripts/text files as zip folders. Use the 'help download' Terminal command for details
- Scripts are now downloaded with the .script.js extension at the end of their filename
- Corporation Management Changes:
  - Implemented Smart Supply unlock
  - Changed the way a division's Production Multiplier is calculated. It is now the sum of the individual Production Multiplier for every city. Therefore, it is now beneficial to open offices in different cities
  - Several small UI/UX improvements
  - Numerous balance changes. The significant ones are listed below.
  - Product descriptions will now display their estimated market price
  - The sale price of Products can no longer be marked up as high as before
  - Scientific Research now affects the rating of Products
  - In general, the maximum amount of product you are able to sell is reduced
  - Sale bonus from advertising (popularity/awareness) now has diminishing returns rather than scaling linearly
- Experience gained during Infiltration now scales linearly based on the clearance level you reach. Compared to before, the experience gained will be much less at lower clearance levels, but much more at higher clearance levels
- The editor can now be used to edit both scripts and text files
- New Terminal config file that can be edited using the command 'nano .fconf'. Right now there is only one option, but there will be more in the future.
- You can now enable Bash-style Terminal hotkeys using the .fconf file referenced above
- Bug Fix: Fixed an issue with the UI elements of Gang Management persisting across different instances of BitNode-2

## v0.35.0 - 3/3/2018

- Minor rebalancing of BitNodes due to the fact that Corporations provide a (relatively) new method of progressing
- Corporation Management Changes:
  - Once your Corporation gets big/powerful enough, you can now bribe Factions for reputation using company funds an/or stock shares
  - You can now only create one Division for every Industry type
  - Added several new UI/UX elements
  - Wilson Analytics multiplier was significantly reduced to 1% per level (additive).
  - Reduced the effect of Advert Inc upgrade. Advert Inc. upgrade price increases faster
  - Materials can now be marked up at higher prices
- Added Javascript's built-in Number object to Netscript
- Added getCharacterInformation(), getCompanyFavor(), and getFactionFavor() Netscript Singularity functions
- Rebalanced Singularity Function RAM Costs. They now cost x8 as much when outside of BN-4 (rather than x10). Also, many of the functions now use significantly less RAM
- Refactored Netscript Ports. You can now get a handle for a Netscript port using the getPortHandle() Netscript function. This allows you to access a port's underlying queue (which is just an array) and also makes several new functions available such as tryWrite(), full(), and empty().
- Number of Netscript Ports increased from 10 to 20
- Netscript assignments should now return proper values. i.e. i = 5 should return 5.
- Added throw statements to Netscript. It's not super useful since 'catch' isn't implemented, but it can be used to generate custom runtime error messages.
- Added import declaration to Netscript. With this, you are able to import functions (and only functions) from other files. Using export declarations is not necessary
- Most Netscript Runtime errors (the ones that cause your script to crash) should now include the line number where the error occured
- When working for a company, your current company reputation is now displayed
- Whenever you get a Faction Invite it will be immediately appended to your 'invited factions' list. Therefore the checkFactionInvitations() Singularity Function should now be properly useable since you no longer need to decline a Faction Invitation before it shows up in the result.
- Bug Fix: When purchasing servers, whitespace should now automatically be removed from the hostname
- Bug Fix: Can no longer have whitespace in the filename of text files created using write()
- Bug Fix: In Netscript, you can no longer assign a Hacknet Node handle (hacknetnodes[i]) to another value
- Bug Fix: If you are in the Factions tab when you accept an invitation from a Faction, the page will now properly 'refresh'
- Bug Fix: Scripts that run recursive functions should now be killed properly

## v0.34.5 - 2/24/2018

- Corporation Management Changes:
  - Market Research unlocks are now cheaper
  - New 'VeChain' upgrade: displays useful statistics about Corporation
  - Corporation cycles are processed 25% faster
  - Corporation valuation was lowered by ~10% (this affects stock price and investments)
  - Rebalanced the effects of advertising. Should now be more effective for every Industry
  - Fixed several bugs/exploits involving selling and buying back stock shares
  - You will now receive a Corporation Handbook (.lit file) when starting out BitNode-3. It contains a brief guide to help you get started. This same handbook can be viewed from the Corporation management screen
  - Slightly decreased the amount by which a Product's sell price can be marked up
  - Employees can now be assigned to a 'Training' task, during which they will slowly increase several of their stats
- Hopefully fixed an exploit with Array.forEach(). If there are any issues with using forEach, let me know
- Arguments passed into a script are now passed by value. This means modifying the 'args' array in a script should no longer cause issues
- Scripts executed programatically (via run(), exec(), etc.) will now fail if null/undefined is passed in as an argument
- Added peek() Netscript function
- killall() Netscript function now returns true if any scripts were killed, and false otherwise.
- hack() Netscript function now returns the amount of money gained for successful hacks, and 0 for failed hacks
- scp Terminal command and Netscript function now work for txt files
- Changes courtesy of Wraithan:
  - Text files are now displayed using 'pre' rather than 'p' elements when using the 'cat' Terminal command. This means tabs are retained and lines don't automatically wrap
  - ls() Netscript function now returns text files as well
- Removed round() Netscript function, since you can just use Math.round() instead
- Added disableLog() and enableLog() Netscript functions
- Removed the 'log' argument from sleep(), since you can now use the new disableLog function
- 'Netscript Documentation' button on script editor now points to new readthedocs documentation rather than wiki
- When working for a faction, your current faction reputation is now displayed
- Bug Fix: Hacking Missions should no longer break when dragging an existing connection to another Node
- Bug Fix: Fixed RAM usage of getNextHacknetNodeCost() (is not 1.5GB instead of 4GB)

## v0.34.4 - 2/14/2018

- Added several new features to Gang UI to make it easier to manage your Gang.
- Changed the Gang Member upgrade mechanic. Now, rather than only being able to have one weapon/armor/vehicle/etc., you can purchase all the upgrades for each Gang member and their multipliers will stack. To balance this out, the effects (AKA multipliers) of each Gang member upgrade were reduced.
- Added a new script editor option: Max Error Count. This affects how many approximate lines the script editor will process (JSHint) for common errors. Increasing this option can affect negatively affect performance
- Game theme colors (set using 'theme' Terminal command) are now saved when re-opening the game
- 'download' Terminal command now works on scripts
- Added stopAction() Singularity function and the spawn() Netscript function
- The 'Purchase Augmentations' UI screen will now tell you if you need a certain prerequisite for Augmentations.
- Augmentations with prerequisites can now be purchased as long as their prerequisites are puchased (before, you had to actually install the prerequisites before being able to purchase)

## v0.34.3 - 1/31/2018

- Minor balance changes to Corporations:
  - Upgrades are generally cheaper and/or have more powerful effects.
  - You will receive more funding while your are a private company.
  - Product demand decreases at a slower rate.
  - Production multiplier for Industries (receives for owning real estate/hardware/robots/etc.) is slightly higher
- Accessing the hacknetnodes array in Netscript now costs 4.0GB of RAM (only counts against RAM usage once)
- Bug Fix: Corporation oustanding shares should now be numeric rather than a string
- Bug Fix: Corporation production now properly calculated for industries that dont produce materials.
- Bug Fix: Gangs should now properly reset when switching BitNodes
- Bug Fix: Corporation UI should now properly reset when you go public

## v0.34.2 - 1/27/2018

- Corporation Management Changes:
  - Added advertising mechanics
  - Added Industry-specific purchases
  - Re-designed employee management UI
  - Rebalancing: Made many upgrades/purchases cheaper. Receive more money from investors in early stage. Company valuation is higher after going public
  - Multiple bug fixes
- Added rm() Netscript function
- Updated the way script RAM usage is calculated. Now, a function only increases RAM usage the first time it is called. i.e. even if you call hack() multiple times in a script, it only counts against RAM usage once. The same change applies for while/for loops and if conditionals.
- The RAM cost of the following were increased:
  - If statements: increased by 0.05GB
  - run() and exec(): increased by 0.2GB
  - scp(): increased by 0.1GB
  - purchaseServer(): increased by 0.25GB
- Note: You may need to re-save all of your scripts in order to re-calculate their RAM usages. Otherwise, it should automatically be re-calculated when you reset/prestige
- The cost to upgrade your home computer's RAM has been increased (both the base cost and the exponential upgrade multiplier)
- The cost of purchasing a server was increased by 10% (it is now $55k per RAM)
- Bug fix: (Hopefully) removed an exploit where you could avoid RAM usage for Netscript function calls by assigning functions to a variable (foo = hack(); foo('helios');)
- Bug fix: (Hopefully) removed an exploit where you could run arbitrary Javascript code using the constructor() method
- Thanks to Github user mateon1 and Reddit users havoc_mayhem and spaceglace for notifying me of the above exploits
- The fileExists() Netscript function now works on text files (.txt). Thanks to Github user devoidfury for this

## v0.34.1 - 1/19/2018

- Updates to Corporation Management:
  - Added a number of upgrades to various aspects of your Corporation
  - Rebalanced the properties of Materials and the formula for determining the valuation of the Corporation
  - Fixed a number of bugs
- 'Stats' page now shows information about current BitNode
- You should now be able to create Corporations in other BitNodes if you have Source-File 3
- Added a new create-able program called b1t_flum3.exe. This program can be used to reset and switch BitNodes
- Added an option to adjust autosave interval
- Line feeds, newlines, and tabs will now work with the tprint() Netscript function
- Bug fix: 'check' Terminal command was broken
- Bug fix: 'theme' Terminal command was broken when manually specifying hex codes
- Bug fix: Incorrect promotion requirement for 'Business'-type jobs
- Bug fix: Settings input bars were incorrectly formatted when loading game

## v0.34.0 - 12/6/2017

- Added clear() and exit() Netscript functions
- When starting out or prestiging, you will now receive a 'Hacking Starter Guide'. It provides tips/pointers for new players
- Doubled the amount of RAM on low-level servers (up to required hacking level 150)
- Slightly increased experience gain from Infiltration
- buyStock(), sellStock(), shortStock(), and sellShort() Netscript function now return the stock price at which the transaction occurred, rather than a boolean. If the function fails for some reason, 0 will be returned.
- Hacking Mission Changes:
  - You can now select multiple Nodes of the same type by double clicking. This allows you to set the action of all of selected nodes at once (e.g. set all Transfer Nodes to Fortify). Creating connections does not work with this multi-select functionality yet
  - Shield and Firewall Nodes can now fortify
  - The effects of Fortifying are now ~5% lower
  - Conquering a Spam Node now increases your time limit by 25 seconds instead of 15
  - Damage dealt by Attacking was slightly reduced
  - The effect of Scanning was slightly reduced
  - Enemy CPU Core Nodes start with slightly more attack. Misc Nodes start with slightly less defense
- Corporation Management changes:
  - Added several upgrades that unlock new features
  - Implemented Exporting mechanic
  - Fixed many bugs

## v0.33.0 - 12/1/2017

- Added BitNode-3: Corporatocracy. In this BitNode you can start and manage your own corporation. This feature is incomplete. Much more will be added to it in the near future
- Minor bug fixes

## v0.32.1 - 11/2/2017

- Updated Netscript's 'interpreter/engine' to use the Bluebird promise library instead of native promises. It should now be faster and more memory-efficient. If this has broken any Netscript features please report it through Github or the subreddit (reddit.com/r/bitburner)
- Rebalanced stock market (adjusted parameters such as the volatility/trends/starting price of certain stocks)
- Added prompt() Netscript function
- Added 'Buy Max' and 'Sell All' functions to Stock Market UI
- Added 'Portfolio' Mode to Stock Market UI so you can only view stocks you have a position/order in
- Added a button to kill a script from its log display box

## v0.32.0 - 10/25/2017

- Added BitNode-8: Ghost of Wall Street
- Re-designed Stock Market UI
- Minor bug fixes

## v0.31.0 - 10/15/2017

- Game now saves to IndexedDb (if your browser supports it). This means you should no longer have trouble saving the game when your save file gets too big (from running too many scripts). The game will still be saved to localStorage as well
- New file type: text files (.txt). You can read or write to text files using the read()/write() Netscript commands. You can view text files in Terminal using 'cat'. Eventually I will make it so you can edit them in the editor but that's not available yet. You can also download files to your real computer using the 'download' Terminal command
- Added a new Crime: Bond Forgery. This crime takes 5 minutes to attempt and gives $4,500,000 if successful. It is meant for mid game.
- Added commitCrime(), getCrimeChance(), isBusy(), and getStats() Singularity Functions.
- Removed getIntelligence() Netscript function
- Added sprintf and vsprintf to Netscript. See [https://github.com/alexei/sprintf.js this Github page for details]
- Increased the amount of money gained from Infiltration by 20%, and the amount of faction reputation by 12%
- Rebalanced BitNode-2 so that Crime and Infiltration are more profitable but hacking is less profitable. Infiltration also gives more faction rep
- Rebalanced BitNode-4 so that hacking is slightly less profitable
- Rebalanced BitNode-5 so that Infiltration is more profitable and gives more faction rep
- Rebalanced BitNode-11 so that Crime and Infiltration are more profitable. Infiltration also gives more faction rep.
- Fixed an annoying issue in Hacking Missions where sometimes you would click a Node but it wouldnt actually get selected
- Made the Hacking Mission gameplay a bit slower by lowering the effect of Scan and reducing Attack damage
- Slightly increased the base reputation gain rate for factions when doing Field Work and Security Work

## v0.30.0 - 10/9/2017

- Added getAugmentations() and getAugmentationsFromFaction() Netscript Singularity Functions
- Increased the rate of Intelligence exp gain
- Added a new upgrade for home computers: CPU Cores. Each CPU core on the home computer grants an additional starting Core Node in Hacking Missions. I may add in other benefits later. Like RAM upgrades, upgrading the CPU Core on your home computer persists until you enter a new BitNode.
- Added lscpu Terminal command to check number of CPU Cores
- Changed the effect of Source-File 11 and made BitNode-11 a little bit harder
- Fixed a bug with Netscript functions (the ones you create yourself)
- Hacking Missions officially released (they give reputation now). Notable changes in the last few updates:
  - Misc Nodes slowly gain hp/defense over time
  - Conquering a Misc Node will increase the defense of all remaining Misc Nodes that are not being targeted by a certain percentage
  - Reputation reward for winning a Mission is now affected by faction favor and Player's faction rep multiplier
  - Whenever a Node is conquered, its stats are reduced

## v0.29.3 - 10/3/2017

- Fixed bug for killing scripts and showing error messages when there are errors in a player-defined function
- Added function name autocompletion in Script Editor. Press Ctrl+space on a prefix to show autocompletion options.
- Minor rebalancing and bug fixes for Infiltration and Hacking Missions

## v0.29.2 - 10/1/2017

- installAugmentations() Singularity Function now takes a callback script as an argument. This is a script that gets ran automatically after Augmentations are installed. The script is run with no arguments and only a single thread, and must be found on your home computer.
- Added the ability to create your own functions in Netscript. See [[Netscript Functions|this link]] for details
- Added :q, :x, and :wq Vim Ex Commands when using the Vim script editor keybindings. :w, :x, and :wq will all save the script and return to Terminal. :q will quit (return to Terminal) WITHOUT saving. If anyone thinks theres an issue with this please let me know, I don't use Vim
- Added a new Augmentation: ADR-V2 Pheromone Gene
- In Hacking Missions, enemy nodes will now automatically target Nodes and perform actions.
- Re-balanced Hacking Missions through minor tweaking of many numbers
- The faction reputation reward for Hacking Missions was slightly increased

## v0.29.1 - 9/27/2017

- New gameplay feature that is currently in BETA: Hacking Missions. Hacking Missions is an active gameplay mechanic (its a minigame) that is meant to be used to earn faction reputation. However, since this is currently in beta, hacking missions will NOT grant reputation for the time being, since the feature likely has many bugs, balance problems, and other issues. If you have any feedback regarding the new feature, feel free to let me know
- CHANGED THE RETURN VALUE OF getScriptIncome() WHEN RAN WITH NO ARGUMENTS. It will now return an array of two values rather than a single value. This may break your scripts, so make sure to update them!
- Added continue statement for for/while loops
- Added getServerMinSecurityLevel(), getPurchasedServers(), and getTimeSinceLastAug() Netscript functions
- Netscript scp() function can now take an array as the first argument, and will try to copy every file specified in the array (it will just call scp() normally for every element in the array). If an array is passed in, then the scp() function returns true if at least one element from the array is successfully copied
- Added Javascript's Date module to Netscript. Since 'new' is not supported in Netscript yet, only the Date module's static methods will work (now(), UTC(), parse(), etc.).
- Failing a crime now gives half the experience it did before
- The forced repeated 'Find The-Cave' message after installing The Red Pill Augmentation now only happens if you've never destroyed a BitNode before, and will only popup every 15 minutes. If you have already destroyed a BitNode, the message will not pop up if you have messages suppressed (if you don't have messages suppressed it WILL still repeatedly popup)
- fileExists() function now works on literature files

## v0.29.0 - 9/19/2017

- Added BitNode-5: Artificial Intelligence
- Added getIp(), getIntelligence(), getHackingMultipliers(), and getBitNodeMultipliers() Netscript functions (requires Source-File 5)
- Updated scan() Netscript function so that you can choose to have it print IPs rather than hostnames
- Refactored scp() Netscript function so that it takes an optional 'source server' argument
- For Infiltration, decreased the percentage by which the security level increases by about 10% for every location
- Using :w in the script editor's Vim keybinding mode should now save and quit to Terminal
- Some minor optimizations that should reduce the size of the save file
- scan-analyze Terminal command will no longer show your purchased servers, unless you pass a '-a' flag into the command
- After installing the Red Pill augmentation from Daedalus, the message telling you to find 'The-Cave' will now repeatedly pop up regardless of whether or not you have messages suppressed
- Various bugfixes

## v0.28.6 - 9/15/2017

- Time required to create programs now scales better with hacking level, and should generally be much faster
- Added serverExists(hostname/ip) and getScriptExpGain(scriptname, ip, args...) Netscript functions
- Short circuiting && and || logical operators should now work
- Assigning to multidimensional arrays should now work
- Scripts will no longer wait for hack/grow/weaken functions to finish if they are killed. They will die immediately
- The script loop that checks whether any scripts need to be started/stopped now runs every 6 seconds rather than 10 (resulting in less delays when stopping/starting scripts)
- Fixed several bugs/exploits
- Added some description for BitNode-5 (not implemented yet, should be soon though)

## v0.28.5 - 9/13/2017

- The fl1ght.exe program that is received from jump3r is now sent very early on in the game, rather than at hacking level 1000
- Hostname is now displayed in Terminal
- Syntax highlighting now works for all Netscript functions
- Export should now work on Edge/IE

## v0.28.4 - 9/11/2017

- Added getScriptIncome() Netscript function
- Added Javascript's math module to Netscript. See [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math this link for details]
- Added several member variables for the Hacknet Node API that allow you to access info about their income
- All valid Netscript functions are now syntax highlighted as keywords in the editor. This means they will a different color than invalid netscript functions. The color will depend on your theme. Note that right now, this only applies for normal Netscript functions, not functions in the TIX API, Hacknet Node API, or Singularity Functions.
- Comments and operators no longer count towards RAM usage in scripts.
- Variety of bug fixes and updates to informational text in the game

## v0.28.3 - 9/7/2017

- Added ls() Netscript function
- Increased company wages by about ~10% across the board
- The scp() Netsction function and Terminal command now works for .lit files
- Increased the amount of RAM on many lower level servers (up to level 200 hacking level required).

## v0.28.2 - 9/4/2017

- Added several configuration options for script editor (key bindings, themes, etc.)
- Certain menu options will now be hidden until their relevant gameplay is unlocked. This includes the Factions, Augmentations, Create Program, Travel, and Job tabs. This will only affect newer players.
- Most unrecognize or un-implemented syntax errors in Netscript will now include the line number in the error message

## v0.28.1 - 9/1/2017

- The script editor now uses the open-source Ace editor, which provides a much better experience when coding!
- Added tprint() Netscript function

## v0.28.0 - 8/30/2017

- Added BitNode-4: The Singularity
- Added BitNode-11: The Big Crash
- Migrated the codebase to use webpack (doesn't affect any in game content, except maybe some slight performance improvements and there may be bugs that result from dependency errors

## v0.27.3 - 8/19/2017

- You can now purchase upgrades for Gang Members (BitNode 2 only)
- Decreased Gang respect gains and slightly increased wanted gains (BitNode 2 only)
- Other gangs will increase in power faster (BitNode 2 only)
- Added getHackTime(), getGrowTime(), and getWeakenTime() Netscript functions

## v0.27.2 - 8/18/2017

- Added getServerGrowth() Netscript function
- Added getNextHacknetNodeCost() Netscript function
- Added new 'literature' files (.lit extension) that are used to build lore for the game. These .lit files can be found in certain servers throughout the game. They can be viewed with the 'cat' Terminal command and copied over to other servers using the 'scp' command. These .lit files won't be found until you reset by installing Augmentations
- Fixed some bugs with Gang Territory(BitNode 2 only)

## v0.27.1 - 8/15/2017

- Changed the way Gang power was calculated to make it scale better late game (BitNode 2 only)
- Lowered the respect gain rate in Gangs (Bitnode 2 only)
- Added '| grep pattern' option for ls Terminal command. This allows you to only list files that contain a certain pattern
- Added break statement in Netscript
- Display for some numerical values is now done in shorthand (e.g 1.000m instead of 1,000,000)

## v0.27.0 - 8/13/2017

- Added secondary 'prestige' system - featuring Source Files and BitNodes
- MILD SPOILERS HERE: Installing 'The Red Pill' Augmentation from Daedalus will unlock a special server called w0r1d_d43m0n. Finding and manually hacking this server through Terminal will destroy the Player's current BitNode, and allow the player to enter a new one. When destroying a BitNode, the player loses everything except the scripts on his/her home computer. The player will then gain a powerful second-tier persistent upgrade called a Source File. The player can then enter a new BitNode to start the game over. Each BitNode has different characteristics, and many will have new content/mechanics as well. Right now there are only 2 BitNodes. Each BitNode grants its own unique Source File. Restarting and destroying a BitNode you already have a Source File for will upgrade your Source File up to a maximum level of 3.

- Reputation gain with factions and companies is no longer a linear conversion, but an exponential one. It will be much easier to gain faction favor at first, but much harder later on.
- Significantly increased Infiltration exp gains
- Fixed a bug with company job requirement tooltips
- Added scriptRunning(), scriptKill(), and getScriptRam() Netscript functions. See documentation for details
- Fixed a bug with deleteServer() Netscript function

## v0.26.4 - 8/1/2017

- All of the 'low-level servers' in early game that have a required hacking level now have 8GB of RAM instead of 4GB
- Increased the amount of experience given at university
- Slightly increased the production of Hacknet Nodes and made them cheaper to upgrade
- Infiltration now gives slightly more EXP and faction reputation
- Added two new crimes. These crimes are viable to attempt early on in the game and are relatively passive (each take 60+ seconds to complete)
- Crimes give more exp and more money
- Max money available on a server decreased from 50x the server's starting money to 25x
- Significantly increased wages for all jobs

## v0.26.3

- Added support for large numbers using Decimal.js. Right now it only applies for the player's money
- Purchasing servers with the Netscript function purchaseServer() is no longer 2x as expensive as doing manually it now costs the same
- Early game servers have more starting money

## v0.26.2

- Major rebalancing and randomization of the amount of money that servers start with
- Significantly lowered hacking exp gain from hacking servers. The exp gain for higher-level servers was lowered more than that of low level servers. (~16% for lower level servers, up to ~25% for higher-level servers)
- Added deleteServer() Netscript function
- You can now purchase a maximum of 25 servers each run (Deleting a server will allow you to purchase a new one)
- Added autocompletion for './' Terminal command
- Darkweb prices now displayed properly using toLocaleString()
- Added NOT operator (!) and negation operator(-) in Netscript, so negative numbers should be functional now
- Rejected faction invitations will now show up as 'Outstanding Faction Invites' in the Factions page. These can be accepted at any point in the future
- Added a few more configurable game settings for suppressing messages and faction invitations
- Added tooltips for company job requirements

## v0.26.1

- Added autocompletion for aliases
- Added getServerRam() Netscript function()
- Added getLevelUpgradeCost(n), getRamUpgradeCost(), getCoreUpgradeCost() functions for Netscript Hacknet Node API
- Added some configurable settings (See Game Options menu)

## v0.26.0

- Game now has a real ending, although it's not very interesting/satisfying right now. It sets up the framework for the secondary prestige system in the future
- Forgot to mention that since last update, comments now work in Netscript. Use // for single line comments or /\* and \*/ for multiline comments just like in Javascript
- Added ports to Netscript. These ports are essentially serialized queues. You can use the write() Netscript function to write a value to a queue, and then you can use the read() Netscript function to read the value from the queue. Once you read a value from the queue it will be removed. There are only 10 queues (1-10), and each has a maximum capacity of 50 entries. If you try to write to a queue that is full, the the first value is removed. See wiki/Netscript documentation for more details
- You can now use the 'help' Terminal command for specific commands
- You can now use './' to run a script/program (./NUKE.exe). However, tab completion currently doesn't work for it (I'm working on it)
- Decreased the base growth rate of servers by ~25%
- Both the effect of weaken() and its time to execute were halved. In other words, calling weaken() on a server only lowers its security by 0.05 (was 0.1 before) but the time to execute the function is half of what it was before. Therefore, the effective rate of weaken() should be about the same
- Increased all Infiltration rewards by ~10%, and increased infiltration rep gains by an additional 20% (~32% total for rep gains)
- The rate at which the security level of a facility increases during Infiltration was decreased significantly (~33%)
- Getting treated at the Hospital is now 33% more expensive
- Slightly increased the amount of time it takes to hack a server
- Slightly decreased the amount of money gained when hacking a server (~6%)
- Slightly decreased the base cost for RAM on home computer, but increased the cost multiplier. This means that upgrading RAM on the home computer should be slightly cheaper at the start, but slightly more expensive later on
- Increased the required hacking level for many late game servers
- The sleep() Netscript function now takes an optional 'log' argument that specifies whether or not the 'Sleeping for N milliseconds' will be logged for the script
- Added clearLog() Netscript function
- Deleted a few stocks. Didn't see a reason for having so many, and it just affects performance. Won't take effect until you reset by installing Augmentations
- There was a typo with Zeus Medical's server hostname. It is now 'zeus-med' rather than 'zeud-med'
- Added keyboard shortcuts to quickly navigate between different menus. See wiki link (http://bitburner.wikia.com/wiki/Shortcuts)
- Changed the Navigation Menu UI

## v0.25.0

- Refactored Netscript to use the open-source Acorns Parser. This re-implementation was done by [https://github.com/MrNuggelz Github user MrNuggelz]. This has resulted in several changes in the Netscript language. Some scripts might break because of these changes. Changes listed below:
- Arrays are now fully functional Javascript arrays. You no longer need to use the 'Array' keyword to declare them.
- The length(), clear/clear(), insert(), and remove() functions no longer work for arrays.
- All Javascript array methods are available (splice(), push(), pop(), join(), shift(), indexOf(), etc. See documentation)
- Variables assigned to arrays are now passed by value rather than reference

- Incrementing/Decrementing are now available (i++, ++i)

- You no longer need semicolons at the end of block statements

- Elif is no longer valid. Use 'else if' instead

- Netscript's Hacknet Node API functions no longer log anything
- Stock prices now update every ~6 seconds when the game is active (was 10 seconds before)
- Added a new mechanic that affects how stock prices change
- Script editor now has dynamic indicators for RAM Usage and Line number
- Augmentation Rebalancing - Many late game augmentations are now slightly more expensive. Several early game augmentations had their effects slightly decreased
- Increased the amount of rewards (both money and rep) you get from infiltration
- Purchasing servers is now slightly more expensive
- Calling the Netscript function getServerMoneyAvailable('home') now return's the player's money
- Added round(n) Netscript function - Rounds a number
- Added purchaseServer(hostname, ram) Netscript function
- Added the TIX API. This must be purchased in the WSE. It persists through resets. Access to the TIX API allows you to write scripts that perform automated algorithmic trading. See Netscript documentation
- Minor rebalancing in a lot of different areas
- Changed the format of IP Addresses so that they are smaller (will consist mostly of single digit numbers now). This will reduce the size of the game's save file.

## v0.24.1

- Adjusted cost of upgrading home computer RAM. Should be a little cheaper for the first few upgrades (up to ~64GB), and then will start being more expensive than before. High RAM upgrades should now be significantly more expensive than before.
- Slightly lowered the starting money available on most mid-game and end-game servers (servers with required hacking level greater than 200) by about 10-15%
- Rebalanced company/company position reputation gains and requirements
- Studying at a university now gives slightly more EXP and early jobs give slightly less EXP
- Studying at a university is now considerably more expensive
- Rebalanced stock market
- Significantly increased cost multiplier for purchasing additional Hacknet Nodes
- The rate at which facility security level increases during infiltration for each clearance level was lowered slightly for all companies
- Updated Faction descriptions
- Changed the way alias works. Normal aliases now only work at the start of a Terminal command (they will only replace the first word in the Terminal command). You can also create global aliases that work on any part of the command, like before. Declare global aliases by entering the optional -g flag: alias -g name="value" - [https://github.com/MrNuggelz Courtesy of Github user MrNuggelz]
- 'top' Terminal command implemented courtesy of [https://github.com/LTCNugget Github user LTCNugget]. Currently, the formatting gets screwed up if your script names are really long.

## v0.24.0

- Players now have HP, which is displayed in the top right. To regain HP, visit the hospital. Currently the only way to lose HP is through infiltration
- Infiltration - Attempt to infiltrate a company and steal their classified secrets. See 'Companies' documentation for more details
- Stock Market - Added the World Stock Exchange (WSE), a brokerage that lets you buy/sell stocks. To begin trading you must first purchase an account. A WSE account will persist even after resetting by installing Augmentations. How the stock market works should hopefully be self explanatory. There is no documentation about it currently, I will add some later. NOTE: Stock prices only change when the game is open. The Stock Market is reset when installing Augmentations, which means you will lose all your stocks
- Decreased money gained from hacking by ~12%
- Increased reputation required for all Augmentations by ~40%
- Cost increase when purchasing multiple augmentations increased from 75% to 90%
- Added basic variable runtime to Netscript operations. Basic commands run in 100ms. Any function incurs another 100ms in runtime (200ms total). Any function that starts with getServer incurs another 100ms runtime (300ms total). exec() and scp() require 400ms total.
- Slightly reduced the amount of experience gained from hacking

## v0.23.1

- scan() Netscript function now takes a single argument representing the server from which to scan.

## v0.23.0

- You can now purchase multiple Augmentations in a run. When you purchase an Augmentation you will lose money equal to the price and then the cost of purchasing another Augmentation during this run will be increased by 75%. You do not gain the benefits of your purchased Augmentations until you install them. This installation can be done through the 'Augmentation' tab. When you install your Augmentations, your game will reset like before.
- Reputation needed to gain a favor from faction decreased from 7500 to 6500
- Reputation needed to gain a favor from company increased from 5000 to 6000
- Reputation cost of all Augmentations increased by 16%
- Higher positions at companies now grant slightly more reputation for working
- Added getServerMaxMoney() Netscript function
- Added scan() Netscript function
- Added getServerNumPortsRequired() Netscript function
- There is now no additional RAM cost incurred when multithreading a script

## v0.22.1

- You no longer lose progress on creating programs when cancelling your work. Your progress will be saved and you will pick up where you left off when you start working on it again
- Added two new programs: AutoLink.exe and ServerProfiler.exe
- Fixed bug with Faction Field work reputation gain

## v0.22.0 - Major rebalancing, optimization, and favor system

- Significantly nerfed most augmentations
- Almost every server with a required hacking level of 200 or more now has slightly randomized server parameters. This means that after every Augmentation purchase, the required hacking level, base security level, and growth factor of these servers will all be slightly different
- The hacking speed multiplier now increases rather than decreases. The hacking time is now divided by your hacking speed multiplier rather than multiplied. In other words, a higher hacking speed multiplier is better
- Servers now have a minimum server security, which is approximately one third of their starting ('base') server security
- If you do not steal any money from a server, then you gain hacking experience equal to the amount you would have gained had you failed the hack
- The effects of grow() were increased by 50%
- grow() and weaken() now give hacking experience based on the server's base security level, rather than a flat exp amount
- Slightly reduced amount of exp gained from hack(), weaken(), and grow()
- Rebalanced formulas that determine crime success
- Reduced RAM cost for multithreading a script. The RAM multiplier for each thread was reduced from 1.02 to 1.005
- Optimized Script objects so they take less space in the save file
- Added getServerBaseSecurityLevel() Netscript function
- New favor system for companies and factions. Earning reputation at a company/faction will give you favor for that entity when you reset after installing an Augmentation. This favor persists through the rest of the game. The more favor you have, the faster you will earn reputation with that faction/company
- You can no longer donate to a faction for reputation until you have 150 favor with that faction
- Added unalias Terminal command
- Changed requirements for endgame Factions

## v0.21.1

- IF YOUR GAME BREAKS, DO THE FOLLOWING: Options -> Soft Reset -> Save Game -> Reload Page. Sorry about that!
- Autocompletion for aliases - courtesy of [https://github.com/LTCNugget Github user LTCNugget]

## v0.21.0

- Added dynamic arrays. See Netscript documentation
- Added ability to pass arguments into scripts. See documentation
- The implementation/function signature of functions that deal with scripts have changed. Therefore, some old scripts might not work anymore. Some of these functions include run(), exec(), isRunning(), kill(), and some others I may have forgot about. Please check the updated Netscript documentation if you run into issues.-Note that scripts are now uniquely identified by the script name and their arguments. For example, you can run a script using::

  run foodnstuff.script 1

and you can also run the same script with a different argument::

    run foodnstuff.script 2

These will be considered two different scripts. To kill the first script you must run::

    kill foodnstuff.script 1

and to kill the second you must run::

    kill foodnstuff.script 2

Similar concepts apply for Terminal Commands such as tail, and Netscript commands such as run(), exec(), kill(), isRunning(), etc.

- Added basic theme functionality using the 'theme' Terminal command - All credit goes to /u/0x726564646974 who implemented the awesome feature
- Optimized Script objects, which were causing save errors when the player had too many scripts
- Formula for determining exp gained from hacking was changed
- Fixed bug where you could purchase Darkweb items without TOR router
- Slightly increased cost multiplier for Home Computer RAM
- Fixed bug where you could hack too much money from a server (and bring its money available below zero)
- Changed tail command so that it brings up a display box with dynamic log contents. To get old functionality where the logs are printed to the Terminal, use the new 'check' command
- As a result of the change above, you can no longer call tail/check on scripts that are not running
- Added autocompletion for buying Programs in Darkweb

## v0.20.2

- Fixed several small bugs
- Added basic array functionality to Netscript
- Added ability to run scripts with multiple threads. Running a script with n threads will multiply the effects of all hack(), grow(), and weaken() commands by n. However, running a script with multiple threads has drawbacks in terms of RAM usage. A script's ram usage when it is 'multithreaded' is calculated as: base cost _ numThreads _ (1.02 ^ numThreads). A script can be run multithreaded using the 'run [script] -t n' Terminal command or by passing in an argument to the run() and exec() Netscript commands. See documentation.
- RAM is slightly (~10%) more expensive (affects purchasing server and upgrading RAM on home computer)
- NeuroFlux Governor augmentation cost multiplier decreased
- Netscript default operation runtime lowered to 200ms (was 500ms previously)

## v0.20.1

- Fixed bug where sometimes scripts would crash without showing the error
- Added Deepscan programs to Dark Web
- Declining a faction invite will stop you from receiving invitations from that faction for the rest of the run
- (BETA) Added functionality to export/import saves. WARNING This is only lightly tested. You cannot choose where to save your file it just goes to the default save location. Also I have no idea what will happen if you try to import a file that is not a valid save. I will address these in later updates

## v0.20.0

- Refactored Netscript Interpreter code. Operations in Netscript should now run significantly faster (Every operation such as a variable assignment, a function call, a binary operator, getting a variable's value, etc. used to take up to several seconds, now each one should only take ~500 milliseconds).
- Percentage money stolen when hacking lowered to compensate for faster script speeds
- Hacking experience granted by grow() halved
- Weaken() is now ~11% faster, but only grants 3 base hacking exp upon completion instead of 5
- Rebalancing of script RAM costs. Base RAM Cost for a script increased from 1GB to 1.5GB. Loops, hack(), grow() and weaken() all cost slightly less RAM than before
- Added getServerRequiredHackingLevel(server) Netscript command.
- Added fileExists(file, [server]) Netscript command, which is used to check if a script/program exists on a specified server
- Added isRunning(script, [server]) Netscript command, which is used to check if a script is running on the specified server
- Added killall Terminal command. Kills all running scripts on the current machine
- Added kill() and killall() Netscript commands. Used to kill scripts on specified machines. See Netscript documentation
- Re-designed 'Active Scripts' tab
- Hacknet Node base production rate lowered from 1.6 to 1.55 ($/second)
- Increased monetary cost of RAM (Upgrading home computer and purchasing servers will now be more expensive)
- NEW GROWTH MECHANICS - The rate of growth on a server now depends on a server's security level. A higher security level will result in lower growth on a server when using the grow() command. Furthermore, calling grow() on a server raises that server's security level by 0.004. For reference, if a server has a security level of 10 it will have approximately the same growth rate as before.
- Server growth no longer happens naturally
- Servers now have a maximum limit to their money. This limit is 50 times it's starting money
- Hacking now grants 10% less hacking experience
- You can now edit scripts that are running
- Augmentations cost ~11% more money and 25% more faction reputation

## v0.19.7

- Added changelog to Options menu
- Bug fix with autocompletion (wasn't working properly for capitalized filenames/programs

## v0.19.6

- Script editor now saves its state even when you change tabs
- scp() command in Terminal/script will now overwrite files at the destination
- Terminal commands are no longer case-sensitive (only the commands themselves such as 'run' or 'nano'. Filenames are still case sensitive
- Tab automcompletion will now work on commands

## v0.19.0

- Hacknet Nodes have slightly higher base production, and slightly increased RAM multiplier. But they are also a bit more expensive at higher levels
- Calling grow() and weaken() in a script will now work offline, at slower rates than while online (The script now keeps track of the rate at which grow() and weaken() are called when the game is open. These calculated rates are used to determine how many times the calls would be made while the game is offline)
- Augmentations now cost 20% more reputation and 50% more money
- Changed the mechanic for getting invited to the hacking factions (CyberSec, NiteSec, The Black Hand, BitRunners) Now when you get to the required level to join these factions you will get a message giving you instructions on what to do in order to get invited.
- Added a bit of backstory/plot into the game. It's not fully fleshed out yet but it will be used in the future
- Made the effects of many Augmentations slightly more powerful
- Slightly increased company job wages across the board (~5-10% for each position)
- Gyms and classes are now significantly more expensive
- Doubled the amount by which a server's security increases when it is hacked. Now, it will increase by 0.002. Calling weaken() on a server will lower the security by 0.1.

## v0.18.0

- Major rebalancing (sorry didn't record specifics. But in general hacking gives more money and hacknet nodes give less)
- Server growth rate (both natural and manual using grow()) doubled
- Added option to Soft Reset
- Cancelling a full time job early now only results in halved gains for reputation. Exp and money earnings are gained in full
- Added exec() Netscript command, used to run scripts on other servers.
- NEW HACKING MECHANICS: Whenever a server is hacked, its 'security level' is increased by a very small amount. The security level is denoted by a number between 1-100. A higher security level makes it harder to hack a server and also decreases the amount of money you steal from it. Two Netscript functions, weaken() and getServerSecurityLevel() level, were added. The weaken(server) function lowers a server's security level. See the Netscript documentation for more details
- When donating to factions, the base rate is now $1,000,000 for 1 reputation point. Before, it was $1,000 for 1 reputation point.
- Monetary costs for all Augmentations increased. They are now about ~3.3 - 3.75 times more expensive than before

## v0.17.1

- Fixed issue with purchasing Augmentations that are 'upgrades' and require previous Augmentations to be installed
- Increased the percentage of money stolen from servers when hacking

## v0.17.0

- Greatly increased amount of money gained for crimes (by about 400% for most crimes)
- Criminal factions require slightly less negative karma to get invited to
- Increased the percentage of money stolen from servers when hacking
- Increased the starting amount of money available on beginning servers (servers with <50 required hacking))
- Increased the growth rate of servers (both naturally and manually when using the grow() command in a script)
- Added getHostname() command in Netscript that returns the hostname of the server a script is running on
- jQuery preventDefault() called when pressing ctrl+b in script editor
- The Neuroflux Governor augmentation (the one that can be repeatedly leveled up) now increases ALL multipliers by 1%. To balance it out, it's price multiplier when it levels up was increased
- Hacknet Node base production decreased from $1.75/s to $1.65/s
- Fixed issue with nested for loops in Netscript (stupid Javascript references)
- Added 'scp' command to Terminal and Netscript
- Slightly nerfed Hacknet Node Kernel DNI and Hacknet Node Core DNI Augmentations
- Increased TOR Router cost to $200k

## v0.16.0

- New Script Editor interface
- Rebalanced hacknet node - Increased base production but halved the multiplier from additional cores. This should boost its early-game production but nerf its late-game production
- Player now starts with 8GB of RAM on home computer
- 'scan-analyze' terminal command displays RAM on servers
- Slightly buffed the amount of money the player steals when hacking servers (by about ~8%)
- Time to execute grow() now depends on hacking skill and server security, rather than taking a flat 2 minutes.
- Clicking outside of a pop-up dialog box will now close it
- BruteSSH.exe takes 33% less time to create
- 'iron-gym' and 'max-hardware' servers now have 2GB of RAM
- Buffed job salaries across the board
- Updated Tutorial
- Created a Hacknet Node API for Netscript that allows you to access and upgrade your Hacknet Nodes. See the Netscript documentation for more details. WARNING The old upgradeHacknetNode() and getNumHacknetNodes() functions waere removed so any script that has these will no longer work

## v0.15.0

- Slightly reduced production multiplier for Hacknet Node RAM
- Faction pages now scroll
- Slightly increased amount of money gained from hacking
- Added 'alias' command
- Added 'scan-analyze' terminal command - used to get basic hacking info about all immediate network connections
- Fixed bugs with upgradeHacknetNode() and purchaseHacknetNode() commands
- Added getNumHacknetNodes() and hasRootAccess(hostname/ip) commands to Netscript
- Increased Cost of university classes/gym
- You can now see what an Augmentation does and its price even while its locked
