Warning
If you retrieve weather forecasts through FlexMeasures: we had to switch to OpenWeatherMap, as Dark Sky is closing. This requires an update to config variables ― the new setting is called OPENWEATHERMAP_API_KEY
.
New features -----------* Allow plugins to overwrite UI routes and customise the teaser on the login form [see PR #106] * Allow plugins to customise the copyright notice and credits in the UI footer [see PR #123]
- Fix last login date display in user list [see PR #133]
- Choose better forecasting horizons when weather data is posted [see PR #131]
Infrastructure / Support ----------------------* Make assets use MW as their default unit and enforce that in CLI, as well (API already did) [see PR #108] * For weather forecasts, switch from Dark Sky (closed from Aug 1, 2021) to OpenWeatherMap API [see PR #113] * Re-use the database between automated tests, if possible. This shaves 2/3rd off of the time it takes for the FlexMeasures test suite to run [see PR #115] * Let CLI package and plugins use Marshmallow Field definitions [see PR #125] * add time_utils.get_recent_clock_time_window() function [see PR #135]
- Fix regression when editing assets in the UI [see PR #122]
- Fixed a regression that stopped asset, market and sensor selection from working [see PR #117]
- Prevent logging out user when clearing the session [see PR #112]
- Prevent user type data source to be created without setting a user [see PR #111]
Warning
Upgrading to this version requires running flexmeasures db upgrade
(you can create a backup first with flexmeasures db-ops dump
).
New features -----------* Configure the UI menu with FLEXMEASURES_LISTED_VIEWS
[see PR #91] * Allow for views and CLI functions to come from plugins [see also PR #91]
Note
Read more on these features on the FlexMeasures blog.
- Asset edit form displayed wrong error message. Also enabled the asset edit form to display the invalid user input back to the user [see PR #93]
Infrastructure / Support ----------------------* Updated dependencies, including Flask-Security-Too [see PR #82] * Improved documentation after user feedback [see PR #97] * Begin experimental integration with timely beliefs lib: Sensor data as TimedBeliefs [see PR #79 and PR #99] * Add sensors with CLI command currently meant for developers only [see PR #83] * Add data (beliefs about sensor events) with CLI command currently meant for developers only [see PR #85 and PR #103]
- PostMeterData endpoint was broken in API v2.0 [see PR #95]
New features -----------* FlexMeasures can be installed with pip
and its CLI commands can be run with flexmeasures
[see PR #54] * Optionally setting recording time when posting data [see PR #41] * Add assets and weather sensors with CLI commands [see PR #74]
Note
Read more on these features on the FlexMeasures blog.
- Show screenshots in documentation and add some missing content [see PR #60]
- Documentation listed 2.0 API endpoints twice [see PR #59]
- Better xrange and title if only schedules are plotted [see PR #67]
- User page did not list number of assets correctly [see PR #64]
- Missing postPrognosis endpoint for >1.0 API blueprints [part of PR #41]
Infrastructure / Support ----------------------* Added concept pages to documentation [see PR #65] * Dump and restore postgres database as CLI commands [see PR #68] * Improved installation tutorial as part of [PR #54] * Moved developer docs from Readmes into the main documentation [see PR #73] * Ensured unique sensor ids for all sensors [see PR #70 and (fix) PR #77]
- Power charts available via the API [see PR #39]
- User management via the API [see PR #25]
- Better visibility of asset icons on maps [see PR #30]
Note
Read more on these features on the FlexMeasures blog.
- Fix maps on new asset page (update MapBox lib) [see PR #27]
- Some asset links were broken [see PR #20]
- Password reset link on account page was broken [see PR #23]
Infrastructure / Support ----------------------* CI via Github Actions [see PR #1] * Integration with timely beliefs lib: Sensors [see PR #13] * Apache 2.0 license [see PR #16] * Load js & css from CDN [see PR #21] * Start using marshmallow for input validation, also introducing HTTP status 422
in the API [see PR #25] * Replace solarpy
with pvlib
(due to license conflict) [see PR #16] * Stop supporting the creation of new users on asset creation (to reduce complexity) [see PR #36]