Skip to content

Releases: Niminem/Neel

neel - 1.1.0

01 Nov 22:04
Compare
Choose a tag to compare

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

Neel - 1.0.2

30 Oct 03:26
Compare
Choose a tag to compare

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

Neel - 1.0.1

29 Oct 03:27
Compare
Choose a tag to compare

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

Neel - 1.0.0

28 Oct 05:36
Compare
Choose a tag to compare

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

Neel - 0.4.0

24 Jun 02:44
3880e15
Compare
Choose a tag to compare

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

Neel - 0.3.2

07 Jun 14:14
dc59c53
Compare
Choose a tag to compare

Updates:

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

Neel - 0.3.1

06 Jun 19:07
0d4ded5
Compare
Choose a tag to compare

Updates:

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

Neel - 0.3.0

05 Apr 22:54
9174990
Compare
Choose a tag to compare

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

Neel - 0.2.7

07 Dec 18:19
06daef2
Compare
Choose a tag to compare

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

Neel Version - 0.2.6

04 Dec 19:30
e887be8
Compare
Choose a tag to compare

Added non-blocking functionality for frontend/backend communication.