We've been working on a better version release of v1.8 with better commands, and bugs fixes. A lot of things was changed in v1.9, you can view the branch commits related to this release here. With a lot of work being put into this version. So please enjoy it.
Major new features
- You can now configure the project files, by changing file paths on BUILD_CONFIG
npm run rebuildnow actually works, if the user usesnpm run buildwhen the project is already built. It will provide an error.- Any packages that isn't the main file, can now be ran using the BUILD_CONFIG file, if configured.
@outputnow can actually output variables values!CONFIGfile now will actually work regardless of directory issues.@outputcommand will now log items and output them into a file.@varwill now have a string type, and no default type set!- Project files will now be built, unlike previous builds where the files have to be manually created.
Changes
- Renamed
config.nxconftoCONFIG - Added
BUILD_CONFIGfile on project build. - Renamed
build.config.nxlftobuilded - Added
preload.jsfile creation on startup (this happens even thoughpackage-advancedis not set or just false). Preload will just run. It won't run beforeapp.nxl - Added
postload.jsfile creation on startup along withpreload.js, currently just runs JavaScript. It will just run, it won't run afterapp.nxlcurrently. - Refactored
:debug-mode, it will now not work :package-comwill now accept only values likex-autowhich is normal NXL code, andauto- Previous release, potentially contains
node_modulesfolder. It will now not come with it. - Added debug outputs to work, if enabled.
@outputcommand will now log the outputs in the builds/log folder
Bug Fixes
@ifstatement can't execute@elseblock, #5- ``@if``` statement evaluate x is equal to 10, #12
@varnow have no default variable, use@var [username]: (string)Aviato register a string, #10CONFIGfile only containing the NXL file name, causing crashes if ran incorrectlyinit.jsdoesn't work and just crashes.npm run buildjust not installing the correct dependencies- On build, project files weren't created.
How will I learn new syntaxes for this release?
New updates have been pushed to the documentations, and the correct examples for writing NXL code has been changed. You may refer to the documentation for help.
Full Changelog: v1.8...v1.9