Skip to content

Commit b891bef

Browse files
committed
add notes and update version switcher info
1 parent 0d53e50 commit b891bef

3 files changed

Lines changed: 53 additions & 3 deletions

File tree

docs/_static/versions.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@
44
"url": "https://discretize.simpeg.xyz/en/main/"
55
},
66
{
7-
"name": "0.11.3 (stable)",
8-
"version": "v0.11.3",
9-
"url": "https://discretize.simpeg.xyz/en/v0.11.3/",
7+
"name": "0.12.0 (stable)",
8+
"version": "v0.12.0",
9+
"url": "https://discretize.simpeg.xyz/en/v0.12.0/",
1010
"preferred": true
1111
},
12+
{
13+
"name": "0.11.3",
14+
"version": "v0.11.3",
15+
"url": "https://discretize.simpeg.xyz/en/v0.11.3/"
16+
},
1217
{
1318
"name": "0.11.2",
1419
"version": "v0.11.2",

docs/release/0.12.0-notes.rst

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
.. currentmodule:: discretize
2+
3+
.. _0.12.0_notes:
4+
5+
===================================
6+
``discretize`` 0.12.0 Release Notes
7+
===================================
8+
9+
October 7, 2025
10+
11+
This minor release contains many bugfixes and updates related to new package builds.
12+
13+
Python versions
14+
---------------
15+
`discretize` has bumped its minimum supported `python` version to 3.11, and is tested against versions 3.11-3.14. Minimum scipy versions
16+
have also been bumped to 1.12. Users on older python versions should continue to use `discretize` 0.11.x.
17+
18+
We have also added support for (and tests against) free-threaded python builds for python 3.13 and later, which should be available through
19+
the normal python distribution channels (pypi, conda-forge).
20+
21+
``TreeMesh`` updates
22+
--------------------
23+
Tree meshes now support a `refine_image` method that allows users to refine a mesh based on an image (2D or 3D numpy array). See
24+
:func:``discretize.TreeMesh.refine_image`` for more details.
25+
26+
``TensorMesh`` updates
27+
----------------------
28+
A new :func:``discretize.TensorMesh.point2index`` method has been added to convert a point location to the corresponding cell index in
29+
a tensor mesh, similar to the existing :func:``discretize.TreeMesh.point2index`` method.
30+
31+
32+
Contributors
33+
============
34+
35+
* @jcapriot
36+
37+
Pull requests
38+
=============
39+
* bump sphinx and pydata-sphinx to more recent versions by @jcapriot in `#402 <https://github.com/simpeg/discretize/pull/402>`__
40+
* Small cleanups to the external TreeMesh code, no functionality changes by @jcapriot in `#400 <https://github.com/simpeg/discretize/pull/400>`__
41+
* Add point2index functionality for `tensor_mesh` by @jcapriot in `#401 <https://github.com/simpeg/discretize/pull/401>`__
42+
* Updates for python free threading by @jcapriot in `#403 <https://github.com/simpeg/discretize/pull/403>`__
43+
* Updates for cibuildwheel by @jcapriot in `#405 <https://github.com/simpeg/discretize/pull/405>`__
44+
* Add functionality to refine a `TreeMesh` using an "image" by @jcapriot in `#406 <https://github.com/simpeg/discretize/pull/406>`__

docs/release/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Release Notes
44
.. toctree::
55
:maxdepth: 2
66

7+
0.12.0 <0.12.0-notes>
78
0.11.3 <0.11.3-notes>
89
0.11.2 <0.11.2-notes>
910
0.11.1 <0.11.1-notes>

0 commit comments

Comments
 (0)