Skip to content

chore(deps): bump github.com/spf13/viper from 1.20.0-alpha.6 to 1.21.0#89

Closed
dependabot[bot] wants to merge 356 commits intomainfrom
dependabot/go_modules/github.com/spf13/viper-1.21.0
Closed

chore(deps): bump github.com/spf13/viper from 1.20.0-alpha.6 to 1.21.0#89
dependabot[bot] wants to merge 356 commits intomainfrom
dependabot/go_modules/github.com/spf13/viper-1.21.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 7, 2026

Bumps github.com/spf13/viper from 1.20.0-alpha.6 to 1.21.0.

Release notes

Sourced from github.com/spf13/viper's releases.

v1.21.0

What's Changed

Enhancements 🚀

Bug Fixes 🐛

Dependency Updates ⬆️

Other Changes

New Contributors

Full Changelog: spf13/viper@v1.20.0...v1.21.0

v1.20.1

What's Changed

Bug Fixes 🐛

Full Changelog: spf13/viper@v1.20.0...v1.20.1

v1.20.0

... (truncated)

Commits
  • 394040c ci: build on go 1.25
  • 812f548 chore: update dependencies
  • d5271ef ci: update stale workflow
  • dff303b feat: add a stale issue scheduled action
  • 1287976 build(deps): bump github.com/spf13/pflag from 1.0.7 to 1.0.10
  • 38932cd build(deps): bump github.com/go-viper/mapstructure/v2 in /remote
  • 6d014be build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1
  • b74c7ee build(deps): bump github.com/fsnotify/fsnotify from 1.8.0 to 1.9.0
  • acd05e1 fix: linting issues
  • ae5a8e2 ci: upgrade golangci-lint
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

smingolelli and others added 22 commits March 4, 2026 09:35
- Group results by service, then by datacenter within each service
- Light dashed separators (╌╌╌) between datacenters
- Heavy solid separators (───) between services
- Helps visually distinguish lab1 vs rdu1 vs dfw1 etc. within each service
- extractDatacenter() function parses datacenter from hostname patterns
- Supports OpenShift, Elastic, and IDM hostname formats
- Maintains alphabetical sorting within each datacenter
- Only add separators within a service if it has > 5 total items
- Group datacenters into chunks of 4-5 items for readability
- Separators only added at datacenter boundaries (never mid-datacenter)
- Services with <= 5 items have no internal separators
- Reduces visual clutter while maintaining logical grouping
- Example: OpenShift (11 items) -> 3 chunks, IDM (20 items) -> 5 chunks
- Updated border color from RGB(30,150,255) to RGB(0,191,255)
- Brighter Deep Sky Blue makes borders more visible
- Maintains consistent Ocean theme styling
- Update svcs, svrs, dns, and vpn commands to use createStyledTableWithTypedSeparators
- Add service/datacenter grouping with visual separators in svcs command
- Convert separator indices to TableSeparator structs with typed separators
- Improve readability with consistent heavy/light separator usage
- Add sorting by service name in svcs for better organization
- Maintain backward compatibility with existing table output structure
- Add per-service 'insecure' field to allow skipping TLS verification per service
- Group service health check results by service type and datacenter
- Add extractDatacenterFromEndpoint() for datacenter detection from hostnames
- Add light separators between datacenter groups when service has > 5 endpoints
- Add heavy separators between different service types
- Update tests to work with new service health check implementation
- Improve table readability with better visual organization

Patterns supported:
  - Openshift: api.app1.<dc>.ocp.bandwidth.com
  - Elastic: es-master-XXX.<dc>.bwnet.us
  - IDM: idm-XXX.<dc>.bandwidthclec.local
  - IP addresses: grouped as 'ip'
…onfig

- Light separators (datacenter boundaries): gray dashed lines with blue connectors
- Heavy separators (service boundaries): all blue solid lines
- Added insecure: true to elastic, idm, and slmslm-lab-01 services in config
- Added datacenter-based grouping to svrs command with light/heavy separators
- Container now uses host networking (--network=host) for VPN tunnel access
- Increased timeouts: DNS 100ms->2000ms, ping 250ms->1000ms for VPN reliability
- Added extractDatacenterFromHostname() function for hostname parsing
## Semantic Versioning Implementation

