Skip to content

Commit

Permalink
Merge pull request #391 from jcapriot/v0.11.2_staging
Browse files Browse the repository at this point in the history
v0.11.2 staging
  • Loading branch information
jcapriot authored Jan 28, 2025
2 parents 314a675 + 5eaa607 commit 60f3af1
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 8 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2013-2024 SimPEG Developers
Copyright (c) 2013-2025 SimPEG Developers

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
11 changes: 8 additions & 3 deletions docs/_static/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@
"url": "https://discretize.simpeg.xyz/en/main/"
},
{
"name": "0.11.1 (stable)",
"version": "v0.11.1",
"url": "https://discretize.simpeg.xyz/en/v0.11.1/",
"name": "0.11.2 (stable)",
"version": "v0.11.2",
"url": "https://discretize.simpeg.xyz/en/v0.11.2/",
"preferred": true
},
{
"name": "0.11.1",
"version": "v0.11.1",
"url": "https://discretize.simpeg.xyz/en/v0.11.1/"
},
{
"name": "0.11.0",
"version": "v0.11.0",
Expand Down
6 changes: 2 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
from datetime import datetime
from packaging.version import parse
import discretize
from sphinx_gallery.sorting import FileNameSortKey
import shutil
from importlib.metadata import version

Expand Down Expand Up @@ -499,13 +498,12 @@ def linkcode_resolve(domain, info):
"tutorials/inner_products",
"tutorials/pde",
],
"within_subsection_order": FileNameSortKey,
"within_subsection_order": "FileNameSortKey",
"filename_pattern": "\\.py",
"backreferences_dir": "api/generated/backreferences",
"doc_module": "discretize",
# 'reference_url': {'discretize': None},
"image_scrapers": ("pyvista", "matplotlib"),
}
sphinx_gallery_conf["image_scrapers"] = (pyvista.Scraper(), "matplotlib")


# Documents to append as an appendix to all manuals.
Expand Down
38 changes: 38 additions & 0 deletions docs/release/0.11.2-notes.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
.. currentmodule:: discretize

.. _0.11.2_notes:

===================================
``discretize`` 0.11.2 Release Notes
===================================

January 28, 2025

This is a bugfix release for discretize with some minor updates.

Updates
=======

Fixed Bugs
----------
* ``is_scalar`` will now return true for any numpy array broadcastable as a scalar (any array with ``arr.size == 1``).
* Explicitly set diagonal balancing on internal plotting and reading routines that build a ``TreeMesh``.
* Fixes formatting across line breaks in new warnings.
* the ``Zero`` and ``Identity`` classes now return expected truthiness values: ``bool(Zero()) == False`` and ``bool(Identity()) == True``.


Contributors
============
* @jcapriot
* @santisoler
* @prisae

Pull requests
=============

* improve scalar test to handle arbitrary dimensional ndarrays by @jcapriot in `#388 <https://github.com/simpeg/discretize/pull/388>`__.
* Set no diagonal balance when reading UBC tree meshes by @santisoler in `#386 <https://github.com/simpeg/discretize/pull/386>`__
* Fix small typos in diagonal_balance warning by @santisoler in `#387 <https://github.com/simpeg/discretize/pull/387>`__
* Implement truthiness for Zero and Identity by @jcapriot in `#389 <https://github.com/simpeg/discretize/pull/389>`__
* Fix formatting new warning by @prisae in `#390 <https://github.com/simpeg/discretize/pull/390>`__
* v0.11.2 staging @jcapriot in `#391 <https://github.com/simpeg/discretize/pull/390>`__
1 change: 1 addition & 0 deletions docs/release/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Release Notes
.. toctree::
:maxdepth: 2

0.11.2 <0.11.2-notes>
0.11.1 <0.11.1-notes>
0.11.0 <0.11.0-notes>
0.10.0 <0.10.0-notes>
Expand Down

0 comments on commit 60f3af1

Please sign in to comment.