Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 1, 2025

Bumps the go-mod group with 10 updates:

Package From To
github.com/authzed/authzed-go 1.3.1-0.20250320210445-0cde0d8c71e2 1.4.0
github.com/authzed/spicedb 1.42.2-0.20250418013333-54921333ba95 1.44.0
github.com/grpc-ecosystem/go-grpc-middleware/v2 2.3.1 2.3.2
github.com/olekukonko/tablewriter 0.0.5 1.0.7
github.com/samber/lo 1.49.1 1.50.0
golang.org/x/net 0.38.0 0.39.0
golang.org/x/sync 0.12.0 0.13.0
golang.org/x/term 0.30.0 0.31.0
google.golang.org/genproto/googleapis/rpc 0.0.0-20250313205543-e70fdf4c4cb4 0.0.0-20250414145226-207652e42e2e
google.golang.org/grpc 1.71.1 1.72.0

Updates github.com/authzed/authzed-go from 1.3.1-0.20250320210445-0cde0d8c71e2 to 1.4.0

Release notes

Sourced from github.com/authzed/authzed-go's releases.

v1.4.0

Highlights

  • New APIs available in v1.41.0 of SpiceDB are now supported

What's Changed

New Contributors

Full Changelog: authzed/authzed-go@v1.3.0...v1.4.0

Commits

Updates github.com/authzed/spicedb from 1.42.2-0.20250418013333-54921333ba95 to 1.44.0

Release notes

Sourced from github.com/authzed/spicedb's releases.

v1.44.0

Highlights

