Matti Airas - And here comes!I just released ...
And here comes!
I just released SensESP v3.0.0-beta.4. This time I hope all essential and/or non-essential breaking changes have been made, honest!
The latest release includes a lot of changes. Web UI configuration has been changed substantially. Previously, any objects that inherited from
Also, most of the internal pointer handling has been converted to smart pointers, improving memory safety and healing a long-time sore thumb. Use of smart pointers is also possible, but not mandatory, for user code. Some new tutorials might need to be written to cover the topic.
Oh, and after a long last, there are at least a few unit tests. They haven't been added in CI yet - that requires setting up a remote runner - but can be run either from the VSCode PlatformIO menu or from the command line:
If you would be kind enough to test the new release and report any bugs, that would help me a lot! I would like to get the v3 release finally done!
I just released SensESP v3.0.0-beta.4. This time I hope all essential and/or non-essential breaking changes have been made, honest!
The latest release includes a lot of changes. Web UI configuration has been changed substantially. Previously, any objects that inherited from
Configurable and that had a non-empty config_path were rendered as a config card. This approach mixed the embedded class implementation with presentation issues and made things like custom configuration schema more complex than necessary. In the latest version, Configurable has been replaced with a ConfigItem factory that needs to be called for every item you want on display. See for example the constant_sensor.cpp example for a practical example.Also, most of the internal pointer handling has been converted to smart pointers, improving memory safety and healing a long-time sore thumb. Use of smart pointers is also possible, but not mandatory, for user code. Some new tutorials might need to be written to cover the topic.
Oh, and after a long last, there are at least a few unit tests. They haven't been added in CI yet - that requires setting up a remote runner - but can be run either from the VSCode PlatformIO menu or from the command line:
If you would be kind enough to test the new release and report any bugs, that would help me a lot! I would like to get the v3 release finally done!
GitHub
Universal Signal K sensor framework for the ESP32 platform - SignalK/SensESP