CARVIEW |
Navigation Menu
-
-
Notifications
You must be signed in to change notification settings - Fork 81
Releases: neutralinojs/neutralino.js
Neutralino.js v6.2.0 released!
Compare
What's new
API: draggable region API
The new draggable region API implementation uses native, platform-specific window dragging event via the window.beginDrag()
function, so now draggable regions behave the same as native window dragging with features such as window snapping, unlike the previous draggable region implementation.
The new draggable region API lets developers exclude specific elements (i.e., window control buttons) from the registered draggable region DOM element:
const d = await setDraggableRegion('title-bar', {
exclude: ['close-btn'],
})
// Exclude elements using DOM references or IDs
d.exclusions.add('help-btn')
d.exclusions.add(document.getElementById('info-btn'))
d.exclusions.add('tag1', 'tag2')
// Remove excluded elements
d.exclusions.remove('help-btn')
d.exclusions.remove(document.getElementById('info-btn'))
d.exclusions.remove('tag1', 'tag2')
// Remove all exclusions
d.exclusions.removeAll()
API: window
- Export the
Neutralino.window.print()
function. - Export the
window.beginDrag()
function.
API: filesystem
- Export
filesystem.getJoinedPath(...paths)
,filesystem.getNormalizedPath(path)
, andfilesystem.getUnnormalizedPath(path)
functions.
How to update
neu CLI
neu CLI downloads the client library as a separate JavaScript file (neutralino.js
or neutralino.mjs
) and let the framework create a global object (Neutralino
) or let developers use a module. Update the config file option cli.clientVersion
with 6.2.0
and enter neu update
to fetch this version.
Node package managers
Use the following commands if you bundle the client library into your app package:
npm install @neutralinojs/lib@6.2.0
# --- or ---
yarn add @neutralinojs/lib@6.2.0
Get started: https://neutralino.js.org/docs
This release was auto-generated by ReleaseZri π
Assets 8
Neutralino.js nightly release
Compare
What's new
No changes β this version is similar to the previous version
How to update
neu CLI
neu CLI downloads the client library as a separate JavaScript file (neutralino.js
or neutralino.mjs
) and let the framework create a global object (Neutralino
) or let developers use a module. Update the config file option cli.clientVersion
with nightly
and enter neu update
to fetch this version.
Node package managers
Use the following commands if you bundle the client library into your app package:
npm install @neutralinojs/lib@nightly
# --- or ---
yarn add @neutralinojs/lib@nightly
Get started: https://neutralino.js.org/docs
This release was auto-generated by ReleaseZri π
Assets 8
Neutralino.js v6.1.0 released!
Compare
What's new
API: window
- Export the
window.setMainMenu
function.
How to update
neu CLI
neu CLI downloads the client library as a separate JavaScript file (neutralino.js
or neutralino.mjs
) and let the framework create a global object (Neutralino
) or let developers use a module. Update the config file option cli.clientVersion
with 6.1.0
and enter neu update
to fetch this version.
Node package managers
Use the following commands if you bundle the client library into your app package:
npm install @neutralinojs/lib@6.1.0
# --- or ---
yarn add @neutralinojs/lib@6.1.0
Get started: https://neutralino.js.org/docs
This release was auto-generated by ReleaseZri π
Assets 8
Neutralino.js v6.0.0 released!
Compare
What's new
API: filesystem
- Export
filesystem.getPermissions(path)
andfilesystem.setPermissions(path, permissions, mode)
functions.
API: os
- Support sending environment variables via
os.execCommand()
andos.spawnProcess()
functions.
API: clipboard
- Export
clipboard.readHTML()
andclipboard.writeHTML(html)
functions.
Bugfixes/improvements
- Fixing a circular dependency issue in the codebase.
- Several TypeScript-related development fixes.
How to update
neu CLI
neu CLI downloads the client library as a separate JavaScript file (neutralino.js
or neutralino.mjs
) and let the framework create a global object (Neutralino
) or let developers use a module. Update the config file option cli.clientVersion
with 6.0.0
and enter neu update
to fetch this version.
Node package managers
Use the following commands if you bundle the client library into your app package:
npm install @neutralinojs/lib@6.0.0
# --- or ---
yarn add @neutralinojs/lib@6.0.0
Get started: https://neutralino.js.org/docs
This release was auto-generated by ReleaseZri π
Assets 8
Neutralino.js v5.6.0 released!
Compare
What's new
API: server
- Export
server.mount()
,server.unmount()
, andserver.getMounts()
functions.
API: resources
- Export
resources.getStats()
andresources.extractDirectory()
functions.
API: window
- Export
window.snapshot()
function.
API: clipboard
- Add the
format
parameter to theclipboard.readImage()
function format pixel data. Accepted formats:rgb
,rgba
,argb
, andbgra
.
Bugfixes/improvements
- Fix the slow loading issue on Windows by using
127.0.0.1
instead oflocalhost
.
How to update
neu CLI
neu CLI downloads the client library as a separate JavaScript file (neutralino.js
or neutralino.mjs
) and let the framework create a global object (Neutralino
) or let developers use a module. Update the config file option cli.clientVersion
with 5.6.0
and enter neu update
to fetch this version.
Node package managers
Use the following commands if you bundle the client library into your app package:
npm install @neutralinojs/lib@5.6.0
# --- or ---
yarn add @neutralinojs/lib@5.6.0
Get started: https://neutralino.js.org/docs
This release was auto-generated by ReleaseZri π
Assets 8
Neutralino.js v5.5.0 released!
Compare
What's new
Core: initialization
- Support client library source injection
TypeScript
- Fix some missing type details.
How to update
neu CLI
neu CLI downloads the client library as a separate JavaScript file (neutralino.js
or neutralino.mjs
) and let the framework create a global object (Neutralino
) or let developers use a module. Update the config file option cli.clientVersion
with 5.5.0
and enter neu update
to fetch this version.
Node package managers
Use the following commands if you bundle the client library into your app package:
npm install @neutralinojs/lib@5.5.0
# --- or ---
yarn add @neutralinojs/lib@5.5.0
Get started: https://neutralino.js.org/docs
This release was auto-generated by ReleaseZri π
Assets 8
Neutralino.js v5.4.0 released!
Compare
What's new
API: resources
- Export
getFiles()
,extractFile(path, dest)
,readFile(path)
, andreadBinaryFile(path)
functions.
API: window
- Export
minimize()
,unminimize()
, andisMinimized()
functions. - Add
alwaysCapture
anddragMinDistance
options to thewindow.setDraggableRegion()
function and improve the performance of the overall draggable window implementation.
Bugfixes/improvements
- Fix several issues with TypeScript exports and definitions.
How to update
neu CLI
neu CLI downloads the client library as a separate JavaScript file (neutralino.js
or neutralino.mjs
) and let the framework create a global object (Neutralino
) or let developers use a module. Update the config file option cli.clientVersion
with 5.4.0
and enter neu update
to fetch this version.
Node package managers
Use the following commands if you bundle the client library into your app package:
npm install @neutralinojs/lib@5.4.0
# --- or ---
yarn add @neutralinojs/lib@5.4.0
Get started: https://neutralino.js.org/docs
This release was auto-generated by ReleaseZri π
Assets 8
Neutralino.js v5.3.0 released!
Compare
What's new
API: filesystem
- Expose
filesystem.getAbsolutePath(path)
,filesystem.getRelativePath(path, ?base)
, andfilesystem.getPathParts(path)
functions.
How to update
neu CLI
neu CLI downloads the client library as a separate JavaScript file (neutralino.js
or neutralino.mjs
) and let the framework create a global object (Neutralino
) or let developers use a module. Update the config file option cli.clientVersion
with 5.3.0
and enter neu update
to fetch this version.
Node package managers
Use the following commands if you bundle the client library into your app package:
npm install @neutralinojs/lib@5.3.0
# --- or ---
yarn add @neutralinojs/lib@5.3.0
Get started: https://neutralino.js.org/docs
This release was auto-generated by ReleaseZri π
Assets 8
Neutralino.js v5.2.0 released!
Compare
What's new
API: filesystem
- Accept
overwrite
,skip
, andrecursive
options for thefilesystem.copy()
function.
Bugfixes/improvements
- Improve the
window.create()
function's option-to-CLI argument mapping logic.
How to update
neu CLI
neu CLI downloads the client library as a separate JavaScript file (neutralino.js
or neutralino.mjs
) and let the framework create a global object (Neutralino
) or let developers use a module. Update the config file option cli.clientVersion
with 5.2.0
and enter neu update
to fetch this version.
Node package managers
Use the following commands if you bundle the client library into your app package:
npm install @neutralinojs/lib@5.2.0
# --- or ---
yarn add @neutralinojs/lib@5.2.0
Get started: https://neutralino.js.org/docs
This release was auto-generated by ReleaseZri π
Assets 8
Neutralino.js v5.1.1 released!
Compare
What's new
NPM
- Fix the NPM package import issue.
How to update
neu CLI
neu CLI downloads the client library as a separate JavaScript file (neutralino.js
or neutralino.mjs
) and let the framework create a global object (Neutralino
) or let developers use a module. Update the config file option cli.clientVersion
with 5.1.1
and enter neu update
to fetch this version.
Node package managers
Use the following commands if you bundle the client library into your app package:
npm install @neutralinojs/lib@5.1.1
# --- or ---
yarn add @neutralinojs/lib@5.1.1
Get started: https://neutralino.js.org/docs
This release was auto-generated by ReleaseZri π