@@ -3,13 +3,13 @@ title: "Upgrade Guide"
33description : " Migration guide from zq to SuperDB. Covers all breaking changes and syntax updates."
44layout : default
55nav_order : 3
6- superdb_version : " 0.2 .0"
7- last_updated : " 2026-01-31 "
6+ superdb_version : " 0.3 .0"
7+ last_updated : " 2026-03-27 "
88---
99
1010# Upgrading zq to super
1111
12- SuperDB Version 0.2 .0
12+ SuperDB Version 0.3 .0
1313
1414This guide covers all breaking changes between zq and the current SuperDB
1515release.
@@ -47,6 +47,9 @@ This table covers ALL breaking changes. Complex items reference detailed section
4747| String concat | ` "a" + "b" ` | ` f'{a}{b}' ` , ` a \|\| b ` , or ` concat ` |
4848| count type | returns ` uint64 ` | returns ` int64 ` |
4949| Dynamic from | ` from pool ` | ` from f'{pool}' ` (see section) |
50+ | BSUP format | BSUP v1 | BSUP v2 (v1 no longer readable) |
51+ | collect/union | preserves all errors | drops ` error("quiet") ` values |
52+ | concat/f-strings | errors propagate | ` null ` values ignored |
5053
5154## CLI Changes
5255
@@ -438,6 +441,41 @@ super -s -c "values 1,2,3 | aggregate cnt:=count() | typeof(cnt)"
438441< int64>
439442```
440443
444+ ## Changes in v0.3.0
445+
446+ ### BSUP v2 format (breaking)
447+
448+ As of v0.3.0, the BSUP binary format has been advanced to v2. ` super ` will no
449+ longer read BSUP v1 format as input. If you have valuable data stored in BSUP v1
450+ files, convert them using a v0.2.0 binary before upgrading:
451+
452+ ``` bash
453+ # Convert v1 BSUP to SUP (using old binary), then back to v2 BSUP (using new binary)
454+ super-0.2.0 -s data.bsup > data.sup
455+ super -f bsup data.sup > data-v2.bsup
456+ ```
457+
458+ ### collect and union drop quiet errors
459+
460+ In ` collect ` and ` union ` aggregate functions, ` error("quiet") ` values are now
461+ dropped. ` error("missing") ` values are still preserved.
462+
463+ ### null values ignored in concat and f-strings
464+
465+ The ` concat ` function and f-string interpolation now silently ignore ` null `
466+ values instead of propagating them.
467+
468+ ### New features in v0.3.0
469+
470+ - ** ` debug ` operator** — new operator for debugging pipelines
471+ - ** ` infer ` operator** — new operator for type inference
472+ - ** ` defuse ` function** — new function for error handling
473+ - ** ` unblend ` function** — new function for type separation
474+ - ** ` db vacate ` command** — new command to vacate database pools
475+ - ** Optional fields in record expressions** — record fields can now be marked optional
476+ - ** Fusion types** — new type system feature
477+ - ** Named types in ` upcast ` function**
478+
441479## Formatting Conventions
442480
443481When performing upgrades, follow these formatting conventions for consistency:
0 commit comments