Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changelog entry for v0.12.0 #3201

Merged
merged 26 commits into from
May 1, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
89691ce
Add v0.12.0 to doc/_static/version_switch.js
seisman Apr 24, 2024
c93c7e0
Copy draft release note to doc/changes.md
seisman Apr 24, 2024
b74dc44
Update the order of contributors
seisman Apr 24, 2024
bbce499
Add v0.12.0 to doc/minversions.md
seisman Apr 24, 2024
6d4f515
Apply suggestions from code review
seisman Apr 25, 2024
b23b45e
Add entries for two new PRs
seisman Apr 25, 2024
b18c367
Update DOI badge
seisman Apr 25, 2024
85fe2f7
Merge branch 'main' into changelog/v0.12.0
seisman Apr 25, 2024
91d76e8
Update citation information
seisman Apr 25, 2024
224f918
Sort entries
seisman Apr 25, 2024
b024159
Update doc/changes.md
seisman Apr 25, 2024
f178d2a
Apply suggestions from code review
seisman Apr 25, 2024
5ade3c3
Apply suggestions from code review
seisman Apr 25, 2024
338e6b6
Update the author order of Yvonne
seisman Apr 26, 2024
cd9223f
Apply suggestions from code review
seisman Apr 26, 2024
e5a75d7
Update doc/changes.md
seisman Apr 26, 2024
cf92209
Add entries form grdcontour and contour
seisman Apr 28, 2024
0191871
Merge branch 'main' into changelog/v0.12.0
seisman Apr 28, 2024
c952b90
Update doc/changes.md
seisman Apr 28, 2024
69784db
Update doc/changes.md
seisman Apr 28, 2024
4568c15
Update doc/changes.md
seisman Apr 29, 2024
86e1ff1
Merge branch 'main' into changelog/v0.12.0
seisman Apr 29, 2024
2d632cc
Add PRs 3213 and 3214 to changelog
yvonnefroehlich Apr 30, 2024
e02dd1a
Merge branch 'main' into changelog/v0.12.0
yvonnefroehlich Apr 30, 2024
903f8c1
Merge branch 'main' into changelog/v0.12.0
seisman Apr 30, 2024
7d59fb5
Update doc/changes.md
weiji14 May 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/_static/version_switch.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
var all_versions = {
'latest': 'latest',
'dev': 'dev',
'v0.12.0': 'v0.12.0',
'v0.11.0': 'v0.11.0',
'v0.10.0': 'v0.10.0',
'v0.9.0': 'v0.9.0',
Expand Down
86 changes: 86 additions & 0 deletions doc/changes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,91 @@
# Changelog

## Release v0.12.0 (2024/05/01)

[![Digital Object Identifier for PyGMT v0.12.0](https://zenodo.org/badge/DOI/10.5281/zenodo.3781524.svg)](https://doi.org/10.5281/zenodo.3781524)
seisman marked this conversation as resolved.
Show resolved Hide resolved

### Highlights

*
seisman marked this conversation as resolved.
Show resolved Hide resolved

### Enhancements

* pygmt.project: Add 'output_type' parameter for output in pandas/numpy/file formats ([#3110](https://github.com/GenericMappingTools/pygmt/pull/3110))
* pygmt.grdtrack: Add 'output_type' parameter for output in pandas/numpy/file formats ([#3106](https://github.com/GenericMappingTools/pygmt/pull/3106))
* pygmt.blockm*: Add 'output_type' parameter for output in pandas/numpy/file formats ([#3103](https://github.com/GenericMappingTools/pygmt/pull/3103))
seisman marked this conversation as resolved.
Show resolved Hide resolved
* clib: Wrap the GMT API function GMT_Read_VirtualFile ([#2993](https://github.com/GenericMappingTools/pygmt/pull/2993))
* clib: Add virtualfile_to_dataset method for converting virtualfile to a dataset ([#3083](https://github.com/GenericMappingTools/pygmt/pull/3083))
* clib: Add the virtualfile_out method for creating output virtualfile ([#3057](https://github.com/GenericMappingTools/pygmt/pull/3057))
* Wrap GMT_Inquire_VirtualFile to get the family of virtualfiles ([#3152](https://github.com/GenericMappingTools/pygmt/pull/3152))
* Wrap GMT's standard data type GMT_GRID for grids ([#2398](https://github.com/GenericMappingTools/pygmt/pull/2398))
* Wrap GMT's standard data type GMT_DATASET for table inputs ([#2729](https://github.com/GenericMappingTools/pygmt/pull/2729))
seisman marked this conversation as resolved.
Show resolved Hide resolved
* Wrap GMT's data structure GMT_GRID_HEADER for grid/image/cube headers ([#3127](https://github.com/GenericMappingTools/pygmt/pull/3127))
seisman marked this conversation as resolved.
Show resolved Hide resolved
* Session.virtualfile_to_dataset: Add new parameters 'dtype'/'index_col' for pandas output ([#3140](https://github.com/GenericMappingTools/pygmt/pull/3140))
* Session.virtualfile_to_dataset: Add 'strings' output type for the array of trailing texts ([#3157](https://github.com/GenericMappingTools/pygmt/pull/3157))
seisman marked this conversation as resolved.
Show resolved Hide resolved
* Session.virtualfile_to_dataset: Add 'header' parameter to parse column names from table header ([#3117](https://github.com/GenericMappingTools/pygmt/pull/3117))
seisman marked this conversation as resolved.
Show resolved Hide resolved
* Session.call_module: Support passing a list of argument strings ([#3139](https://github.com/GenericMappingTools/pygmt/pull/3139))
* Refactor the _load_remote_dataset function to load tiled and non-tiled grids in a consistent way ([#3120](https://github.com/GenericMappingTools/pygmt/pull/3120))
* Refactor all wrappers to pass an argument list to Session.call_module ([#3132](https://github.com/GenericMappingTools/pygmt/pull/3132))
* GMT_GRID_HEADER: Parse grid header and add grid properties ([#3134](https://github.com/GenericMappingTools/pygmt/pull/3134))
seisman marked this conversation as resolved.
Show resolved Hide resolved
* GMT_DATASET.to_dataframe: Return an empty DataFrame if a file contains no data ([#3131](https://github.com/GenericMappingTools/pygmt/pull/3131))
seisman marked this conversation as resolved.
Show resolved Hide resolved
* Add function build_arg_list for building arguments list from keyword dictionaries ([#3149](https://github.com/GenericMappingTools/pygmt/pull/3149))

seisman marked this conversation as resolved.
Show resolved Hide resolved
### Deprecations

* clib: Rename the virtualfile_from_data method to virtualfile_in ([#3068](https://github.com/GenericMappingTools/pygmt/pull/3068))
* Figure: Remove deprecated "xshift" ("X") and "yshift" ("Y") parameters, use "Figure.shift_origin" instead (deprecated since v0.8.0) ([#3044](https://github.com/GenericMappingTools/pygmt/pull/3044))
* Figure: Remove deprecated "timestamp" ("U") parameter, use "Figure.timestamp" instead (deprecated since v0.9.0) ([#3045](https://github.com/GenericMappingTools/pygmt/pull/3045))
* Figure.wiggle: Remove deprecated parameter 'color', use fillpositive/fillnegative instead (deprecated since v0.8.0) ([#3035](https://github.com/GenericMappingTools/pygmt/pull/3035))
* Figure.velo: Remove deprecated parameters color/uncertaintycolor, use fill/uncertaintyfill (deprecated since v0.8.0) ([#3034](https://github.com/GenericMappingTools/pygmt/pull/3034))
* Figure.plot/plot3d/rose: Remove deprecated 'color' parameter, use 'fill' instead (deprecated since v0.8.0) ([#3032](https://github.com/GenericMappingTools/pygmt/pull/3032))
* Figure.grdimage: Remove deprecated parameter 'bit_color', use 'bitcolor' instead (deprecated since v0.8.0) ([#3036](https://github.com/GenericMappingTools/pygmt/pull/3036))
* Deprecate the build_arg_string function in v0.12.0 (will be removed in v0.14.0) and use build_arg_list instead ([#3184](https://github.com/GenericMappingTools/pygmt/pull/3184))
seisman marked this conversation as resolved.
Show resolved Hide resolved

seisman marked this conversation as resolved.
Show resolved Hide resolved
### Documentation

* Tutorial "Plotting text": Rewrite to improve structure, add parameters, add list input ([#2760](https://github.com/GenericMappingTools/pygmt/pull/2760))
* Gallery example "Custom symbols": Mention own coustom symbols ([#3186](https://github.com/GenericMappingTools/pygmt/pull/3186))
seisman marked this conversation as resolved.
Show resolved Hide resolved

### Maintenance

* pygmt.which: Refactor to get rid of temporary files ([#3148](https://github.com/GenericMappingTools/pygmt/pull/3148))
* pygmt.triangulate.delaunay_triples: Improve performance by storing output in virtual files ([#3107](https://github.com/GenericMappingTools/pygmt/pull/3107))
* pygmt.select: Improve performance by storing output in virtual files ([#3108](https://github.com/GenericMappingTools/pygmt/pull/3108))
* pygmt.grdvolume: Refactor to store output in virtual files instead of temporary files ([#3102](https://github.com/GenericMappingTools/pygmt/pull/3102))
* pygmt.grdhisteq.compute_bins: Refactor to store output in virtual files instead of temporary files ([#3109](https://github.com/GenericMappingTools/pygmt/pull/3109))
* pygmt.grd2xyz: Improve performance by storing output in virtual files ([#3097](https://github.com/GenericMappingTools/pygmt/pull/3097))
* pygmt.filter1d: Improve performance by storing output in virtual files ([#3085](https://github.com/GenericMappingTools/pygmt/pull/3085))
* Use consistent names (vintbl and vingrd) for input virtual files ([#3082](https://github.com/GenericMappingTools/pygmt/pull/3082))
* Switch to official GitHub action for managing app tokens ([#3165](https://github.com/GenericMappingTools/pygmt/pull/3165))
* SPEC 0: Set minimum supported versions to pandas>=1.5 and xarray>=2022.03 ([#3043](https://github.com/GenericMappingTools/pygmt/pull/3043))
* SPEC 0: Set minimum supported version to Python 3.10+ ([#3039](https://github.com/GenericMappingTools/pygmt/pull/3039))
* SPEC 0: Bump minimum supported versions to xarray 2022.06 ([#3151](https://github.com/GenericMappingTools/pygmt/pull/3151))
seisman marked this conversation as resolved.
Show resolved Hide resolved
* Remote Datasets: Adjust attributes - remove "title", use default of "name" and "long_name", introduce "description" ([#3048](https://github.com/GenericMappingTools/pygmt/pull/3048))
* Migrate from os.path to pathlib ([#3119](https://github.com/GenericMappingTools/pygmt/pull/3119))
* GMT_DATASET: Add workaround for None values in the trailing text ([#3174](https://github.com/GenericMappingTools/pygmt/pull/3174))
* Figure.psconvert: Ignore the unrecognized 'metadata' parameter added by pytest-mpl v0.17.0 ([#3054](https://github.com/GenericMappingTools/pygmt/pull/3054))
* Enable ruff's PTH (flake8-use-pathlib) rules and fix violations ([#3129](https://github.com/GenericMappingTools/pygmt/pull/3129))
* Document the support policy for minimum required GMT versions ([#3070](https://github.com/GenericMappingTools/pygmt/pull/3070))
* Change the dev dependency 'matplotlib' to 'matplotlib-base' to reduce environment size ([#3158](https://github.com/GenericMappingTools/pygmt/pull/3158))
* CI: Use 'gh release' to upload assets to release ([#3187](https://github.com/GenericMappingTools/pygmt/pull/3187))
* CI: Consistently use github.token instead of secrets.GITHUB_TOKEN ([#3189](https://github.com/GenericMappingTools/pygmt/pull/3189))
* CI: Configure workflows to run on 'workflow_dispatch' event ([#3133](https://github.com/GenericMappingTools/pygmt/pull/3133))
* Bump to ruff 0.3.0 ([#3081](https://github.com/GenericMappingTools/pygmt/pull/3081))
* Bump to ruff 0.2.0 ([#3031](https://github.com/GenericMappingTools/pygmt/pull/3031))
seisman marked this conversation as resolved.
Show resolved Hide resolved
* Bump to ghostscript 10.03.0 ([#3112](https://github.com/GenericMappingTools/pygmt/pull/3112))
* Adopt SPEC 0 policy and drop NEP 29 policy ([#3037](https://github.com/GenericMappingTools/pygmt/pull/3037))
* Add strings_to_ctypes_array to convert a sequence of strings into a ctypes array ([#3137](https://github.com/GenericMappingTools/pygmt/pull/3137))
* Add sequence_to_ctypes_array to convert a sequence to a ctypes array ([#3136](https://github.com/GenericMappingTools/pygmt/pull/3136))

**Full Changelog**: <https://github.com/GenericMappingTools/pygmt/compare/v0.11.0...v0.12.0>

### Contributors

* [Dongdong Tian](https://github.com/seisman)
* [Yvonne Fröhlich](https://github.com/yvonnefroehlich)
* [Michael Grund](https://github.com/michaelgrund)
* [Wei Ji Leong](https://github.com/weiji14)

## Release v0.11.0 (2024/02/01)

[![Digital Object Identifier for PyGMT v0.11.0](https://zenodo.org/badge/DOI/10.5281/zenodo.10578540.svg)](https://doi.org/10.5281/zenodo.10578540)
Expand Down
3 changes: 3 additions & 0 deletions doc/minversions.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ after their initial release.
| PyGMT Version | GMT | Python | NumPy | Pandas | Xarray |
|---|---|---|---|---|---|
| [Dev][]* [[Docs][Docs Dev]] | >=6.3.0 | >=3.10 | >=1.23 | >=1.5 | >=2022.06 |
| [v0.12.0][]* [[Docs][Docs v0.12.0]] | >=6.3.0 | >=3.10 | >=1.23 | >=1.5 | >=2022.06 |
| [v0.11.0][] [[Docs][Docs v0.11.0]] | >=6.3.0 | >=3.9 | >=1.23 | | |
| [v0.10.0][] [[Docs][Docs v0.10.0]] | >=6.3.0 | >=3.9 | >=1.22 | | |
| [v0.9.0][] [[Docs][Docs v0.9.0]] | >=6.3.0 | >=3.8 | >=1.21 | | |
Expand All @@ -34,6 +35,7 @@ after their initial release.
*Dev reflects the main branch and is for the upcoming release.

[Dev]: https://github.com/GenericMappingTools/pygmt/milestones
[v0.12.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.12.0
[v0.11.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.11.0
[v0.10.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.10.0
[v0.9.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.9.0
Expand All @@ -53,6 +55,7 @@ after their initial release.
[v0.1.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.1.0

[Docs Dev]: https://www.pygmt.org/dev
[Docs v0.12.0]: https://www.pygmt.org/v0.12.0
[Docs v0.11.0]: https://www.pygmt.org/v0.11.0
[Docs v0.10.0]: https://www.pygmt.org/v0.10.0
[Docs v0.9.0]: https://www.pygmt.org/v0.9.0
Expand Down