angular-docs-cn/packages
Pete Bacon Darwin ba84fa6f42 refactor(compiler-cli): remove i18n options from `LinkerOptions` (#41554)
There were three options being made available to users of the linker:

- ` enableI18nLegacyMessageIdFormat`
-  `i18nNormalizeLineEndingsInICUs`
- ` i18nUseExternalIds`

None of these should actually be configurable at linking time
because partially-linked libraries have tighter restrictions on
what i18n options can be used.

This commit removes those options from the `LinkerOptions` interface.
It was considered to add a check for backwards compatibilty to ensure
that if these options were being passed, and were different to the expected
defaults, we would throw an informative error. But from looking at the
Angular CLI (the only known client of the linker) it has never been setting
these options so they have already always been set to the defaults.

BREAKING CHANGE:

Linked libraries no longer generate legacy i18n message ids. Any downstream
application that provides translations for these messages, will need to
migrate their message ids using the `localize-migrate` command line tool.

Closes #40673

PR Close #41554
2021-04-13 13:39:46 -07:00
..
animations feat(core): support TypeScript 4.2 (#41158) 2021-03-17 09:10:25 -07:00
bazel refactor(bazel): remove old Angular CLI schematics and builder (#41575) 2021-04-13 13:01:59 -07:00
benchpress fix(dev-infra): update type castings for JSON.parse usage (#40710) 2021-02-09 10:48:43 -08:00
common feat(common): add `historyGo` method to `Location` service (#38890) 2021-04-06 09:25:58 -07:00
compiler fix(compiler): avoid parsing EmptyExpr with a backwards span (#41581) 2021-04-13 12:39:17 -07:00
compiler-cli refactor(compiler-cli): remove i18n options from `LinkerOptions` (#41554) 2021-04-13 13:39:46 -07:00
core build: update several dependencies (#41434) 2021-04-12 16:46:29 -07:00
docs
elements ci: fix `elements` test on older browsers (#41324) 2021-03-24 08:28:46 -07:00
examples docs: improve description, examples of DecimalPipe's digitsInfo parameter (#40714) 2021-02-26 15:42:29 -08:00
forms refactor(forms): add base class for all built-in ControlValueAccessors (#41225) 2021-04-08 10:24:10 -07:00
language-service fix(language-service): use script versions for incremental compilations (#41475) 2021-04-13 13:05:36 -07:00
localize build: update yargs dependency to 16.2.0. (#41351) 2021-03-30 16:59:38 -07:00
misc/angular-in-memory-web-api release: bump angular-in-web-memory-api package to 0.12.0 (#41487) 2021-04-07 09:35:17 -07:00
platform-browser fix(platform-browser): configure `XhrFactory` to use `BrowserXhr` (#41313) 2021-03-29 15:14:16 -07:00
platform-browser-dynamic feat(core): support TypeScript 4.2 (#41158) 2021-03-17 09:10:25 -07:00
platform-server fix(platform-browser): configure `XhrFactory` to use `BrowserXhr` (#41313) 2021-03-29 15:14:16 -07:00
private/testing
router fix(router): handle new navigations from a NavigationEnd event (#41262) 2021-04-08 10:23:04 -07:00
service-worker feat(core): support TypeScript 4.2 (#41158) 2021-03-17 09:10:25 -07:00
upgrade feat(core): support TypeScript 4.2 (#41158) 2021-03-17 09:10:25 -07:00
zone.js build: update several dependencies (#41434) 2021-04-12 16:46:29 -07:00
BUILD.bazel
README.md
circular-deps-test.conf.js
empty.ts
goog.d.ts
license-banner.txt docs: update year (#40925) 2021-02-22 12:37:40 -08:00
system.d.ts
tsconfig-build-no-strict.json
tsconfig-build.json
tsconfig-test.json
tsconfig.json
types.d.ts

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT