Skip to content

Commit 421cc2d

Browse files
committed
Update CHANGELOG for new runtime API
1 parent bfac3e8 commit 421cc2d

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

CHANGELOG.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
- [BREAKING] The `tsOut` parameter is replaced by the new `output` object with
1111
`mode: "runtime"|"transform"`.
1212

13+
- [BREAKING] Runtime mode no longer emits a `localization.ts` module. Instead,
14+
users should always import from the `lit-localize` module and use
15+
`configureLocalization`, `msg`, and other functions. See the README details of
16+
this new API.
17+
1318
- Add `transform` output mode, which emits an entire copy of the program in each
1419
locale, where all `msg` calls have been replaced with the raw translated
1520
template for that locale.
1621

17-
- Add ability to generate a `setLocale` function by setting
18-
`output.exportSetLocaleFunction: true`.
19-
20-
- Add ability to customize how locale is initialized from the URL through
21-
the `regexp` and `param` properties of the `output.setLocaleFromUrl` object.
22-
2322
- Fix incorrect JSON schema error about `targetLocales` field not being a
2423
`string[]`.
2524

0 commit comments

Comments
 (0)