Add all code changes (features, deprecations, and enhancements) under the Unreleased
topic to track changes for
the next release. Once the changes are released,
rename Unreleased
topic with the new version tag. Finally, create a new Unreleased
topic for future changes.
- Export
getFiles()
,extractFile(path, dest)
,readFile(path)
, andreadBinaryFile(path)
functions.
- Export
minimize()
,unminimize()
, andisMinimized()
functions. - Add
alwaysCapture
anddragMinDistance
options to thewindow.setDraggableRegion()
function and improve the performance of the overall draggable window implementation.
- Fix several issues with TypeScript exports and definitions.
- Expose
filesystem.getAbsolutePath(path)
,filesystem.getRelativePath(path, ?base)
, andfilesystem.getPathParts(path)
functions.
- Accept
overwrite
,skip
, andrecursive
options for thefilesystem.copy()
function.
- Improve the
window.create()
function's option-to-CLI argument mapping logic.
- Fix the NPM package import issue.
- Export new framework functions:
clipboard.getFormat()
,clipboard.readImage()
, andclipboard.writeImage(image)
.
- Separate type definitions into a new directory to improve project structure.
- Add missing type definitions.
- Fix type declaration issues with the
window
global object. Now,window.NL_VERSION
, etc. won't display errors on code editors or with the TypeScript compiler.
- Expose
app.readProcessInput(readAll=false)
,app.writeProcessOutput()
, andapp.writeProcessError()
functions.
- Export/deprecate functions based on framework's v5 release. See framework changelog for more details.
- Add
extendUserAgentWith
andexitProcessOnClose
options towindow.create
TypeScript definition.
- Improved the performance of the draggable regions API by throttling Neutralino framework function calls.
- Fix the restarting issue that happens when the app path contains spaces.
- Avoid saving the window state for child windows in the
window.create
function by using the--window-use-saved-state=false
internal CLI argument.
- Export the
window.center
function.
- Export
filesystem.createWatcher
andfilesystem.removeWatcher
functions.
- Publish to NPM only if there are unreleased changes in changelog.
- Add ESM support for the client library via
neutralino.mjs
. - Publish (and automate) the client library as an NPM package,
@neutralinojs/lib
.
- Expose functions in framework's custom methods and file streams implementations.
- Expose new framework functions:
os.getEnvs
,storage.getKeys
, andcomputer.getMousePosition
. - Add
size
andpos
options tofilesystem.readFile
andfilesystem.readBinaryFile
functions.
- Expose the new system information API functions:
computer.getArch
,computer.getKernelInfo
,computer.getOSInfo
,computer.getCPUInfo
, andcomputer.getDisplays
.
- Add the
defaultPath
option to set the default file path for all file dialogs.
- Expose
createdAt
andmodifiedAt
JavaScript timestamps with thefilesystem.getStats
function.
- Add new functions for spawning processes.
spawnProcess
,getSpawnedProcesses
, andupdateSpawnedProcess
.
- Add nightly builds support. Developers can download the nightly builds by setting
cli.clientVersion
tonightly
.
- Add
NL_CCOMMIT
to hold the release commit of the client library.
- Add
window.getPosition
to get the current window coordinates.
- Add
filesystem.appendFile
to append text content to a file. Thrown errors are similar to thefilesystem.writeFile
function. - Add
filesystem.appendBinaryFile
to append binary content to a file. Thrown errors are similar to thefilesystem.writeBinaryFile
function.
- Store
NL_TOKEN
in sessionStorage and handle native API calls after page reload. - Show a message to the user via HTML if
NL_TOKEN
is not valid (Eg: when the user tries to open the app from another client withone-time
token).
- Add
window.setAlwaysOnTop(bool)
. - Add
window.getSize
.
clipboard.readText
andclipboard.writeText
functions added.
- Extension API functions. Queue messages dispatched to extensions and send when the extension is ready.
- Reload app based on
--neu-dev-auto-reload
(--debug-mode
removed) with theneuDev_reloadApp
event.
- Return process information with the promise.
- Allow passing DOM element as the param.
- Newly introduced method to remove draggable region handlers from an element.
- Updater API functions.
- Make return values of
events
namespace functions consistent. - Rename
res.neu
toresources.neu
.
- Polling action to the server was removed and replaced by the server process's internal idle check.
app.keepAlive
was removed.
- Client-side implementaion of
extensionReady
. - Allow developers to call native APIs without depending on the
ready
event (it's not removed becuase of the internal usage).