diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8314180..844e3c6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -82,9 +82,9 @@ jobs: key: ${{ runner.os }}-sonar restore-keys: ${{ runner.os }}-sonar- - # Ref: https://github.com/SonarSource/sonarcloud-github-action + # Ref: https://github.com/SonarSource/sonarqube-scan-action - name: Scan with SonarCloud - uses: sonarsource/sonarcloud-github-action@master + uses: sonarsource/sonarqube-scan-action@v4 with: projectBaseDir: ./ env: diff --git a/CHANGELOG/CHANGELOG-1.x.md b/CHANGELOG/CHANGELOG-1.x.md index c6915bc..96f0ed1 100644 --- a/CHANGELOG/CHANGELOG-1.x.md +++ b/CHANGELOG/CHANGELOG-1.x.md @@ -17,6 +17,20 @@ Date format: `YYYY-MM-DD` ### Fixed ### Security +--- +## [1.6.0] - 2024-12-26 + +### Added +### Changed +- **debt:** Upgraded to [sixafter/nanoid@v1.22.0](https://github.com/sixafter/nanoid/releases/tag/v1.22.0). +- **debt:** Upgraded all Go dependencies to the latest versions. +- **debt:** Upgraded the CI pipeline to use the new GitHub Action for SonarQube Cloud analysis. + +### Deprecated +### Removed +### Fixed +### Security + --- ## [1.5.0] - 2024-12-07 @@ -126,7 +140,8 @@ Date format: `YYYY-MM-DD` ### Fixed ### Security -[Unreleased]: https://github.com/sixafter/nanoid-cli/compare/v1.5.0...HEAD +[Unreleased]: https://github.com/sixafter/nanoid-cli/compare/v1.6.0...HEAD +[1.6.0]: https://github.com/sixafter/nanoid-cli/compare/v1.5.0...v1.6.0 [1.5.0]: https://github.com/sixafter/nanoid-cli/compare/v1.4.1...v1.5.0 [1.4.1]: https://github.com/sixafter/nanoid-cli/compare/v1.4.0...v1.4.1 [1.4.0]: https://github.com/sixafter/nanoid-cli/compare/v1.3.0...v1.4.0 diff --git a/go.mod b/go.mod index 5574f10..8159de9 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.23 require ( github.com/blang/semver/v4 v4.0.0 - github.com/sixafter/nanoid v1.21.0 + github.com/sixafter/nanoid v1.22.0 github.com/spf13/cobra v1.8.1 github.com/stretchr/testify v1.10.0 ) @@ -14,7 +14,7 @@ require ( github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/spf13/pflag v1.0.5 // indirect - golang.org/x/crypto v0.30.0 // indirect + golang.org/x/crypto v0.31.0 // indirect golang.org/x/sys v0.28.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/go.sum b/go.sum index f5a8a7a..0b7ac1b 100644 --- a/go.sum +++ b/go.sum @@ -8,16 +8,16 @@ github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLf github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/sixafter/nanoid v1.21.0 h1:SSl8NMiHCnejWxHvoZ89KsrxZ+4oMdeK3is8eHMg1YU= -github.com/sixafter/nanoid v1.21.0/go.mod h1:7OQCO1l/zTwaxG42OJjzeu+RWOLKyB+I07Oc4sA8f6A= +github.com/sixafter/nanoid v1.22.0 h1:BPN7F2pUV/9zJkolFun6WuOg1y9bbSKtrh4uJKpNdCo= +github.com/sixafter/nanoid v1.22.0/go.mod h1:Trv3+hIre+8tSVxbVVJlHhxwZMd6CkHvkuxizSI8FgI= github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM= github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -golang.org/x/crypto v0.30.0 h1:RwoQn3GkWiMkzlX562cLB7OxWvjH1L8xutO2WoJcRoY= -golang.org/x/crypto v0.30.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk= +golang.org/x/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U= +golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk= golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f h1:XdNn9LlyWAhLVp6P/i8QYBW+hlyhrhei9uErw2B5GJo= golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f/go.mod h1:D5SMRVC3C2/4+F/DB1wZsLRnSNimn2Sp/NPsCrsv8ak= golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA= diff --git a/vendor/modules.txt b/vendor/modules.txt index 44476f6..6fbe52e 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -10,7 +10,7 @@ github.com/inconshreveable/mousetrap # github.com/pmezard/go-difflib v1.0.0 ## explicit github.com/pmezard/go-difflib/difflib -# github.com/sixafter/nanoid v1.21.0 +# github.com/sixafter/nanoid v1.22.0 ## explicit; go 1.23 github.com/sixafter/nanoid github.com/sixafter/nanoid/x/crypto/prng @@ -26,7 +26,7 @@ github.com/spf13/pflag ## explicit; go 1.17 github.com/stretchr/testify/assert github.com/stretchr/testify/assert/yaml -# golang.org/x/crypto v0.30.0 +# golang.org/x/crypto v0.31.0 ## explicit; go 1.20 golang.org/x/crypto/chacha20 golang.org/x/crypto/internal/alias