Skip to content

Commit 436332f

Browse files
committed
Mark v2022.1.26 in doc/whatsnew
1 parent 4ea7ca0 commit 436332f

File tree

2 files changed

+20
-13
lines changed

2 files changed

+20
-13
lines changed

doc/whatsnew.rst

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,41 @@
11
What's new
22
**********
33

4-
Next release
5-
============
4+
.. Next release
5+
.. ============
6+
7+
2022.1.26
8+
=========
69

710
- New :class:`.Spec` class for easier handling of specifications of model (or model variant) structure (:pull:`39`)
811
- New utility function :func:`.util.local_data_path` (:pull:`39`).
912
- :func:`.repr` of :class:`.Context` no longer prints a (potentially very long) list of all keys and settings (:pull:`39`).
1013
- :func:`.as_codes` accepts a :class:`.dict` with :class:`.Code` values (:pull:`39`).
1114

15+
Earlier releases
16+
================
17+
1218
2021.11.24
13-
==========
19+
----------
1420

1521
- Add :command:`--years` and :command:`--nodes` to :func:`.common_params` (:pull:`35`).
1622
- New utility function :func:`.structure.codelists` (:pull:`35`).
1723

1824
2021.7.27
19-
=========
25+
---------
2026

2127
- Improve caching using mod:`genno` v1.8.0 (:pull:`29`).
2228

2329
2021.7.22
24-
=========
30+
---------
2531

2632
- Migrate utilities :func:`cached`, :func:`.check_support`, :func:`.convert_units`, :func:`.maybe_query`, :func:`.series_of_pint_quantity` (:pull:`27`)
2733
- Add :data:`.testing.NIE`.
2834
- Add the ``--jvmargs`` option to :command:`pytest` (see :func:`.pytest_addoption`).
2935
- Remove :meth:`.Context.get_config_file`, :meth:`.get_path`, :meth:`.load_config`, and :meth:`.units`, all deprecated since 2021-02-28.
3036

3137
2021.7.6
32-
========
38+
--------
3339

3440
- Add :func:`identify_nodes`, a function for identifying a :doc:`pkg-data/node` based on a :class:`.Scenario` (:pull:`24`).
3541
- Add :func:`adapt_R11_R14`, a function for adapting data from the :ref:`R11` to the :ref:`R14` (:pull:`24`).
@@ -40,23 +46,23 @@ Next release
4046
- Add the :ref:`R12` node code list (:pull:`14`).
4147

4248
2021.4.7
43-
========
49+
--------
4450

4551
- Add :mod:`.model.disutility`, code for setting up structure and data for generalized consumer disutility (:pull:`13`)
4652

4753
2021.3.24
48-
=========
54+
---------
4955

5056
- Add :doc:`pkg-data/year`, YAML data files, :meth:`.ScenarioInfo.year_from_codes` and associated tests (:issue:`11`, :pull:`12`)
5157

5258
2021.3.22
53-
=========
59+
---------
5460

5561
- Migrate :mod:`.model.bare`, :mod:`.model.build`, :mod:`.model.cli`, and associated documentation (:pull:`9`)
5662
- Migrate utilities: :class:`.ScenarioInfo`, :func:`.add_par_data`, :func:`.eval_anno`, :func:`.iter_parameters`, and :func:`.strip_par_data`.
5763

5864
2021.3.3
59-
========
65+
--------
6066

6167
- Migrate :mod:`.util.click`, :mod:`.util.logging`; expand documentation (:pull:`8`:).
6268
- :meth:`.Context.clone_to_dest` method replaces :func:`clone_to_dest` function.
@@ -65,7 +71,7 @@ Next release
6571
- Migrate :program:`mix-models techs` CLI command.
6672

6773
2021.2.28
68-
=========
74+
---------
6975

7076
- Migrate :class:`.Context` class and :mod:`.testing` module from :mod:`message_data` (:pull:`5`:).
7177
- Add :func:`.load_private_data`, :func:`.package_data_path`, :func:`.private_data_path`.
@@ -74,12 +80,12 @@ Next release
7480
For instance, ANT dissolved into BES, CUW, and SXM in 2010; all four are included in R11_LAM so this list can be used to handle data from either before or after 2010.
7581

7682
2021.2.26
77-
=========
83+
---------
7884

7985
- Add :func:`.get_codes` and related code lists (:pull:`2`:).
8086
- Add :class:`.MessageDataFinder` and document :doc:`migrate` (:pull:`3`:).
8187

8288
2021.2.23
83-
=========
89+
---------
8490

8591
Initial release.

message_ix_models/util/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"MESSAGE_DATA_PATH",
2727
"MESSAGE_MODELS_PATH",
2828
"adapt_R11_R14",
29+
"as_codes",
2930
"cached",
3031
"check_support",
3132
"convert_units",

0 commit comments

Comments
 (0)