You are viewing this page with JavaScript disabled!
Please enable JavaScript or contact your system administrator for the best viewing experience!

New features or bug fixes of low.js are packed into a software update for the neonious one every once in a while. To see what is already developed for low.js and will be pushed onto the neonious one in near future, take a look at the low.js GitHub repository commit history.
 

neonious one + low.js for ESP32 Change Log

To flash the newest version of low.js, use lowsync version >= 1.4.0!

If you update from Version 20200514 / Version 1.4.9 or below to Version 20200515 / Version 1.5.0 or above, please note that YOUR DATA WILL BE DESTROYED and the device will return to factory state after the update. The reason for this is a change of the internal file system from SPIFFS to ARM LittleFS, resulting in a 8x speed increase on file operations. Please download all your data before updating.

Version 20200915 / Version 1.5.3.1

Promise then() and catch() allow non-function arguments (which are simply discarded, as the specifications request)

Version 20200912 / Version 1.5.3

  • Much faster Promises and async/await by implementing Promises in native C++
  • Introduced lowsys.deepSleep(ms)
  • Updated ESP-IDF to newest toolchain (esp-2020r3) to fix random C++ exception crashes (did not happen frequently however)

Version 20200719 / Version 1.5.2

  • Support for net/tls/http/https.maxConnections
  • this on module level is now module.exports as with Node.JS
  • Support for process.umask
  • Fix for udp.bind
  • Updated ESP-IDF to current master
  • Fixed use of too much memory on ESP32
  • Fixed hangup on neonious one

Version 20200622 / Version 1.5.1.1

only ESP32 version: fixed crash on memory full (should exit application instead)

Version 20200525 / Version 1.5.1

  • Fixed bug in LittleFS implementation which may result in read/write errors
  • Switched to native ESP-IDF 4.0 SPI Flash implementation for external Flash (sdcard module or neonious one)
  • Implemented fs.existsSync, http._implicitHeader (for express), querystring.encodeStr (for url)

Version 20200515 / Version 1.5.0

  • Support for the Ethernet PHY LAN8170 in addition to the existing LAN8270 support, as used in upcoming ESP32-EROVER-EVB board
  • If there is no space for a read/write file system (happens with Custom firmware), file open returns ENOSPC error code, lowsync returns 507 HTTP code, also file open now returns correct error message in other cases
  • Switch file system from SPIFFS to LittleFS for a 8x (!) speed increase
  • url.parse updated to newest Node.JS behaviour to support ws links better
  • Added CAN error message "CAN_BUS_OFF", to be returned by can.transmit
  • Updated ESP-IDF and DukTape to current master
  • Fixed crash

Version 20200409 / Version 1.4.9

  • Added polyfill for indexOf to enable Buffer.from('hello world').indexOf(Buffer.from('llo'))
  • Fixed bug which results in error message "FD not found"
  • console.log(promise) no longer crashes
  • Updated ESP-IDF to current master

Version 20200305 / Version 1.4.8

Only changes for the ESP32 version of low.js:

  • low.js supports time zones! The time zone can be changed with lowsync (update to newest version first), the neonious IDE or by the user program via lowsys.setSettings or lowsys.setSystemTime.
  • low.js supports additional boards with Ethernet, especially the ESP32 Ethernet Kit board by Espressif, which is more expensive and bigger than the neonious one, but supports PoE. More information

Version 20200303 / Version 1.4.7

  • updated lowsync check program for ESP32-WROVER version for more compatibility: new ESP-IDF and lower bitrate
  • fixed UART (UART2 no longer used as it is not usable with ESP32-WROVER as pin 16/17 used by PSRAM, and pin demux is only available on UART0 and UART1)
  • smaller fixes

Version 20200219 / Version 1.4.6

  • lowsync (also version 1.4.6) supports all current settings and error messages
  • fixed console output glitch in low.js Linux version
  • fixed error "discard2headers not found" when doing a http request and receiving specific headers
  • better error messages

Version 20200211/12 / Version 1.4.5.2

  • no changes in low.js itself, only in ESP32 repository
  • updated underlying library ESP-IDF from 3.1 to 4.1, fixed two possible crashes with this
  • updated DukTape library to newest version
  • rainy day fund is not shown in memory stats anymore, to give a more clear picture on the used memory

Version 20200129 / 1.4.5.1

Fixed memory fragmentation problems which could result into crashes, especially on the neonious one which needs more internal RAM as it also has an Ethernet port.

