Releases: bazel-contrib/rules-template
Releases · bazel-contrib/rules-template
v0.2.0
Using Bzlmod with Bazel 6 or greater
- (Bazel 6 only) Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "com_myorg_rules_mylang", version = "0.2.0")
Using WORKSPACE
Paste this snippet into your WORKSPACE.bazel
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_myorg_rules_mylang",
sha256 = "7e918289afca0d3181d91b7824f1bde8ebefd9b86e379f2e6cc98706c7c7f571",
strip_prefix = "rules_mylang-0.2.0",
url = "https://github.com/myorg/rules_mylang/releases/download/v0.2.0/rules_mylang-v0.2.0.tar.gz",
)
######################
# rules_mylang setup #
######################
# Fetches the rules_mylang dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@com_myorg_rules_mylang//mylang:repositories.bzl", "rules_mylang_dependencies")
rules_mylang_dependencies()
What's Changed
- chore: run tests on macos by @alexeagle in #45
- chore(deps): update dependency aspect_bazel_lib to v1.24.2 by @renovate in #40
- chore(deps): update andstor/file-existence-action action to v2 by @renovate in #37
- chore(deps): update dependency bazel_gazelle to v0.29.0 by @renovate in #41
- chore(deps): update dependency io_bazel_rules_go to v0.38.1 by @renovate in #42
- Move resolved_toolchain into the main workspace by @aherrmann in #48
- chore: Run pre-commit checks on existing files by @aherrmann in #49
- chore(deps): update dependency aspect_bazel_lib to v1.26.2 by @renovate in #50
- chore: document how to depend on HEAD by @alexeagle in #52
- chore: add bzlmod by @alexeagle in #46
- chore(deps): update dependency aspect_bazel_lib to v1.29.0 by @renovate in #51
- chore: run windows/mac tests only on main by @alexeagle in #53
- chore: break out a reusable GitHub Actions workflow by @alexeagle in #58
- chore: use reusable release workflow by @alexeagle in #59
- chore(deps): update dependency bazel_gazelle to v0.30.0 by @renovate in #56
- chore: update Bazel 6 to latest release by @alexeagle in #67
- chore: remove WORKSPACE by @alexeagle in #66
- chore: enable buildifier by @alexeagle in #65
- Remove the Bazel repository cache by @aherrmann in #80
- Update buildifier.yaml by @alexeagle in #83
- chore(deps): update dependency bazel to v6.2.1 by @renovate in #69
- Fix buildifier on CI by @keith in #85
- chore: update Renovate config with recommended ruleset settings by @cgrindel in #84
- nocheck_direct_dependencies by @alexeagle in #90
- feat: stamp the version into the artifact by @alexeagle in #93
- Revert release automation tagging by @alexeagle in #94
- chore: update .github tag by @alexeagle in #96
- feat(release): exclude examples/ folder by default by @alexeagle in #98
- chore(deps): update buildifier_prebuilt for CI to succeed on Windows by @GZGavinZhao in #87
- refactor: move 'git archive' config to .gitattributes by @alexeagle in #101
- Update source.template.json by @alexeagle in #102
- Set default Bazel versions to be tested by @meteorcloudy in #105
- chore(deps): update actions/checkout action to v4 by @renovate in #92
- chore(deps): update bazel-contrib/.github action to v5 by @renovate in #100
- Add and document minimal devcontainers setup by @TheGrizzlyDev in #91
- refactor: remove unused argument by @mgred in #89
- chore(deps): update dependency bazel to v6.5.0 by @renovate in #88
- Buildifier fixes for generated files by @thii in #77
- docs: remove unnecessary step by @mgred in #62
- chore(deps): update dependency bazel_skylib to v1.5.0 by @renovate in #43
- docs: explicitly list all locations to replace by @mgred in #61
- fix(e2e): set namespace prefix by @mgred in #63
- Update release_prep.sh by @alexeagle in #107
- chore(deps): update bazel-contrib/.github digest to de0f819 by @renovate in #106
- chore(deps): update bazel-contrib/.github action to v6 by @renovate in #108
- chore: update to Bazel 7 by @alexeagle in #110
- Don't cancel builds on main branch by @alexeagle in #109
- chore(deps): update dependency bazel to v7.1.0 by @renovate in #112
- chore: improve bzlmod install instructions by @alexeagle in #111
- chore(deps): update dependency bazel_skylib to v1.6.1 by @renovate in #115
- chore(deps): update dependency bazel to v7.1.1 by @renovate in #114
- Give the releaser write permissions to the repo. by @matts1 in #116
- docs: Document how to ship pre-built tools by @alexeagle in #117
- chore(deps): update dependency bazel to v7.2.1 by @renovate in #118
- chore(deps): update dependency bazel_skylib to v1.7.1 by @renovate in #120
- Update repositories.bzl by @groodt in #121
- Update .gitattributes by @alexeagle in #125
- feat: provide stable-named job for branch protection by @alexeagle in #124
- Remove incompatible_use_toolchain_transition by @groodt in #122
- feat(cd): auto-tag releases twice a month by @alexeagle in #129
- fix(cd): script uses the supplied tag by @alexeagle in #132
- chore: by default BCR should include Bazel 8 testing by @alexeagle in #133
New Contributors
- @aherrmann made their first contribution in #48
- @keith made their first contribution in #85
- @cgrindel made their first contribution in #84
- @GZGavinZhao made their first contribution in #87
- @meteorcloudy made their first contribution in #105
- @TheGrizzlyDev made their first contribution in #91
- @mgred made their first contribution in #89
- @thii made their first contribution in #77
- @matts1 made their first contribution in #116
- @groodt made their first contribution in #121
Full Changelog: v0.1.0...v0.2.0
v0.1.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_myorg_rules_mylang",
sha256 = "3d7f0da88f005bd892dacfd68816fd08c6b7b943582daaa012e177a0777e22bf",
strip_prefix = "rules_mylang-0.1.0",
url = "https://github.com/myorg/rules_mylang/releases/download/v0.1.0/rules_mylang-v0.1.0.tar.gz",
)
######################
# rules_mylang setup #
######################
# Fetches the rules_mylang dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@com_myorg_rules_mylang//mylang:repositories.bzl", "rules_mylang_dependencies")
rules_mylang_dependencies()
What's Changed
- Initial contribution of code from aspect-build/bazel_rules_template by @alexeagle in #1
- Upgrade Bazel to 4.2.2 by @Yannic in #2
- build: fix ci cacheing to use recently built caches by @kormide in #4
- build: move ci cache flags to bazelrc by @kormide in #6
- bump to bazel 5 by @alexeagle in #5
- Fix workspace snippet by @caseyduquettesc in #7
- chore: Update github archive URLs to have stable SHAs by @alexeagle in #8
- Declare toolchain only constrained by the exec platform by @alexeagle in #9
- Add simple e2e assertion that the rules snippet works for users by @alexeagle in #11
- feat: add IntelliJ IDE folders to .gitignore by @mattem in #12
- chore(deps): update actions/checkout action to v3 by @alexeagle in #13
- Upgrade Bazel to 5.2.0 by @Yannic in #14
- update aspect_bazel_lib internal dep to v1.8.1 by @gregmagolan in #15
- Configure Renovate by @renovate in #17
- refactor: pull maybe() into a helper by @alexeagle in #19
- chore(deps): update dependency io_bazel_stardoc to v0.5.2 by @renovate in #21
- chore(deps): update dependency bazel_skylib to v1.2.1 by @renovate in #22
- chore(deps): update dependency bazel to v5.3.0 by @renovate in #25
- chore(deps): remove bazel-integration-testing by @jbedard in #27
- Update testing page URL by @bivens-dev in #32
- Pin version of node to one supported on ubuntu 18.04. by @jsharpe in #34
- Update internal_deps to latest and test with Bazel 6.0.0rc4 as well as Bazel 5.3.2 by @gregmagolan in #36
- Fix usage of GitHub actions cache by @pziggo in #35
- chore(deps): update dependency aspect_bazel_lib to v1.19.0 by @renovate in #39
- chore(deps): update dependency bazel_skylib to v1.3.0 by @renovate in #31
- chore(deps): update dependency io_bazel_rules_go to v0.37.0 by @renovate in #24
- chore: publish release artifact by @alexeagle in #44
New Contributors
- @alexeagle made their first contribution in #1
- @Yannic made their first contribution in #2
- @kormide made their first contribution in #4
- @caseyduquettesc made their first contribution in #7
- @mattem made their first contribution in #12
- @gregmagolan made their first contribution in #15
- @renovate made their first contribution in #17
- @jbedard made their first contribution in #27
- @bivens-dev made their first contribution in #32
- @jsharpe made their first contribution in #34
- @pziggo made their first contribution in #35
Full Changelog: https://github.com/bazel-contrib/rules-template/commits/v0.1.0