💡⚡️🍾 Espruino 2v27 Released #7781
Replies: 4 comments 26 replies
-
Since this last update I have had immense problems I have not had since I bought the watch. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
the debugging features are very nice, well done Gordon. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I didn't do a release note for 2v26 (which was released only a few weeks ago) so I'll try and do a bit of a round-up here of what's been added across both versions. It's quite a big one!
Debugging
console.trace
,(new Error()).stack
and much better backtraces in general, which now usefile:line:col
formatE.setFlags({onErrorFlash:true})
flashes the red LED for 200ms on any uncaught errorsE.setFlags({onErrorSave:true})
saves any uncaught errors to a file in Storage calledERROR
Espruino General
E.defrag()
now defragments everything, including Flat Stringsr+
file open mode (and allow w+ to read), if we can't allocate file, attempt defragmentation and try againGraphics.asImage()
can now take x/y/w/h options to make only part of the graphics into an imageBluetooth
connect
(enabling coded phy connection)Bangle.js
E.showPrompt
has bigger buttons and better alignmentOther boards
E.on("touch"
events like on CYD... plus a whole bunch more! Check out https://www.espruino.com/ChangeLog for more information as well as numbers of GitHub bug reports related to the changes.
Beta Was this translation helpful? Give feedback.
All reactions