Version 20200114 / 1.4.5

  • new settings option network.hostname
  • fixed deadlock

Version 20200105 / 1.4.4

  • example program is not preinstalled on low.js basic, too
  • lowsync supports removing IDE from low.js Pro in custom firmware for more space
  • fixed deadlock scenarios
  • preinstalled example program's map file is correct, so breakpoints work reliably
  • fixed http responses before end of requests scenarios
  • writing on finished streams no longer possible
  • streamlined looking up files in library paths
  • fixed editor setting bug in neonious IDE

Version 20191224 / 1.4.2

  • fixed a problem with setTimeout/setInterval introduced in 20191215
  • lowsys.restart now takes a boolean, if true it restarts the microcontroller
  • instead of only the program
  • low native modules can now use floating point (added software floating point functions)
  • fixed http/https connection reset error when server closes after response

Version 20191219 / 1.4.1

This update applies only to low.js on ESP32

  • Fixed deadlock when installing / uninstalling modules
  • If the microcontroller's factory resetting gets interrupted by a microcontroller reset, the LEDs now also blink red when the factory reset is restarted after the microcontroller reset.

Version 20191215 / 1.4.0

This update applies to both low.js and lowsync.

  • lowsync monitor now handles input, output, terminal resizing, and all both in normal and raw mode. The script require('repl').start();  run on the microcontroller, functions 100 % interactively in the lowsync monitor.
  • Create custom firmware files with factory state file system, static files, npm modules and custom settings with lowsync build
  • These can be flashed via lowsync flash
  • These can also be flashed by the user program itself using  require('lowsys').createFirmwareStream  (for example after it being uploaded in the browser)
  • lowsync sync supports one-way sync via parameters --to-mc and --to-pc
  • lowsync now uses Babel 7, upgraded from Babel 6
  • Implemented http(s).ClientRequest.abort(), small fixes with http(s)
  • Fixed lowsync --no-transpile option
  • Fixed auto kicking of watchdog in the event loop

Version 20191125 / 1.3.2

  • Small update to low native API functions low_call_thread and low_set_timeout
  • Added the low.js native API documentation

Version 20191124 / 1.3.1

  • Fixed deadlock when changing DNS servers
  • Fixed UART.flush

Version 20191117 / 1.3.0

  • Many optimizations, some bug fixes, also:
  • low.js now includes the same root certificates as Node.JS does, no need to load them explicity anymore
  • Support for native modules in low.js Pro (IDE + OTA version)! See low_native_api.
  • Module pg works
  • Support for process.on('uncaughtException', ...)
  • Settings object can now only be used for low.js parameters
  • PC version: Support for --transpile and --transpile-output for debugging
  • PC version: Support for command line arguments

Version 20191017

  • Modules mysql and node-fetch work
  • Many other modules now work which previously did not work. Please uninstall and install them again before testing
  • Added internal timers module as needed by some modules (a simple wrapper to the global timers functions)
  • Fixed some quirks with http/https, making it more stable

Version 20190923

Fixed problem introduced in 20190920 by upgrading to a newer TypeScript version. Update from 20190920 to newer version through IDE did not always work.

In case you have this problem, please run the following script from the IDE (run file) to update instead of pressing the Update button:

require('lowsys').updateNow();

Version 20190921

Fixed deadlock introduced by 20190920

Version 20190920

  • You can now get and set low.js settings from the user program via lowsync.settings / lowsync.getSettings.
  • Also fixed a problem where the IP of the device is 192.168.4.1 when in access point mode, no matter what IP was set in the settings.

Version 20190908

Upgrade only for plain ESP32-WROVER boards, not for neonious one:

  • low.js for ESP32 supports ESP32-WROVER's with more than 4 MB of Flash (a bug prevented this)
  • neonious IDE + debugger and Over-The-Air updating for low.js is now supported on any ESP32-WROVER board with 16 MB of Flash or more, not only on the neonious one! Required paid license.

Version 20190814

  • Native, fast OPC-UA Client module to interface industry bus controllers added! See the documentation for more information
  • For convenience, the ws module (for WebSockets) is now preloaded after factory reset, can be uninstalled
  • Only on neonious one: The example program preloaded now shows a chat box to showcase WebSockets. Reset to factory after updating to load it
  • Changes in lowsys.status are now notified by emitting a lowsysStatusChange event on the process module

