[Changed] Do not re-export files whose contents haven't changed.
[Changed] Translations will always be deep sorted.
[Fixed] Remove procs from translations before exporting files.
v4.2.1 - Dec 25, 2022
[Changed] Change plugin api to be based on instance methods. This avoids
having to pass in the config for each and every method. It also allows us
adding helper methods to the base class.
[Fixed] Fix performance issues with embed fallback translations' initial
implementation.
v4.2.0 - Dec 10, 2022
[Added] Add I18nJS::Plugin.after_export(files:, config:) method, that's
called whenever whenever I18nJS finishes exporting files. You can use it to
further process files, or generate new files based on the exported files.
[Added] Bult-in plugin I18nJS::ExportFilesPlugin, which allows exporting
files out of the translations file by using a custom template.
v4.1.0 - Dec 09, 2022
[Added] Parse configuration files as erb.
[Changed] I18n.listen(run_on_start:) was added to control if files should be
exported during I18n.listen's boot. The default value is true.
[Added] Now it's possible to transform translations before exporting them
using a stable plugin api.
[Added] Built-in plugin I18nJS::EmbedFallbackTranslationsPlugin, which
allows embedding missing translations on exported files.
[Deprecated] The i18n check has been deprecated. Use
i18n lint:translations instead.
[Added] Use i18n lint:scripts to lint JavaScript/TypeScript.
[Fixed] Expand paths passed to I18nJS.listen(locales_dir:).
v4.0.1 - Aug 25, 2022
[Fixed] Shell out export to avoid handling I18n reloading heuristics.
[Changed] I18nJS.listen now accepts a directories list to watch.
[Changed] I18nJS.listen now accepts
listen options via :options.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps i18n-js from 3.8.0 to 4.2.2.
Changelog
Sourced from i18n-js's changelog.
Commits
a61db32
Bump up version (v4.2.2)ca5591a
Remove procs from translations before exporting files. (#696)09fe978
Sort translations after filtering them out. (#695)dedf5fd
Update changelog.d2e0170
Avoid re-exporting files when content hasn't changed (#694)9dfd146
Bump up version (v4.2.1)f024aa3
Speed up fallback translations plugin. (#688)2508553
Fix broken links. (#687)58d53b6
Bump actions/setup-node from 2.pre.beta to 3.5.1 (#685)34194a5
Update readme.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)