Skip to content

Releases: ayushsharma82/WebSerial

v2.0.7

07 Sep 12:49
c3563a5
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.6...v2.0.7

v2.0.6

16 Aug 12:43
Compare
Choose a tag to compare
  • Added written offer for source code due to compliance issues.

Full Changelog: v2.0.5...v2.0.6

v2.0.5

19 Jul 11:20
Compare
Choose a tag to compare

What's Changed

  • Fix callback ref not kept when using WSLStringMessageHandler by @mathieucarbou in #92
  • fix: dependencies and onMessage callback by @ayushsharma82 in #93
  • ESP32 Arduino Core v3.0.3 compatibility

Full Changelog: v2.0.4...v2.0.5

v2.0.4

06 Jul 10:51
c225383
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.3...v2.0.4

v2.0.3

28 Jun 22:45
1736f21
Compare
Choose a tag to compare

Important

Please make sure to update your ESPAsyncWebServer dependency to >= v3.0.5.

What's Changed

Full Changelog: v2.0.2...v2.0.3

v2.0.2

03 Jun 17:26
bf47ffc
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.1...v2.0.2

v2.0.1

02 Jun 22:49
e6bbfd6
Compare
Choose a tag to compare

What's Changed

  • Code cleanups by @mathieucarbou in #76
  • v2.0.1 Release by @ayushsharma82 in #80
  • Updated UI. (Fixed "Export Logs" label and increased ping time to 3 seconds)
  • Updated Dependency Version

New Contributors

Full Changelog: v2.0.0...v2.0.1

WebSerial V2 is Here! 🍾

30 May 19:49
d735de2
Compare
Choose a tag to compare

WebSerial was something which was waiting for so long to be updated to current standards, and.. here it is! The main focus of V2 release was to work on stability of the library and make it a useful thing that can stay alongside your code for monitoring, logging or debugging your firmware/product.

Important

We have officially switched to fork of ESPAsyncWebServer from @mathieucarbou which contain a lot of bug fixes and arduino-esp32 core v3 support. Please make sure you have correct dependencies by checking here - Installation Docs.

Here's a quick rundown of things that have been added with V2:

1. New Optimized UI 👨‍💻

Like my other libraries, WebSerial v2 now uses SvelteJS to produce a smaller bundle which in return provides you with more space for code and it's significant! That's a tiny bundle with much better UI and more functionality compared to previous version.

Here's the comparison:

V1 New V2
57Kb 20Kb (-63%)

2. Improved UI Generation 📜

Improved compression script, now webpage header files are divided between header and source. This fixes linker issues when using WebSerial within another class/library.

3. Dark Mode 🌓

New UI features light/dark/system theme toggle which comes in really handy and making the whole interface comfortable to use.

4. Reworked C++ Code ⚡️

We are seeing a ton of changes in C++ library with v2, essentially it can be divided into 2 major things:

  1. Binary Encoding
    The library now uses custom made binary packet encoding technique to allow multiple commands and responses over the same WebSocket transmission pipe. This means a lot for WebSerial in future as we are now not limited to just sending logs/messages to UI via WebSocket.

  2. Dual Buffer Approach
    WebSerial originally came without any kind of buffering which lead to lack of performance as a teeny-tiny microcontroller can only handle little data over a network. To overcome this, WebSerial v2 and the latest WebSerial Pro v2 uses dual buffer approach which increases the performance of WebSerial to handle more data and short bursts of data without any issue.

5. Synced Timestamps ⏱️ (Pro)

Timestamps are now synced with C++ library! This means a lot for accurate time stamping which is precise down to level of millisecond and all this without any requiring any time-keeping dependency!

6. Export Logs ⬇️ (Pro)

You can now download all your received logs directly from the UI. You can choose between mulitple file formats including text, json and csv! Know More

7. Toggle Input Bar (Pro)

Wish to use WebSerial for monitoring purposes only? Think no more! You can easily disable input bar from the C++ library itself. Know More

8. Change Font Style & Size 🔠 (Pro)

You can now change the font style and size of your WebSerial terminal without leaving the interface, it's right there in the settings tab. Just click on settings and change the font family, or if you want you can increase or decrease the font size according to your comfort. Know More

9. Custom Title 🔤 ( Pro )

You can now add your own custom portal title. Know More

10. Branding/Logo 😎 ( Pro )

I know people wanted to add their own project/company logo to personalize their WebSerial terminal, therefore with v2 I've separated the logos from the webpage and now those can be set within the C++ code without touching the HTML, CSS or JS which is just awesome. Know More

License Change

The license of WebSerial open source edition has been changed from GPL-3.0 to AGPL-3.0 to better facilitate users with a good library and user experience. Please be aware if you are running WebSerial in any of your commercial products and consider switching to SCL-1.1 ( SOFTT Commercial License 1.1 ) which allows for commercial usage. WebSerial Pro comes included with SCL-1.1 license.

April 2023 Release

23 Apr 18:46
f385c2a
Compare
Choose a tag to compare
  • WebSerial now inherits Print class. Thanks to @jksemple

Better webpage.h

03 Oct 11:59
Compare
Choose a tag to compare

Improved webpage.h generation and updated finalize script

This resolves #37 .