Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: update dependency @angular-devkit/schematics to v19 #29157

Conversation

angular-robot
Copy link
Collaborator

This PR contains the following updates:

Package Type Update Change
@angular-devkit/schematics dependencies major 0.0.0-PLACEHOLDER -> 19.0.5

Release Notes

angular/angular-cli (@​angular-devkit/schematics)

v19.0.5

Compare Source

@​angular-devkit/build-angular
Commit Type Description
6c319e44c fix fix webpack config transform for karma
@​angular/build
Commit Type Description
251bd9f22 fix Fixing auto-csp edge cases where
1047b8635 fix handle external @angular/ packages during SSR (#​29094)
376ee9966 fix provide component HMR update modules to dev-server SSR
5ea9ce376 fix use consistent path separators for template HMR identifiers
@​angular/ssr
Commit Type Description
b3c6c7eb2 fix include Content-Language header when locale is set
4203efb90 fix disable component bootstrapping during route extraction

v19.0.4

Compare Source

@​angular-devkit/build-angular
Commit Type Description
23667ed4a fix handle windows spec collisions
@​angular/build
Commit Type Description
fc41f50b5 fix show error when Node.js built-ins are used during ng serve
14451e275 perf reuse TS package.json cache when rebuilding

v19.0.3

Compare Source

@​angular/cli
Commit Type Description
4e82ca180 fix correctly select package versions in descending order during ng add
@​schematics/angular
Commit Type Description
28a51cc5e fix add required type to CanDeactivate guard (#​29004)
@​angular/build
Commit Type Description
f26e1b462 fix add timeout to route extraction
ab4e77c75 fix allow .json file replacements with application builds
06690d87e fix apply define option to JavaScript from scripts option
775e6f780 fix avoid deploy URL usage on absolute preload links
21f21eda3 fix ensure correct handling of index.output for SSR
@​angular/ssr
Commit Type Description
75cf47e71 fix apply HTML transformation to CSR responses
5880a0230 fix correctly handle serving of prerendered i18n pages
277b8a378 fix ensure compatibility for Http2ServerResponse type

v19.0.2

Compare Source

@​schematics/angular
Commit Type Description
2f53e2af5 fix skip SSR routing prompt in webcontainer
@​angular/build
Commit Type Description
f9da163f8 fix minimize reliance on esbuild inject to prevent code reordering
c497749e6 fix prevent errors with parameterized routes when getPrerenderParams is undefined
@​angular/ssr
Commit Type Description
c8cd90e0f fix handle nested redirects not explicitly defined in router config

v19.0.1

Compare Source

@​angular-devkit/build-angular
Commit Type Description
b63123f20 fix use stylePreprocessorOptions
@​angular/build
Commit Type Description
74461da64 fix ensure accurate content length for server assets
1b4dcedd5 fix use sha256 instead of sha-256 as hash algorithm name
@​angular/ssr
Commit Type Description
8bd2b260e fix handle baseHref that start with ./

v19.0.0

Compare Source

Breaking Changes

@​schematics/angular
  • The app-shell schematic is no longer compatible with Webpack-based builders.
@​angular-devkit/build-angular
@​angular-devkit/core
  • The deprecated fileBuffer function is no longer available. Update your code to use stringToFileBuffer instead to maintain compatibility.

    Note: that this change does not affect application developers.

@​angular/build
  • The @angular/localize/init polyfill will no longer be added automatically to projects. To prevent runtime issues, ensure that this polyfill is manually included in the "polyfills" section of your "angular.json" file if your application relies on Angular localization features.
@​angular/ssr
  • The CommonEngine API now needs to be imported from @angular/ssr/node.

    Before

    import { CommonEngine } from '@​angular/ssr';

    After

    import { CommonEngine } from '@​angular/ssr/node';
@​angular-devkit/schematics-cli
Commit Type Description
37693c40e feat add package manager option to blank schematic
@​schematics/angular
Commit Type Description
a381a3db1 feat add option to export component as default
755f3a07f feat add option to setup new workspace or application as zoneless mode
cfca5442e feat integrate withEventReplay() in provideClientHydration for new SSR apps
292a4b7c2 feat update app-shell and ssr schematics to adopt new Server Rendering API
b1504c3bc fix component spec with export default
4b4e000dd fix don't show server routing prompt when using browser builder
4e2a5fe15 fix enable opt-in for new @angular/ssr feature
fcf7443d6 fix explicitly set standalone:false
7992218a9 fix remove declaration and sourceMap from default tsconfig
9e6ab1bf2 fix use default import for express
@​angular/cli
Commit Type Description
201b60e1d feat handle string key/value pairs, e.g. --define
b847d4460 fix recommend optional application update migration during v19 update
f249e7e85 perf enable Node.js compile code cache when available
ecc107d83 perf enable Node.js compile code cache when available
@​angular-devkit/architect
Commit Type Description
78f76485f feat merge object options from CLI
@​angular-devkit/build-angular
Commit Type Description
0a4ef3026 feat karma-coverage w/ app builder
dcbdca85c feat karma+esbuild+watch
54594b5ab feat support karma with esbuild
ea5ae68da fix bring back style tags in browser builder
476f94f51 fix fix --watch regression in karma
25d928b4f fix fix hanging terminal when browser-sync is not installed
2ec877dd0 fix handle basename collisions
ab6e19e1f fix handle main field
43e7aae22 fix remove double-watch in karma
1e37b5939 fix serve assets
9d7613db9 fix zone.js/testing + karma + esbuild
e40384e63 refactor remove deprecated browserTarget
62877bdf2 refactor remove Protractor builder and schematics
@​angular-devkit/core
Commit Type Description
0d8a1006d refactor remove deprecated fileBuffer function in favor of stringToFileBuffer
@​angular/build
Commit Type Description
b6951f448 feat add sass to stylePreprocessorOptions in application builder
efb434136 feat Auto-CSP support as a part of angular.json schema
816e3cb86 feat enable component stylesheet hot replacement by default
3b00fc908 feat introduce outputMode option to the application builder
7d883a152 feat introduce ssr.experimentalPlatform option
c48d6947e feat set development/production condition
f63072668 feat utilize ssr.entry during prerendering to enable access to local API routes
bbc290133 feat utilize ssr.entry in Vite dev-server when available
5a7a2925b fix add missing redirect in SSR manifest
06e5176c2 fix add warning when --prerendering or --app-shell are no-ops
ecaf870b5 fix always clear dev-server error overlay on non-error result
f8677f6a9 fix always record component style usage for HMR updates
099e477a8 fix avoid hashing development external component stylesheets
3602bbb77 fix avoid overwriting inline style bundling additional results
71534aadc fix check referenced files against native file paths
fed31e064 fix correctly use dev-server hmr option to control stylesheet hot replacement
b86bb080e fix disable dev-server websocket when live reload is disabled
7c50ba9e2 fix ensure index.csr.html is always generated when prerendering or SSR are enabled
efb2232df fix ensure accurate content size in server asset metadata
18a8584ea fix ensure SVG template URLs are considered templates with external stylesheets
7502fee28 fix Exclude known --import from execArgv when spawning workers
2551df533 fix fully disable component style HMR in JIT mode
c41529cc1 fix handle APP_BASE_HREF correctly in prerendered routes
87a90afd4 fix incomplete string escaping or encoding
1bb68ba68 fix move lmdb to optionalDependencies
a995c8ea6 fix prevent prerendering of catch-all routes
1654acf0f fix relax constraints on external stylesheet component id
0d4558ea5 fix set ngServerMode during vite prebundling
55d7f01b6 fix simplify disabling server features with --no-server via command line
cf0228b82 fix skip wildcard routes from being listed as prerendered routes
af52fb49b fix synchronize import/export conditions between bundler and TypeScript
6c618d495 fix update logic to support both internal and external SSR middlewares
bfa8fec9b fix use named export reqHandler for server.ts request handling
c8e1521a2 fix workaround Vite CSS ShadowDOM hot replacement
d6a34034d refactor remove automatic addition of @angular/localize/init polyfill and related warnings
@​angular/ssr
Commit Type Description
92209dd2e feat add createRequestHandler and createNodeRequestHandler utilities
41fb2ed86 feat Add getHeaders Method to AngularAppEngine and AngularNodeAppEngine for handling pages static headers
f346ee8a8 feat add isMainModule function
d66aaa3ca feat add server routing configuration API
bca568389 feat dynamic route resolution using Angular router
30c25bf68 feat export AngularAppEngine as public API
455b5700c feat expose writeResponseToNodeResponse and createWebRequestFromNodeRequest in public API
9692a9054 feat improve handling of aborted requests in AngularServerApp
576ff604c feat introduce AngularNodeAppEngine API for Node.js integration
3c9697a8c feat introduce new hybrid rendering API
4b09887a9 feat move CommonEngine API to /node entry-point
d43180af5 fix add missing peer dependency on @angular/platform-server
74b3e2d51 fix add validation to prevent use of provideServerRoutesConfig in browser context
2640bf7a6 fix correct route extraction and error handling
44077f54e fix designate package as side-effect free
df4e1d360 fix enable serving of prerendered pages in the App Engine
0793c78cf fix ensure wildcard RenderMode is applied when no Angular routes are defined
65b6e75a5 fix export RESPONSE_INIT, REQUEST, and REQUEST_CONTEXT tokens
4ecf63a77 fix export PrerenderFallback
50df63196 fix improve handling of route mismatches between Angular server routes and Angular router
3cf7a5223 fix initialize the DI tokens with null to avoid requiring them to be set to optional
85df4011b fix resolve bootstrap is not a function error
e9c9e4995 fix resolve circular dependency issue from main.server.js reference in manifest
64c52521d fix show error when multiple routes are set with RenderMode.AppShell
280ebbda4 fix support for HTTP/2 request/response handling
fb05e7f0a fix use wildcard server route configuration on the '/' route when the app router is empty
12ff37adb perf cache generated inline CSS for HTML
1d70e3b46 perf cache resolved entry-points
f460b91d4 perf integrate ETags for prerendered pages
e52ae7f6f perf prevent potential stampede in entry-points cache

v18.2.12

Compare Source

@​angular/cli
Commit Type Description
c3925ed7f fix support default options for multiselect list x-prompt
@​angular/build
Commit Type Description
c8bee8415 fix allow .js file replacements in all configuration cases
93f552112 fix improve URL rebasing for hyphenated Sass namespaced variables

v18.2.11

Compare Source

@​angular/build
Commit Type Description
87ec15ba2 fix show error message when error stack is undefined

v18.2.10

Compare Source

@​angular-devkit/build-angular
Commit Type Description
7b775f4e0 fix update http-proxy-middleware to 3.0.3
@​angular/build
Commit Type Description
b1e5f51f9 fix Address build issue in Node.js LTS versions with prerendering or SSR

v18.2.9

Compare Source

@​schematics/angular
Commit Type Description
237f7c5d0 fix update browserslist config to include last 2 Android major versions
@​angular/build
Commit Type Description
d749ba6a3 fix allow direct bundling of TSX files with application builder
b91c82d89 fix avoid race condition in sass importer

v18.2.8

Compare Source

@​schematics/angular
Commit Type Description
b522002ff fix add validation for component and directive class name
dfd2d5c05 fix include index.csr.html in resources asset group
@​angular/build
Commit Type Description
9445916f9 fix Ctrl + C not terminating dev-server with SSR
9b5cfaa8c fix always generate a new hash for optimized chunk

v18.2.7

Compare Source

@​schematics/angular
Commit Type Description
3f98193d6 fix support single quote setting in JetBrains IDEs
@​angular/build
Commit Type Description
8274184e1 fix add animate to valid self-closing elements
2648e811e fix add few more SVG elements animateMotion, animateTransform, and feBlend etc. to valid self-closing elements
736e126e4 fix separate Vite cache by project

v18.2.6

Compare Source

@​angular/build
Commit Type Description
9d0b67124 fix allow missing HTML file request to fallback to index
5fea635b2 fix update rollup to 4.22.4

v18.2.5

Compare Source

@​angular/build
Commit Type Description
707431625 fix support HTTP HEAD requests for virtual output files
1032b3da1 fix update vite to 5.4.6

v18.2.4

Compare Source

@​angular/build
Commit Type Description
765309a2e fix prevent transformation of Node.js internal dependencies by Vite

v18.2.3

Compare Source

@​angular-devkit/build-angular
Commit Type Description
482076612 fix update webpack-dev-middleware to 7.4.2

v18.2.2

Compare Source

@​angular-devkit/build-angular
Commit Type Description
504b00b93 fix clear context in Karma by default for single run executions
82b76086e fix update webpack to 5.94.0

v18.2.1

Compare Source

@​angular/cli
Commit Type Description
c3925ed7f fix support default options for multiselect list x-prompt
@​angular/build
Commit Type Description
c8bee8415 fix allow .js file replacements in all configuration cases
93f552112 fix improve URL rebasing for hyphenated Sass namespaced variables

v18.2.0

Compare Source

@​schematics/angular
Commit Type Description
4da922e4f feat use isolatedModules in generated project
@​angular/build
Commit Type Description
24aaf1e37 feat support import attribute based loader configuration

v18.1.4

Compare Source

@​angular/build
Commit Type Description
f8b092711 fix allow explicitly disabling TypeScript incremental mode
f3a5970fc fix lazy load Node.js inspector for dev server

v18.1.3

Compare Source

@​angular/build
Commit Type Description
a28615d7d fix add CSP nonce attribute to script tags when inline critical CSS is disabled
747a1447c fix prevent build failures with remote CSS imports when Tailwind is configured
c0933f2c0 fix resolve error with extract-i18n builder for libraries

v18.1.2

Compare Source

@​angular/build
Commit Type Description
5b9378a3b fix account for HTML base HREF for dev-server externals
3e4ea77d7 fix correctly detect comma in Sass URL lexer
d868270f1 fix prevent redirection loop
3573ac655 fix serve HTML files directly

Configuration

📅 Schedule: Branch creation - "after 10:00pm every weekday,before 4:00am every weekday,every weekend" in timezone America/Tijuana, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@angular-robot angular-robot added action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release labels Dec 17, 2024
@angular-robot
Copy link
Collaborator Author

⚠️ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: undefined
Command failed: yarn install --frozen-lockfile --non-interactive

File name: undefined
Command failed: yarn bazel run @npm2//:sync

@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Dec 17, 2024
@clydin clydin closed this Dec 17, 2024
@angular-robot angular-robot deleted the ng-renovate/angular-devkit-schematics-19-x branch December 17, 2024 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants