Skip to content

Releases: neutralinojs/neutralinojs-cli

Neutralinojs CLI nightly release

20 Apr 01:47
e6a770a

Choose a tag to compare

Pre-release

⚠️ Nightly build: This nightly-release may contain experimental features and breaking changes.

What's new

No changes β€” this version is similar to the previous version

Install the latest (nightly) npm package:

npm i -g @neutralinojs/neu@nightly

Get started: https://neutralino.js.org/docs/cli/neu-cli


This release was auto-generated by ReleaseZri πŸš€

Neutralinojs CLI v11.7.1 released!

02 Apr 08:21
1e671fa

Choose a tag to compare

What's new

DevOps

  • Update release scripts and workflows.

Install the latest (11.7.1) npm package:

npm i -g @neutralinojs/[email protected]

Get started: https://neutralino.js.org/docs/cli/neu-cli


This release was auto-generated by ReleaseZri πŸš€

Neutralinojs CLI v11.7.0 released!

26 Jan 11:54

Choose a tag to compare

What's new

Bugfixes/improvements

  • Display the zipped binaries package size while downloading pre-built Neutralinojs binaries from GitHub releases.
  • Use the correct resources path for host projects
  • Skip patching the frontend library's main HTML file when it's defined as empty in the configuration
  • Improve local plugin testing commands implementations
  • Upgrading several project dependencies

Install the latest (v11.7.0) npm package:

npm i -g @neutralinojs/neu

Get started: https://neutralino.js.org/docs/cli/neu-cli


This release was auto-generated by ReleaseZri πŸš€

Neutralinojs CLI v11.6.0 released!

20 Sep 07:17

Choose a tag to compare

What's new

Core: Bundler

  • Implement embedding resources to make a single-file-app via the --embed-resources option in the neu build command.

Install the latest (v11.6.0) npm package:

npm i -g @neutralinojs/neu

Get started: https://neutralino.js.org/docs/cli/neu-cli


This release was auto-generated by ReleaseZri πŸš€

Neutralinojs CLI v11.5.0 released!

18 Jul 07:13

Choose a tag to compare

What's new

Core: Creator

  • Support using a specific directory with the neu create command, e.g., neu create ., neu create myapps/myapp, neu create ../myapp, etc.

Install the latest (v11.5.0) npm package:

npm i -g @neutralinojs/neu

Get started: https://neutralino.js.org/docs/cli/neu-cli


This release was auto-generated by ReleaseZri πŸš€

Neutralinojs CLI v11.4.0 released!

27 Mar 10:18

Choose a tag to compare

What's new

Core: Bundler

  • Let developers copy additional non-resource files like configuration files to the final app bundle using cli.copyItems array.
  • Add the --macos-bundle flag to the build command to rename MacOS binary to a *.app file.
  • Add the --config-file <path> to use a custom Neutralinojs config file for creating the bundle. i.e., neu build --config-file prod.config.json

Bugfixes/improvements

  • Support spaces in internal CLI arguments, i.e., neu run -- --window-title="Window title"

Dependencies

  • Update several dependency packages

Install the latest (v11.4.0) npm package:

npm i -g @neutralinojs/neu

Get started: https://neutralino.js.org/docs/cli/neu-cli


This release was auto-generated by ReleaseZri πŸš€

Neutralinojs CLI v11.3.1 released!

31 Jan 10:35

Choose a tag to compare

What's new

Bugfixes/improvements

  • Add execution permissions for binaries after downloading them in Unix-based and Unix-like platforms.

Install the latest (v11.3.1) npm package:

npm i -g @neutralinojs/neu

Get started: https://neutralino.js.org/docs/cli/neu-cli


This release was auto-generated by ReleaseZri πŸš€

Neutralinojs CLI v11.3.0 released!

24 Sep 08:01

Choose a tag to compare

What's new

Host projects support

Developers can launch Neutralinojs from any programming language using child process APIs (i.e., subprocess in Python) and communicate with the framework process using the extension API. The new hostProject configuration object extends the official CLI to help developers easily create, run, and build these host projects. For example, the following host project configuration instructs the CLI to run a Node.js host project:

"hostProject": {
  "projectPath": "/node-src",
  "buildPath": "/node-src/dist/",
  "initCommand": "npm install",  
  "devCommand": "npm start",     
  "buildCommand": "npm run build"
}

Community projects implement bindings and templates to create host projects using Node.js, Python, Go, etc. For example, the node-neutralino NPM package lets you launch Neutralinojs via Node.js environments and execute native APIs via the NeutralinoApp class:

import NeutralinoApp from 'node-neutralino';

const app = new NeutralinoApp({
  url: '/',
  windowOptions: {
    enableInspector: false,
  }
});

app.init();
app.window.setTitle('Node.js');

Executable icon and metadata on Windows

Now, the neu build command automatically updates the executable file icon and metadata based on the following configuration options:

  • author: gets written into executable's metadata.
  • description: gets written into executable's metadata.
  • copyright: gets written into executable's metadata. Defaults to current date + generic "all rights reserved".
  • applicationName: gets written into executable's metadata. Defaults to cli.binaryName.
  • applicationIcon: a relative path to an icon in .png format. Defaults to modes.window.icon. If it is not set, uses Neutralinojs logo.

Bugfixes/improvements

Use the zip-lib package to handle ZIP files for better performance and simplicity in the source code.

Install the latest (v11.3.0) npm package:

npm i -g @neutralinojs/neu

Get started: https://neutralino.js.org/docs/cli/neu-cli


This release was auto-generated by ReleaseZri πŸš€

Neutralinojs CLI v11.2.2 released!

26 Jul 09:55

Choose a tag to compare

What's new

Bugfixes/improvements

  • Fix initial loading issues with frontend library development file patching.

Install the latest (v11.2.2) npm package:

npm i -g @neutralinojs/neu

Get started: https://neutralino.js.org/docs/cli/neu-cli


This release was auto-generated by ReleaseZri πŸš€

Neutralinojs CLI v11.2.0 released!

26 May 07:28

Choose a tag to compare

What's new

Core: Bundler

  • Introduce the --clean flag to the neu build command to clean previous build files.
  • Add file excluding feature for the app bundle and extensions directory via cli.resourcesExclude and cli.extensionsExclude configuration properties. For example, now developers can use the "resourcesExclude": ".*\\.scss$|.*\\.d.ts$" configuration to exclude *.scss and *.d.ts files from the final app bundle.
  • Let app developers customize the frontend library development server wait time using the cli.frontendLibrary.waitTimeout configuration property.

Core: Version

  • The neu version command now compares the installed CLI version and the framework version with the latest released versions and displays a warning messages if the users use an older versions.
  • The neu version command now displays the (latest) tag with CLI, binary, client library version details.

Bugfixes/improvements

  • Check and validate neutralino.config.json file before executing app-specific commands.
  • Check app template validity before downloading content from a specific GitHub repository using the official GitHub API.
  • Add the app icon to the final app bundle only the specific project uses an app icon.
  • Fix the port waiting timeout issue with frontend library-based development workflow.

Install the latest (v11.2.0) npm package:

npm i -g @neutralinojs/neu

Get started: https://neutralino.js.org/docs/cli/neu-cli


This release was auto-generated by ReleaseZri πŸš€