Skip to content

Commit 5f3f2e9

Browse files
committed
Release v0.7.0.dev6
1 parent a76ca45 commit 5f3f2e9

File tree

2 files changed

+26
-10
lines changed

2 files changed

+26
-10
lines changed

CHANGELOG.md

+25-9
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,38 @@
1-
## 0.7.0.dev6
1+
## 0.7.0.dev6 (2025-03-24)
22

33
### User-facing changes
44

5-
|new| working SPORES mode, upgraded from v0.6 to include a selection of scoring algorithms.
5+
|new| working SPORES mode, upgraded from v0.6 to include a selection of scoring algorithms (#716).
66

7-
|new| backend `set_objective` method, to switch between pre-defined objectives.
7+
|new| backend `set_objective` method, to switch between pre-defined objectives (#716).
88

9-
|changed| coin-or-cbc is now available cross-platform on conda-forge and so is the recommended open-source solver to install a user environment with.
9+
|changed| |backwards-incompatible| `from` and `to` parameters (to define start and end point of a transmission link) are now `link_from` and `link_to` (#717).
1010

11-
|changed| Upper bound pins for dependencies removed where possible, to minimise clashes when using calliope as a dependency in a project.
11+
|changed| |backwards-incompatible| `operate` and `spores` mode configuration options are now nested within the main configuration (e.g., `build.operate_window` is now `build.operate.window` and `solve.spores_number` is now `solve.spores.number`) (#704).
1212

13-
## 0.7.0.dev5 (2024-12-04)
13+
|changed| coin-or-cbc is now available cross-platform on conda-forge and so is the recommended open-source solver to install a user environment with (#744).
1414

15-
### User-facing changes
15+
|changed| Upper bound pins for dependencies removed where possible, to minimise clashes when using calliope as a dependency in a project (#744).
16+
17+
|changed| |backwards-incompatible| to ensure the model configuration always remains in sync with the results, `kwargs` in `model.build()` and `model.solve()` now directly affect `model.config` (#704)
18+
19+
|changed| `template:` can now be used anywhere within YAML definition files, not just in the `nodes`, `techs` and `data_tables` sections (#719).
20+
21+
|changed| Removed `inheritance` math helper function since we use `base_tech` for abstract base technologies and templates are now applied too early to be available later (#719).
22+
To refer to template inheritance, set a parameter within a template as all children will share the same value.
23+
24+
### Internal changes
25+
26+
|changed| Moved to using `pydantic` to document and validate our configuration, rather than JSON schema (#704, #717).
27+
28+
|changed| As with base dependencies, moved to pinning lower bound only for development dependencies (#744).
1629

17-
|changed| to ensure the model configuration always remains in sync with the results, `kwargs` in `model.build()` and `model.solve()` now directly affect `model.config`
30+
|changed| Curtailed `calliope.AttrDict` relevance, with I/O moved to `calliope.io` and attribute access moved to `pydantic` models.
31+
`AttrDict` is still used to merge overrides and templates into the model definition dictionary, before creating the `pydantic` models.
1832

19-
|changed| `template:` can now be used anywhere within YAML definition files, not just in the `nodes`, `techs` and `data_tables` sections.
33+
## 0.7.0.dev5 (2024-12-04)
34+
35+
### User-facing changes
2036

2137
|changed| "An overview of the Calliope terminology" information admonition to remove self-references and improve understandability.
2238
Now also includes a visual depiction of how the different defined components connect together (#699).

src/calliope/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.7.0.dev5"
1+
__version__ = "0.7.0.dev6"

0 commit comments

Comments
 (0)