Skip to content

Releases: cognitedata/bazel-snapshots

0.4.0

29 Jan 22:01
1871e0a
Compare
Choose a tag to compare

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

Full Changelog: 0.3.0...0.4.0

0.3.0

04 Aug 21:52
e3d8e16
Compare
Choose a tag to compare

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

31 Mar 11:31
d9c3b80
Compare
Choose a tag to compare

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 in snapshots() is removed, and replaced with the storage attribute, which takes a gcs:// 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 the bucket attribute with storage 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

09 Mar 12:05
ddd8c3a
Compare
Choose a tag to compare

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

03 Mar 13:00
51dfce7
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: https://github.com/cognitedata/bazel-snapshots/commits/0.1.0