Skip to content

Commit 5b68a49

Browse files
authored
Release 0.6.0 (#67)
This release is compatible with the [v0.14.0](https://github.com/bufbuild/protovalidate/releases/tag/v0.14.0) release of Protovalidate. ## 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 bufbuild/protovalidate#397 for details. - `(buf.validate.message).disabled` is removed. You can replace it by adding `IGNORE_ALWAYS` to every field of the message. See bufbuild/protovalidate#394 for details. - `IGNORE_IF_DEFAULT_VALUE` is removed. In most cases, you can replace it with `IGNORE_IF_ZERO_VALUE`. See bufbuild/protovalidate#396 for details. ## New Contributors * @jrinehart-buf made their first contribution in #56 **Full Changelog**: v0.5.0...v0.6.0 Signed-off-by: Sri Krishna <[email protected]>
1 parent e959843 commit 5b68a49

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/example/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "protovalidate-example",
3-
"version": "0.5.0",
3+
"version": "0.6.0",
44
"private": true,
55
"license": "Apache-2.0",
66
"scripts": {
@@ -15,7 +15,7 @@
1515
"type": "module",
1616
"dependencies": {
1717
"@bufbuild/protobuf": "^2.6.1",
18-
"@bufbuild/protovalidate": "^0.5.0"
18+
"@bufbuild/protovalidate": "^0.6.0"
1919
},
2020
"devDependencies": {
2121
"@bufbuild/buf": "^1.55.1",

packages/protovalidate-testing/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"sideEffects": false,
1616
"devDependencies": {
1717
"@bufbuild/protobuf": "^2.6.1",
18-
"@bufbuild/protovalidate": "^0.5.0",
18+
"@bufbuild/protovalidate": "^0.6.0",
1919
"upstream": "*"
2020
}
2121
}

packages/protovalidate/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bufbuild/protovalidate",
3-
"version": "0.5.0",
3+
"version": "0.6.0",
44
"description": "Protocol Buffer Validation for ECMAScript",
55
"keywords": [
66
"javascript",

0 commit comments

Comments
 (0)