What's new
API: net
Neutralinojs apps can use the fetch API available in the webview for making network requests, but the CORS policy often becomes a barrier. The new C++-based network API offers functions to call network resources without disabling webview network security. Here is a list of all available net API functions:
net.get(url, options): Sends aGETrequest.net.post(url, options): Sends aPOSTrequest.net.put(url, options): Sends aPUTrequest.net.patch(url, options): Sends aPATCHrequest.net.delete(url, options): Sends aDELETErequest.net.options(url, options): Sends anOPTIONSrequest.net.head(url, options): Sends aHEADrequest.net.request(url, method, options): Sends a request by specifying an HTTP method
API: computer
- Add
computer.getDisks()to retrieve information for each connected disk, including vendor, model, mount point, size, free space, and serial number. - Add
compuer.getMachineId()to get the platform-specific unique machine identifier.
API: app
- Add
app.getProcessId()to retrieve the app's process identifier.
API: os
- Add
os.setEnv(key, value)to update process environment variables. - Add
os.getLocaleInfo()to get the current locale information, including the full standard, unparsed locale, parsed region, and language.
Update the config file option cli.binaryVersion with 6.9.0 and enter neu update to fetch this version.
Get started: https://neutralino.js.org/docs
This release was auto-generated by ReleaseZri 🚀