- Add version command to CLI (doxctl version)
  - Shows version, commit, build date, and platform info
  - Version info injected via GoReleaser ldflags at build time

- Enable --version flag on root command
  - Works across all commands: doxctl --version

- Update GoReleaser configuration
  - Add ldflags to inject version variables into binary
  - Version, commit, date, and builtBy info embedded at build time
  - All binaries and Docker images tagged with same semantic version

- Auto-versioning workflow already in place
  - Auto-increments patch version on every PR merge to main
  - Creates git tag which triggers build-release workflow
  - GoReleaser builds and publishes with consistent version across:
    * CLI binaries (Linux, macOS, amd64, arm64)
    * Docker images (Docker Hub and GHCR)
    * Homebrew tap formula

## Directory Structure Consolidation

- Move Docker files to docker/ subdirectory
  - Dockerfile moved to docker/Dockerfile
  - Add docker/READM  - Add docker/READM  - Add docker/R Mo  - Add docker/READM  - Add docker/READM  - EADME.md, LICENSE, MACOS.md moved to docs/
  - Existing doc  - Existing doc  - Existing doc  - Existing doc  - Existing ro t   - Existing doc  - Existing doc  - Exs/  - Existing doc  - Existing doc  - Existing dat  G  - Existing doc  - Existing docte  - Existing doc  - Existing doc  - Existing doc  - Exda  - Existing doc  - Existing doc  - Existing doc  - Existing doc ha  - Existing doc  - Existing doc  - Existing doc  - Existing doc  -o  ersion (1.25.0)
  - Docker
  - Docker Hub (slmingol/doxctl)
  - GHCR (ghcr.io/slmingol/doxctl)
  - Homebre  - Homebre  - Homebre  - Homebre  - Homebre  - Homebre ur  - Homebre  - Homebre  - Homebre  - Homebre  - Homebre  - Homebres now use the same semantic version:
- CLI binary - CLI binary - CLI binary - CLI binary -ox- CLI binary - CLI binaryma- C t- CLI binary - CLI binary - CLI binlea- CLI binary - CLI binary - CLI binary - Ca - CLI binary - CLI binary - CLI binary -crements on every merge to main via auto-version.yml workflow.
Go 1.25 is not yet available in GitHub Actions setup-go@v6.
Updated all workflows to use Go 1.23 which is the latest stable version
available in GitHub Actions.

This fixes the failing lint and codecoverage workflow badges.

Workflows updated:
- build-release.yml: 1.25 -> 1.23
- lint.yml: 1.25 -> 1.23
- codecoverage.yml: 1.25.x -> 1.23.x
Updated security-scan.yml and codeql.yml to use Go 1.23 instead of 1.25.
This was missed in the previous commit that fixed lint and codecoverage.

All workflows now use Go 1.23 which is available in GitHub Actions.
Changed go.mod from 1.25.0 to 1.23.0 to match what's available in GitHub Actions.
Also updated README badge to reflect Go 1.23.0.

This fixes the build-release workflow failure where GoReleaser was failing
with: 'go.mod requires go >= 1.25.0 (running go 1.23.12)'
- Updated go.mod from 1.23.0 to 1.25.0
- Updated all GitHub Actions workflows to use Go 1.25
- Updated README badge to reflect Go 1.25.0
- Dependencies automatically updated to versions compatible with Go 1.25
- Remove unused tableData type and createStyledTable function
- Remove unused spinnerModel and related types/methods
- Add proper comment block for SeparatorType constants
- Remove unused imports from spinner.go
- Remove unused createStyledTableWithSeparators function
- Remove unused trackingHTTPClient from tests
- Remove unnecessary nil check before ranging over separators
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.20.0-alpha.6 to 1.21.0.
- [Release notes](https://github.com/spf13/viper/releases)
- [Commits](spf13/viper@v1.20.0-alpha.6...v1.21.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/viper
  dependency-version: 1.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Mar 7, 2026
@slmingol slmingol closed this Mar 18, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Mar 18, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/go_modules/github.com/spf13/viper-1.21.0 branch March 18, 2026 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants