mirror of
https://github.com/hanzoai/psrpc.git
synced 2026-09-30 23:47:22 +00:00
* deps: bump dependencies (go get -u) and migrate dockertest v3 -> v4 Sweeps go get -u ./... and bumps dockertest to v4, the only direct dep that needed an explicit major version bump. Migrates the 4 testutils helpers in internal/bus/bustest/ to v4 (Pool/Resource are now interfaces; NewPool/Run/Retry take ctx; RunWithOptions replaced by builder; Purge replaced by ClosableResource.Close). Other direct deps with newer majors available: none. +incompatible deps: twitchtv/twirp v8.1.3 (upstream choice, no module-aware path published). * client: use NewErrorFromResponse for the wire-derived error path Passes res.Code/res.Error/res.ErrorDetails straight through instead of round-tripping through NewErrorf, which also resolves the Go 1.25 vet complaint about a non-constant format string. Plus the previous form silently dropped error details. * bump version
21 lines
672 B
Go
21 lines
672 B
Go
// Copyright 2023 LiveKit, Inc.
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
package version
|
|
|
|
const (
|
|
Version = "v0.7.2"
|
|
PsrpcVersion_0_7 = true
|
|
)
|