-
Notifications
You must be signed in to change notification settings - Fork 72
/
Change Log.txt
585 lines (369 loc) · 19.5 KB
/
Change Log.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
================================================================================
= low.js for ESP32 Change Log =
= Now part of the lowjs repo to show progress in the whole project =
================================================================================
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 20210228 / Version 1.6.2
- Allowed usage of pin 37 and 38 in case user uses ESP32 with PSRAM instead of ESP32-WROVER (which does not support the pins)
https://github.com/neonious/lowjs/issues/127
- Fixed POST problem 2/2
https://neonious.com/Forum/topic/102/http-request-on-end-not-respecting-promises
- Fixed setSettings with onlyValidate option
https://www.neonious.com/Forum/topic/106/lowsys-setsettings-settings-onlyvalidate-doesn-t-respect-true-for-onlyvalidate
- Fixed setting of network settings via lowsync
https://neonious.com/Forum/topic/98/confused-noob-here/4
Version 20210221 / Version 1.6.1
- Fixed I2C destroy problem
https://www.neonious.com/Forum/topic/93/i2c-module-hangs-on-i2c-error
- Fixed POST problem
https://www.neonious.com/Forum/topic/101/http-request-on-end-not-firing
- Fixed missing root certs
https://www.neonious.com/Forum/topic/97/https-example
Version 20201229 / Version 1.6.0
- neonious IDE: Files with problems (syntax) no longer run, now throw with the
info that the user shall fix the errors noted in the Problems tab
- neonious IDE: Locals and call stack are now shown more reliably when the
program is paused
- Support for memory ceiling when using low on POSIX machines
- Better memory handling
- Native API now also works on ARM machines
- Added URL to global scope
- New neonious.one certificate added
- Fix for transpilation on POSIX machines
- Fix for MQTT module
- Some bugs fixed which were found by validator software
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
No changes in low.js itself, only in ESP32 repository
- 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.
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 verison
- 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 / Version 1.4.5.1
No changes in low.js itself, only in ESP32 repository
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 / Version 1.4.5
- new settings option network.hostname
- fixed deadlock
Version 20200105 / Version 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 / Version 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 / Version 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 / Version 1.4.0
This update applies to both low.js and lowsync.
Documentation for the new features will follow after New Year!
- 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 / Version 1.3.2
This update is only important if you write C/C++ native modules.
- Small update to low native API functions low_call_thread and low_set_timeout
- Added the low.js native API documentation at
https://www.neonious.com/lowjs/documentation/lowjs-for-esp32-api.html
Version 20191124 / Version 1.3.1 / only for ESP32
- Fixed deadlock when changing DNS servers
- Fixed UART.flush
Version 20191117 / Version 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 https://www.github.com/neonious/low_native_api .
Extensive documentation will arrive in December 2019
- 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