Skip to content

Commit d7789aa

Browse files
committed
changelog & deps updates for v0.28.0
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
1 parent 868d930 commit d7789aa

File tree

14 files changed

+40
-38
lines changed

14 files changed

+40
-38
lines changed

documentation/api/change_log.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,12 @@ API change log
55

66
.. note:: The FlexMeasures API follows its own versioning scheme. This is also reflected in the URL (e.g. `/api/v3_0`), allowing developers to upgrade at their own pace.
77

8-
v3.0-26 | 2025-09-02
9-
""""""""""""""""""""
10-
- Added endpoints `GET /sensors/<id>/data` and `POST /sensors/<id>/data`.
11-
- Moved endpoints `GET /sensors/data` and `POST /sensors/data` into deprecation. Their URL does not align with the style of other endpoints, and they rely on entity addresses instead of IDs, which has been confusing users (a concept we are fading out).
12-
13-
148
v3.0-26 | 2025-09-10
159
""""""""""""""""""""
1610
- Added endpoint `POST /users`.
1711
- Added endpoint `GET /assets/types`.
12+
- Added endpoints `GET /sensors/<id>/data` and `POST /sensors/<id>/data`.
13+
- Moved endpoints `GET /sensors/data` and `POST /sensors/data` into deprecation. Their URL does not align with the style of other endpoints, and they rely on entity addresses instead of IDs, which has been confusing users (a concept we are fading out).
1814

1915

2016
v3.0-25 | 2025-07-24

documentation/changelog.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
FlexMeasures Changelog
44
**********************
55

6-
v0.28.0 | September XX, 2025
6+
v0.28.0 | September 10, 2025
77
============================
88

9-
.. warning:: Upgrading to this version requires running ``flexmeasures db upgrade`` (you can create a backup first with ``flexmeasures db-ops dump``).
9+
.. note:: Read more on these features on `the FlexMeasures blog <https://flexmeasures.io/v028-daily-kpis/>`_.
1010

11+
.. warning:: Upgrading to this version requires running ``flexmeasures db upgrade`` (you can create a backup first with ``flexmeasures db-ops dump``).
12+
This upgrade may take a few minutes, depending on how much time series data you have in your database (the data will be reindexed).
1113

1214
New features
1315
-------------

documentation/cli/change_log.rst

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
FlexMeasures CLI Changelog
55
**********************
66

7-
since v0.27.0 | September XX, 2025
7+
since v0.28.0 | September 10, 2025
88
=================================
99
* Removed command ``flexmeasures db-ops save`` and ``flexmeasures db-ops load`` for folder&file - base backup management.
1010

11-
1211
since v0.27.0 | July 20, 2025
1312
=================================
1413
* Add ``flexmeasures show assets`` CLI command for listing public assets and option ``--account <account-id>`` to list assets owned by a specific account.
@@ -26,35 +25,29 @@ since v0.25.0 | April 01, 2025
2625

2726
since v0.24.0 | January 6, 2025
2827
=================================
29-
3028
* ``flexmeasures show beliefs`` shows datetime values on x-axis labels.
3129
* ``flexmeasures add sensor`` no longer requires the ``capacity_in_mw`` attribute to be set for power sensors.
3230

3331
since v0.22.0 | June 29, 2024
3432
=================================
35-
3633
* Add ``--resolution`` option to ``flexmeasures show chart`` to produce charts in different time resolutions.
3734

3835
since v0.21.0 | April 16, 2024
3936
=================================
40-
4137
* Include started, deferred and scheduled jobs in the overview printed by the CLI command ``flexmeasures jobs show-queues``.
4238

4339
since v.0.20.0 | March 26, 2024
4440
=================================
45-
4641
* Add command ``flexmeasures edit transfer-ownership`` to transfer the ownership of an asset and its children.
4742
* Add ``--offspring`` option to ``flexmeasures delete beliefs`` command, allowing to delete beliefs of children, as well.
4843
* Add support for providing a sensor definition to the ``--site-power-capacity``, ``--site-consumption-capacity`` and ``--site-production-capacity`` options of the ``flexmeasures add schedule for-storage`` command.
4944

5045
since v0.19.1 | February 26, 2024
5146
=======================================
52-
5347
* Fix support for providing a sensor definition to the ``--storage-power-capacity`` option of the ``flexmeasures add schedule for-storage`` command.
5448

5549
since v0.19.0 | February 18, 2024
5650
=======================================
57-
5851
* Enable the use of QuantityOrSensor fields for the ``flexmeasures add schedule for-storage`` CLI command:
5952

6053
* ``charging-efficiency``
@@ -73,21 +66,18 @@ since v0.19.0 | February 18, 2024
7366
* ``--asset-type-id`` -> ``--asset-type``
7467
* ``--sensor-id`` -> ``--sensor``
7568
* ``--source-id`` -> ``--source``
76-
* ``--user-id`` -> ``--user`
69+
* ``--user-id`` -> ``--user``
7770

7871
since v0.18.1 | January 15, 2024
7972
=======================================
80-
8173
* Fix the validation of the option ``--parent-asset`` of command ``flexmeasures add asset``.
8274

8375
since v0.17.0 | November 8, 2023
8476
=======================================
85-
8677
* Add ``--consultancy`` option to ``flexmeasures add account`` to create a consultancy relationship with another account.
8778

8879
since v0.16.0 | September 29, 2023
8980
=======================================
90-
9181
* Add command ``flexmeasures add sources`` to add the base `DataSources` for the `DataGenerators`.
9282
* Add command ``flexmeasures show chart`` to export sensor and asset charts in PNG or SVG formats.
9383
* Add ``--kind reporter`` option to ``flexmeasures add toy-account`` to create the asset and sensors for the reporter tutorial.
@@ -103,13 +93,11 @@ since v0.15.0 | August 9, 2023
10393

10494
since v0.14.1 | June 20, 2023
10595
=================================
106-
10796
* Avoid saving any :abbr:`NaN (not a number)` values to the database, when calling ``flexmeasures add report``.
10897
* Fix defaults for the ``--start-offset`` and ``--end-offset` options to ``flexmeasures add report``, which weren't being interpreted in the local timezone of the reporting sensor.
10998

11099
since v0.14.0 | June 15, 2023
111100
=================================
112-
113101
* Allow setting a storage efficiency using the new ``--storage-efficiency`` option to the ``flexmeasures add schedule for-storage`` CLI command.
114102
* Add CLI command ``flexmeasures add report`` to calculate a custom report from sensor data and save the results to the database, with the option to export them to a CSV or Excel file.
115103
* Add CLI command ``flexmeasures show reporters`` to list available reporters, including any defined in registered plugins.
@@ -118,13 +106,11 @@ since v0.14.0 | June 15, 2023
118106

119107
since v0.13.0 | May 1, 2023
120108
=================================
121-
122109
* Add ``flexmeasures add source`` CLI command for adding a new data source.
123110
* Add ``--inflexible-device-sensor`` option to ``flexmeasures add schedule``.
124111

125112
since v0.12.0 | January 04, 2023
126113
=================================
127-
128114
* Add ``--resolution``, ``--timezone`` and ``--to-file`` options to ``flexmeasures show beliefs``, to show beliefs data in a custom resolution and/or timezone, and also to save shown beliefs data to a CSV file.
129115
* Add options to ``flexmeasures add beliefs`` to 1) read CSV data with timezone naive datetimes (use ``--timezone`` to localize the data), 2) read CSV data with datetime/timedelta units (use ``--unit datetime`` or ``--unit timedelta``, 3) remove rows with NaN values, and 4) add filter to read-in data by matching values in specific columns (use ``--filter-column`` and ``--filter-value`` together).
130116
* Fix ``flexmeasures db-ops dump`` and ``flexmeasures db-ops restore`` incorrectly reporting a success when `pg_dump` and `pg_restore` are not installed.
@@ -135,7 +121,6 @@ since v0.12.0 | January 04, 2023
135121

136122
since v0.11.0 | August 28, 2022
137123
==============================
138-
139124
* Add ``flexmeasures jobs show-queues`` to show contents of computation job queues.
140125
* ``--name`` parameter in ``flexmeasures jobs run-worker`` is now optional.
141126
* Add ``--custom-message`` param to ``flexmeasures monitor tasks``.

