From dd7c99eed82c675878fa00f866a402d9302bd830 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 20 Sep 2024 22:21:55 +0000 Subject: [PATCH] chore: Update module github.com/nobl9/govy to v0.2.0 (#550) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/nobl9/govy](https://redirect.github.com/nobl9/govy) | `v0.1.1` -> `v0.2.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fnobl9%2fgovy/v0.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fnobl9%2fgovy/v0.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fnobl9%2fgovy/v0.1.1/v0.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fnobl9%2fgovy/v0.1.1/v0.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
nobl9/govy (github.com/nobl9/govy) ### [`v0.2.0`](https://redirect.github.com/nobl9/govy/releases/tag/v0.2.0) [Compare Source](https://redirect.github.com/nobl9/govy/compare/v0.1.1...v0.2.0) ### What's Changed #### ⚠️ Breaking Changes - chore: Update README and add coverage report ([#​22](https://redirect.github.com/nobl9/govy/issues/22)) [@​nieomylnieja](https://redirect.github.com/nieomylnieja) > Changed `NameInferDefaultRule` to `NameInferDefaultFunc`. > The change can be easily applied with the following command: `gofmt -r 'govyconfig.NameInferDefaultRule -> govyconfig.NameInferDefaultFunc'`. - feat: Improve development docs and SliceUnique, remove gomarkdoc ([#​11](https://redirect.github.com/nobl9/govy/issues/11)) [@​nieomylnieja](https://redirect.github.com/nieomylnieja) > `SliceUnique` error message has been changed. > Before: *elements are not unique, index 0 collides with index 2*. > After: *elements are not unique, 1st and 3rd elements collide*. #### 🚀 Features - feat: Add network rules ([#​21](https://redirect.github.com/nobl9/govy/issues/21)) [@​nieomylnieja](https://redirect.github.com/nieomylnieja) > New network rules for MAC, IP and CIDR (includes IPv4 and IPv6) along with `StringEmail` (based on RFC 5322) and `StringExcludes` which complements existing `StringContains` rule. - feat: Remove stretchr/testify dependency ([#​20](https://redirect.github.com/nobl9/govy/issues/20)) [@​nieomylnieja](https://redirect.github.com/nieomylnieja) > Govy no longer relies on `stretchr/testify` library for unit testing, thus limiting its module's dependency tree size significantly. - feat: Add lazy loading to regular expressions ([#​16](https://redirect.github.com/nobl9/govy/issues/16)) [@​nieomylnieja](https://redirect.github.com/nieomylnieja) > All regular expressions are now lazy loaded, once when the corresponding rule is used. - feat: Improve development docs and SliceUnique, remove gomarkdoc ([#​11](https://redirect.github.com/nobl9/govy/issues/11)) [@​nieomylnieja](https://redirect.github.com/nieomylnieja) > `SliceUnique` now reports more readable error messages using ordinal slice index form (e.g. 1st, 2nd, 11th) instead of 0-based slice index. #### 🧰 Maintenance
6 changes - chore: Update README and add coverage report ([#​22](https://redirect.github.com/nobl9/govy/issues/22)) [@​nieomylnieja](https://redirect.github.com/nieomylnieja) - chore: Update devbox and cspell config ([#​19](https://redirect.github.com/nobl9/govy/issues/19)) [@​nieomylnieja](https://redirect.github.com/nieomylnieja) - chore: Update dependency yaml to v2.5.1 ([#​14](https://redirect.github.com/nobl9/govy/issues/14)) [@​renovate](https://redirect.github.com/renovate) - chore: Correct go.mod replace clause in validator comparison ([#​15](https://redirect.github.com/nobl9/govy/issues/15)) [@​nieomylnieja](https://redirect.github.com/nieomylnieja) - chore: Add comparison with go-playground/validator ([#​13](https://redirect.github.com/nobl9/govy/issues/13)) [@​nieomylnieja](https://redirect.github.com/nieomylnieja) - chore: Update README.md ([#​9](https://redirect.github.com/nobl9/govy/issues/9)) [@​nieomylnieja](https://redirect.github.com/nieomylnieja)
--- ### Configuration 📅 **Schedule**: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/nobl9/nobl9-go). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 83dacb58..8e4d0944 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( github.com/golang-jwt/jwt/v5 v5.2.1 github.com/hashicorp/go-retryablehttp v0.7.7 github.com/nobl9/go-yaml v1.0.1 - github.com/nobl9/govy v0.1.1 + github.com/nobl9/govy v0.2.0 github.com/pkg/errors v0.9.1 github.com/stretchr/testify v1.9.0 github.com/teambition/rrule-go v1.8.2 diff --git a/go.sum b/go.sum index 20916553..2961c073 100644 --- a/go.sum +++ b/go.sum @@ -44,8 +44,8 @@ github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWE github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/nobl9/go-yaml v1.0.1 h1:Aj1kSaYdRQTKlvS6ihvXzQJhCpoHhtf9nfA95zqWH4Q= github.com/nobl9/go-yaml v1.0.1/go.mod h1:t7vCO8ctYdBweZxU5lUgxzAw31+ZcqJYeqRtrv+5RHI= -github.com/nobl9/govy v0.1.1 h1:l5UVwLuYhDhDFdmofH+SpE63Ta9IMTusFwY2MeJlCx4= -github.com/nobl9/govy v0.1.1/go.mod h1:MIhQelE3P6Ty7oqXef5ObzsxAo50+RiXmrywNy9ZRRw= +github.com/nobl9/govy v0.2.0 h1:KXZRzHte3uJSpB2i0wBD+3fUoON5ptvlfMrkvtRO8Sc= +github.com/nobl9/govy v0.2.0/go.mod h1:O+xSiKwZ6gs/orRvH5qLkfkgyT7CkuXprRIq3C5uNXQ= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=