On this page
Features
first release candidate of Webda 4.0, npm version badge in package READMEs (#1083 ) (0cf8a55 )
Dependencies
The following workspace dependencies were updated
dependencies
@webda/serialize bumped to 4.0.0-rc.1
devDependencies
@webda/compiler bumped to 4.0.0-rc.1
@webda/test bumped to 4.0.0-rc.1
@webda/utils bumped to 4.0.0-rc.1
peerDependencies
@webda/ql bumped to 4.0.0-rc.1
@webda/utils bumped to 4.0.0-rc.1
Dependencies
The following workspace dependencies were updated
devDependencies
@webda/compiler bumped to 4.0.0-beta.14
@webda/utils bumped to 4.0.0-beta.13
peerDependencies
@webda/ql bumped to 4.0.0-beta.11
@webda/utils bumped to 4.0.0-beta.13
Features
compiler,models: record delete policies on relations (#982 ) (7cd83af )
core: refuse to start when a @webda package is loaded twice (#965 ) (b67f2d4 )
models: add permission-aware polymorphic links (#997 ) (004562e )
read and migrate Webda 3 types in the MongoDB and DynamoDB stores (#889 ) (#964 ) (a644d5c )
Bug Fixes
remediate CodeQL security and quality alerts (#995 ) (3ce3fb3 )
security: address medium and low security review findings (AGY-018 to AGY-036) (#1050 ) (8de0715 )
Dependencies
The following workspace dependencies were updated
dependencies
@webda/serialize bumped to 4.0.0-beta.9
devDependencies
@webda/compiler bumped to 4.0.0-beta.13
@webda/test bumped to 4.0.0-beta.9
@webda/utils bumped to 4.0.0-beta.12
peerDependencies
@webda/ql bumped to 4.0.0-beta.10
@webda/utils bumped to 4.0.0-beta.12
⚠ BREAKING CHANGES
core: instance canAct overrides must match canAct(context: CanActContext, action: string).
utils: @webda/tsc-esm is no longer published. Import its types and helpers from @webda/utils, and createClassDecorator, createPropertyDecorator and createMethodDecorator from @webda/decorators.
Features
opt-in total count for paginated queries (Repository.count, REST/GraphQL total) (#967 ) (b43e6d1 )
Bug Fixes
content-mapper: list Events of an optional [WEBDA_EVENTS]? member under strict (#978 ) (c303962 )
core: body cannot override path params (#947 ); feat(models)!: typed instance canAct (#948 ) (30d534b )
models: index MemoryStore storage by stored type (#977 ) (d4f2ddb ), closes #922
Code Refactoring
utils: merge @webda/tsc-esm into @webda/utils and remove it (#942 ) (efcf87c )
Dependencies
The following workspace dependencies were updated
dependencies
@webda/serialize bumped to 4.0.0-beta.8
devDependencies
@webda/compiler bumped to 4.0.0-beta.12
@webda/test bumped to 4.0.0-beta.8
@webda/utils bumped to 4.0.0-beta.11
peerDependencies
@webda/ql bumped to 4.0.0-beta.9
@webda/utils bumped to 4.0.0-beta.11
Dependencies
The following workspace dependencies were updated
devDependencies
@webda/compiler bumped to 4.0.0-beta.11
Features
core: add slow query logger for WebdaQL (#244 ) (#903 ) (827781d )
delegated OAuth 2.1 tokens with operation-level consent (#928 ) (44709d6 )
Dependencies
The following workspace dependencies were updated
devDependencies
@webda/compiler bumped to 4.0.0-beta.10
peerDependencies
@webda/utils bumped to 4.0.0-beta.10
⚠ BREAKING CHANGES
the unused store parameters modelAliases, defaultModel and forceModel are removed; use @WebdaAlias for renamed models. The runtime MigrationStore is removed: use webda migrate.
Features
ql: add NOW() time function with duration offset (#856 ) (#886 ) (653ecd0 )
ql: implement WebdaQL code completion and blog-system search (#685 ) (#894 ) (b89a8ea )
transparent Webda 3 → 4 data upgrade — legacy types, store migrations (core) (#889 ) (#890 ) (01d4efb )
Dependencies
The following workspace dependencies were updated
devDependencies
@webda/compiler bumped to 4.0.0-beta.9
peerDependencies
@webda/ql bumped to 4.0.0-beta.8
@webda/utils bumped to 4.0.0-beta.9
Features
models: accept JSON filters in query and iterate (#883 ) (073ff90 )
Dependencies
The following workspace dependencies were updated
dependencies
@webda/serialize bumped to 4.0.0-beta.7
devDependencies
@webda/compiler bumped to 4.0.0-beta.8
@webda/test bumped to 4.0.0-beta.7
@webda/tsc-esm bumped to 4.0.0-beta.8
peerDependencies
@webda/ql bumped to 4.0.0-beta.7
@webda/utils bumped to 4.0.0-beta.8
Bug Fixes
postgres: bind collection items, quote S3 Content-Disposition (#670 ) (#861 ) (a5a5068 )
publish webda.module.json with debug, models, cloudevents and compiler (#849 ) (db9e967 )
Dependencies
The following workspace dependencies were updated
devDependencies
@webda/compiler bumped to 4.0.0-beta.7
@webda/tsc-esm bumped to 4.0.0-beta.7
peerDependencies
@webda/utils bumped to 4.0.0-beta.7
⚠ BREAKING CHANGES
ql: DELETE, UPDATE, SELECT, SET and WHERE are reserved uppercase keywords; Query.type is required; parse().toString() prints the canonical query instead of the source tokens; the root parse rule is now (statement | filterQuery) EOF for code walking the ANTLR tree.
Features
ql: WebdaQL DELETE/UPDATE/SELECT statements, bulk deleteMany/updateMany, filter-only Query operations (#818 ) (add9503 )
store-agnostic aggregations (Model.aggregate, SELECT … GROUP BY) (#820 ) (9eca947 )
Dependencies
The following workspace dependencies were updated
dependencies
@webda/serialize bumped to 4.0.0-beta.6
devDependencies
@webda/compiler bumped to 4.0.0-beta.6
@webda/test bumped to 4.0.0-beta.6
@webda/tsc-esm bumped to 4.0.0-beta.6
peerDependencies
@webda/ql bumped to 4.0.0-beta.6
@webda/utils bumped to 4.0.0-beta.6
⚠ BREAKING CHANGES
core: models defining canAct are now enforced on REST, gRPC and MCP operations; refused calls return 403. Query pages can be shorter than their LIMIT. OwnerModel ignores a client supplied _user. ResourceAcl.canAct signature changed to (context, action) and entries need a principal.
Bug Fixes
core: enforce model permissions on every transport, deny by default (#810 ) (24c1182 )
packaging: point every package's repository at its monorepo folder (#812 ) (3717b73 )
Dependencies
The following workspace dependencies were updated
dependencies
@webda/serialize bumped to 4.0.0-beta.5
devDependencies
@webda/compiler bumped to 4.0.0-beta.5
@webda/test bumped to 4.0.0-beta.5
@webda/tsc-esm bumped to 4.0.0-beta.5
peerDependencies
@webda/ql bumped to 4.0.0-beta.5
@webda/utils bumped to 4.0.0-beta.5
⚠ BREAKING CHANGES
auth: redesign authentication with @webda/auth (#800 )
Features
add @webda/create (npm create @webda ) with agent guidance (#799 ) (e29822a )
auth: redesign authentication with @webda/auth (#800 ) (74dc5df )
deployers as commands (deployment units, CloudFormation/Lambda, daemonless OCI images) (#796 ) (2539cc9 )
Dependencies
The following workspace dependencies were updated
dependencies
@webda/serialize bumped to 4.0.0-beta.4
devDependencies
@webda/compiler bumped to 4.0.0-beta.4
peerDependencies
@webda/utils bumped to 4.0.0-beta.4
⚠ BREAKING CHANGES
compiler: the accessors, loadParameters and unserializer modules are removed. They wrote into the sources what webdac build now generates through @webda/content-mapper, or methods nothing calls. The unused webdac build --code flag is removed too.
@webda/ts-plugin and the tsc-esm binary are removed, and applications now build with TypeScript 7.1. Generated code changes where TypeScript 6 was wrong, each verified against the shipped output:
AuditEntry.timestamp, declared number, is no longer coerced to Date;
AbstractOwnerModel no longer emits new ModelLink(T), a ReferenceError
on first raw-uuid assignment;
sample-app's User extends WebdaUser is now treated as a model (TS6's
base-chain guard was keyed on class name), so its relations are
initialised and coerced;
imports use the specifier the author wrote, not monorepo-relative paths
that only resolve inside this repository;
the emitted .d.ts is valid (TS6 referenced PrimaryKeyType unimported and
wrote BelongTo without its type argument).
A build that cannot write its module now fails; under TS6 a strict
file-naming violation was logged and the build still reported success.
compiler: model relations are now type: "string" in Input, Output and Stored schemas instead of an object with no properties, and six services gain the type property they inherit from ServiceParameters. Anything generated from these schemas — API validation, client types — changes with them.
Features
add AbstractRepository and Store2Repository concept (241595d )
add dirty Mixin system (acf39c5 )
add event repository (c9106ec )
add EventRepository (52cc09c )
add formatting for context (54dee1e )
add metadata plugins (ffcd62c )
add more types (ab7a7c5 )
add new models module (5ce4d89 )
add property paths modification (6e23c2c )
add Settable (ca1e68a )
add WebdaQL as peer dependencies and implement query/iterate (fbf3414 )
allow uid and pk on repository (9f17f55 )
blog-system Binary/Binaries demo + e2e suite, with framework fixes (#771 ) (fe7e187 )
build on TypeScript 7.1; delete @webda/ts-plugin and ts-patch (0008e97 )
compiler: generate schemas with @webda/content-mapper (af3b7c5 )
content-mapper: TypeScript 7.1 content mapper package (9b57565 )
dirty deep detector (910faf6 )
ensure operation schemas are exported (301ad65 )
ensure we use UID and reserve UUID for @webda/core (da289ff )
improve caching module (08b2db5 )
mock: add @webda/mock — coherent mock-data generation for models (#761 ) (c15a9b1 )
model Behaviors v1 (#765 ) (5053245 )
move to node 22 (21daf46 )
move to pnpm and disable many modules for now (ea953b7 )
operation return values, HttpServer routing, and models fixes (#754 ) (0779301 )
ql: bind ? and :name query parameters (#788 ) (4a8647b )
Repository typed events, consumer migration + API positioning (PR 2+3 of 3) (#777 ) (70b0a75 )
update OneToMany (c0a2fb3 )
update watchers on service parameter on update (f3417d7 )
use symbols for relations (8e3e0d0 )
WebdaQLString<T> branded type + ts-plugin compile-time validator (#772 ) (f0c14c1 )
Bug Fixes
add index.ts for @webda/models (a2ed938 )
auto generated uuid (25a7a28 )
back to 100% cov for models (bae0122 )
clean up models (96c27f0 )
compiler metadata, CLI commands, cron/async hooks and long-running command lifecycle (#785 ) (0515715 )
compiler: make webdac code a working migration tool (578ca7b )
core: make audit read operations opt-in and record the saved key on Create (f1b25f5 )
enforce strict mode on @webda/models (8a6f2c4 )
generate Stored schema (1cd57eb )
models: filter query results by class to stop subclass leakage (#770 ) (a58056d )
models: use the generated primary key when creating without one (bb1baf0 )
move @webda/decorators to strict mode (532da54 )
post-migration follow-ups (store create uuid, LambdaServer stage, drop workarounds) (#784 ) (7eead4d )
serialize: stop persisting OneToMany helpers (04f3b27 )
stores: escape WebdaQL string values and handle TRUE/FALSE in query translators (d02f0a2 )
unit test models relations (2d160f1 )
unit tests (1d54f9b )
update Binary service (282fcb1 )
update repository to use StorableClass (f79fc19 )
use getPatch from DirtyState (aae857e )
use symbols for webda configuration (a89f640 )
Dependencies
The following workspace dependencies were updated
devDependencies
@webda/compiler bumped to 4.0.0-beta.3
@webda/serialize bumped to 4.0.0-beta.3
@webda/test bumped to 4.0.0-beta.3
@webda/tsc-esm bumped to 4.0.0-beta.3
peerDependencies
@webda/ql bumped to 4.0.0-beta.3
@webda/utils bumped to 4.0.0-beta.3