b45e84c3a2
Swaps the version graph's current pointer from v0_1_0 to v0_2_0. v0.1.0 stays in `other` so operators on the alpha line can upgrade through the StartOS marketplace. Per CUTTING_V0.2.0.md the steps are: 1. swap versions/index.ts (this commit) 2. npm run check (passed) 3. make x86 (next) 4. publish.sh (next) What v0.2.0:0 represents — see the release notes in startos/versions/v0.2.0.ts. Headlines: web admin SPA replaces Actions for day-to-day work; multi-currency pricing functional end-to-end; buyer self-service recovery; opt-in community analytics; webhook delivery DLQ visible in dashboard; PaymentProvider trait abstraction makes Zaprite drop-in for v0.3; five-language SDK parity (daemon + Rust + TS + Python + Go).
19 lines
768 B
TypeScript
19 lines
768 B
TypeScript
// Version graph. The current version must be listed first; older versions
|
|
// we can migrate from go in `other: [...]`. Passed as an InitScript into
|
|
// `sdk.setupInit(...)` and `sdk.setupUninit(...)` so StartOS can run the
|
|
// correct migrations on install / update / downgrade / restore.
|
|
|
|
import { VersionGraph } from '@start9labs/start-sdk'
|
|
import { v0_1_0 } from './v0.1.0'
|
|
import { v0_2_0 } from './v0.2.0'
|
|
|
|
export const versions = VersionGraph.of({
|
|
current: v0_2_0,
|
|
// Operators on v0.1.0:N can upgrade to the v0.2.0 line via the
|
|
// StartOS marketplace. v0.1.0 stays in `other` for as long as we
|
|
// want that upgrade path supported; once v0.3 ships and we're
|
|
// confident no one is still on the alpha line, this can be
|
|
// pruned.
|
|
other: [v0_1_0],
|
|
})
|