Skip to content

Releases: bufbuild/protovalidate

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 15 Apr 13:41
db025da

MODULE.bazel Usage

bazel_dep(name = "protovalidate", version = "1.2.0")

WORKSPACE Usage

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "com_github_bufbuild_protovalidate",
    sha256 = "9aee9beede94edc62fa472a58c964741f11e1a0ab7472f12cfb98381c2f502fd",
    strip_prefix = "protovalidate-1.2.0",
    urls = [
        "https://github.com/bufbuild/protovalidate/releases/download/v1.2.0/protovalidate-1.2.0.tar.gz",
    ],
)

What's Changed

  • Add protobuf_fqn and protobuf_dot_fqn by @bufdev in #465
  • Remove extraneous references to value in error messages by @bufdev in #442

New Contributors

Full Changelog: v1.1.1...v1.2.0

v1.1.1

Choose a tag to compare

@github-actions github-actions released this 06 Feb 12:10
b304b85

MODULE.bazel Usage

bazel_dep(name = "protovalidate", version = "1.1.1")

WORKSPACE Usage

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "com_github_bufbuild_protovalidate",
    sha256 = "297dba5cdc25fa478c597e53af6c4ccf330c826e566384774b5176c13c8d3bd8",
    strip_prefix = "protovalidate-1.1.1",
    urls = [
        "https://github.com/bufbuild/protovalidate/releases/download/v1.1.1/protovalidate-1.1.1.tar.gz",
    ],
)

What's Changed

New Contributors

Full Changelog: v0.10.1...v1.1.1

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 09 Dec 17:32
4abe5a0

MODULE.bazel Usage

bazel_dep(name = "protovalidate", version = "1.1.0")

WORKSPACE Usage

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "com_github_bufbuild_protovalidate",
    sha256 = "220b3d3feb1d2c085a6b90058167ae41a69db44f798eb6d873bc64ec25e1b7f5",
    strip_prefix = "protovalidate-1.1.0",
    urls = [
        "https://github.com/bufbuild/protovalidate/releases/download/v1.1.0/protovalidate-1.1.0.tar.gz",
    ],
)

What's Changed

  • Add (buf.validate.field).bytes.uuid by @SpencerC in #435
  • Add field_mask rules const/in/not_in by @choopm in #429
  • Support for proto2 Groups and Editions delimited message fields by @rodaine in #439
  • Add ULID validation support to StringRules by @fchimpan in #436
  • Add cel_expression by @bufdev in #432

New Contributors

Full Changelog: v1.0.0...v1.1.0

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 12 Sep 12:20
7b740a4

Protovalidate is now v1.0

After two years of development, Protovalidate has reached v1.0, marking our commitment to stability and production readiness.
Read more in our blog post. Get started at https://protovalidate.com.

MODULE.bazel Usage

bazel_dep(name = "protovalidate", version = "1.0.0")

WORKSPACE Usage

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "com_github_bufbuild_protovalidate",
    sha256 = "39a3f262614ffc23e89507f4dbdae535d8d73021713f580733b6a8dfdf06f734",
    strip_prefix = "protovalidate-1.0.0",
    urls = [
        "https://github.com/bufbuild/protovalidate/releases/download/v1.0.0/protovalidate-1.0.0.tar.gz",
    ],
)

What's Changed

There are no functional changes compared to the previous release.

Full Changelog: v0.14.2...v1.0.0

v0.14.2

Choose a tag to compare

@github-actions github-actions released this 21 Jul 20:25
d723304

MODULE.bazel Usage

bazel_dep(name = "protovalidate", version = "0.14.2")

WORKSPACE Usage

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "com_github_bufbuild_protovalidate",
    sha256 = "16b6f99df8bf9c712ffb4f41bfb309e16774f193da191124d11ded5fdf44009d",
    strip_prefix = "protovalidate-0.14.2",
    urls = [
        "https://github.com/bufbuild/protovalidate/releases/download/v0.14.2/protovalidate-0.14.2.tar.gz",
    ],
)

What's Changed

  • Update to new BCR workflow by @jchadwick-buf in #402

Full Changelog: v0.14.1...v0.14.2

v1.0.0-rc.6

Choose a tag to compare

@github-actions github-actions released this 17 Jul 17:03
dd75313

Breaking changes

We want validation rules to be easy to understand for authors and consumers. To simplify Protovalidate, we are renaming an option and remove two others. This is a breaking change, and you will have to update your Protobuf files if they use the relevant options :

  • IGNORE_IF_UNPOPULATED is renamed to IGNORE_IF_ZERO_VALUE.
    See #397 for details.
  • (buf.validate.message).disabled is removed.
    You can replace it by adding IGNORE_ALWAYS to every field of the message. See #394 for details.
  • IGNORE_IF_DEFAULT_VALUE is removed.
    In most cases, you can replace it with IGNORE_IF_ZERO_VALUE. See #396 for details.

MODULE.bazel Usage

bazel_dep(name = "protovalidate", version = "1.0.0-rc.6")

WORKSPACE Usage

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "com_github_bufbuild_protovalidate",
    sha256 = "1115d00e2eb8482e932355a7cef6cddadb89138c706614ff26bd9391ef974c96",
    strip_prefix = "protovalidate-1.0.0-rc.6",
    urls = [
        "https://github.com/bufbuild/protovalidate/releases/download/v1.0.0-rc.6/protovalidate-1.0.0-rc.6.tar.gz",
    ],
)

Full Changelog: v1.0.0-rc.5...v1.0.0-rc.6

v0.14.1

Choose a tag to compare

@github-actions github-actions released this 17 Jul 18:05
5a674e3

Breaking changes

We want validation rules to be easy to understand for authors and consumers. To simplify Protovalidate, as of v0.14.0, we are renaming an option and remove two others. This is a breaking change, and you will have to update your Protobuf files if they use the relevant options :

  • IGNORE_IF_UNPOPULATED is renamed to IGNORE_IF_ZERO_VALUE.
    See #397 for details.
  • (buf.validate.message).disabled is removed.
    You can replace it by adding IGNORE_ALWAYS to every field of the message. See #394 for details.
  • IGNORE_IF_DEFAULT_VALUE is removed.
    In most cases, you can replace it with IGNORE_IF_ZERO_VALUE. See #396 for details.

MODULE.bazel Usage

bazel_dep(name = "protovalidate", version = "0.14.1")

WORKSPACE Usage

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "com_github_bufbuild_protovalidate",
    sha256 = "6f0002f4755dc80bb1c06a658e579eb4d119d9462181e5a54bb1d2e994d572b4",
    strip_prefix = "protovalidate-0.14.1",
    urls = [
        "https://github.com/bufbuild/protovalidate/releases/download/v0.14.1/protovalidate-0.14.1.tar.gz",
    ],
)

What's Changed

Full Changelog: v0.14.0...v0.14.1

v0.14.0

Choose a tag to compare

@timostamm timostamm released this 17 Jul 15:57
dd75313

Breaking changes

We want validation rules to be easy to understand for authors and consumers. To simplify Protovalidate, we are renaming an option and remove two others. This is a breaking change, and you will have to update your Protobuf files if they use the relevant options :

  • IGNORE_IF_UNPOPULATED is renamed to IGNORE_IF_ZERO_VALUE.
    See #397 for details.
  • (buf.validate.message).disabled is removed.
    You can replace it by adding IGNORE_ALWAYS to every field of the message. See #394 for details.
  • IGNORE_IF_DEFAULT_VALUE is removed.
    In most cases, you can replace it with IGNORE_IF_ZERO_VALUE. See #396 for details.

MODULE.bazel Usage

bazel_dep(name = "protovalidate", version = "0.14.0")

WORKSPACE Usage

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "com_github_bufbuild_protovalidate",
    sha256 = "5e33d5682c4983857c84658883aadc42a2e0cc4ad455c78f2120b969953f988e",
    strip_prefix = "protovalidate-0.14.0",
    urls = [
        "https://github.com/bufbuild/protovalidate/releases/download/v0.14.0/protovalidate-0.14.0.tar.gz",
    ],
)

v1.0.0-rc.5

Choose a tag to compare

@github-actions github-actions released this 25 Jun 18:30
8d132c4

MODULE.bazel Usage

bazel_dep(name = "protovalidate", version = "1.0.0-rc.5")

WORKSPACE Usage

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "com_github_bufbuild_protovalidate",
    sha256 = "abdb4dd4344e3c513cad73dc61a3a611dc18f37b36a01f0a6e528141b498e713",
    strip_prefix = "protovalidate-1.0.0-rc.5",
    urls = [
        "https://github.com/bufbuild/protovalidate/releases/download/v1.0.0-rc.5/protovalidate-1.0.0-rc.5.tar.gz",
    ],
)

What's Changed

  • Clarify Protovalidate field presence by @timostamm in #385
  • Fix WORKSPACE bazel instructions in release message by @wheals in #386

New Contributors

Full Changelog: v0.1.0.0-rc.4...v1.0.0-rc.5

v0.13.4

Choose a tag to compare

@github-actions github-actions released this 25 Jun 18:28
8d132c4

MODULE.bazel Usage

bazel_dep(name = "protovalidate", version = "0.13.4")

WORKSPACE Usage

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "com_github_bufbuild_protovalidate",
    sha256 = "9774ccdac0295debc20347deaba45a083a9983d9492e6022a20684b19051e74a",
    strip_prefix = "protovalidate-0.13.4",
    urls = [
        "https://github.com/bufbuild/protovalidate/releases/download/v0.13.4/protovalidate-0.13.4.tar.gz",
    ],
)

What's Changed

  • Clarify Protovalidate field presence by @timostamm in #385
  • Fix WORKSPACE bazel instructions in release message by @wheals in #386

New Contributors

Full Changelog: v0.13.3...v0.13.4