Skip to content

Commit 74501e0

Browse files
weiji14leouieda
andauthored
Changelog entry for v0.1.0 (#420)
Changelog includes highlights, new features, enhancements, documentation, bug fixes, maintenance, deprecations, and list of contributors. Updated changelog instructions on MAINTENANCE.md and add section on other documentation versions to README.rst. Also added Zenodo DOI badges. Co-Authored-By: Leonardo Uieda <leouieda@gmail.com>
1 parent 905264e commit 74501e0

File tree

5 files changed

+124
-10
lines changed

5 files changed

+124
-10
lines changed

MAINTENANCE.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ There are a few steps that still must be done manually, though.
8484
1. Generate a list of commits between the last release tag and now:
8585

8686
```bash
87-
git log HEAD...v0.1.2 > changes.txt
87+
git log HEAD...v0.1.2 --pretty="* %s" > changes.txt
8888
```
8989

9090
2. Edit the changes list to remove any trivial changes (updates to the README, typo
@@ -94,12 +94,18 @@ There are a few steps that still must be done manually, though.
9494
to make the change automatically.
9595
4. Copy the remaining changes to `doc/changes.rst` under a new section for the
9696
intended release.
97-
5. Reserve a DOI in [Zenodo](https://zenodo.org/) and pre-fill the fields for archiving
98-
the new release. Include as authors anyone who made contributions between now and the
99-
last release.
100-
6. Include the DOI badge in the changelog.
101-
5. Add a link to the new release version documentation in `README.rst`.
102-
5. Open a new PR with the updated changelog.
97+
5. Add a list of people who contributed to the release (use
98+
`` git shortlog HEAD...v0.1.2 -sne ``).
99+
6. Include the DOI badge in the changelog. Remember to replace your DOI inside the badge url.
100+
101+
```
102+
.. image:: https://zenodo.org/badge/DOI/<INSERT-DOI-HERE>.svg
103+
:alt: Digital Object Identifier for the Zenodo archive
104+
:target: https://doi.org/<INSERT-DOI-HERE>
105+
```
106+
107+
7. Add a link to the new release version documentation in `README.rst`.
108+
8. Open a new PR with the updated changelog.
103109

104110
### Check the README syntax
105111

README.rst

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ PyGMT
2727
.. image:: https://img.shields.io/discourse/status?label=forum&server=https%3A%2F%2Fforum.generic-mapping-tools.org%2F&style=flat-square
2828
:alt: Discourse forum
2929
:target: https://forum.generic-mapping-tools.org
30-
30+
.. image:: https://zenodo.org/badge/DOI/10.5281/3781524.svg
31+
:alt: Digital Object Identifier for the Zenodo archive
32+
:target: https://doi.org/10.5281/zenodo.3781524
3133

3234
.. placeholder-for-doc-index
3335
@@ -162,3 +164,12 @@ Other Python wrappers for GMT:
162164
* `gmtpy <https://github.com/emolch/gmtpy>`__ by `Sebastian Heimann <https://github.com/emolch>`__
163165
* `pygmt <https://github.com/ian-r-rose/pygmt>`__ by `Ian Rose <https://github.com/ian-r-rose>`__
164166
* `PyGMT <https://github.com/glimmer-cism/PyGMT>`__ by `Magnus Hagdorn <https://github.com/mhagdorn>`__
167+
168+
169+
Documentation for other versions
170+
--------------------------------
171+
* `Development <https://www.pygmt.org/dev>`__ (reflects the *master* branch on
172+
Github)
173+
* `Latest release <https://www.pygmt.org/latest>`__
174+
* `v0.1.0 <https://www.pygmt.org/v0.1.0>`__
175+
* `v0.0.1a0 <https://www.pygmt.org/0.0.1a0>`__

doc/_static/style.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ h1 {
3434
}
3535

3636
.rst-content img {
37-
max-width: 700px;
38-
width: 100%;
37+
max-width: 80%;
3938
}
4039

4140
.sidebar-title {

doc/changes.rst

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
Changelog
2+
=========
3+
4+
Release v0.1.0 (2020/05/03)
5+
---------------------------
6+
7+
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.3782862.svg
8+
:alt: Digital Object Identifier for the Zenodo archive
9+
:target: https://doi.org/10.5281/zenodo.3782862
10+
11+
Highlights:
12+
13+
* 🎉 **First official release of PyGMT** 🎉
14+
* Python 3.8 is now supported (`#398 <https://github.com/GenericMappingTools/pygmt/pull/398>`__)
15+
* PyGMT now uses the stable version of GMT 6.0.0 by default (`#363 <https://github.com/GenericMappingTools/pygmt/pull/363>`__)
16+
* Use sphinx-gallery to manage examples and tutorials (`#268 <https://github.com/GenericMappingTools/pygmt/pull/268>`__)
17+
18+
New features:
19+
20+
* Wrap blockmedian (`#349 <https://github.com/GenericMappingTools/pygmt/pull/349>`__)
21+
* Add pygmt.config() to change gmt defaults locally and globally (`#293 <https://github.com/GenericMappingTools/pygmt/pull/293>`__)
22+
* Wrap grdview (`#330 <https://github.com/GenericMappingTools/pygmt/pull/330>`__)
23+
* Wrap grdtrack (`#308 <https://github.com/GenericMappingTools/pygmt/pull/308>`__)
24+
* Wrap colorbar (`#332 <https://github.com/GenericMappingTools/pygmt/pull/332>`__)
25+
* Wrap text (`#321 <https://github.com/GenericMappingTools/pygmt/pull/321>`__)
26+
* Wrap legend (`#333 <https://github.com/GenericMappingTools/pygmt/pull/333>`__)
27+
* Wrap makecpt (`#329 <https://github.com/GenericMappingTools/pygmt/pull/329>`__)
28+
* Add a new method to shift plot origins (`#289 <https://github.com/GenericMappingTools/pygmt/pull/289>`__)
29+
30+
Enhancements:
31+
32+
* Allow text accepting "frame" as an argument (`#385 <https://github.com/GenericMappingTools/pygmt/pull/385>`__)
33+
* Allow for grids with negative lat/lon increments (`#369 <https://github.com/GenericMappingTools/pygmt/pull/369>`__)
34+
* Allow passing in list to 'region' argument in surface (`#378 <https://github.com/GenericMappingTools/pygmt/pull/378>`__)
35+
* Allow passing in scalar number to x and y in plot (`#376 <https://github.com/GenericMappingTools/pygmt/pull/376>`__)
36+
* Implement default position/box for legend (`#359 <https://github.com/GenericMappingTools/pygmt/pull/359>`__)
37+
* Add sequence_space converter in kwargs_to_string (`#325 <https://github.com/GenericMappingTools/pygmt/pull/325>`__)
38+
39+
Documentation:
40+
41+
* Update PyPI install instructions and API disclaimer message (`#421 <https://github.com/GenericMappingTools/pygmt/pull/421>`__)
42+
* Fix the link to GMT documentation (`#419 <https://github.com/GenericMappingTools/pygmt/pull/419>`__)
43+
* Use napoleon instead of numpydoc with sphinx (`#383 <https://github.com/GenericMappingTools/pygmt/pull/383>`__)
44+
* Document using a list for repeated arguments (`#361 <https://github.com/GenericMappingTools/pygmt/pull/361>`__)
45+
* Add legend gallery entry (`#358 <https://github.com/GenericMappingTools/pygmt/pull/358>`__)
46+
* Update instructions to set GMT_LIBRARY_PATH (`#324 <https://github.com/GenericMappingTools/pygmt/pull/324>`__)
47+
* Fix the link to the GMT homepage (`#331 <https://github.com/GenericMappingTools/pygmt/pull/331>`__)
48+
* Split projections gallery by projection types (`#318 <https://github.com/GenericMappingTools/pygmt/pull/318>`__)
49+
* Fix the link to GMT/Matlab API in the README (`#297 <https://github.com/GenericMappingTools/pygmt/pull/297>`__)
50+
* Use shinx extlinks for linking GMT docs (`#294 <https://github.com/GenericMappingTools/pygmt/pull/294>`__)
51+
* Comment about country code in projection examples (`#290 <https://github.com/GenericMappingTools/pygmt/pull/290>`__)
52+
* Add an overview page listing presentations (`#286 <https://github.com/GenericMappingTools/pygmt/pull/286>`__)
53+
54+
Bug Fixes:
55+
56+
* Let surface return xr.DataArray instead of xr.Dataset (`#408 <https://github.com/GenericMappingTools/pygmt/pull/408>`__)
57+
* Update GMT constant GMT_STR16 to GMT_VF_LEN for GMT API change in 6.1.0 (`#397 <https://github.com/GenericMappingTools/pygmt/pull/397>`__)
58+
* Properly trigger pytest matplotlib image comparison (`#352 <https://github.com/GenericMappingTools/pygmt/pull/352>`__)
59+
* Use uuid.uuid4 to generate unique names (`#274 <https://github.com/GenericMappingTools/pygmt/pull/274>`__)
60+
61+
Maintenance:
62+
63+
* Quickfix Zeit Now miniconda installer link to anaconda.com (`#413 <https://github.com/GenericMappingTools/pygmt/pull/413>`__)
64+
* Fix Github Pages deployment from Travis (`#410 <https://github.com/GenericMappingTools/pygmt/pull/410>`__)
65+
* Update and clean TravisCI configuration (`#404 <https://github.com/GenericMappingTools/pygmt/pull/404>`__)
66+
* Quickfix min elevation for new SRTM15+V2.1 earth relief grids (`#401 <https://github.com/GenericMappingTools/pygmt/pull/401>`__)
67+
* Wrap docstrings to 79 chars and check with flake8 (`#384 <https://github.com/GenericMappingTools/pygmt/pull/384>`__)
68+
* Update continuous integration scripts to 1.2.0 (`#355 <https://github.com/GenericMappingTools/pygmt/pull/355>`__)
69+
* Use Zeit Now to deploy doc builds from PRs (`#344 <https://github.com/GenericMappingTools/pygmt/pull/344>`__)
70+
* Move gmt from requirements.txt to CI scripts instead (`#343 <https://github.com/GenericMappingTools/pygmt/pull/343>`__)
71+
* Change py.test to pytest (`#338 <https://github.com/GenericMappingTools/pygmt/pull/338>`__)
72+
* Add Google Analytics to measure site visitors (`#314 <https://github.com/GenericMappingTools/pygmt/pull/314>`__)
73+
* Register mpl_image_compare marker to remove PytestUnknownMarkWarning (`#323 <https://github.com/GenericMappingTools/pygmt/pull/323>`__)
74+
* Disable Windows CI builds before PR `#313 <https://github.com/GenericMappingTools/pygmt/pull/313>`__ is merged (`#320 <https://github.com/GenericMappingTools/pygmt/pull/320>`__)
75+
* Enable Mac and Windows CI on Azure Pipelines (`#312 <https://github.com/GenericMappingTools/pygmt/pull/312>`__)
76+
* Fixes for using GMT 6.0.0rc1 (`#311 <https://github.com/GenericMappingTools/pygmt/pull/311>`__)
77+
* Assign authorship to "The PyGMT Developers" (`#284 <https://github.com/GenericMappingTools/pygmt/pull/284>`__)
78+
79+
Deprecations:
80+
81+
* Remove mention of gitter.im (`#405 <https://github.com/GenericMappingTools/pygmt/pull/405>`__)
82+
* Remove portrait (-P) from common options (`#339 <https://github.com/GenericMappingTools/pygmt/pull/339>`__)
83+
* Remove require.js since WorldWind was dropped (`#278 <https://github.com/GenericMappingTools/pygmt/pull/278>`__)
84+
* Remove Web WorldWind support (`#275 <https://github.com/GenericMappingTools/pygmt/pull/275>`__)
85+
86+
This release contains contributions from:
87+
88+
* `Dongdong Tian <https://github.com/seisman>`__
89+
* `Wei Ji Leong <https://github.com/weiji14>`__
90+
* `Leonardo Uieda <https://github.com/leouieda>`__
91+
* `Liam Toney <https://github.com/liamtoney>`__
92+
* `Brook Tozer <https://github.com/btozer>`__
93+
* `Claudio Satriano <https://github.com/claudiodsf>`__
94+
* `Cody Woodson <https://github.com/Dovacody>`__
95+
* `Mark Wieczorek <https://github.com/MarkWieczorek>`__
96+
* `Philipp Loose <https://github.com/phloose>`__
97+
* `Kathryn Materna <https://github.com/kmaterna>`__

doc/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,4 @@
3939
:caption: Reference documentation
4040

4141
api/index.rst
42+
changes.rst

0 commit comments

Comments
 (0)