From c5cf4dbb5647bb94502cbfd8ce07e3e49d14b839 Mon Sep 17 00:00:00 2001 From: Wei Ji Date: Fri, 11 Sep 2020 16:34:42 +1200 Subject: [PATCH 1/6] Changelog entry for v0.2.0 Second minor release of PyGMT. --- README.rst | 1 + doc/changes.rst | 76 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/README.rst b/README.rst index e005bbce80a..3deb6ca2804 100644 --- a/README.rst +++ b/README.rst @@ -171,6 +171,7 @@ Documentation for other versions * `Development `__ (reflects the *master* branch on Github) * `Latest release `__ +* `v0.2.0 `__ * `v0.1.2 `__ * `v0.1.1 `__ * `v0.1.0 `__ diff --git a/doc/changes.rst b/doc/changes.rst index 59e5d43b046..e9312e9867c 100644 --- a/doc/changes.rst +++ b/doc/changes.rst @@ -1,6 +1,82 @@ Changelog ========= +Release v0.2.0 (2020/09/11) +--------------------------- + +.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.3781524.svg + :alt: Digital Object Identifier for the Zenodo archive + :target: https://doi.org/10.5281/zenodo.3781524 + +Highlights: + +* 🎉 **Second minor release of PyGMT** 🎉 +* Minimum required GMT version is now 6.1.1 or newer (#577) +* Plotting xarray grids using grdimage and grdview should not crash anymore and works for most cases (#560) +* Easier time-series plots with support for datetime-like inputs to plot (#464) and the region argument (#562) + +New Features: + +* Wrap GMT_Put_Strings to pass str columns into GMT C API directly (#520) +* Wrap meca (#516) +* Wrap x2sys_init and x2sys_cross (#546) +* Let grdcut() accept xarray.DataArray as input (#541) +* Initialize a GMTDataArrayAccessor (#500) + +Enhancements: + +* Allow passing in pandas dataframes to x2sys_cross (#591) +* Sensible array outputs for pygmt info (#575) +* Allow pandas.DataFrame table and 1D/2D numpy array inputs into pygmt.info (#574) +* Add auto-legend feature to grdcontour and contour (#568) +* Add common alias verbose (V) (#550) +* Let load_earth_relief() support all resolutions and optional subregion (#542) +* Allow load_earth_relief() to load pixel or gridline registered data (#509) + +Documentation: + +* Improve docstring of data_kind() to include xarray grid (#588) +* Improve the documentation of Figure.shift_origin() (#536) +* Fix the grdtrack example to avoid crashes on macOS (#531) +* Add shading to grdview gallery example (#506) + +Bug Fixes: + +* Ensure surface and grdcut loads GMTDataArray accessor info into xarray (#539) +* Raise an error if short- and long-form arguments coexist (#537) +* Fix the grdtrack example to avoid crashes on macOS (#531) +* Properly allow for either pixel or gridline registered grids (#476) + +Maintenance: + +* Add a test for xarray shading (#581) +* Remove expected failures on grdview tests (#589) +* Redesign check_figures_equal testing function to be more explicit (#590) +* Cut Windows CI build time in half to 15 min (#586) +* Add a test for Session.write_data() writing netCDF grids (#583) +* Add a test to make sure shift_origin does not crash (#580) +* Add testing.check_figures_equal to avoid storing baseline images (#555) +* Eliminate unnecessary jobs from Travis CI (#567) +* Improve the workflow to test both GMT master and 6.1 branches (#554) +* Automatically cancel in-progress CI runs of old commits (#544) +* Github Actions CI for testing GMT master branch (#485) +* Remove the Stickler CI configuration file (#538) +* Cache GMT remote data as artifacts on Github (#530) +* Run style checks using GitHub Actions instead of Azure Pipelines (#519) +* Bump the required minimum GMT version to 6.1.0 (#507) +* Eliminate Azure Pipelines CI jobs, use GitHub Actions instead (#513) +* Let pytest generate both HTML and XML coverage reports (#512) +* Run Continuous Integration tests on Github Actions (#475) + +Contributors: + +* `Dongdong Tian `__ +* `Wei Ji Leong `__ +* `Tyler Newton `__ +* `Liam Toney `__ + +---- + Release v0.1.2 (2020/07/07) --------------------------- From 290927158b1f41e7bb6f134b6fe973e5def6c9d1 Mon Sep 17 00:00:00 2001 From: Wei Ji Date: Sat, 12 Sep 2020 10:06:02 +1200 Subject: [PATCH 2/6] Merge some maintenance related items Also removed some unneeded entries. Co-Authored-By: Dongdong Tian --- doc/changes.rst | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/doc/changes.rst b/doc/changes.rst index e9312e9867c..d6976610c46 100644 --- a/doc/changes.rst +++ b/doc/changes.rst @@ -37,7 +37,6 @@ Documentation: * Improve docstring of data_kind() to include xarray grid (#588) * Improve the documentation of Figure.shift_origin() (#536) -* Fix the grdtrack example to avoid crashes on macOS (#531) * Add shading to grdview gallery example (#506) Bug Fixes: @@ -56,15 +55,11 @@ Maintenance: * Add a test for Session.write_data() writing netCDF grids (#583) * Add a test to make sure shift_origin does not crash (#580) * Add testing.check_figures_equal to avoid storing baseline images (#555) -* Eliminate unnecessary jobs from Travis CI (#567) -* Improve the workflow to test both GMT master and 6.1 branches (#554) +* Eliminate unnecessary jobs from Travis CI (#567) and Azure Pipelines (#513) +* Improve the workflow to test both GMT master (#485) and 6.1 branches (#554) * Automatically cancel in-progress CI runs of old commits (#544) -* Github Actions CI for testing GMT master branch (#485) -* Remove the Stickler CI configuration file (#538) +* Remove the Stickler CI configuration file (#538), run style checks using Github Actions (#519) * Cache GMT remote data as artifacts on Github (#530) -* Run style checks using GitHub Actions instead of Azure Pipelines (#519) -* Bump the required minimum GMT version to 6.1.0 (#507) -* Eliminate Azure Pipelines CI jobs, use GitHub Actions instead (#513) * Let pytest generate both HTML and XML coverage reports (#512) * Run Continuous Integration tests on Github Actions (#475) From be6dac8fd8fa31f98a2b1b258c759d3739ac0e42 Mon Sep 17 00:00:00 2001 From: Wei Ji Date: Sat, 12 Sep 2020 10:20:46 +1200 Subject: [PATCH 3/6] Add changelog entry for link to try-gmt binder repository --- doc/changes.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/changes.rst b/doc/changes.rst index d6976610c46..9c0b1c8aec1 100644 --- a/doc/changes.rst +++ b/doc/changes.rst @@ -35,6 +35,7 @@ Enhancements: Documentation: +* Link to try-gmt binder repository (#598) * Improve docstring of data_kind() to include xarray grid (#588) * Improve the documentation of Figure.shift_origin() (#536) * Add shading to grdview gallery example (#506) From b776e88c0d412e6f33ce9de329e7a2782a6ef033 Mon Sep 17 00:00:00 2001 From: Wei Ji Date: Sat, 12 Sep 2020 10:42:56 +1200 Subject: [PATCH 4/6] Format Pull Request links using sed --- doc/changes.rst | 74 ++++++++++++++++++++++++------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/doc/changes.rst b/doc/changes.rst index 9c0b1c8aec1..e53c79f2461 100644 --- a/doc/changes.rst +++ b/doc/changes.rst @@ -11,58 +11,58 @@ Release v0.2.0 (2020/09/11) Highlights: * 🎉 **Second minor release of PyGMT** 🎉 -* Minimum required GMT version is now 6.1.1 or newer (#577) -* Plotting xarray grids using grdimage and grdview should not crash anymore and works for most cases (#560) -* Easier time-series plots with support for datetime-like inputs to plot (#464) and the region argument (#562) +* Minimum required GMT version is now 6.1.1 or newer (`#577 `__) +* Plotting xarray grids using grdimage and grdview should not crash anymore and works for most cases (`#560 `__) +* Easier time-series plots with support for datetime-like inputs to plot (`#464 `__) and the region argument (`#562 `__) New Features: -* Wrap GMT_Put_Strings to pass str columns into GMT C API directly (#520) -* Wrap meca (#516) -* Wrap x2sys_init and x2sys_cross (#546) -* Let grdcut() accept xarray.DataArray as input (#541) -* Initialize a GMTDataArrayAccessor (#500) +* Wrap GMT_Put_Strings to pass str columns into GMT C API directly (`#520 `__) +* Wrap meca (`#516 `__) +* Wrap x2sys_init and x2sys_cross (`#546 `__) +* Let grdcut() accept xarray.DataArray as input (`#541 `__) +* Initialize a GMTDataArrayAccessor (`#500 `__) Enhancements: -* Allow passing in pandas dataframes to x2sys_cross (#591) -* Sensible array outputs for pygmt info (#575) -* Allow pandas.DataFrame table and 1D/2D numpy array inputs into pygmt.info (#574) -* Add auto-legend feature to grdcontour and contour (#568) -* Add common alias verbose (V) (#550) -* Let load_earth_relief() support all resolutions and optional subregion (#542) -* Allow load_earth_relief() to load pixel or gridline registered data (#509) +* Allow passing in pandas dataframes to x2sys_cross (`#591 `__) +* Sensible array outputs for pygmt info (`#575 `__) +* Allow pandas.DataFrame table and 1D/2D numpy array inputs into pygmt.info (`#574 `__) +* Add auto-legend feature to grdcontour and contour (`#568 `__) +* Add common alias verbose (V) (`#550 `__) +* Let load_earth_relief() support all resolutions and optional subregion (`#542 `__) +* Allow load_earth_relief() to load pixel or gridline registered data (`#509 `__) Documentation: -* Link to try-gmt binder repository (#598) -* Improve docstring of data_kind() to include xarray grid (#588) -* Improve the documentation of Figure.shift_origin() (#536) -* Add shading to grdview gallery example (#506) +* Link to try-gmt binder repository (`#598 `__) +* Improve docstring of data_kind() to include xarray grid (`#588 `__) +* Improve the documentation of Figure.shift_origin() (`#536 `__) +* Add shading to grdview gallery example (`#506 `__) Bug Fixes: -* Ensure surface and grdcut loads GMTDataArray accessor info into xarray (#539) -* Raise an error if short- and long-form arguments coexist (#537) -* Fix the grdtrack example to avoid crashes on macOS (#531) -* Properly allow for either pixel or gridline registered grids (#476) +* Ensure surface and grdcut loads GMTDataArray accessor info into xarray (`#539 `__) +* Raise an error if short- and long-form arguments coexist (`#537 `__) +* Fix the grdtrack example to avoid crashes on macOS (`#531 `__) +* Properly allow for either pixel or gridline registered grids (`#476 `__) Maintenance: -* Add a test for xarray shading (#581) -* Remove expected failures on grdview tests (#589) -* Redesign check_figures_equal testing function to be more explicit (#590) -* Cut Windows CI build time in half to 15 min (#586) -* Add a test for Session.write_data() writing netCDF grids (#583) -* Add a test to make sure shift_origin does not crash (#580) -* Add testing.check_figures_equal to avoid storing baseline images (#555) -* Eliminate unnecessary jobs from Travis CI (#567) and Azure Pipelines (#513) -* Improve the workflow to test both GMT master (#485) and 6.1 branches (#554) -* Automatically cancel in-progress CI runs of old commits (#544) -* Remove the Stickler CI configuration file (#538), run style checks using Github Actions (#519) -* Cache GMT remote data as artifacts on Github (#530) -* Let pytest generate both HTML and XML coverage reports (#512) -* Run Continuous Integration tests on Github Actions (#475) +* Add a test for xarray shading (`#581 `__) +* Remove expected failures on grdview tests (`#589 `__) +* Redesign check_figures_equal testing function to be more explicit (`#590 `__) +* Cut Windows CI build time in half to 15 min (`#586 `__) +* Add a test for Session.write_data() writing netCDF grids (`#583 `__) +* Add a test to make sure shift_origin does not crash (`#580 `__) +* Add testing.check_figures_equal to avoid storing baseline images (`#555 `__) +* Eliminate unnecessary jobs from Travis CI (`#567 `__) and Azure Pipelines (`#513 `__) +* Improve the workflow to test both GMT master (`#485 `__) and 6.1 branches (`#554 `__) +* Automatically cancel in-progress CI runs of old commits (`#544 `__) +* Remove the Stickler CI configuration file (`#538 `__), run style checks using Github Actions (`#519 `__) +* Cache GMT remote data as artifacts on Github (`#530 `__) +* Let pytest generate both HTML and XML coverage reports (`#512 `__) +* Run Continuous Integration tests on Github Actions (`#475 `__) Contributors: From 3c94765666102034463b28d1874aa6c593bcaa00 Mon Sep 17 00:00:00 2001 From: Wei Ji Date: Sat, 12 Sep 2020 11:01:29 +1200 Subject: [PATCH 5/6] Add reserved Zenodo DOI badge for v0.2.0 --- doc/changes.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/changes.rst b/doc/changes.rst index e53c79f2461..246d6f43bcc 100644 --- a/doc/changes.rst +++ b/doc/changes.rst @@ -4,9 +4,9 @@ Changelog Release v0.2.0 (2020/09/11) --------------------------- -.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.3781524.svg +.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4025418.svg :alt: Digital Object Identifier for the Zenodo archive - :target: https://doi.org/10.5281/zenodo.3781524 + :target: https://doi.org/10.5281/zenodo.4025418 Highlights: From 4ba4bd890203788065998557d8946e9eaeaa1083 Mon Sep 17 00:00:00 2001 From: Wei Ji Date: Sat, 12 Sep 2020 12:00:00 +1200 Subject: [PATCH 6/6] Set release date to 2020/09/12 --- doc/changes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/changes.rst b/doc/changes.rst index 246d6f43bcc..61f015f9162 100644 --- a/doc/changes.rst +++ b/doc/changes.rst @@ -1,7 +1,7 @@ Changelog ========= -Release v0.2.0 (2020/09/11) +Release v0.2.0 (2020/09/12) --------------------------- .. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4025418.svg