Releases: Niminem/Neel
neel - 1.1.0
Major Updates
- 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.
- 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
-
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. -
Neel cleanly stops and deallocates the server before exiting the application (server.close)
-
All chrome-related procedures have been place into its own module.
-
Added more verbose (helpful) logging for debug builds.
Enjoy a more robust version of Neel <3
Neel - 1.0.2
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. Whenrelease
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
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
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
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:
- startApp macro no longer takes in
startURL
orassetsDir
params. The start URL must beindex.html
and the assets directory must be namedassets
- 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
Updates:
- Added Windows registry search for Chrome path (Windows OS)
Neel - 0.3.1
Updates:
- Improved exception handling in neel.js
- Chrome support for ArchLinux
Neel - 0.3.0
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 usingcallJs
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
added export of asyncdispatch module for neel.nim to mitigate some issues found during testing
Neel Version - 0.2.6
Added non-blocking functionality for frontend/backend communication.