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: CHANGELOG.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [2.2.2]
9
+
10
+
### Added
11
+
12
+
- CI tests for both Bazel 7 and 8
13
+
14
+
### Fix
15
+
16
+
- Remove dependency on `@bazel_tools//tools/build_defs/repo` to support Bazel 7.0.0 [#22](https://github.com/TendTo/rules_doxygen/issues/22) (thanks to @filmil)
17
+
- Remove unnecessary `get_auth`
18
+
19
+
### Changed
20
+
21
+
- Made documentation clearer
22
+
8
23
## [2.2.1]
9
24
10
25
### Fix
@@ -73,7 +88,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
73
88
### Added
74
89
75
90
- Support for system-wide doxygen installation. This allows the rule to run on mac os, but loses hermeticity. Can be enabled by using doxygen version `0.0.0`.
Returns the default canonical id to use for downloads.
16
+
17
+
Copied from [@bazel_tools//tools/build_defs/repo:cache.bzl](https://github.com/bazelbuild/bazel/blob/dbb05116a07429ec3524bcf7252cedbb11269bea/tools/build_defs/repo/cache.bzl)
18
+
to avoid a dependency on the whole `@bazel_tools` package, since its visibility changed from private to public between Bazel 7.0.0 and 8.0.0.
19
+
20
+
Returns `""` (empty string) when Bazel is run with
| <aid="get_default_canonical_id-repository_ctx"></a>repository_ctx | The repository context of the repository rule calling this utility function. | none |
41
+
| <aid="get_default_canonical_id-urls"></a>urls | A list of URLs matching what is passed to `repository_ctx.download` and `repository_ctx.download_and_extract`. | none |
42
+
43
+
**RETURNS**
44
+
45
+
The canonical ID to use for the download, or an empty string if
46
+
`BAZEL_HTTP_RULES_URLS_AS_DEFAULT_CANONICAL_ID` is set to `0`.
| <aid="doxygen_extension.configuration-executable"></a>executable |The doxygen executable to use. If set, no download will take place and the provided doxygen executable will be used. Mutually exclusive with `version`. | <ahref="https://bazel.build/concepts/labels">Label</a> | optional |`None`|
234
-
| <aid="doxygen_extension.configuration-platform"></a>platform | The target platform for the doxygen binary. Available options are (windows, mac, mac-arm, linux, linux-arm). If not specified, it will select the platform it is currently running on. | String | optional |`""`|
277
+
| <aid="doxygen_extension.configuration-executable"></a>executable |Target pointing to the doxygen executable to use. If set, no download will take place and the provided doxygen executable will be used. Mutually exclusive with `version`. | <ahref="https://bazel.build/concepts/labels">Label</a> | optional |`None`|
278
+
| <aid="doxygen_extension.configuration-platform"></a>platform | The platform this configuration applies to. Available options are (windows, mac, mac-arm, linux, linux-arm). If not specified, the configuration will apply to the platform it is currently running on. | String | optional |`""`|
235
279
| <aid="doxygen_extension.configuration-sha256"></a>sha256 | The sha256 hash of the doxygen archive. If not specified, an all-zero hash will be used. | String | optional |`""`|
236
280
| <aid="doxygen_extension.configuration-version"></a>version | The version of doxygen to use. If set to `0.0.0`, the doxygen executable will be assumed to be available from the PATH. Mutually exclusive with `executable`. | String | optional |`""`|
| <aid="doxygen_extension.repository-name"></a>name | The name of the repository the extension will create. Useful if you don't use 'rules_doxygen' as a dev_dependency, since it will avoid name collision for module depending on yours. Can only be specified once. Defaults to 'doxygen'. | <ahref="https://bazel.build/concepts/labels#target-names">Name</a> | required ||
"""Returns the default canonical id to use for downloads.
5
+
6
+
Copied from [@bazel_tools//tools/build_defs/repo:cache.bzl](https://github.com/bazelbuild/bazel/blob/dbb05116a07429ec3524bcf7252cedbb11269bea/tools/build_defs/repo/cache.bzl)
7
+
to avoid a dependency on the whole `@bazel_tools` package, since its visibility changed from private to public between Bazel 7.0.0 and 8.0.0.
8
+
9
+
Returns `""` (empty string) when Bazel is run with
"version": attr.string(doc="The version of doxygen to use. If set to `0.0.0`, the doxygen executable will be assumed to be available from the PATH. Mutually exclusive with `executable`."),
286
322
"sha256": attr.string(doc="The sha256 hash of the doxygen archive. If not specified, an all-zero hash will be used."),
287
-
"platform": attr.string(doc="The target platform for the doxygen binary. Available options are (windows, mac, mac-arm, linux, linux-arm). If not specified, it will select the platform it is currently running on."),
288
-
"executable": attr.label(doc="The doxygen executable to use. If set, no download will take place and the provided doxygen executable will be used. Mutually exclusive with `version`."),
323
+
"platform": attr.string(doc="The platform this configuration applies to. Available options are (windows, mac, mac-arm, linux, linux-arm). If not specified, the configuration will apply to the platform it is currently running on."),
324
+
"executable": attr.label(doc="Target pointing to the doxygen executable to use. If set, no download will take place and the provided doxygen executable will be used. Mutually exclusive with `version`."),
289
325
})
290
326
_doxygen_repository_tag=tag_class(attrs= {
291
-
"name": attr.string(doc="The name of the repository the extension will create. Useful if you don't use 'rules_doxygen' as a dev_dependency, since it will avoid name collision for module depending on yours. Must be the same for all configurations. Defaults to 'doxygen'.", mandatory=True),
327
+
"name": attr.string(doc="The name of the repository the extension will create. Useful if you don't use 'rules_doxygen' as a dev_dependency, since it will avoid name collision for module depending on yours. Can only be specified once. Defaults to 'doxygen'.", mandatory=True),
0 commit comments