Skip to content

Neutralinojs v4.8.0 released!

Compare
Choose a tag to compare
@github-actions github-actions released this 29 Sep 06:40
· 178 commits to main since this release

What's new

API: os.getEnvs

os.getEnv returns a value for a given environment variable key. Developers had to use alternative methods to retrieve a list of all environment variables with values. The os.getEnvs returns all environment variables as a JavaScript object similar to Node's process.env.

API: filesystem

  • Added pos and size options for readFile and readBinaryFile methods to set the file cursor position and buffer size respectively.

API: storage.getKeys

Added the storage.getKeys function to get an array of Neutralinojs storage keys. Now, developers don't need to write their own functions to retrieve storage keys with the filesystem API.

API: computer.getMousePosition

Returns the current mouse cursor position via a JavaScript object that has x and y props. This function is helpful for develping interactive desktop widgets on all supported platforms.

Bugfixes/improvements

  • Replaced string error codes with enums in the C++ source code.
  • Some refactorings done in C++ struct definitions and return values.

Update the config file option cli.binaryVersion with 4.8.0 and enter neu update to fetch this version.

Get started: https://neutralino.js.org/docs


This release was auto-generated by ReleaseZri 🚀

Download Neutralinojs