requirements/3.10/app.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ cryptography==45.0.5
6565
# webauthn
6666
cycler==0.12.1
6767
# via matplotlib
68+
dictdiffer==0.9.0
69+
# via -r requirements/app.in
6870
dill==0.4.0
6971
# via openturns
7072
dnspython==2.7.0
@@ -185,7 +187,7 @@ markupsafe==3.0.2
185187
# sentry-sdk
186188
# werkzeug
187189
# wtforms
188-
marshmallow==3.26.1
190+
marshmallow==3.26.1 ; python_version < "3.11"
189191
# via
190192
# -r requirements/app.in
191193
# flask-marshmallow
@@ -424,4 +426,3 @@ zipp==3.23.0
424426

425427
# The following packages are considered to be unsafe in a requirements file:
426428
# setuptools
427-
dictdiffer>=0.9.0

requirements/3.10/dev.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ click==8.1.8
1515
# -c requirements/3.10/app.txt
1616
# -c requirements/3.10/test.txt
1717
# black
18+
dictdiffer==0.9.0
19+
# via
20+
# -c requirements/3.10/app.txt
21+
# -r requirements/dev.in
1822
distlib==0.4.0
1923
# via virtualenv
2024
filelock==3.18.0

requirements/3.10/test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,4 @@ werkzeug==3.1.3
125125
# via
126126
# -c requirements/3.10/app.txt
127127
# flask
128-
# pytest-flask
128+
# pytest-flask

requirements/3.11/app.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ cryptography==45.0.6
6565
# webauthn
6666
cycler==0.12.1
6767
# via matplotlib
68+
dictdiffer==0.9.0
69+
# via -r requirements/app.in
6870
dill==0.4.0
6971
# via openturns
7072
dnspython==2.7.0
@@ -111,7 +113,9 @@ flask-migrate==4.1.0
111113
flask-principal==0.4.0
112114
# via flask-security-too
113115
flask-security-too[fsqla,mfa]==5.6.2
114-
# via -r requirements/app.in
116+
# via
117+
# -r requirements/app.in
118+
# flask-security-too
115119
flask-sqlalchemy==3.1.1
116120
# via
117121
# -r requirements/app.in
@@ -221,7 +225,6 @@ openturns==1.25
221225
packaging==25.0
222226
# via
223227
# altair
224-
# marshmallow
225228
# matplotlib
226229
# sktime
227230
# statsmodels
@@ -424,4 +427,3 @@ zipp==3.23.0
424427

425428
# The following packages are considered to be unsafe in a requirements file:
426429
# setuptools
427-
dictdiffer>=0.9.0

requirements/3.11/dev.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ click==8.1.8
1515
# -c requirements/3.11/app.txt
1616
# -c requirements/3.11/test.txt
1717
# black
18+
dictdiffer==0.9.0
19+
# via
20+
# -c requirements/3.11/app.txt
21+
# -r requirements/dev.in
1822
distlib==0.4.0
1923
# via virtualenv
2024
filelock==3.19.1
@@ -84,4 +88,3 @@ watchdog==6.0.0
8488

8589
# The following packages are considered to be unsafe in a requirements file:
8690
# setuptools
87-
dictdiffer>=0.9.0

requirements/3.11/test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,4 @@ werkzeug==3.1.3
108108
# via
109109
# -c requirements/3.11/app.txt
110110
# flask
111-
# pytest-flask
111+
# pytest-flask

requirements/3.12/app.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ cryptography==45.0.6
6565
# webauthn
6666
cycler==0.12.1
6767
# via matplotlib
68+
dictdiffer==0.9.0
69+
# via -r requirements/app.in
6870
dill==0.4.0
6971
# via openturns
7072
dnspython==2.7.0
@@ -223,7 +225,6 @@ openturns==1.25
223225
packaging==25.0
224226
# via
225227
# altair
226-
# marshmallow
227228
# matplotlib
228229
# sktime
229230
# statsmodels

0 commit comments

Comments
 (0)