Releases: ayushsharma82/WebSerial
v2.0.8
What's Changed
- Version update + perf improvement from #103 by @mathieucarbou in #104
- Expose WS makeBuffer() to improve heap consumption by @mathieucarbou in #103
- Added CLA by @ayushsharma82
- Added Code of Conduct by @ayushsharma82
Full Changelog: v2.0.7...v2.0.8
v2.0.7
What's Changed
- Project CI update and ESP8266 fixes by @mathieucarbou in #98
- v2.0.7 by @ayushsharma82 in #99
Full Changelog: v2.0.6...v2.0.7
v2.0.6
- Added written offer for source code due to compliance issues.
Full Changelog: v2.0.5...v2.0.6
v2.0.5
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
v2.0.3
Important
Please make sure to update your ESPAsyncWebServer dependency to >= v3.0.5
.
What's Changed
- Create stale.yml by @ayushsharma82 in #85
- Added WebSerialLite: a lightweight high-performance version of WebSerial by @mathieucarbou in #78
- Commits from dev branch... by @mathieucarbou in #88
- fix: remove mutex by @ayushsharma82 in #87
- v2.0.3 by @ayushsharma82 in #89
Full Changelog: v2.0.2...v2.0.3
v2.0.2
v2.0.1
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
- @mathieucarbou made their first contribution in #76
Full Changelog: v2.0.0...v2.0.1
WebSerial V2 is Here! 🍾
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:
-
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. -
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
- WebSerial now inherits
Print
class. Thanks to @jksemple