Version 3.0.0-beta.4 released #771
mairas
announced in
Announcements
Replies: 1 comment
-
And now version 3.0.0-beta.5 is out. Just minor instrumentation improvements: some event loop data is made visible on the web UI status page. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(Seems like I skipped posting about a couple of betas...)
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-emptyconfig_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 aConfigItem
factory that needs to be called for every item you want on display. See for example theconstant_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! :-D
Beta Was this translation helpful? Give feedback.
All reactions