Neel Versions Save

A Nim library for making Electron-like HTML/JS GUI apps, with full access to Nim capabilities.

v1.1.0

6 months ago

Major Updates

  1. You can now use virtually any Nim type for parameters in exposed procedures. Neel uses std/jsonutils to programmatically handle the conversions.

Some caveats:

  • Does not support default values for parameters.
  • Does not support generics for parameters.
  1. Added exception handling when calling Nim procedures from frontend. Unknown procedures and procedures with incorrect parameter types print helpful messages in debug builds. Release builds simply ignore them to prevent crashing (beware).

Minor Updates

  1. Fixed time delay for shutting down server to 3 seconds on debug mode (10 seconds for release builds). This way developers can recompile their Neel apps much quicker and test changes. The large time delay is for edge cases when a user is spamming refresh or constantly switching pages for a prolonged period of time.

  2. Neel cleanly stops and deallocates the server before exiting the application (server.close)

  3. All chrome-related procedures have been place into its own module.

  4. Added more verbose (helpful) logging for debug builds.

Enjoy a more robust version of Neel <3

v1.0.2

6 months ago

Minor Updates

  • Only release builds embed frontend files from within the web directory. This way, developers can make changes to the frontend files in debug builds and see the changes reflect without recompiling. When release is defined, frontend files within the web folder are embedded into the binary and the app will still work from any location.

Enjoy a more robust version of Neel <3

v1.0.1

6 months ago

Minor Updates

  • To prevent crashes when users spam refresh or constantly switch between different pages, we implemented a sort of countdown timer for shutting down. Approximately 10 seconds after closing the app window, the server and program is killed if a WebSocket hasn't reconnected within that time period. Just keep that in mind before doing CTL+C in the terminal during testing.
  • To support Javascript modules, we force the appropriate MIME type within the response headers for all Javascript files.

Enjoy a more robust version of Neel <3

v1.0.0

6 months ago

Major Updates

  • Removed ability to bundle applications for Windows and Mac. This should have been tested more thoroughly before the last release. I learned my lesson.
  • startApp macro now takes an additional parameter, webDirPath, which is the path to the directory with all of the static frontend files.
  • Neel now leverages the power of mummy, an HTTP and WebSocket server for Nim that returns to the ancient ways of threads. Goodbye async and super long stack traces that are hard to debug.

Minor Updates

  • Cleaned the codebase up a bit. Need I say more?

Enjoy a more robust version of Neel <3

v0.4.0

2 years ago

Major Updates

  • static assets within the "assets" folder are now embedded within the binary (woohoo, no dependencies)
  • Neel can now bundle applications via neel build --app:"appname" --bin:"binaryname" --icon:"icon.extension"
  • Neel API changed:
  1. startApp macro no longer takes in startURL or assetsDir params. The start URL must be index.html and the assets directory must be named assets
  2. in order to bundle applications, both the binary and icon must be in the project's parent folder for calling the neel command

The neel build command currently works with Mac and Windows only, in a limited fashion. Your app must not have any external dependencies. Linux support coming soon.

Enjoy a more robust version of Neel <3

v0.3.2

2 years ago

Updates:

  • Added Windows registry search for Chrome path (Windows OS)

v0.3.1

2 years ago

Updates:

  • Improved exception handling in neel.js
  • Chrome support for ArchLinux

v0.3.0

3 years ago

Major Updates:

  • added ability to call JavaScript within a procedure freely via the same callJs macro
  • added ability for callJs macro to be used outside of the calling module
  • removed the need for procedures to have Option[JsonNode] return type if using callJs macro

The updates above will be reflected in the ReadMe. No changes were made to the API. Enjoy this more robust version of Neel.

Minor Updates:

  • fixed exception handling compiler bug
  • added backup paths for locating Chrome on Windows
  • added recursive search for locating Chrome on Mac
  • added more robust search for locating Chrome on Linux

v0.2.7

3 years ago

added export of asyncdispatch module for neel.nim to mitigate some issues found during testing

v0.2.6

3 years ago

Added non-blocking functionality for frontend/backend communication.