You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGES
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,17 +42,17 @@ g 0.0.10 turns g's documentation into a usable CLI reference and moves the docs
42
42
43
43
### What's new
44
44
45
-
#### `g --version` / `g -V` report g's version (#46)
45
+
#### {argparse:option}`g --version` / {argparse:option}`g -V` report g's version (#46)
46
46
47
-
`g --version` and `g -V` now print g's installed version instead of forwarding those flags to `git`, `svn`, or `hg`. This gives users a direct way to confirm which wrapper version is on `PATH` while keeping the normal proxy behavior unchanged for VCS commands.
47
+
{argparse:option}`g --version` and {argparse:option}`g -V` now print g's installed version instead of forwarding those flags to `git`, `svn`, or `hg`. This gives users a direct way to confirm which wrapper version is on `PATH` while keeping the normal proxy behavior unchanged for VCS commands.
48
48
49
49
The implementation preserves the existing {func}`g.run` test hook: in test mode the version path returns cleanly instead of exiting through {mod}`argparse`, so the behavior can be asserted without special subprocess handling.
50
50
51
51
#### First-party CLI reference page (#46)
52
52
53
-
The new {doc}`cli/index` page explains g's repository detection flow, shows command equivalence examples, and renders {func}`g.create_parser` through the argparse documentation extension. Argument sections now have stable anchors, so users can link directly to the version flags or pass-through argument reference.
53
+
The new {doc}`cli/index` page explains g's repository detection flow, shows command equivalence examples, and renders {func}`g.create_parser` through the argparse documentation extension. Argument sections now have stable anchors, so users can link directly to the {argparse:option}`version flags <g --version>`or {argparse:positional}`pass-through argument reference <g vcs_args>`.
54
54
55
-
The CLI docs also clarify the one exception to g's pass-through model: `--version` and `-V` are handled by g itself, while the remaining arguments are sent to the detected VCS command.
55
+
The CLI docs also clarify the one exception to g's pass-through model: {argparse:option}`--version <g --version>` and {argparse:option}`-V <g -V>` are handled by g itself, while the remaining arguments are sent to the detected VCS command.
56
56
57
57
#### Documentation frontend refresh (#50, #51)
58
58
@@ -80,7 +80,7 @@ of lines of local documentation plumbing.
80
80
### Fixes
81
81
82
82
- The CLI documentation cards now use reference links instead of URL-fragment options, avoiding MyST directive parsing warnings in grid cards (#54).
83
-
- The manual CLI "Usage" section was renamed to "Usage examples" so it no longer collides with the argparse-generated `usage` anchor (#54).
83
+
- The manual CLI "Usage" section was renamed to "Usage examples" so it no longer collides with the argparse-generated {ref}`usage` anchor (#54).
84
84
- Light and dark mode CSS for argparse metadata and header links now handles Furo's automatic theme mode correctly (#46).
g 0.0.9 hardens release and documentation publishing. The project no longer relies on long-lived PyPI or AWS secrets for the main publishing paths, and the release job now participates in PyPI's trusted-publishing and attestation flow.
103
+
g 0.0.9 hardens release and documentation publishing. The project no longer relies on long-lived [PyPI](https://pypi.org/) or [AWS](https://aws.amazon.com/) secrets for the main publishing paths, and the release job now participates in PyPI's trusted-publishing and attestation flow.
104
104
105
105
### What's new
106
106
107
-
#### PyPI Trusted Publisher release flow (#43)
107
+
#### Trusted Publisher release flow (#43)
108
108
109
-
Package publishing moved from stored API credentials to PyPI Trusted Publisher via [GitHub Actions](https://docs.github.com/actions) OIDC. The release workflow requests `id-token` and attestation permissions, publishes without embedding a PyPI token in repository secrets, and fixes the deprecated `skip_existing` input name along the way.
109
+
Package publishing moved from stored API credentials to [PyPI Trusted Publisher](https://docs.pypi.org/trusted-publishers/) via [GitHub Actions](https://docs.github.com/actions)[OIDC](https://openid.net/developers/how-connect-works/). The release workflow requests `id-token` and attestation permissions, publishes without embedding a PyPI token in repository secrets, and fixes the deprecated `skip_existing` input name along the way.
110
110
111
111
#### OIDC-backed documentation deployment
112
112
@@ -119,7 +119,7 @@ Documentation deployment moved to AWS OIDC authentication and the [AWS CLI](http
119
119
120
120
## g 0.0.8 (2025-11-01)
121
121
122
-
g 0.0.8 updates the supported Python window for current runtimes. Python 3.9 support is removed after end of life, and Python 3.14 is added to the classifiers, test matrix, and docs build path.
122
+
g 0.0.8 updates the supported [Python](https://www.python.org/) window for current runtimes. Python 3.9 support is removed after end of life, and Python 3.14 is added to the classifiers, test matrix, and docs build path.
123
123
124
124
### Breaking changes
125
125
@@ -213,15 +213,15 @@ g 0.0.3 tightens the development harness around the small CLI wrapper. The relea
213
213
214
214
### Documentation
215
215
216
-
#### Docstrings and pydocstyle enforcement (#18)
216
+
#### Docstring style enforcement (#18)
217
217
218
-
Ruff now enforces pydocstyle with the NumPy convention, and the public modules, functions, tests, and docs configuration were updated with compliant docstrings. This makes the API documentation and doctest surface less dependent on undocumented behavior.
218
+
Ruff now enforces [pydocstyle](https://www.pydocstyle.org/) with the [NumPy](https://numpydoc.readthedocs.io/en/latest/format.html) convention, and the public modules, functions, tests, and docs configuration were updated with compliant docstrings. This makes the API documentation and doctest surface less dependent on undocumented behavior.
219
219
220
220
### Development
221
221
222
-
#### Pytest and Poetry configuration cleanup (#14)
222
+
#### Test and packaging configuration cleanup (#14)
223
223
224
-
Pytest configuration moved into `pyproject.toml`, and Poetry development dependencies moved from extras into proper dependency groups. That layout matches Poetry's current model and keeps test configuration next to the rest of the project metadata.
224
+
[Pytest](https://docs.pytest.org/) configuration moved into `pyproject.toml`, and Poetry development dependencies moved from extras into proper dependency groups. That layout matches Poetry's current model and keeps test configuration next to the rest of the project metadata.
225
225
226
226
#### Ruff replaces the older formatting and lint stack (#11, #17)
227
227
@@ -251,7 +251,7 @@ The import package moved under `src/g`, with CI and docs paths updated to match.
251
251
252
252
#### Early lint rule coverage (#4, #5)
253
253
254
-
The development stack added flake8-bugbear and flake8-comprehensions, giving the small codebase better checks for common Python mistakes and simplification opportunities.
254
+
The development stack added [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear) and [flake8-comprehensions](https://github.com/adamchainz/flake8-comprehensions), giving the small codebase better checks for common Python mistakes and simplification opportunities.
255
255
256
256
## g 0.0.1 (2022-08-17)
257
257
@@ -281,7 +281,7 @@ The first docs site used Sphinx, the Furo theme, and `sphinx-autobuild` for loca
281
281
282
282
### Development
283
283
284
-
Initial CI, Codecov, S3, and [CloudFront](https://aws.amazon.com/cloudfront/) deployment plumbing landed with the package scaffold.
284
+
Initial CI, [Codecov](https://about.codecov.io/), [S3](https://aws.amazon.com/s3/), and [CloudFront](https://aws.amazon.com/cloudfront/) deployment plumbing landed with the package scaffold.
0 commit comments