New Features

  • Add new flag that toggles a new performance insights prometheus metric: --enable-performance-insight-metrics (#2383)

Bug Fixes

  • Fix issue with underscore handling when deleting by object prefix (#2393)

What's Changed

New Contributors

Full Changelog: authzed/spicedb@v1.43.0...v1.44.0

Docker Images

This release is available at authzed/spicedb:v1.44.0, quay.io/authzed/spicedb:v1.44.0, ghcr.io/authzed/spicedb:v1.44.0

v1.43.0

What's Changed

... (truncated)

Commits

Updates github.com/grpc-ecosystem/go-grpc-middleware/v2 from 2.3.1 to 2.3.2

Release notes

Sourced from github.com/grpc-ecosystem/go-grpc-middleware/v2's releases.

v2.3.2

What's Changed

New Contributors

Full Changelog: grpc-ecosystem/go-grpc-middleware@v2.3.1...v2.3.2

Commits

Updates github.com/olekukonko/tablewriter from 0.0.5 to 1.0.7

Commits

Updates github.com/samber/lo from 1.49.1 to 1.50.0

Release notes

Sourced from github.com/samber/lo's releases.

v1.50.0

What's Changed

Here is the 50th minor version !! 🔥🥂

New methods

Improvements

Documentation

Dependencies

New Contributors

Full Changelog: samber/lo@v1.49.1...v1.50.0

Commits

Updates golang.org/x/net from 0.38.0 to 0.39.0

Commits

Updates golang.org/x/sync from 0.12.0 to 0.13.0

Commits

Updates golang.org/x/term from 0.30.0 to 0.31.0

Commits
  • 5d2308b go.mod: update golang.org/x dependencies
  • e770ddd x/term: disabling auto-completion around GetPassword()
  • See full diff in compare view

Updates google.golang.org/genproto/googleapis/rpc from 0.0.0-20250313205543-e70fdf4c4cb4 to 0.0.0-20250414145226-207652e42e2e

Commits

Updates google.golang.org/grpc from 1.71.1 to 1.72.0

Release notes

Sourced from google.golang.org/grpc's releases.

Release 1.72.0

Dependencies

  • Minimum supported Go version is now 1.23 (#8108)

API Changes

  • resolver: add experimental AddressMapV2 with generics to ultimately replace AddressMap. Deprecate AddressMap for deletion (#8187)
  • resolver: convert EndpointMap in place to use generics (#8189)

New Features

  • xds: add grpc.xds_client.server_failure counter metric on xDS client to record connectivity errors (#8203)
  • balancer/rls: allow maxAge to exceed 5 minutes if staleAge is set in the LB policy configuration (#8137)
  • ringhash: implement gRFC A76 improvements. (#8159)
  • pickfirst: The new pick first LB policy is made the default. The new LB policy implements the Happy Eyeballs algorithm. To disable the new policy set the environment variable GRPC_EXPERIMENTAL_ENABLE_NEW_PICK_FIRST to false (case insensitive).

Bug Fixes

  • xds: fix support for circuit breakers and load reporting in LOGICAL_DNS clusters (#8169, #8170)
  • xds/cds: improve RPC error messages when resources are not found (#8122)
  • balancer/priority: fix race that could leak balancers and goroutines during shutdown (#8095)
  • stats/opentelemetry: fix trace attributes message sequence numbers to start from 0 (#8237)
  • balancer/pickfirstleaf: fix panic if deprecated Address.Metadata field is set to a non-comparable value by ignoring the field (#8227)

Behavior Changes

  • transport: make servers send an HTTP/2 RST_STREAM frame to cancel a stream when the deadline expires (#8071)

Documentation

  • stats: clarify the expected sequence of events on a stats handler (#7885)

Release 1.71.3

Bug Fixes

  • client: restore support for NO_PROXY environment variable when connecting to locally-resolved addresses (case 2 from gRFC A1). (#8329)
  • balancer/least_request: fix panic on resolver errors. (#8333)

Release 1.71.2

Bug Fixes

  • client: HTTP Proxy connections are no longer attempted for addresses with non-TCP network types. (#8215)
Commits
  • a43eba6 Change version to 1.72.0 (#8218)
  • 48f48c1 balancer/pickfirstleaf: Avoid reading Address.Metadata (#8227) (#8259)
  • fd6f585 Cherry-pick #8159 and #8243 to v1.72.x (#8255)
  • 79ca174 stats/opentelemetry: fix trace attributes message sequence numbers to start f...
  • 57a2605 xdsclient: fix TestServerFailureMetrics_BeforeResponseRecv test to wait for w...
  • 5edab9e xdsclient: add grpc.xds_client.server_failure counter mertric (#8203)
  • 78ba661 regenerate protos (#8208)
  • 6819ed7 delegatingresolver: Stop calls into delegates once the parent resolver is clo...
  • a51009d resolver: convert EndpointMap to use generics (#8189)
  • b0d1203 resolver: create AddressMapV2 with generics to replace AddressMap (#8187)
  • Additional commits viewable in compare view

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot added the area/dependencies Affects dependencies label Jun 1, 2025
@tstirrat15
Copy link
Contributor

tablewriter changed its API. We'll have to fix that.

Copy link
Contributor

@tstirrat15 tstirrat15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments


vfile = *out.(*validationfile.ValidationFile)
vfile.Schema = blocks.ParsedSchema{
vfile.Schema = blocks.SchemaWithPosition{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This changed in SpiceDB in the intervening versions.

Comment on lines 13 to 30
table := tablewriter.NewTable(target,
tablewriter.WithRenderer(renderer.NewBlueprint()),
tablewriter.WithRowAutoWrap(tw.WrapNone),
tablewriter.WithHeaderAutoFormat(tw.On),
tablewriter.WithHeaderAlignment(tw.AlignLeft),
tablewriter.WithRowAlignment(tw.AlignLeft),
tablewriter.WithRendition(tw.Rendition{
Symbols: tw.NewSymbolCustom("custom").WithCenter("").WithColumn("").WithRow(""),
Settings: tw.Settings{
Lines: tw.LinesNone,
Separators: tw.Separators{
BetweenColumns: tw.On,
},
},
Borders: tw.BorderNone,
}),
tablewriter.WithTrimSpace(tw.Off),
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made these updates based on the migration guide and then validated them locally. This is only used for zed context list output and I verified that it looks the same as on current main.

@tstirrat15 tstirrat15 force-pushed the dependabot/go_modules/go-mod-602f58f283 branch 2 times, most recently from ebfb7f5 to fb7636d Compare June 4, 2025 13:05
miparnisari
miparnisari previously approved these changes Jun 4, 2025
table.SetNoWhiteSpace(true)
table.AppendBulk(rows)
table.Render()
table := tablewriter.NewTable(target,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could add unit tests 😄

package printers

import (
	"strings"
	"testing"

	"github.com/stretchr/testify/require"
)

func TestPrintTable(t *testing.T) {
	var buf strings.Builder
	headers := []string{"CURRENT NAME", "ENDPOINT", "TOKEN", "TLS CERT"}
	rows := [][]string{
		{"my-cluster-1", "local-cluster.dedicated.authzed.dev:443", "sdbpk_<redacted>", "system"},
		{"my-cluster-2", "localhost:50051", "<redacted>", "insecure"},
	}

	PrintTable(&buf, headers, rows)
	output := buf.String()

	expectedOutput := ` CURRENT NAME  ENDPOINT                                 TOKEN             TLS CERT 
 my-cluster-1  local-cluster.dedicated.authzed.dev:443  sdbpk_<redacted>  system   
 my-cluster-2  localhost:50051                          <redacted>        insecure 
`

	require.Equal(t, expectedOutput, output)
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. I will do that.

@tstirrat15 tstirrat15 force-pushed the dependabot/go_modules/go-mod-602f58f283 branch from fb7636d to 88faa74 Compare June 5, 2025 03:26
dependabot bot and others added 2 commits June 4, 2025 21:30
Bumps the go-mod group with 10 updates:

| Package | From | To |
| --- | --- | --- |
| [github.com/authzed/authzed-go](https://github.com/authzed/authzed-go) | `1.3.1-0.20250320210445-0cde0d8c71e2` | `1.4.0` |
| [github.com/authzed/spicedb](https://github.com/authzed/spicedb) | `1.42.2-0.20250418013333-54921333ba95` | `1.44.0` |
| [github.com/grpc-ecosystem/go-grpc-middleware/v2](https://github.com/grpc-ecosystem/go-grpc-middleware) | `2.3.1` | `2.3.2` |
| [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter) | `0.0.5` | `1.0.7` |
| [github.com/samber/lo](https://github.com/samber/lo) | `1.49.1` | `1.50.0` |
| [golang.org/x/net](https://github.com/golang/net) | `0.38.0` | `0.39.0` |
| [golang.org/x/sync](https://github.com/golang/sync) | `0.12.0` | `0.13.0` |
| [golang.org/x/term](https://github.com/golang/term) | `0.30.0` | `0.31.0` |
| [google.golang.org/genproto/googleapis/rpc](https://github.com/googleapis/go-genproto) | `0.0.0-20250313205543-e70fdf4c4cb4` | `0.0.0-20250414145226-207652e42e2e` |
| [google.golang.org/grpc](https://github.com/grpc/grpc-go) | `1.71.1` | `1.72.0` |


Updates `github.com/authzed/authzed-go` from 1.3.1-0.20250320210445-0cde0d8c71e2 to 1.4.0
- [Release notes](https://github.com/authzed/authzed-go/releases)
- [Commits](https://github.com/authzed/authzed-go/commits/v1.4.0)

Updates `github.com/authzed/spicedb` from 1.42.2-0.20250418013333-54921333ba95 to 1.44.0
- [Release notes](https://github.com/authzed/spicedb/releases)
- [Changelog](https://github.com/authzed/spicedb/blob/main/.goreleaser.yml)
- [Commits](https://github.com/authzed/spicedb/commits/v1.44.0)

Updates `github.com/grpc-ecosystem/go-grpc-middleware/v2` from 2.3.1 to 2.3.2
- [Release notes](https://github.com/grpc-ecosystem/go-grpc-middleware/releases)
- [Commits](grpc-ecosystem/go-grpc-middleware@v2.3.1...v2.3.2)

Updates `github.com/olekukonko/tablewriter` from 0.0.5 to 1.0.7
- [Commits](olekukonko/tablewriter@v0.0.5...v1.0.7)

Updates `github.com/samber/lo` from 1.49.1 to 1.50.0
- [Release notes](https://github.com/samber/lo/releases)
- [Commits](samber/lo@v1.49.1...v1.50.0)

Updates `golang.org/x/net` from 0.38.0 to 0.39.0
- [Commits](golang/net@v0.38.0...v0.39.0)

Updates `golang.org/x/sync` from 0.12.0 to 0.13.0
- [Commits](golang/sync@v0.12.0...v0.13.0)

Updates `golang.org/x/term` from 0.30.0 to 0.31.0
- [Commits](golang/term@v0.30.0...v0.31.0)

Updates `google.golang.org/genproto/googleapis/rpc` from 0.0.0-20250313205543-e70fdf4c4cb4 to 0.0.0-20250414145226-207652e42e2e
- [Commits](https://github.com/googleapis/go-genproto/commits)

Updates `google.golang.org/grpc` from 1.71.1 to 1.72.0
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.71.1...v1.72.0)

---
updated-dependencies:
- dependency-name: github.com/authzed/authzed-go
  dependency-version: 1.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-mod
- dependency-name: github.com/authzed/spicedb
  dependency-version: 1.44.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-mod
- dependency-name: github.com/grpc-ecosystem/go-grpc-middleware/v2
  dependency-version: 2.3.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-mod
- dependency-name: github.com/olekukonko/tablewriter
  dependency-version: 1.0.7
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: go-mod
- dependency-name: github.com/samber/lo
  dependency-version: 1.50.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-mod
- dependency-name: golang.org/x/net
  dependency-version: 0.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-mod
- dependency-name: golang.org/x/sync
  dependency-version: 0.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-mod
- dependency-name: golang.org/x/term
  dependency-version: 0.31.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-mod
- dependency-name: google.golang.org/genproto/googleapis/rpc
  dependency-version: 0.0.0-20250414145226-207652e42e2e
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-mod
- dependency-name: google.golang.org/grpc
  dependency-version: 1.72.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-mod
...

Signed-off-by: dependabot[bot] <support@github.com>
@tstirrat15 tstirrat15 force-pushed the dependabot/go_modules/go-mod-602f58f283 branch from 88faa74 to 30835c6 Compare June 5, 2025 03:30
@tstirrat15 tstirrat15 merged commit fc0c66f into main Jun 5, 2025
11 checks passed
@tstirrat15 tstirrat15 deleted the dependabot/go_modules/go-mod-602f58f283 branch June 5, 2025 15:16
@github-actions github-actions bot locked and limited conversation to collaborators Jun 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area/dependencies Affects dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants