Skip to content

neel - 1.1.0

Latest
Compare
Choose a tag to compare
@Niminem Niminem released this 01 Nov 22:04

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