-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Description
Command
new
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
19.0.0-next.9
Description
Schematics for SSR generates new application with the following API that is in dev preview:
AngularNodeAppEngine
withwriteResponseToNodeResponse
andcreateNodeRequestHandler
inserver.ts
file- server routes in
app.config.server.ts
Compared to previous functionalities introduced as dev preview, e.g. provideClientHydration
, the API mentioned above is not optional but used by default.
Minimal Reproduction
- generate new app by running
npx @angular/cli@19.0.0-next.11 new my-app
(with SSR) - verify shape of
server.ts
Exception or Error
No response
Your Environment
Angular CLI: 19.0.0-next.11
Node: 22.8.0
Package Manager: yarn 1.22.22
OS: darwin arm64
Angular:
...
Package Version
@angular-devkit/architect 0.1900.0-next.11 (cli-only)
@angular-devkit/core 19.0.0-next.11 (cli-only)
@angular-devkit/schematics 19.0.0-next.11 (cli-only)
@schematics/angular 19.0.0-next.11 (cli-only)
Anything else relevant?
No response
Platonn and kpawelczak