Releases: bazelbuild/rules_license
1.0.0
New Features
- add
purl
topackage_info
- minor bug fixes
MODULE.bazel setup
bazel_dep(name = "rules_license", version = "1.0.0")
WORKSPACE setup
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_license",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/1.0.0/rules_license-1.0.0.tar.gz",
"https://github.com/bazelbuild/rules_license/releases/download/1.0.0/rules_license-1.0.0.tar.gz",
],
sha256 = "26d4021f6898e23b82ef953078389dd49ac2b5618ac564ade4ef87cced147b38",
)
Thanks to
Chris Brown, Fabian Meumertzheim, Mai Hussien, Simon Mavi Stewart, peakschris
0.0.8
WORKSPACE setup
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_license",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.8/rules_license-0.0.8.tar.gz",
"https://github.com/bazelbuild/rules_license/releases/download/0.0.8/rules_license-0.0.8.tar.gz",
],
sha256 = "241b06f3097fd186ff468832150d6cc142247dc42a32aaefb56d0099895fd229",
)
What's Changed
- Prefer getpass.getuser() over os.getlogin() by @mering in #109
- Fix path in usage comment by @mering in #108
- Remove deprecated argument by @mering in #118
- Get the CI working again by @aiuto in #120
- add rule_gathering/readme. by @aiuto in #119
- Fix checker demo by @mering in #114
- update roadmap. by @aiuto in #121
- doc fix by @aiuto in #123
- Change target to targets for license_policy_check by @aiuto in #122
- Move licenses_file to separate output group by @mzeren-vmw in #125
- Introduce workspace SBOM generator by @TheGrizzlyDev in #124
- gitignore by @aiuto in #126
- import sbom from tools, because that's the module by @mzeren-vmw in #127
- Add support for package_metadata by @keith in #139
New Contributors
- @mering made their first contribution in #109
- @mzeren-vmw made their first contribution in #125
- @TheGrizzlyDev made their first contribution in #124
- @keith made their first contribution in #139
Full Changelog: 0.0.7...0.0.8
0.0.7
New Features
package_info()
.package_info
is the preferred way to specify package version and url.
Incompatible Changes
- Large refactoring to clean up the rules (#85). Forwarders for moves code was left, but some may have been missed. They will certainly be removed before the 0.1.0 release.
WORKSPACE setup
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_license",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.7/rules_license-0.0.7.tar.gz",
"https://github.com/bazelbuild/rules_license/releases/download/0.0.7/rules_license-0.0.7.tar.gz",
],
sha256 = "4531deccb913639c30e5c7512a054d5d875698daeb75d8cf90f284375fe7c360",
)
0.0.6
0.0.4
This release that pulls forward a lot of Google internal work from the past year. It still keeps metadata like the package version in the license
rule. That will be moved to package_info
rules in an upcoming releases. For now, this one should be API compatible with 0.0.3.
New Features
- broader dependency traversal
- more useful output from gather_licenses_info
Incompatible Changes
- JSON output from gather_licenses_info is changed completely. This is still subject to change so the best documentation for the format is in the code that consumes it.
WORKSPACE setup
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_license",
urls = [
"https://github.com/bazelbuild/rules_license/releases/download/0.0.4/rules_license-0.0.4.tar.gz",
"https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.4/rules_license-0.0.4.tar.gz",
],
sha256 = "6157e1e68378532d0241ecd15d3c45f6e5cfd98fc10846045509fb2a7cc9e381",
)
Using the rules
See the source.
0.0.3
New Features
Added legacy generic license targets.
WORKSPACE setup
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_license",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.3/rules_license-0.0.3.tar.gz",
"https://github.com/bazelbuild/rules_license/releases/download/0.0.3/rules_license-0.0.3.tar.gz",
],
sha256 = "00ccc0df21312c127ac4b12880ab0f9a26c1cff99442dc6c5a331750360de3c3",
)
Using the rules
See the source.
0.0.2
New Features
This release just publishes the core providers, sample code, and an SPDX license list.
WORKSPACE setup
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_license",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.2/rules_license-0.0.2.tar.gz",
"https://github.com/bazelbuild/rules_license/releases/download/0.0.2/rules_license-0.0.2.tar.gz",
],
sha256 = "a5edffc810c74e32a9a7ef5f9591bc05d1362b244b9e22323f38cbbbaba41281",
)
Using the rules
See the source.