Skip to content

Commit 058b30f

Browse files
authored
Merge branch 'main' into fix/v5-go-module-path
2 parents 42386dd + cf1d68d commit 058b30f

9 files changed

Lines changed: 67 additions & 54 deletions

File tree

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [5.1.0](https://github.com/GetStream/getstream-go/compare/v5.0.0...v5.1.0) (2026-07-24)
6+
7+
8+
### Features
9+
10+
* add opt-in retry for rate-limited and transport-failed requests ([#129](https://github.com/GetStream/getstream-go/issues/129)) ([a851a68](https://github.com/GetStream/getstream-go/commit/a851a68d2bf9418030ea8f11f737324696b6c24f))
11+
* emit structured log events and redact secrets from debug logs ([#128](https://github.com/GetStream/getstream-go/issues/128)) ([85bffd0](https://github.com/GetStream/getstream-go/commit/85bffd04db4ac8984cb541da0cc9b56b9dac30f7))
12+
13+
14+
### Bug Fixes
15+
16+
* align go module path with the v5 major version ([#130](https://github.com/GetStream/getstream-go/issues/130)) ([e4b36ff](https://github.com/GetStream/getstream-go/commit/e4b36ffa6a05e81f83277c90f59d3cb8f20383e2))
17+
518
## [5.0.0](https://github.com/GetStream/getstream-go/compare/v4.2.2...v5.0.0) (2026-07-15)
619

720

@@ -103,7 +116,7 @@ All notable changes to this project will be documented in this file. See [standa
103116
- `Event` (WebSocket envelope type) renamed to `WSEvent`. Base event type renamed from `BaseEvent` to `Event` (with field `type` instead of `T`).
104117
- Event composition changed from monolithic `*Preset` embeds to modular `Has*` types (`HasChannel`, `HasMessage`, `HasUserCommonFields`, etc.).
105118
- `Pager` renamed to `PagerResponse` and migrated from offset-based to cursor-based pagination (`next`/`prev` tokens).
106-
- Module path changed from `github.com/GetStream/getstream-go/v4` to `github.com/GetStream/getstream-go/v4`.
119+
- Module path changed from `github.com/GetStream/getstream-go/v5` to `github.com/GetStream/getstream-go/v5`.
107120

108121
### Added
109122

docs/migration-from-stream-chat-go/01-setup-and-auth.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Setup and Authentication
22

3-
This guide shows how to migrate setup and authentication code from `github.com/GetStream/stream-chat-go/v8` to `github.com/GetStream/getstream-go/v4`.
3+
This guide shows how to migrate setup and authentication code from `github.com/GetStream/stream-chat-go/v8` to `github.com/GetStream/getstream-go/v5`.
44

55
## Installation
66

@@ -13,11 +13,11 @@ go get github.com/GetStream/stream-chat-go/v8
1313
**After (getstream-go):**
1414

1515
```bash
16-
go get github.com/GetStream/getstream-go/v4
16+
go get github.com/GetStream/getstream-go/v5
1717
```
1818

1919
**Key changes:**
20-
- Module path changed from `stream-chat-go/v8` to `getstream-go/v4`
20+
- Module path changed from `stream-chat-go/v8` to `getstream-go/v5`
2121

2222
## Client Initialization
2323

@@ -52,7 +52,7 @@ package main
5252
import (
5353
"time"
5454

55-
"github.com/GetStream/getstream-go/v4"
55+
"github.com/GetStream/getstream-go/v5"
5656
)
5757

5858
func main() {
@@ -94,7 +94,7 @@ func main() {
9494
package main
9595

9696
import (
97-
"github.com/GetStream/getstream-go/v4"
97+
"github.com/GetStream/getstream-go/v5"
9898
)
9999

100100
func main() {
@@ -136,7 +136,7 @@ package main
136136
import (
137137
"time"
138138

139-
"github.com/GetStream/getstream-go/v4"
139+
"github.com/GetStream/getstream-go/v5"
140140
)
141141

142142
func main() {

docs/migration-from-stream-chat-go/02-users.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Users
22

3-
This guide shows how to migrate user operations from `github.com/GetStream/stream-chat-go/v8` to `github.com/GetStream/getstream-go/v4`.
3+
This guide shows how to migrate user operations from `github.com/GetStream/stream-chat-go/v8` to `github.com/GetStream/getstream-go/v5`.
44

55
## Upsert a Single User
66

@@ -40,7 +40,7 @@ package main
4040
import (
4141
"context"
4242

43-
"github.com/GetStream/getstream-go/v4"
43+
"github.com/GetStream/getstream-go/v5"
4444
)
4545

4646
func main() {
@@ -103,7 +103,7 @@ package main
103103
import (
104104
"context"
105105

106-
"github.com/GetStream/getstream-go/v4"
106+
"github.com/GetStream/getstream-go/v5"
107107
)
108108

109109
func main() {
@@ -162,7 +162,7 @@ package main
162162
import (
163163
"context"
164164

165-
"github.com/GetStream/getstream-go/v4"
165+
"github.com/GetStream/getstream-go/v5"
166166
)
167167

168168
func main() {
@@ -225,7 +225,7 @@ package main
225225
import (
226226
"context"
227227

228-
"github.com/GetStream/getstream-go/v4"
228+
"github.com/GetStream/getstream-go/v5"
229229
)
230230

231231
func main() {
@@ -283,7 +283,7 @@ package main
283283
import (
284284
"context"
285285

286-
"github.com/GetStream/getstream-go/v4"
286+
"github.com/GetStream/getstream-go/v5"
287287
)
288288

289289
func main() {
@@ -331,7 +331,7 @@ package main
331331
import (
332332
"context"
333333

334-
"github.com/GetStream/getstream-go/v4"
334+
"github.com/GetStream/getstream-go/v5"
335335
)
336336

337337
func main() {

docs/migration-from-stream-chat-go/03-channels.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Channels
22

3-
This guide shows how to migrate channel operations from `github.com/GetStream/stream-chat-go/v8` to `github.com/GetStream/getstream-go/v4`.
3+
This guide shows how to migrate channel operations from `github.com/GetStream/stream-chat-go/v8` to `github.com/GetStream/getstream-go/v5`.
44

55
## Create a Channel
66

@@ -35,7 +35,7 @@ package main
3535
import (
3636
"context"
3737

38-
"github.com/GetStream/getstream-go/v4"
38+
"github.com/GetStream/getstream-go/v5"
3939
)
4040

4141
func main() {
@@ -94,7 +94,7 @@ package main
9494
import (
9595
"context"
9696

97-
"github.com/GetStream/getstream-go/v4"
97+
"github.com/GetStream/getstream-go/v5"
9898
)
9999

100100
func main() {
@@ -154,7 +154,7 @@ package main
154154
import (
155155
"context"
156156

157-
"github.com/GetStream/getstream-go/v4"
157+
"github.com/GetStream/getstream-go/v5"
158158
)
159159

160160
func main() {
@@ -209,7 +209,7 @@ package main
209209
import (
210210
"context"
211211

212-
"github.com/GetStream/getstream-go/v4"
212+
"github.com/GetStream/getstream-go/v5"
213213
)
214214

215215
func main() {
@@ -269,7 +269,7 @@ package main
269269
import (
270270
"context"
271271

272-
"github.com/GetStream/getstream-go/v4"
272+
"github.com/GetStream/getstream-go/v5"
273273
)
274274

275275
func main() {
@@ -328,7 +328,7 @@ package main
328328
import (
329329
"context"
330330

331-
"github.com/GetStream/getstream-go/v4"
331+
"github.com/GetStream/getstream-go/v5"
332332
)
333333

334334
func main() {
@@ -378,7 +378,7 @@ package main
378378
import (
379379
"context"
380380

381-
"github.com/GetStream/getstream-go/v4"
381+
"github.com/GetStream/getstream-go/v5"
382382
)
383383

384384
func main() {
@@ -430,7 +430,7 @@ package main
430430
import (
431431
"context"
432432

433-
"github.com/GetStream/getstream-go/v4"
433+
"github.com/GetStream/getstream-go/v5"
434434
)
435435

436436
func main() {
@@ -483,7 +483,7 @@ package main
483483
import (
484484
"context"
485485

486-
"github.com/GetStream/getstream-go/v4"
486+
"github.com/GetStream/getstream-go/v5"
487487
)
488488

489489
func main() {

docs/migration-from-stream-chat-go/04-messages-and-reactions.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Messages and Reactions
22

3-
This guide shows how to migrate message and reaction operations from `github.com/GetStream/stream-chat-go/v8` to `github.com/GetStream/getstream-go/v4`.
3+
This guide shows how to migrate message and reaction operations from `github.com/GetStream/stream-chat-go/v8` to `github.com/GetStream/getstream-go/v5`.
44

55
## Send a Message
66

@@ -35,7 +35,7 @@ package main
3535
import (
3636
"context"
3737

38-
"github.com/GetStream/getstream-go/v4"
38+
"github.com/GetStream/getstream-go/v5"
3939
)
4040

4141
func main() {
@@ -92,7 +92,7 @@ package main
9292
import (
9393
"context"
9494

95-
"github.com/GetStream/getstream-go/v4"
95+
"github.com/GetStream/getstream-go/v5"
9696
)
9797

9898
func main() {
@@ -143,7 +143,7 @@ package main
143143
import (
144144
"context"
145145

146-
"github.com/GetStream/getstream-go/v4"
146+
"github.com/GetStream/getstream-go/v5"
147147
)
148148

149149
func main() {
@@ -190,7 +190,7 @@ package main
190190
import (
191191
"context"
192192

193-
"github.com/GetStream/getstream-go/v4"
193+
"github.com/GetStream/getstream-go/v5"
194194
)
195195

196196
func main() {
@@ -248,7 +248,7 @@ package main
248248
import (
249249
"context"
250250

251-
"github.com/GetStream/getstream-go/v4"
251+
"github.com/GetStream/getstream-go/v5"
252252
)
253253

254254
func main() {
@@ -258,10 +258,10 @@ func main() {
258258
resp, err := client.Chat().UpdateMessagePartial(ctx, "message-id",
259259
&getstream.UpdateMessagePartialRequest{
260260
Set: map[string]any{
261-
"priority": "high",
262-
"status": "reviewed",
261+
"text": "New text",
262+
"pinned": true,
263263
},
264-
Unset: []string{"old_field"},
264+
Unset: []string{"attachments"},
265265
UserID: getstream.PtrTo("user-123"),
266266
})
267267
}
@@ -305,7 +305,7 @@ package main
305305
import (
306306
"context"
307307

308-
"github.com/GetStream/getstream-go/v4"
308+
"github.com/GetStream/getstream-go/v5"
309309
)
310310

311311
func main() {
@@ -358,7 +358,7 @@ package main
358358
import (
359359
"context"
360360

361-
"github.com/GetStream/getstream-go/v4"
361+
"github.com/GetStream/getstream-go/v5"
362362
)
363363

364364
func main() {
@@ -413,7 +413,7 @@ package main
413413
import (
414414
"context"
415415

416-
"github.com/GetStream/getstream-go/v4"
416+
"github.com/GetStream/getstream-go/v5"
417417
)
418418

419419
func main() {
@@ -461,7 +461,7 @@ package main
461461
import (
462462
"context"
463463

464-
"github.com/GetStream/getstream-go/v4"
464+
"github.com/GetStream/getstream-go/v5"
465465
)
466466

467467
func main() {

0 commit comments

Comments
 (0)