Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update go deps (minor) #306

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 7, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/go-chi/chi/v5 v5.0.14 -> v5.1.0 age adoption passing confidence
github.com/openfga/go-sdk v0.2.3 -> v0.6.3 age adoption passing confidence
github.com/ory/hydra-client-go/v2 v2.1.1 -> v2.2.1 age adoption passing confidence
github.com/prometheus/client_golang v1.17.0 -> v1.20.5 age adoption passing confidence
github.com/stretchr/testify v1.8.4 -> v1.9.0 age adoption passing confidence
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.45.0 -> v0.56.0 age adoption passing confidence
go.opentelemetry.io/contrib/propagators/jaeger v1.20.0 -> v1.31.0 age adoption passing confidence
go.opentelemetry.io/otel v1.21.0 -> v1.31.0 age adoption passing confidence
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.19.0 -> v1.31.0 age adoption passing confidence
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.19.0 -> v1.31.0 age adoption passing confidence
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.19.0 -> v1.31.0 age adoption passing confidence
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.19.0 -> v1.31.0 age adoption passing confidence
go.opentelemetry.io/otel/sdk v1.21.0 -> v1.31.0 age adoption passing confidence
go.opentelemetry.io/otel/trace v1.21.0 -> v1.31.0 age adoption passing confidence
go.uber.org/mock v0.3.0 -> v0.5.0 age adoption passing confidence
go.uber.org/zap v1.26.0 -> v1.27.0 age adoption passing confidence

Release Notes

go-chi/chi (github.com/go-chi/chi/v5)

v5.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: go-chi/chi@v5.0.14...v5.1.0

openfga/go-sdk (github.com/openfga/go-sdk)

v0.6.3

Compare Source

