s2-api 0.31.0

API types for S2, the durable streams API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# Changelog

All notable changes to this project will be documented in this file.

## [0.31.0] - 2026-07-31

### Features

- [**breaking**] Replace S2Error with surface-specific errors ([#653]https://github.com/s2-streamstore/s2/issues/653)

<!-- generated by git-cliff -->

## [0.30.10] - 2026-07-22

### Miscellaneous Tasks

- Sync specs submodule ([#647]https://github.com/s2-streamstore/s2/issues/647)

<!-- generated by git-cliff -->

## [0.30.9] - 2026-07-17

### Features

- Emit tail in read session SSE pings ([#643]https://github.com/s2-streamstore/s2/issues/643)

<!-- generated by git-cliff -->

## [0.30.8] - 2026-07-16

### Bug Fixes

- Make provision_stream exists-outcomes durably visible ([#641]https://github.com/s2-streamstore/s2/issues/641)

<!-- generated by git-cliff -->

## [0.30.7] - 2026-07-07

### Miscellaneous Tasks

- Sync specs submodule ([#626]https://github.com/s2-streamstore/s2/issues/626)

<!-- generated by git-cliff -->

## [0.30.6] - 2026-07-02

### Miscellaneous Tasks

- Update Cargo.toml dependencies

<!-- generated by git-cliff -->

## [0.30.5] - 2026-06-22

### Features

- Make access token expiry semantics explicit ([#574]https://github.com/s2-streamstore/s2/issues/574)

### Miscellaneous Tasks

- Remove unused BasinState, From<IssueAccessTokenRequest>, and From<OptionalStreamConfig> conversions ([#564]https://github.com/s2-streamstore/s2/issues/564)

<!-- generated by git-cliff -->

## [0.30.4] - 2026-06-15

### Bug Fixes

- Return not_implemented for lite stubs ([#546]https://github.com/s2-streamstore/s2/issues/546)
- Narrow futures deps in sdk and api ([#548]https://github.com/s2-streamstore/s2/issues/548)
- Reject zero retention in resource specs ([#544]https://github.com/s2-streamstore/s2/issues/544)

<!-- generated by git-cliff -->

## [0.30.3] - 2026-06-13

### Miscellaneous Tasks

- Sync specs submodule ([#539]https://github.com/s2-streamstore/s2/issues/539)

<!-- generated by git-cliff -->

## [0.30.2] - 2026-06-12

### Refactor

- Split storage internals from common ([#533]https://github.com/s2-streamstore/s2/issues/533)

<!-- generated by git-cliff -->

## [0.30.1] - 2026-06-10

### Features

- Allow list cursors before prefix ([#448]https://github.com/s2-streamstore/s2/issues/448)

<!-- generated by git-cliff -->

## [0.30.0] - 2026-05-20

### Refactor

- [**breaking**] Rename scope -> location, treat it as a string; add related RPCs ([#485]https://github.com/s2-streamstore/s2/issues/485)

<!-- generated by git-cliff -->

## [0.29.4] - 2026-05-19

### Features

- Expose `ensure_*` ops  ([#471]https://github.com/s2-streamstore/s2/issues/471)

<!-- generated by git-cliff -->

## [0.29.3] - 2026-05-19

### Miscellaneous Tasks

- Unused deps ([#467]https://github.com/s2-streamstore/s2/issues/467)
- Sync specs submodule ([#470]https://github.com/s2-streamstore/s2/issues/470)

<!-- generated by git-cliff -->

## [0.29.2] - 2026-05-15

### Bug Fixes

- Preserve explicit optional config values ([#459]https://github.com/s2-streamstore/s2/issues/459)

### Miscellaneous Tasks

- Sync specs submodule ([#451]https://github.com/s2-streamstore/s2/issues/451)

<!-- generated by git-cliff -->

## [0.29.1] - 2026-05-14

### Bug Fixes

- Clarify PUT ensure semantics ([#450]https://github.com/s2-streamstore/s2/issues/450)

<!-- generated by git-cliff -->

## [0.29.0] - 2026-05-10

### Features

- [**breaking**] Mark s2_sdk::BasinScope as #[non_exhaustive] [#433](https://github.com/s2-streamstore/s2/issues/433)

### Documentation

- Clarify `create-basin` scope ([#436]https://github.com/s2-streamstore/s2/issues/436)

### Miscellaneous Tasks

- Sync specs submodule ([#431]https://github.com/s2-streamstore/s2/issues/431)

<!-- generated by git-cliff -->

## [0.28.5] - 2026-05-04

### Features

- Add aws:us-west-2 and aws:eu-north-1 basin scopes ([#430]https://github.com/s2-streamstore/s2/issues/430)

### Miscellaneous Tasks

- Sync specs submodule ([#427]https://github.com/s2-streamstore/s2/issues/427)

<!-- generated by git-cliff -->

## [0.28.4] - 2026-04-27

### Refactor

- Use `strum` instead of `enum_ordinalize` ([#426]https://github.com/s2-streamstore/s2/issues/426)

<!-- generated by git-cliff -->

## [0.28.3] - 2026-04-27

### Features

- Switch JSON deserialization to sonic-rs ([#383]https://github.com/s2-streamstore/s2/issues/383)

<!-- generated by git-cliff -->

## [0.28.2] - 2026-04-24

### Miscellaneous Tasks

- Include v1 `s2.proto` file in the package  ([#423]https://github.com/s2-streamstore/s2/issues/423)

<!-- generated by git-cliff -->

## [0.28.1] - 2026-04-22

### Documentation

- Encryption key header ([#416]https://github.com/s2-streamstore/s2/issues/416)

<!-- generated by git-cliff -->

## [0.28.0] - 2026-04-20

### Refactor

- [**breaking**] Replace encryption modes with stream cipher metadata and key-only headers ([#403]https://github.com/s2-streamstore/s2/issues/403)

<!-- generated by git-cliff -->

## [0.27.17] - 2026-04-17

### Bug Fixes

- Dashed string repr for AEGIS-256 and AES-256-GCM modes ([#400]https://github.com/s2-streamstore/s2/issues/400)

<!-- generated by git-cliff -->

## [0.27.16] - 2026-04-16

### Features

- Add `DecryptionFailed` error code ([#396]https://github.com/s2-streamstore/s2/issues/396)

<!-- generated by git-cliff -->

## [0.27.15] - 2026-04-15

### Refactor

- Remove implicit optional config resolution ([#389]https://github.com/s2-streamstore/s2/issues/389)

<!-- generated by git-cliff -->

## [0.27.14] - 2026-04-14

### Features

- Request-time data encryption ([#349]https://github.com/s2-streamstore/s2/issues/349)
- Enforce allowed encryption modes via stream config ([#376]https://github.com/s2-streamstore/s2/issues/376)

### Refactor

- Clarify encryption spec, mode, and format semantics ([#375]https://github.com/s2-streamstore/s2/issues/375)
- Decouple JSON extraction rejection from axum ([#348]https://github.com/s2-streamstore/s2/issues/348)

### Miscellaneous Tasks

- Ignore basin state when deserializing BasinInfo ([#350]https://github.com/s2-streamstore/s2/issues/350)

<!-- generated by git-cliff -->

## [0.27.13] - 2026-03-20

### Features

- Align basin info with stream info ([#338]https://github.com/s2-streamstore/s2/issues/338)

<!-- generated by git-cliff -->

## [0.27.12] - 2026-03-19

### Refactor

- Remove basin creating state ([#333]https://github.com/s2-streamstore/s2/issues/333)

### Miscellaneous Tasks

- Sync specs submodule ([#334]https://github.com/s2-streamstore/s2/issues/334)

<!-- generated by git-cliff -->

## [0.27.11] - 2026-03-15

### Bug Fixes

- Terminate framed stream after encoding errors ([#328]https://github.com/s2-streamstore/s2/issues/328)

<!-- generated by git-cliff -->

## [0.27.10] - 2026-03-13

### Performance

- Avoid intermediate SSE batch allocations ([#320]https://github.com/s2-streamstore/s2/issues/320)

<!-- generated by git-cliff -->

## [0.27.9] - 2026-03-04

### Features

- Add authn/authz error codes and surface token source in cli ([#286]https://github.com/s2-streamstore/s2/issues/286)

### Bug Fixes

- Bound decompressed frame payload size ([#288]https://github.com/s2-streamstore/s2/issues/288)

<!-- generated by git-cliff -->

## [0.27.8] - 2026-03-03

### Miscellaneous Tasks

- Update Cargo.toml dependencies

<!-- generated by git-cliff -->

## [0.27.7] - 2026-02-24

### Features

- Support creating resources from spec ([#239]https://github.com/s2-streamstore/s2/issues/239)

### Documentation

- Display default values for `create_stream_on_*` config ([#241]https://github.com/s2-streamstore/s2/issues/241)

<!-- generated by git-cliff -->

## [0.27.6] - 2026-02-15

### Miscellaneous Tasks

- Add crate-level doc comment ([#213]https://github.com/s2-streamstore/s2/issues/213)

<!-- generated by git-cliff -->

## [0.27.5] - 2026-02-15

### Miscellaneous Tasks

- Updated the following local packages: s2-common

<!-- generated by git-cliff -->

## [0.27.4] - 2026-02-12

### Miscellaneous Tasks

- Update Cargo.toml dependencies

<!-- generated by git-cliff -->

## [0.27.3] - 2026-02-05

### Miscellaneous Tasks

- Rejig versioning and release workflow ([#163]https://github.com/s2-streamstore/s2/issues/163)

<!-- generated by git-cliff -->

## [0.27.2] - 2026-02-05

<!-- generated by git-cliff -->

## [0.27.1] - 2026-02-04

<!-- generated by git-cliff -->

## [0.27.0] - 2026-02-03

<!-- generated by git-cliff -->

## [0.26.9] - 2026-02-02

<!-- generated by git-cliff -->

## [0.26.8] - 2026-01-30

<!-- generated by git-cliff -->

## [0.26.7] - 2026-01-30

<!-- generated by git-cliff -->

## [0.26.6] - 2026-01-30

<!-- generated by git-cliff -->

## [0.26.5] - 2026-01-30

<!-- generated by git-cliff -->

## [0.26.4] - 2026-01-29

<!-- generated by git-cliff -->

## [0.26.3] - 2026-01-29

<!-- generated by git-cliff -->

## [0.26.2] - 2026-01-29

<!-- generated by git-cliff -->

## [0.26.1] - 2026-01-29

<!-- generated by git-cliff -->

## [0.26.0] - 2026-01-28

### Bug Fixes

- *(openapi)* Docs ([#96]https://github.com/s2-streamstore/s2/issues/96)

### Miscellaneous Tasks

- Sync specs submodule ([#97]https://github.com/s2-streamstore/s2/issues/97)

<!-- generated by git-cliff -->