Skip to content

Commit 23a2080

Browse files
authored
Merge pull request #81 from cadenmyers13/changelog-render
fix: Changelog rendering
2 parents 582a84f + 51db0d4 commit 23a2080

File tree

2 files changed

+95
-95
lines changed

2 files changed

+95
-95
lines changed

CHANGELOG.rst

Lines changed: 72 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -19,172 +19,149 @@ Release notes
1919
Version 2024.2.2
2020
----------------
2121

22-
Changes
23-
~~~~~~~
22+
**Fixes:**
2423

25-
Fixes
26-
~~~~~
27-
28-
- Correct powder pattern plotting with a non-empty name
24+
* Correct powder pattern plotting with a non-empty name
2925

3026
Version 2024.2.1
3127
----------------
3228

33-
Changes
34-
~~~~~~~
29+
**Changes:**
3530

36-
- **PowderPattern**:
37-
- Fix re-using a matplotlib figure when plotting
38-
- Add ``figure`` property
31+
* PowderPattern:
32+
* Fix re-using a matplotlib figure when plotting
33+
* Add ``figure`` property
3934

4035
Version 2024.2
4136
--------------
4237

43-
Changes
44-
~~~~~~~
38+
**Changes:**
4539

46-
- **DiffractionDataSingleCrystal**: add ``SetHklIobs``, ``SetIobs``, ``SetSigma``, ``GetSigma``, ``GetChi2``, ``FitScaleFactorForRw`` and ``FitScaleFactorForR`` (`issue #42 <https://github.com/diffpy/pyobjcryst/issues/42>`_)
47-
- Add a single crystal data notebook example
48-
- Online documentation notebooks now include the plots `<https://pyobjcryst.readthedocs.io/en/latest/examples>`_
40+
* **DiffractionDataSingleCrystal**: add ``SetHklIobs``, ``SetIobs``, ``SetSigma``, ``GetSigma``, ``GetChi2``, ``FitScaleFactorForRw`` and ``FitScaleFactorForR`` (`issue #42 <https://github.com/diffpy/pyobjcryst/issues/42>`_)
41+
* Add a single crystal data notebook example
42+
* Online documentation notebooks now include the plots `<https://pyobjcryst.readthedocs.io/en/latest/examples>`_
4943

50-
Fixes
51-
~~~~~
44+
**Fixes:**
5245

53-
- From libobjcryst: update the ScatteringComponentList when a Scatterer is removed from a Crystal (`issue #41 <https://github.com/diffpy/pyobjcryst/issues/41>`_)
46+
* From libobjcryst: update the ScatteringComponentList when a Scatterer is removed from a Crystal (`issue #41 <https://github.com/diffpy/pyobjcryst/issues/41>`_)
5447

5548
Version 2024.1
5649
--------------
5750

58-
Changes
59-
~~~~~~~
51+
**Changes:**
6052

61-
- Add python access to MolZAtom, for ``Molecule.AsZMatrix()``
53+
* Add python access to MolZAtom, for ``Molecule.AsZMatrix()``
6254

6355
Version 2.2.6
6456
--------------
6557

66-
Changes
67-
~~~~~~~
58+
**Changes:**
6859

69-
- Support for Windows and Python>=3.8
70-
- Added a zoom limit for 3D crystal views
60+
* Support for Windows and Python>=3.8
61+
* Added a zoom limit for 3D crystal views
7162

72-
Fixes
73-
~~~~~
63+
**Fixes:**
7464

75-
- Correct error preventing pyobjcryst import for Windows and Python>=3.8 (`issue #33 <https://github.com/diffpy/pyobjcryst/issues/33>`_)
76-
- Fix for matplotlib >=3.7.0 when removing hkl labels
65+
* Correct error preventing pyobjcryst import for Windows and Python>=3.8 (`issue #33 <https://github.com/diffpy/pyobjcryst/issues/33>`_)
66+
* Fix for matplotlib >=3.7.0 when removing hkl labels
7767

7868
Version 2.2.5
7969
--------------
8070

81-
Changes
82-
~~~~~~~
71+
**Changes:**
8372

84-
- Raise an exception if ``alpha``, ``beta`` or ``gamma`` are not within ``]0;pi[`` when changing lattice angles
85-
- Add ``UnitCell.ChangeSpaceGroup()``
73+
* Raise an exception if ``alpha``, ``beta`` or ``gamma`` are not within ``]0;pi[`` when changing lattice angles
74+
* Add ``UnitCell.ChangeSpaceGroup()``
8675

87-
Fixes
88-
~~~~~
76+
**Fixes:**
8977

90-
- Avoid duplication of plots when using ipympl (aka ``%matplotlib widget``)
91-
- Correct powder pattern tests to avoid warnings
78+
* Avoid duplication of plots when using ipympl (aka ``%matplotlib widget``)
79+
* Correct powder pattern tests to avoid warnings
9280

93-
Deprecated
94-
~~~~~~~~~~
81+
**Deprecated:**
9582

96-
- ``loadCrystal`` – use ``create_crystal_from_cif()`` instead
83+
* ``loadCrystal`` – use ``create_crystal_from_cif()`` instead
9784

9885
Version 2.2.4
9986
--------------
10087

101-
Changes
102-
~~~~~~~
88+
**Changes:**
10389

104-
- The list of HKL reflections will now be automatically re-generated for a ``PowderPatternDiffraction`` when the Crystal's spacegroup changes, or the lattice parameters are modified by more than 0.5%
90+
* The list of HKL reflections will now be automatically re-generated for a ``PowderPatternDiffraction`` when the Crystal's spacegroup changes, or the lattice parameters are modified by more than 0.5%
10591

106-
Fixes
107-
~~~~~
92+
**Fixes:**
10893

109-
- Fixed the powder pattern indexing test
94+
* Fixed the powder pattern indexing test
11095

11196
Version 2.2.3
11297
--------------
11398

114-
Added
115-
~~~~~
99+
**Added:**
116100

117-
- Support for Windows install (works with Python 3.7, and with PyPy 3.8 and 3.9)
118-
- Native support for Apple arm64 (M1, M2) processors
119-
- Fourier maps calculation
120-
- Add ``gDiffractionDataSingleCrystalRegistry`` to globals
101+
* Support for Windows install (works with Python 3.7, and with PyPy 3.8 and 3.9)
102+
* Native support for Apple arm64 (M1, M2) processors
103+
* Fourier maps calculation
104+
* Add ``gDiffractionDataSingleCrystalRegistry`` to globals
121105

122106
Version 2.2.2
123107
--------------
124108

125-
Changes
126-
~~~~~~~
109+
**Changes:**
127110

128-
- Add correct wrapping for C++-instantiated objects available through global registries, e.g. when loading an XML file. The objects are decorated with the python functions when accessed through the global registries ``GetObj()``
129-
- Moved global object registries to ``pyobjcryst.globals``
130-
- Update documentation
111+
* Add correct wrapping for C++-instantiated objects available through global registries, e.g. when loading an XML file. The objects are decorated with the python functions when accessed through the global registries ``GetObj()``
112+
* Moved global object registries to ``pyobjcryst.globals``
113+
* Update documentation
131114

132-
Fixed
133-
~~~~~
115+
**Fixed:**
134116

135-
- Fix access to ``PRISM_TETRAGONAL_DICAP``, ``PRISM_TRIGONAL``, ``ICOSAHEDRON`` and ``TRIANGLE_PLANE``
136-
- Fix powder pattern plot issues (NaN and update of hkl text with recent matplotlib versions)
117+
* Fix access to ``PRISM_TETRAGONAL_DICAP``, ``PRISM_TRIGONAL``, ``ICOSAHEDRON`` and ``TRIANGLE_PLANE``
118+
* Fix powder pattern plot issues (NaN and update of hkl text with recent matplotlib versions)
137119

138120
Version 2.2.1 -- 2021-11-28
139121
----------------------------
140122

141-
- Add quantitative phase analysis with ``PowderPattern.qpa()``, including an example notebook using the QPA Round-Robin data
142-
- Correct import of ``urllib.request.urllopen()`` when loading CIF or z-matrix files from HTTP URLs
143-
- Fix blank line javascript output when updating the Crystal 3D view
144-
- Add ``RefinableObj.xml()`` to directly get the XMLOutput as a string
145-
- Add example notebooks to the sphinx-generated html documentation
146-
- Fix issue when using ``Crystal.XMLInput()`` for a non-empty structure. Existing scattering power will be re-used when possible, and otherwise not deleted anymore (which could lead to crashes)
123+
* Add quantitative phase analysis with ``PowderPattern.qpa()``, including an example notebook using the QPA Round-Robin data
124+
* Correct import of ``urllib.request.urllopen()`` when loading CIF or z-matrix files from HTTP URLs
125+
* Fix blank line javascript output when updating the Crystal 3D view
126+
* Add ``RefinableObj.xml()`` to directly get the XMLOutput as a string
127+
* Add example notebooks to the sphinx-generated html documentation
128+
* Fix issue when using ``Crystal.XMLInput()`` for a non-empty structure. Existing scattering power will be re-used when possible, and otherwise not deleted anymore (which could lead to crashes)
147129

148130
Version 2.2.0 -- 2021-06-08
149131
----------------------------
150132

151-
- Add access to ``Radiation`` class & functions to change RadiationType, wavelength in ``PowderPattern`` and ``ScatteringData`` (and hence ``DiffractionDataSingleCrystal``) classes
152-
- Fix the custodian_ward when creating a ``PowderPatternDiffraction``: ``PowderPatternDiffraction`` must persist while ``PowderPattern`` exists, and Crystal must persist while ``PowderPatternDiffraction`` exists
153-
- Add 3D Crystal viewer ``pyobjcryst.crystal.Crystal.widget_3d``
133+
* Add access to ``Radiation`` class & functions to change RadiationType, wavelength in ``PowderPattern`` and ``ScatteringData`` (and hence ``DiffractionDataSingleCrystal``) classes
134+
* Fix the custodian_ward when creating a ``PowderPatternDiffraction``: ``PowderPatternDiffraction`` must persist while ``PowderPattern`` exists, and Crystal must persist while ``PowderPatternDiffraction`` exists
135+
* Add 3D Crystal viewer ``pyobjcryst.crystal.Crystal.widget_3d``
154136

155137
Version 2.1.0 -- 2019-03-11
156138
----------------------------
157139

158-
Added
159-
~~~~~
140+
**Added:**
160141

161-
- Support for Python 3.7
162-
- Validation of compiler options from ``python-config``
163-
- Make scons scripts compatible with Python 3 and Python 2
164-
- Support ``np.array`` arguments for ``SetPowderPatternX``, ``SetPowderPatternObs``
165-
- Declare compatible version requirements for client Anaconda packages
166-
- Facility for silencing spurious console output from libobjcryst
142+
* Support for Python 3.7
143+
* Validation of compiler options from ``python-config``
144+
* Make scons scripts compatible with Python 3 and Python 2
145+
* Support ``np.array`` arguments for ``SetPowderPatternX``, ``SetPowderPatternObs``
146+
* Declare compatible version requirements for client Anaconda packages
147+
* Facility for silencing spurious console output from libobjcryst
167148

168-
Changed
169-
~~~~~~~
149+
**Changed:**
170150

171-
- Build Anaconda package with Anaconda C++ compiler
172-
- Update to libobjcryst 2017.2.x
151+
* Build Anaconda package with Anaconda C++ compiler
152+
* Update to libobjcryst 2017.2.x
173153

174-
Deprecated
175-
~~~~~~~~~~
154+
**Deprecated:**
176155

177-
- Variable ``__gitsha__`` in the ``version`` module, renamed to ``__git_commit__``
156+
* Variable ``__gitsha__`` in the ``version`` module, renamed to ``__git_commit__``
178157

179-
Removed
180-
~~~~~~~
158+
**Removed:**
181159

182-
- Support for Python 3.4
160+
* Support for Python 3.4
183161

184-
Fixed
185-
~~~~~
162+
**Fixed:**
186163

187-
- Ambiguous use of boost::python classes and functions
188-
- Name suffix resolution of ``boost_python`` shared library
189-
- ``SetPowderPatternX`` crash for zero-length argument
190-
- Incorrectly doubled return value from ``GetInversionCenter``
164+
* Ambiguous use of boost::python classes and functions
165+
* Name suffix resolution of ``boost_python`` shared library
166+
* ``SetPowderPatternX`` crash for zero-length argument
167+
* Incorrectly doubled return value from ``GetInversionCenter``

news/changelog-render.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
**Added:**
2+
3+
* no news needed.
4+
5+
**Changed:**
6+
7+
* <news item>
8+
9+
**Deprecated:**
10+
11+
* <news item>
12+
13+
**Removed:**
14+
15+
* <news item>
16+
17+
**Fixed:**
18+
19+
* <news item>
20+
21+
**Security:**
22+
23+
* <news item>

0 commit comments

Comments
 (0)