0.6.3 (2024-10-22)
  • fix: fix metrics data race issues (#​139)

v0.6.2

Compare Source

0.6.2 (2024-10-21)

NOTE: TelemetryInstances in telemetry.go has been deprecated, as its usage is intended to be internal. It will be removed in a future release.

v0.6.1

Compare Source

0.6.1 (2024-09-23)
  • refactor(OpenTelemetry): move configuration API into public package namespace (#​122)
  • docs(OpenTelemetry): initial documentation and example (#​123)

v0.6.0

Compare Source

0.6.0 (2024-08-29)
  • feat: support OpenTelemetry metrics reporting (#​115)
  • feat!: support for sending the consistency parameter to the read, check, list users, list objects, and expand endpoints (#​117)
  • chore(docs): update stale README (#​113) - thanks @​Code2Life

BREAKING CHANGE:

When the generator converts enums in the open API definition, by default it removes the type prefix. For example, TYPE_NAME_UNSPECIFIED is converted to a const named UNSPECIFIED. This leads to potential collisions with other enums, and as the consistency type is a new enum, we finally got a collision (was just a matter of time).

The fix for this is to specify "enumClassPrefix": true in the generation config. This will then include the class name on the const name, which resoles collision issues. This means any enum value, such as INT now becomes TYPENAME_INT. The main impact of this is the TypeName consts and error codes. The fix is to add the class name prefix as discussed above.

v0.5.0

Compare Source

0.5.0 (2024-06-14)
  • fix: correctly set HTTPClient - thanks @​wonyx
  • chore!: remove excluded users from ListUsers response

BREAKING CHANGE:

This version removes the ExcludedUsers field from the ListUsersResponse and ClientListUsersResponse structs,
for more details see the associated API change.

v0.4.0

Compare Source

0.4.0 (2024-05-30)
  • feat!: remove store ID from API config, allow store ID override per-request (see README for additional documentation and examples)
  • fix: only retry on client credential requests that are 429 or 5x

BREAKING CHANGE:

This version removes the StoreId from the API client configuration. Instead, the StoreId parameter
must now be passed to each of the API methods that require a store ID.

If you are using api_open_fga.go directly, you will now need to pass the StoreId parameter.

v0.3.7

Compare Source

0.3.7 (2024-05-08)
  • feat: Add MaxParallelRequests option in ListRelations (#​93) - thanks @​gurleensethi
  • chore: lower required go version to 1.21 (fixes #​94)

v0.3.6

Compare Source

0.3.6 (2024-04-30)
  • feat: support the ListUsers endpoint (#​81)
  • fix: do not call ReadAuthorizationModel on BatchCheck or non-Transactional Write (#​78)
  • chore: fix typos in the readme (#​91) - thanks @​balaji-dongare
  • chore!: raise required go version to 1.21.9

v0.3.5

Compare Source

0.3.5 (2024-02-13)
  • fix: don't escape HTML characters in conditions when marshalling a model

v0.3.4

Compare Source

0.3.4 (2024-01-22)
  • feat: configurable client credentials token url - thanks @​le-yams
  • fix: WriteAuthorizationModel was not passing conditions to API

v0.3.3

Compare Source

0.3.3 (2023-12-21)
  • fix: WriteAuthorizationModel was not passing conditions to API
  • chore: add example project

v0.3.2

Compare Source

0.3.2 (2023-12-20)
  • fix: ListObjects was not passing context to API
  • chore: downgrade target go version to 1.20

v0.3.1

Compare Source

0.3.1 (2023-12-19)

v0.3.0

Compare Source

0.3.0 (2023-12-11)
  • feat!: initial support for conditions
  • feat: support specifying a port and path for the API (You can now set the ApiUrl to something like: https://api.fga.exampleL8080/some_path)
  • fix: resolve a bug in NewCredentials (#​60) - thanks @​harper
  • chore!: use latest API interfaces
  • chore: dependency updates

BREAKING CHANGES:
Note: This release comes with substantial breaking changes, especially to the interfaces due to the protobuf changes in the last release.

While the http interfaces did not break (you can still use v0.2.3 SDK with a v1.3.8+ server),
the grpc interface did and this caused a few changes in the interfaces of the SDK.

You will have to modify some parts of your code, but we hope this will be to the better as a lot of the parameters are now correctly marked as required,
and so the Pointer-to-String conversion is no longer needed.

Some of the changes to expect:

  • When initializing a client, please use ApiUrl. The separate ApiScheme and ApiHost fields have been deprecated
fgaClient, err := NewSdkClient(&ClientConfiguration{
    ApiUrl:  os.Getenv("FGA_API_URL"), // required, e.g. https://api.fga.example
    StoreId: os.Getenv("FGA_STORE_ID"), // not needed when calling `CreateStore` or `ListStores`
    AuthorizationModelId: os.Getenv("FGA_MODEL_ID"), // optional, recommended to be set for production
})
  • When initializing a client, AuthorizationModelId is no longer a pointer, and you can just pass the string directly
  • The OpenFgaClient now has methods to get and set the model ID GetAuthorizationModelId and SetAuthorizationModelId
  • The following request interfaces changed:
    • CheckRequest: the TupleKey field is now of interface CheckRequestTupleKey, you can also now pass in Context
    • ExpandRequest: the TupleKey field is now of interface ExpandRequestTupleKey
    • ReadRequest: the TupleKey field is now of interface ReadRequestTupleKey
    • WriteRequest: now takes WriteRequestWrites and WriteRequestDeletes
    • And more
  • The following interfaces had fields that were pointers are are now the direct value:
    • CreateStoreResponse
    • GetStoreResponse
    • ListStoresResponse
    • ListObjectsResponse
    • ReadChangesResponse
    • ReadResponse
    • AuthorizationModel and several interfaces under it
    • And more
ory/hydra-client-go (github.com/ory/hydra-client-go/v2)

v2.2.1

Compare Source

v2.2.0

Compare Source

prometheus/client_golang (github.com/prometheus/client_golang)

v1.20.5: / 2024-10-15

Compare Source

We decided to revert the testutil change that made our util functions less error-prone, but created a lot of work for our downstream users. Apologies for the pain! This revert should not cause any major breaking change, even if you already did the work--unless you depend on the exact error message.

Going forward, we plan to reinforce our release testing strategy [1],[2] and deliver an enhanced testutil package/module with more flexible and safer APIs.

Thanks to @​dashpole @​dgrisonnet @​kakkoyun @​ArthurSens @​vesari @​logicalhan @​krajorama @​bwplotka who helped in this patch release! 🤗

Changelog

[BUGFIX] testutil: Reverted #​1424; functions using compareMetricFamilies are (again) only failing if filtered metricNames are in the expected input. #​1645

v1.20.4

Compare Source

  • [BUGFIX] histograms: Fix a possible data race when appending exemplars vs metrics gather. #​1623

v1.20.3

Compare Source

  • [BUGFIX] histograms: Fix possible data race when appending exemplars. #​1608

v1.20.2

Compare Source

  • [BUGFIX] promhttp: Unset Content-Encoding header when data is uncompressed. #​1596

v1.20.1

Compare Source

  • [BUGFIX] process-collector: Fixed unregistered descriptor error when using process collector with PedanticRegistry on Linux machines. #​1587

v1.20.0

Compare Source

Thanks everyone for contributions!

⚠️ In this release we remove one (broken anyway, given Go runtime changes) metric and add three new (representing GOGC, GOMEMLIMIT and GOMAXPROCS flags) to the default collectors.NewGoCollector() collector. Given its popular usage, expect your binary to expose two additional metric.

Changes

  • [CHANGE] ⚠️ go-collector: Remove go_memstat_lookups_total metric which was always 0; Go runtime stopped sharing pointer lookup statistics. #​1577
  • [FEATURE] ⚠️ go-collector: Add 3 default metrics: go_gc_gogc_percent, go_gc_gomemlimit_bytes and go_sched_gomaxprocs_threads as those are recommended by the Go team. #​1559
  • [FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact runtime/metrics sourcing each metric (if relevant). #​1568 #​1578
  • [FEATURE] testutil: Add CollectAndFormat method. #​1503
  • [FEATURE] histograms: Add support for exemplars in native histograms. #​1471
  • [FEATURE] promhttp: Add experimental support for zstd on scrape, controlled by the request Accept-Encoding header. #​1496
  • [FEATURE] api/v1: Add WithLimit parameter to all API methods that supports it. #​1544
  • [FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. #​1537
  • [FEATURE] process-collectors: Add network usage metrics: process_network_receive_bytes_total and process_network_transmit_bytes_total. #​1555
  • [FEATURE] promlint: Add duplicated metric lint rule. #​1472
  • [BUGFIX] promlint: Relax metric type in name linter rule. #​1455
  • [BUGFIX] promhttp: Make sure server
    instrumentation wrapping supports new and future extra responseWriter methods. #​1480
  • [BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. #​1424
All commits

New Contributors

Full Changelog: prometheus/client_golang@v1.19.1...v1.20.0

v1.19.1

Compare Source

What's Changed

  • Security patches for golang.org/x/sys and google.golang.org/protobuf

New Contributors

Full Changelog: prometheus/client_golang@v1.19.0...v1.19.1

v1.19.0

Compare Source

What's Changed

The module prometheus/common v0.48.0 introduced an incompatibility when used together with client_golang (See https://github.com/prometheus/client_golang/pull/1448 for more details). If your project uses client_golang and you want to use prometheus/common v0.48.0 or higher, please update client_golang to v1.19.0.

  • [CHANGE] Minimum required go version is now 1.20 (we also test client_golang against new 1.22 version). #​1445 #​1449
  • [FEATURE] collectors: Add version collector. #​1422 #​1427

New Contributors

Full Changelog: prometheus/client_golang@v1.18.0...v1.19.0

v1.18.0

[Compare Source](https://redirect.github.com/prometheus/client_golang/compare/v1.17.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner October 7, 2024 10:39
Copy link
Contributor Author

renovate bot commented Oct 7, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 15 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.21.1 -> 1.23.2
github.com/cenkalti/backoff/v4 v4.2.1 -> v4.3.0
github.com/cespare/xxhash/v2 v2.2.0 -> v2.3.0
github.com/felixge/httpsnoop v1.0.3 -> v1.0.4
github.com/go-logr/logr v1.3.0 -> v1.4.2
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 -> v2.22.0
github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 -> v0.6.1
github.com/prometheus/common v0.44.0 -> v0.55.0
github.com/prometheus/procfs v0.11.1 -> v0.15.1
go.opentelemetry.io/otel/metric v1.21.0 -> v1.31.0
go.opentelemetry.io/proto/otlp v1.0.0 -> v1.3.1
golang.org/x/oauth2 v0.11.0 -> v0.22.0
google.golang.org/genproto/googleapis/api v0.0.0-20230711160842-782d3b101e98 -> v0.0.0-20241007155032-5fefd90f89a9
google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 -> v0.0.0-20241007155032-5fefd90f89a9
google.golang.org/grpc v1.58.3 -> v1.67.1
google.golang.org/protobuf v1.31.0 -> v1.35.1

canonical-iam
canonical-iam previously approved these changes Oct 11, 2024
canonical-iam
canonical-iam previously approved these changes Oct 11, 2024
canonical-iam
canonical-iam previously approved these changes Oct 11, 2024
canonical-iam
canonical-iam previously approved these changes Oct 18, 2024
@renovate renovate bot force-pushed the renovate/auto-go-deps branch 2 times, most recently from 84f9f99 to c85fd0d Compare October 21, 2024 11:21
canonical-iam
canonical-iam previously approved these changes Oct 21, 2024
canonical-iam
canonical-iam previously approved these changes Oct 21, 2024
canonical-iam
canonical-iam previously approved these changes Oct 22, 2024
canonical-iam
canonical-iam previously approved these changes Oct 25, 2024
canonical-iam
canonical-iam previously approved these changes Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant