Skip to content

Functionality Update! - v1.9

Latest
Compare
Choose a tag to compare
@cassitly cassitly released this 22 Dec 08:49
· 65 commits to main since this release

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 rebuild now actually works, if the user uses npm run build when 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.
  • @output now can actually output variables values!
  • CONFIG file now will actually work regardless of directory issues.
  • @output command will now log items and output them into a file.
  • @var will 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.nxconf to CONFIG
  • Added BUILD_CONFIG file on project build.
  • Renamed build.config.nxlf to builded
  • Added preload.js file creation on startup (this happens even though package-advanced is not set or just false). Preload will just run. It won't run before app.nxl
  • Added postload.js file creation on startup along with preload.js, currently just runs JavaScript. It will just run, it won't run after app.nxl currently.
  • Refactored :debug-mode, it will now not work
  • :package-com will now accept only values like x-auto which is normal NXL code, and auto
  • Previous release, potentially contains node_modules folder. It will now not come with it.
  • Added debug outputs to work, if enabled.
  • @output command will now log the outputs in the builds/log folder

Bug Fixes

  • @if statement can't execute @else block, #5
  • ``@if``` statement evaluate x is equal to 10, #12
  • @var now have no default variable, use @var [username]: (string)Avia to register a string, #10
  • CONFIG file only containing the NXL file name, causing crashes if ran incorrectly
  • init.js doesn't work and just crashes.
  • npm run build just 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