npm @schematics/angular 11.0.0

latest releases: 19.0.0-rc.1, 19.0.0-rc.0, 18.2.11...
4 years ago

Commits

@angular-devkit/architect-cli (0.1100.0)

Commit Description Notes
remove minimist `_` from options [Closes #18889]

@angular-devkit/build-angular (0.1100.0)

Commit Description Notes
enable font inlining optimizations
add font inliner
support custom headers in dev-server
bump ng-packagr supported version to 11
enable Ivy extraction by default for Ivy applications
support package references in styles & scripts options
out of the box hot module replacement (HMR) [Closes #17324]
extract i18n messages from libraries [Closes #18871]
improve build stats output format
Switch to karma-coverage [Closes #17757]
ask to use a new port if in use
Downgrade Karma to 5.1.x
add validation to fileReplacement values [Closes #11451]
add default value to progress option
reduce clutter in dev-server logs
right align size column and add total bundle size
show bundle sizes with 2 decimal places
sort bundle stats by size
improve server builder output logs
show verbose logging when using `--verbose` and differential loading
improve builder phase reporting
remove title attribute from inlined fonts style tag [Closes #19271]
validate extracted i18n messages for duplicates
control legacy ID i18n extraction via TypeScript configuration
improve network error message during fonts inlining [Closes #19259]
when optimizing don't wrap function arguments in parenthesis
correctly index and remove webpack client script in non main chunk [Closes #19219]
skip application emit during i18n extraction
support emitting AVIF image files
don't add publicHost pathname to sockPath in dev-server
update resolve-url-loader to version 3.1.2
add a base href to karma debug context [Closes #19116]
don't set watchOptions in webpack-middleware
disable dev-server live-reload when using protoactor
correctly reference hmr-accept.js file in windows error [Closes #19099]
ensure correct SRI values with differential loading [Closes #18254]
set HTML lang attribute when serving [Closes #18094]
override already existing assets in compilation [Closes #18787]
remove .js files equivalent of css when using extract css
only show cannot restore inputs/options when old length is > 0
include HMR accept code in main.ts
use IE11 as oldest browser when downlevelling
don't process stylesheets in extraction builder
fixes optimizeChunkAssets is deprecated in webpack 5
fixes deprecation warning for MainTemplate.hooks.assetPath in webpack 5
fix webpack 5 deprecation warning for chunk.push
handle undefined descriptionFileData [Closes #18631]
fixed afterOptimizeChunkAssets is deprecated in webpack 5
resolve i18n outFile from workspaceRoot
fixed Module.issuer is deprecated in webpack 5 for commonjs warn plugin
implement `relative` method in extractor FS
maxModules were deprecated and renamed to modulesSpace
webpack5 deprecation of module property in Dependency
add tslint as an optional peer dependency
add protractor as an optional peer dependency
add karma as an optional peer dependency
warn if using unsupported IE9/10 browsers
add missing defaults to `optimization` property
add node-sass deprecation warning
set logging level to verbose when using `--verbose`
filter unactionable System.import webpack warning
update Angular peer dependencies to 11.0 prerelease
consider ascii_only terser setting when counting components in analytics
improve debugging experience
generate sourcemaps with relative paths in monorepo [Closes #17046]
correct i18n function parameter type
don't generate `vendor.js.map` when vendor sourcemaps is disabled [Closes #18060]
correct Windows paths in ivy i18n extract
ensure ivy extraction file names match sourcemaps

@angular-devkit/build-optimizer (0.1100.0)

Commit Description Notes
mark rxjs add imports as having side effects
set rxjs as having safe side effects
support jit mode guarded class metadata removal
increase safety of code removal [Closes #14033]
[Closes #18621]
remove decorators calls when tslib helpers are inlined [Closes #18682]

@angular-devkit/build-webpack (0.1100.0)

Commit Description Notes
fully close Webpack 5 compiler
avoid deprecation warning with Webpack 5 watch mode

@angular-devkit/core (11.0.0)

Commit Description Notes
add basic support for oneOf/anyOf to `addUndefinedDefaults` transformer
allow prompt providers to access property types
remove deprecated isObservable function
allow property remove with workspace API

@angular-devkit/schematics (11.0.0)

Commit Description Notes
support schema validation in NodeWorkflow
allow using a root path with NodeWorkflow
show active package manager with install task
resolve external schematics from requesting collection [Closes #18098]
[Closes #11026]

@angular/cli (11.0.0)

Commit Description Notes
correctly read transitive dependency
use newer update command if global version is newer
coerce prompt answers to requested property types
skip searching deprecated packages with ng add
include deprecated option in JSON help
add missing dev-server `headers` option in IDE schema
resolve packages package.json from workspace directory
don't display prompts twice [Closes #19027]
don't show deprecation messages for defaults when using `--defaults`
collect analytics option usage from workspace config and prompts
add blank line in migration commit message
no-op ng update --all [Closes #15278]
[Closes #13095]
[Closes #12261]
[Closes #12243]
[Closes #18813]
add missing defaults to `optimization` property
favor dirname when resolving @schematics/angular [Closes #18840]
replace regex with correct project name validation [Closes #17579]
improve logs in ng update
remove version command node module assumptions [Closes #10474]

@schematics/angular (11.0.0)

Commit Description Notes
add migration to remove rebaseRootRelativeCssUrls from workspace config
add generation for resolvers
update ng-packagr to version 11
add prompt to strict mode
add user-analytics to strict mode option
generate E2E tests with native promise support
don't generate special `package.json` and `no-any` when using `--strict`
update migration to remove deprecated `environment` option
add migration to add declaration maps to libraries
add migration to replace deprecated options
update `@types/jasmine` to `~3.6.0`
remove lint fix default value [Closes #19169]
allow inlineTemplate/inlineStyle with minimal application [Closes #17528]
use strict guide short url
pass down `recursive` flag
test `findNodes` with `recursive` flag
remove IE9/10 from browserslist for new projects
remove solution style throw an error
canLoad guard signature
update karma for new workspaces to 5.2.0

@ngtools/webpack (11.0.0)

Commit Description Notes
show zone.js incompatibility warning when using ES2017+
elide type-only imports when using emitDecoratorMetadata [Closes #19234]
improve bad component resource error message
support jit mode guarded class metadata removal
properly merge webpack 5 resolver options
correctly create Webpack5 file watcher
emit `require` in replace resources when using CommonJS as module [Closes #18718]
update Angular peer dependencies to 11.0 prerelease

@schematics/update (0.1100.0)

Commit Description Notes
update fail when using yarn 2.0 protocols [Closes #19203]
add note that additional packages might require updating

Breaking Changes

@angular-devkit/build-angular: remove deprecated browser build option rebaseRootRelativeCssUrls (7535f4f)

Deprecated `rebaseRootRelativeCssUrls` browser builder option has been removed without replacement. This option was used to change root relative URLs in stylesheets to include base HREF and deploy URL and was used only for compatibility and transition as this behavior is non-standard.

@ngtools/webpack: remove support for TypeScript 3.9 (0296f0f)

TypeScript 3.9 is no longer supported, please upgrade to TypeScript 4.0.

@angular-devkit/build-angular: remove support for TypeScript 3.9 (af4620a)

TypeScript 3.9 is no longer supported, please upgrade to TypeScript 4.0.

delete @angular-devkit/build-ng-packagr (b1f0858)

Deprecated `@angular-devkit/build-ng-packagr` has been removed. Please use `ng-packagr` builder from `@angular-devkit/build-angular` instead.

Note: this change doesn't effect application and library developers,
as they will be migrated to use the new builder during ng update.

@angular-devkit/core: remove deprecated isObservable function (660f214)

Deprecated `isObservable` function removed. As an alternative, use `isObservable` from the `rxjs` package. NOTE: This change does not affect application development.

@angular-devkit/build-angular: remove deprecated karma builder `environment` option (aab73e2)

Remove deprecated karma builder `environment` option

@schematics/angular: remove IE9/10 from browserslist for new projects (e64ea69)

Deprecated support for IE 9-10 has been removed in Angular 11. Only IE 9-10 support has been removed. IE 11 is officially supported in Angular 11.

@angular-devkit/architect: remove deprecated `TestLogger` (d3ad095)

Deprecated `TestLogger` has been removed. Use `logging` API from `'@angular-devkit/core'` instead.

Note: this change doesn't effect application developers.

@angular-devkit/core: remove deprecated terminal utils (6d43e32)

Deprecated `@angular-devkit/core` terminal API has been removed. Use 3rd party packages like chalk, colors or ansi-colors instead.

Note: this changes doesn't effect application developers

@angular-devkit/core: remove resolve methods and options (208336d)

deprecated API's `ModuleNotFoundException`, `ResolveOptions`, `resolve` have been removed. Use `MODULE_NOT_FOUND` and `require.resolve` instead.

Note: this change only effect users using @angular-devkit/core public API and not application developers.

@angular-devkit/build-angular: remove deprecated `scripts[].lazy` and `styles[].lazy` (197e96b)

- Deprecated `scripts[].lazy` has been renamed with `scripts[].inject` - Deprecated `styles[].lazy` has been renamed with `styles[].inject`

Note: this change only effects direct @angular-devkit/build-angular users and not application developers. Users will be migrated automatically off these options.

@angular-devkit/build-angular: deprecate `extractCss` browser builder option (dd26018)

Browser builder `extractCss` option default value has been changed from `false` to `true`. This is to reflect the default behaviour when this deprecated option is removed.

@angular-devkit/core: remove experimental workspace API (df70c7a)

The experimental workspace API has been removed from `@angular-devkit/core`. This API was no longer used by the Angular CLI and was replaced with the stable workspace API also found within `@angular-devkit/core`. This change does not affect project code and is related to tooling infrastructure only.

Special Thanks

Alan Agius, Renovate Bot, Charles Lyding, Keen Yee Liau, Doug Parker, Dmitriy Shekhovtsov, Joey Perrott, mgechev, Jefiozie, Aristeidis Bampakos, jaroslawsawicki, Lukas Spirig, Jaime Oliveira, Bjarki, Drummond Dawson, eranshmil, Cédric Exbrayat, geromegrignon, santoshyadavdev, Andrei Alecu

Don't miss a new angular release

NewReleases is sending notifications on new releases.