Skip to content

4.2.0 - codename "MK"

Compare
Choose a tag to compare
@slaff slaff released this 15 Jan 16:12
· 551 commits to develop since this release

We are happy to announce Sming version 4.2.0 - a new major release containing new features, improvements and bug fixes. This release is codenamed "MK". Where "M" and "K" stand for high-quality major release. Thanks to @mikee47's and his fantastic work.

This release will be our new Long Term Release (LTS) which will be supported until 1st of February, 2022.

Some of the highlights in this release include:

  • Starting with this version a GCC compiler version 8 or newer is highly recommended
  • Initial support for ESP32
  • UPnP framework coming with code generation. Translated into plain English this means that with Sming's help it is now very easy to create an application that controls a UPnP device as for example your SmartTV or printer and create devices that are discoverable in the local internet and easy to work with. As for example a new smart switch.
  • Improved overall performance and memory usage

New features

  • Initial support for ESP32 #2076 #2151
  • UPnP framework #2115
  • UPnP code generation #2154
  • CS5460 Arduino library #2106, #2174
  • Support command line parameters for Host applications #2134
  • Added CString class #2112
  • Add BitSet class template #2115 & #2131
  • Core Task class to support co-operative multitasking #2148
  • Hardware SPI library #2150
  • DIAL client #2152 (Using UPnP )
  • Sample demonstrating connecting to Amazon Web Services #2149

Improvements

  • Revisions to SPI classes #2130
  • Updated Infrared library and sample #2083
  • Stream optimisations #2123
  • Applied String move semantics to reduce memory re-allocations #2119
  • Refactored FTP classes #2125
  • Websocket: Added pong delegate support for websocket connection and resource #2156
  • MqttClient revisions #2157
  • HttpClient improvements.
    • Added support for servers that do not support connection reuse. #2132, #2163, #2175
    • SSL sample changes: #2173
  • Added Esp32 gdbstub Component and fix Esp8266 syscall errno handling #2169
  • Add iterator support for HashMap and Vector, with basic tests #2167
  • Templates engine improvements: Added dataset templating support #2164
  • LimitedMemoryStream: Allocates memory buffer on demand and not upfront. #2153

Bug fixes

  • Fixed appveyor crashing issue and use latest MinGW #2124

Security

All PRs that were merged in this release can be seen from here

For a complete list of changes run the following command:

git log 4.1.1..4.2.0

Thanks to everyone who helped us make this release happen!