Skip to content

Latest commit

 

History

History
124 lines (106 loc) · 8.78 KB

4.4-4.5.rst

File metadata and controls

124 lines (106 loc) · 8.78 KB

From v4.4 to v4.5

Template Streams

The :cpp:class:`TemplateStream` class has been updated to improve tag recognition (:pull-request:`2400`). This means regular {varname} tags are sufficient for most purposes, including JSON templates.

The :cpp:class:`IFS::JsonDirectoryTemplate` previously used double-brace tags such as {{varname}}. It now uses regular tags by default, so if you use this class either:

  1. Add a call to :cpp:func:`TemplateStream::setDoubleBraces` in your code, or
  2. Update your templates to use single braces

Eclipse Project Files

Starting with version 4.5.x we don't provide Eclipse meta files in our samples. These can be generated using the ide-eclipse makefile target. For more information read the updated :doc:`/tools/eclipse`.

Esp8266 toolchain

Sming now requires the :doc:`/arch/esp8266/getting-started/eqt` for building.

Support for the old legacy toolchains (ESP open SDK, UDK) have been dropped. They may still work but are no longer tested.

user_config.h

This header file is part of the original ESP8266 SDK code and is now deprecated. Libraries should use only the necessary headers. Applications do not require it.

Breaking Changes

Undeprecated :cpp:func:`HttpRequest::getQueryParameter` and removed a lot of old deprecated code.