Skip to content

Releases: SafetyCulture/s12-proto

v1.21.3

04 Aug 06:56
e216edc

Choose a tag to compare

What's Changed

  • Rename float validator to number due to reserved words in some languages

v1.21.2

29 Jul 04:03
9e66d9d

Choose a tag to compare

What's Changed

v1.21.1 - Added log_only as option to the Id validator

27 Jul 06:23
32ddf1d

Choose a tag to compare

Added log_only option to the Validator.Id.
TRUE: will not return an error, will print the message
FALSE (DEFAULT): will return the default validation error

message LogOnlyValidationMessage {
     string image_id = 1 [(validator.uuid) = true, (validator.id) = { legacy: true, s12id: true, log_only: true}];
}

Add validator.timezone support

07 Jul 01:48
c6e3e7b

Choose a tag to compare

This validator can be used to make sure a string is a valid Timezone in the IANA Timezone Database.

v1.20.0

28 Mar 01:12
bff8c21

Choose a tag to compare

Add URL validator.

v1.19.0

16 Feb 04:50
a9d16f1

Choose a tag to compare

  • Remove govalidator dependency
  • Consider email with trailing dot invalid
  • Validate email maximum length

v1.18.1

18 Jan 02:34
e862d1e

Choose a tag to compare

What's Changed

updated s12 validation to include upper-case strings as well

v1.18.0

17 Jan 23:33
374949a

Choose a tag to compare

What's Changed

Added support for S12ID in the validator.

Example:
string inspection_id = 1 [(validator.id) = { legacy: true, s12id: true }];

v1.17.0

07 Dec 05:25
3e6d84a

Choose a tag to compare

What's Changed

  • Bump jwtclaims to the version v1.2.0

v1.16.0

15 Nov 05:10
0e7359b

Choose a tag to compare

What's Changed

  • Support oneof messages for govalidator in #86

Full Changelog: v1.15.7...v1.16.0