Compatibility and Versions
Release status
The packages of Wow 10 are published with every Wow 10 release, from CI and with npm provenance. A pre-release goes to the dist-tag of its kind, alpha, beta or next for a release candidate (pnpm add @ahoo-wang/wow-client@alpha); latest names the newest stable release.
Wow servers
A package of Wow 10 talks to a Wow 10 service, and generates from a Wow 10 Manifest. The routes, the headers, the waits, the problems and the query language changed from 9.x, so a 9.x service needs the 9.x packages, and a front end moves to 10 with its services (Migrating from 9.x).
Within 10, use the packages of the version of the services a front end calls. A service that is newer adds what its Manifest adds: generate again to see it. A field the generated types do not name still arrives in the JSON, and the types ignore it.
Versions
The packages share one version with the Kotlin modules and are released from the same tag. Breaking changes ship only in an x.Y.0 release and are listed under "Breaking" in the release notes.
- Use one version for every Wow package of an application.
wow-reactand the view engine take@ahoo-wang/wow-clientas a peer with~x.y.z, andwow-generatoras an optional one (an OpenAPI-only project need not install it), so the package manager warns when they differ in minor version. - Generate with the generator of the same version as the
wow-clientthe generated code compiles against.
Version ranges
The version follows Wow, not semver: a minor release (x.Y.0) may change the TypeScript API, and only patch releases (x.y.Z) are guaranteed compatible, except for the experimental declarations. pnpm add and npm install save a caret range (^x.y.z) by default, which lets a later install pick up the next minor without anyone deciding to. Save a tilde range instead, which accepts the patches of one minor only. pnpm reads the setting from pnpm-workspace.yaml:
savePrefix: '~'npm reads it from the project's .npmrc:
save-prefix=~Or pin exact versions:
pnpm add --save-exact @ahoo-wang/wow-client
pnpm add -D --save-exact @ahoo-wang/wow-generatorMove to the next minor on purpose, every Wow package together, after reading the "Breaking" section of its release notes. The Fetcher peers follow semver, so a caret range suits them: add them with an explicit range (pnpm add @ahoo-wang/fetcher@^<version>) when the tilde setting is on.
Experimental declarations
The dataset queries, the aggregation queries and their expressions, with the query error codes only they raise, are experimental, as their Kotlin declarations are (@ExperimentalWowApi, API Levels). Their TypeScript declarations carry @experimental, which an editor shows on hover. The freeze of the 10.0 API and the compatibility of patch releases do not cover them: any 10.x release may change or remove them, and its release notes say so. The list is generated from the packages' sources, with the entry each is imported from:
| Declaration | Kind | Entry |
|---|---|---|
DatasetClient | class | @ahoo-wang/wow-client |
DatasetEntry | interface | @ahoo-wang/wow-client |
QueryModelClient.aggregate | method | @ahoo-wang/wow-client |
aggregation | const | @ahoo-wang/wow-client/dsl |
AGGREGATION_LIMITS | const | @ahoo-wang/wow-client/dsl |
AggregationDatePart | const | @ahoo-wang/wow-client/dsl |
AggregationDateUnit | const | @ahoo-wang/wow-client/dsl |
AggregationElement | interface | @ahoo-wang/wow-client/dsl |
AggregationExpression | type | @ahoo-wang/wow-client/dsl |
AggregationExpressionOperator | const | @ahoo-wang/wow-client/dsl |
AggregationExpressionType | const | @ahoo-wang/wow-client/dsl |
AggregationFunction | const | @ahoo-wang/wow-client/dsl |
AggregationGroup | type | @ahoo-wang/wow-client/dsl |
AggregationGroupInput | type | @ahoo-wang/wow-client/dsl |
AggregationGroupScope | const | @ahoo-wang/wow-client/dsl |
AggregationGroupScopeOptions | interface | @ahoo-wang/wow-client/dsl |
AggregationGroupType | const | @ahoo-wang/wow-client/dsl |
AggregationMetric | type | @ahoo-wang/wow-client/dsl |
AggregationMetricOptions | interface | @ahoo-wang/wow-client/dsl |
AggregationMetricType | const | @ahoo-wang/wow-client/dsl |
AggregationQuery | interface | @ahoo-wang/wow-client/dsl |
AnyAggregationMetric | interface | @ahoo-wang/wow-client/dsl |
BinaryAggregationExpression | interface | @ahoo-wang/wow-client/dsl |
ComparisonOperator | const | @ahoo-wang/wow-client/dsl |
ConstantAggregationExpression | interface | @ahoo-wang/wow-client/dsl |
CountAggregationMetric | interface | @ahoo-wang/wow-client/dsl |
DateDiffAggregationExpression | interface | @ahoo-wang/wow-client/dsl |
DateDiffUnit | const | @ahoo-wang/wow-client/dsl |
DateHistogramAggregationGroup | interface | @ahoo-wang/wow-client/dsl |
DateHistogramAggregationOptions | interface | @ahoo-wang/wow-client/dsl |
DatePartAggregationGroup | interface | @ahoo-wang/wow-client/dsl |
DatePartAggregationOptions | interface | @ahoo-wang/wow-client/dsl |
DerivedAggregationMetric | interface | @ahoo-wang/wow-client/dsl |
DerivedExpression | type | @ahoo-wang/wow-client/dsl |
DerivedExpressionDsl | interface | @ahoo-wang/wow-client/dsl |
DerivedExpressionType | const | @ahoo-wang/wow-client/dsl |
DerivedWindow | type | @ahoo-wang/wow-client/dsl |
DistinctCountAggregationMetric | interface | @ahoo-wang/wow-client/dsl |
EdgeAggregationMetric | interface | @ahoo-wang/wow-client/dsl |
EdgeAggregationOptions | interface | @ahoo-wang/wow-client/dsl |
ExpressionFilter | type | @ahoo-wang/wow-client/dsl |
FieldAggregationExpression | interface | @ahoo-wang/wow-client/dsl |
filter.expression | method | @ahoo-wang/wow-client/dsl |
FilterOperator.EXPRESSION | property | @ahoo-wang/wow-client/dsl |
HavingDsl | interface | @ahoo-wang/wow-client/dsl |
HavingExpression | type | @ahoo-wang/wow-client/dsl |
HavingExpressionType | const | @ahoo-wang/wow-client/dsl |
HistogramAggregationGroup | type | @ahoo-wang/wow-client/dsl |
HistogramAggregationOptions | interface | @ahoo-wang/wow-client/dsl |
NumericAggregationMetric | interface | @ahoo-wang/wow-client/dsl |
PercentileAggregationMetric | interface | @ahoo-wang/wow-client/dsl |
PercentileAggregationOptions | interface | @ahoo-wang/wow-client/dsl |
QueryErrorCodes.ANY_REQUIRES_SINGLE_VALUE | property | @ahoo-wang/wow-client/dsl |
QueryErrorCodes.FIRST_LAST_REQUIRES_ORDER_BY | property | @ahoo-wang/wow-client/dsl |
QueryErrorCodes.FIRST_LAST_REQUIRES_SINGLE_VALUE | property | @ahoo-wang/wow-client/dsl |
QueryErrorCodes.METRIC_FILTER_ARRAY_FIELD | property | @ahoo-wang/wow-client/dsl |
QueryErrorCodes.METRIC_FILTER_ELEMENT_MATCH | property | @ahoo-wang/wow-client/dsl |
QueryErrorCodes.METRIC_FILTER_SEARCH | property | @ahoo-wang/wow-client/dsl |
QueryErrorCodes.MISSING_KEY_REQUIRES_STRING | property | @ahoo-wang/wow-client/dsl |
QueryErrorCodes.PREVIOUS_UNSHIFTABLE | property | @ahoo-wang/wow-client/dsl |
QueryErrorCodes.PROTECTED_AGGREGATION | property | @ahoo-wang/wow-client/dsl |
QueryErrorCodes.RESIDUAL_GROUPS_EXCEEDED | property | @ahoo-wang/wow-client/dsl |
QueryErrorCodes.TEMPORAL_AGGREGATION_UNSUPPORTED | property | @ahoo-wang/wow-client/dsl |
QueryErrorCodes.TOO_MANY_GROUPS | property | @ahoo-wang/wow-client/dsl |
RunningFunction | const | @ahoo-wang/wow-client/dsl |
TermsAggregationGroup | type | @ahoo-wang/wow-client/dsl |
TermsAggregationOptions | interface | @ahoo-wang/wow-client/dsl |
WindowFunction | const | @ahoo-wang/wow-client/dsl |
useAggregateQuery | function | @ahoo-wang/wow-react |
UseAggregateQueryOptions | interface | @ahoo-wang/wow-react |
UseAggregateQueryReturn | interface | @ahoo-wang/wow-react |
datasetCatalogOf | function | @ahoo-wang/wow-view-store |
Support window
The packages follow the support policy of the rest of Wow, stated in the security policy: fixes land on the latest stable line, and fixes for older lines are decided case by case.
The theme-check command
The view engine's command, wow-view-engine theme-check, is part of the 10.0 surface with the options and the exit status Checking a theme describes. The shape of what --json prints is not promised in 10.0: a 10.x release may add, rename or regroup its members. A CI step decides by the exit status; one that reads the JSON pins the package's version.
Runtimes and peers
| Requirement | Version | Notes |
|---|---|---|
| Node.js | >=22.12.0 | Declared in engines of every package; the generator's CLI needs it too |
| Browsers | Current evergreen browsers | The packages use fetch, ReadableStream, TextDecoderStream and AbortSignal.any (Chrome 116, Firefox 124, Safari 17.4) |
React and React DOM (wow-react, the view engine's UI) | ^19.0.0 | React 18 is not supported: the build imports react/compiler-runtime |
React Router (wow-view-engine/react-router only) | ^7.0.0 || ^8.0.0 | An optional peer: only that entry imports it |
mingo (wow-view-engine/testing only) | ^7.2.4 | An optional peer: only that entry imports it, for memorySource's query semantics; a host's tests install it |
| TypeScript | >=6.0 | CI type-checks the packed packages as a consumer on TypeScript 6.0 and the latest 7.x; moduleResolution Bundler, NodeNext or Node16 |
@ahoo-wang/fetcher, fetcher-eventstream, fetcher-decorator | ^5.1.5 || ^6.0.0 || ^8.0.0-rc.1 | Peers the application installs. Fetcher 7 does not exist; 8 is accepted from its first release candidate. CI builds and tests on fetcher 8, and a floor job reruns the tests and the package check on 5.1.5 (below); the package check's consumer installs the newest fetcher in range that is fetcher's latest. fetcher-decorator is needed only by clients generated from an OpenAPI document |
@ahoo-wang/wow-client (for the other Wow packages) | ~x.y.z | The same minor version |
pnpm 8 and later and npm 7 and later install missing peers by themselves; Yarn does not, so a Yarn project adds each peer itself.
Fetcher versions CI covers
- Fetcher 8, the newest in range: the workspace develops and tests on it (the default catalog,
^8.0.0), so every CI job runs on it. - 5.1.5, the floor of the range: the
fetcher-floorjob pins every fetcher package to it, reruns the tests of the packages with a fetcher peer, and checks the packed packages as a consumer on it. - 6.x, between them: the workspace developed on 6.1.1 until fetcher 8.0.0 was released on 2026-11-26, so every CI run until then built and tested on it, the run of #7146, which admitted 8, among them. No job pins it since.
To repeat the floor job's run on 6.1.1 (fetcher's latest-6 tag), run this in a clone of the repository; git checkout pnpm-workspace.yaml pnpm-lock.yaml && pnpm install puts the workspace back:
node .github/scripts/fetcher-floor.mjs pin 6.1.1 && pnpm install --no-frozen-lockfile && node .github/scripts/fetcher-floor.mjs verify 6.1.1 && pnpm build:typescript && pnpm --filter @ahoo-wang/wow-client --filter @ahoo-wang/wow-react --filter @ahoo-wang/wow-generator --filter @ahoo-wang/wow-view-store test && node .github/scripts/package-check.mjs --fetcher 6.1.1Exact numbers and projected results
A Manifest field of a Kotlin Long, UInt, BigInteger, ULong, BigDecimal or Number (schema format int64, bigint or decimal) is a string in the generated types, with its digits exactly as the service wrote them; the wire still carries JSON numbers (Generate a Client). 9.x generated number.
A query written with literal projection.include paths answers records narrowed to those paths; one built with listQuery or pagedQuery, or with only an exclusion, answers whole records. A calendar filter without a timeZone reads its days in UTC (Read and Query).