Version 20190728

  • Support for up to 128 instead of only 16 sockets
  • Fix for RangeError when using fall/rise GPIO events
  • Only on neonious one: Fix for a bug which froze LPC822 co-processor and thus made pins unusable
  • Only on neonious one: Fixed swapped ADC pins 15 and 17

Version 20190703

  • Support for the mqtt module (add require('mqtt-packet').writeToStream.cacheNumbers = false; to the top of your main program file so the module does not use all RAM)
  • Better error messages if a module is too large for the microcontroller (if it happens, consider switching from plain ESP32-WROVER to neonious one)
  • Small fix for setImmediate and process.nextTick

Version 20190619

  • https.request support! TLS options other than one certificate are not supported yet, but the basic feature is working!
  • http/https upgrade for clients implemented => WebSocket connections to outside world possible
  • lowsync 1.0.22: install/uninstall commands allow you to install npm packages on plain ESP32-WROVER. Better option than syncing node_modules directory because modules installed via install/uninstall load much faster

Version 20190618

  • Module axios works
  • Unhandled promise reject now shows correct stack frame, by rethrowing original error with message prefixed by "unhandled promise" instead of throwing new error
  • Stability fixes (for example stack compression when compiling JavaScript files)

Version 20190613

  • Added os.freemem(), os.totalmem(), os.uptime()
  • Fixed a bug which resulted into a corrupt file system after a high write load
  • Fixed memory leak with fs.*Sync functions

Version 20190603

  • Revert of optimization in 20190602 which results in Out Of Memory after a few days (NOT reverting deadlock fix however)

Also done, not in low.js itself:

  • lowsync 1.0.21 in npm: Does not upload files/folders with . prefix anymore (.git, .vscode, etc.)
  • lowsync 1.0.21 in npm: Fix with exclude configuration setting
  • Updated all lowsync installation instructions so it works perfectly under Linux and macOS

Version 20190602

  • Support for process.versions, lowsys.updateVersion and lowsys.updateNow()
  • Fixed deadlock in low memory handling
  • Fixed bug in SPIFFS file system by updating library

Version 2019-05-21

  • Fix: CPU load now accurate. Simple setInterval loops now show 1% CPU usage instead of 50% CPU usage or more.
  • Fix: Even code in tight loops can now be paused/stopped
  • Fix: Debugger connection more stable

Version 2019-05-16

  • Fix: data thread has higher priority than code thread, makes console.log output even at 100 % CPU usage
  • Optimized SPI flash on neonious one: Less blocking and now utilized read-on-write

Version 2019-05-14

  • Fix: gpio pin.getValue works together with rise and fall events
  • Fix on neonious one: only gpio.OUTPUT_OPENDRAIN and not gpio.OUTPUT now allowed on correct pins 4 and 5, not 3 and 4
  • Fix on neonious one: it now takes at least 1 sec of pressing the user button to disable auto run, also after a factory reset, the user program runs even though the user button was pressed

Version 2019-05-06 / v2

Fixed typo in CAN module: trasmit() => transmit()

Version 2019-05-06

  • Added fully featured CAN interface module (see can module documentation and example can_self_test.js)
  • Added process.exit, lowsys.restart, process events exit and beforeExit, lowsys.gc
  • Small fixes to low.js (see lowjs commits for more information)

Version 2019-04-18

Added important features for using the neonious one in production settings:

  • A watchdog with software (JavaScript engine) and hardware (ESP32) mode
  • A flag to restart the user program on a fatal exception
  • A flag to allow the IDE to automatically save the edited files when starting the user program

For all three, see the low.js Settings documentation for more information.

Also, if your program blocks the whole microcontroller and you cannot even access the IDE, please report the problem as an GitHub issue, as this should not happen, no matter what code you write.

In case it does happen, however, you can now disable auto start of your program by keeping the User button pressed when tapping the Reset button and then directly releasing the User button (otherwise you will reset the network settings if you wait 5 seconds, see documentation). This will allow you to enter the neonious one IDE even if your program blocks the whole microcontroller.

Version 2019-04-10

  • Fixes in GPIO handling so timing is better and DHT11 can be supported (see dhtll.js)

Version 2019-03-30

  • lowsync monitor now only shows output of current program run, use lowsync monitor --global=true to see the whole past
  • better handling of low socket szenarios
  • fix for fs.*Sync methods
  • added Array.prototype.fill and Buffer.from(..., 'hex'/'base64')

Version 2019-03-13

  • Added lowsys.setSystemTime, used in NMEA GPS driver (nmea_gps.js)
  • Fixed crash which happens when too many HTTP sockets are opened

Version 2019-03-04

  • Complete workaround to ESP-IDF issue issue #2892, low.js now stable
  • UDP/dgram support
  • High precision timestamps added to GPIO rise and fall events to be able to interface modules like the HC-SR04 distance sensor (see example here)

Version 2019-02-06

  • I2C on LPC822 pins
  • npm package manager
  • Support for upgrade of 4 MB file system to 12 MB file system (see documentation)
  • Bug fixes

Version 2019-01-30 / bugfix release

  • Bugfix: Rewritten stack compression for stability
  • Bugfix: fs.access working

Version 2019-01-28 / bugfix release

  • Bugfix in low.js: Crash happened if too much data was written via HTTP
  • Bugfix in low.js: UART module now working
  • Bugfix: Disabling Ethernet could cause a crash
  • Bugfix: Too much stack usage could cause a crash
  • Bugfix: No longer long wait time at boot if many files exist

Version 2019-01-10

  • Some low.js fixes (see GitHub commits for details)
  • First version of simple JIT compiler (will be explained in blog soon)
  • Fixed a bug which made one pin unresponsive

Version 2018-12-27

  • Some low.js fixes (see GitHub commits for details)
  • Can be accessed via http://neonious.one/ after factory reset (simple DNS server added), no certificate warnings anymore
  • Faster, now using dlmalloc for internal RAM, too

Version 2018-12-18

Support for

  • fs.constants
  • fs.access
  • fs.rmdir
  • fs.mkdir
  • fs.readdir
  • fs.appendFile

and all sync versions of these methods.

Version 2018-12-08

Fixed promises and async/await

Version 2018-12-01

  • Support for I2C on ESP32 pins
  • No stack limit at all with any recursive native calls, now only limited by heap
  • Working Array.prototype.values / Array.prototype[Symbol.iterator]
  • Support for mounting SD cards into filesystem
  • Support for accessing memory above 4 MB (for example when using ESP-WROVER-B with 8 MB PSRAM). Due to ESP32's limitation of accessing only 4 MB directly, this is realized with require('lowsys').himemRead/himemWrite.
  • neonious IDE session does not expire while being used

The documentation will be updated in the next week.

Version 2018-11-26

Better support for ES6+ constructs

Version 2018-11-22

  • Support for UART and SPI on ESP32 pins (high speed!)
  • Stack no longer limits require(...) chains
  • Fixed crash when stack limit is hit

Version 2018-11-19

Small, but important bug fixes.

Version 2018-11-15

  • Garbage collector now already runs early enough to not hit memory full when it actually is not
  • Memory full situation is handled well, no crash of device anymore
  • Improved flacky Over-The-Air updater

Version 2018-11-13

  • Fixed the Ethernet port: now fast and stable
  • Optimizations for speed, much faster network in general
  • Small update for the ESP32 peripherials API, check the documentation for changes
  • Bug fixes

Version 1.2.0 / November 2nd, 2018

  • Support for HTTP/HTTS server 'upgrade' event => WebSockets module works
  • crypto.createHash / crypto.createHMac, resulting object supports update and digest
  • Error.prepareStackTrace / Error.captureStackTrace
  • fs.unlink / fs.rename / fs.unlinkSync / fs.renameSync
  • Buffer.toString('hex') / Buffer.toString('base64')
  • Faster network thanks to newer ESP-IDF version
  • Many bugfixes

Version 1.1.2 / September 26th, 2018

  • implemented fs.createReadStream / fs.createWriteStream
  • implemented process.hrtime
  • fixed crash which could happen on socket error, reproducable by just reloading the website served by the program again and again really fast
  • worked around the bug that GPIO / LEDs became unresponsive after a few reboots until power is cut off. This work around makes pin 6 unusable right now. It will be usable again soon after the issue https://community.nxp.com/thread/475108 is resolved. This is now a top priority issue for us which we will hopefully fix soon.

Version 1.1.0 / September 10th, 2018

  • complete rewrite based on the newly created low.js. Numerous additional features.

Version 1.0.0 / June 2nd, 2018

  • first released version

IMPRINT

neonious GmbH
Münsterstr. 246
40470 Düsseldorf
Germany
Managing Director / CEO
Thomas Rogg
TEL+49 211 9241 8187
FAX+49 211 9241 8172