Releases: cognitedata/bazel-snapshots
Releases · cognitedata/bazel-snapshots
0.4.0
WORKSPACE setup:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_cognitedata_bazel_snapshots",
sha256 = "4c9d740c355d52cedceef0cdb8ce20ca9343d70631d2cccb74fb223d4c507bfc",
url = "https://github.com/cognitedata/bazel-snapshots/releases/download/0.4.0/snapshots-0.4.0.tar",
)
load("@com_cognitedata_bazel_snapshots//:repo.bzl", "snapshots_repos")
snapshots_repos()
What's Changed
- Update deps by @mortenmj in #100
- Update dependency io_bazel_rules_docker to v0.25.0 by @renovate in #96
- Update dependency bazel_skylib to v1.2.1 by @renovate in #95
- Move code from cmd into separate packages by @mortenmj in #101
- Add arg structs by @mortenmj in #102
- Handle flags using Cobra by @mortenmj in #97
- Fix some broken flags by @mortenmj in #104
- Terminate on error from Execute by @mortenmj in #105
- More fixes by @mortenmj in #106
- Refactor cache/grpc client by @mortenmj in #103
- Move cache to a separate pkg, as part of refactoring by @mortenmj in #107
- Update dependency io_bazel_rules_go to v0.35.0 by @renovate in #111
Full Changelog: 0.3.0...0.4.0
0.3.0
WORKSPACE setup:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_cognitedata_bazel_snapshots",
sha256 = "896ccc4939d05305cca0ed3b106411f36d4f9c1a19a41fed53f0fcaeba47f8d5",
url = "https://github.com/cognitedata/bazel-snapshots/releases/download/0.3.0/snapshots-0.3.0.tar",
)
load("@com_cognitedata_bazel_snapshots//:repo.bzl", "snapshots_repos")
snapshots_repos()
What's Changed
- Update CODEOWNERS by @mortenmj in #79
- Update dependency bazel to v5 by @renovate in #85
- Update module github.com/stretchr/testify to v1.7.4 by @renovate in #84
- Update google.golang.org/genproto digest to ea41d75 by @renovate in #83
- Update module github.com/bazelbuild/rules_go to v0.33.0 by @renovate in #82
- Update module github.com/stretchr/testify to v1.7.5 by @renovate in #87
- Update dependency io_bazel_rules_go to v0.34.0 by @renovate in #81
- Update dependency bazel_gazelle to v0.26.0 by @renovate in #88
- Update module github.com/stretchr/testify to v1.8.0 by @renovate in #89
- Update module google.golang.org/grpc to v1.48.0 by @renovate in #91
- Update module go to 1.19 by @renovate in #93
- Update google.golang.org/genproto digest to 4e6b2df by @renovate in #90
- Update module github.com/bazelbuild/rules_go to v0.34.0 by @renovate in #92
Full Changelog: 0.2.0...0.3.0
0.2.0
WORKSPACE setup:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_cognitedata_bazel_snapshots",
sha256 = "f2f8aea4ce183a2b5cd48962c272575be28859cedbf2f987bfe456ed2c251e7f",
url = "https://github.com/cognitedata/bazel-snapshots/releases/download/0.2.0/snapshots-0.2.0.tar",
)
load("@com_cognitedata_bazel_snapshots//:repo.bzl", "snapshots_repos")
snapshots_repos()
Breaking Changes
- The attribute
bucket
insnapshots()
is removed, and replaced with thestorage
attribute, which takes agcs://
URL (more providers can be supported in the future). Also, automatically using a path named after the workspace inside the storage bucket is not automatic anymore. To keep the same setup as before, replace thebucket
attribute withstorage
like this:
snapshots(
name = "snapshots",
- bucket = "my-gcs-bucket",
+ bucket= "gcs://my-gcs-bucket/my-workspace-name",
)
This allows you to specify arbitrary paths inside the bucket. Your workspace name comes from the name
attribute of workspace()
, typically in the top of your WORKSPACE
file.
What's Changed
- Add a document explaining how to relase a new version by @tokongs in #63
- Improve documentation by @mikberg in #59
- Add go-storage for generic storage backend support by @kondanta in #37
- Remove the
--push
option from the collect command by @mikberg in #67 - Set 'json' as default output format for the diff command by @mikberg in #68
- Remove 'postUpgradeTasks' from renovate (not functional) by @mikberg in #76
- Remove workspace name setting by @mikberg in #74
- Set 'env' values in storage query values by default by @mikberg in #75
- Update actions/cache action to v3 by @renovate in #70
- Update go and gazelle by @mikberg in #77
- Update module github.com/stretchr/testify to v1.7.1 by @renovate in #69
- Fix dependencies for Gazelle 0.25 by @mikberg in #78
New Contributors
Full Changelog: 0.1.1...0.2.0
0.1.1
WORKSPACE setup:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_cognitedata_bazel_snapshots",
sha256 = "61337e6bd741697773900fe9fd8a407e2b55476b2b8b27cceaf5c083fd6abefc",
url = "https://github.com/cognitedata/bazel-snapshots/releases/download/0.1.1/snapshots-0.1.1.tar",
)
load("@com_cognitedata_bazel_snapshots//:repo.bzl", "snapshots_repos")
snapshots_repos()
What's Changed
- Update use-binaries example to use released binaries by @mortenmj in #47
- Configure Renovate by @renovate in #44
- Run CI workflow on pull_request. by @mortenmj in #48
- Update dependency io_bazel_rules_go to v0.30.0 by @renovate in #50
- Update module google.golang.org/api to v0.70.0 by @renovate in #52
- Update actions/checkout action to v3 by @renovate in #54
- Update actions/cache action to v2 by @renovate in #53
- Basic Renovate configuration by @mortenmj in #55
- Update google.golang.org/genproto commit hash to 9aa1556 by @renovate in #49
- Export snapshots binary through a filegroup by @tokongs in #58
- Allow change_tracker to track source files by @tokongs in #62
New Contributors
Full Changelog: 0.1.0...0.1.1
0.1.0
WORKSPACE setup:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_cognitedata_bazel_snapshots",
sha256 = "007f7a6b4c27079e041869233dfbffcb102422453e38e490f2df6735eb250442",
url = "https://github.com/cognitedata/bazel-snapshots/releases/download/0.1.0/snapshots-0.1.0.tar",
)
load("@com_cognitedata_bazel_snapshots//:repo.bzl", "snapshots_repos")
snapshots_repos()
What's Changed
- Bootstrap from private repo by @mikberg in #1
- Publish v0.0.1 by @mikberg in #3
- Added copyright notice to all .go-files by @mortenmj in #17
- Add Contributor Covenant Code of Conduct by @mortenmj in #16
- Add a README by @mikberg in #19
- Create basic change tracker example by @tokongs in #20
- Add example for integrating change_tracker with custom rule by @tokongs in #21
- Simplify installation through binaries by @mikberg in #24
- Create readmes for examples by @tokongs in #28
- Added CODEOWNERS by @mortenmj in #22
- Set up release workflow by @mortenmj in #23
- Add editorconfig by @tokongs in #31
- Run snapshots tool in each example in CI by @mikberg in #27
- Use symlinks to build-from-source WORKSPACE in other examples by @mikberg in #32
- Remove bazelisk install from ci.yaml by @mortenmj in #30
- Use release script by @mortenmj in #33
- Release archive with inserted sha256 sums by @mikberg in #36
- Build and release binaries for linux-arm64 and darwin-arm64 by @mikberg in #35
- Move CODEOWNERS, CODE_OF_CONDUCT.md and LICENSE to .github/ by @mortenmj in #39
- Moving license back to root by @mortenmj in #40
- Simplify release script by @mortenmj in #41
- Allow users to override URLs for downloading binaries by @mikberg in #38
- Fix the substitution of URLs in our release script by @mortenmj in #46
New Contributors
- @mikberg made their first contribution in #1
- @mortenmj made their first contribution in #17
- @tokongs made their first contribution in #20
Full Changelog: https://github.com/cognitedata/bazel-snapshots/commits/0.1.0