From 10902351be459a79a78dde9ecb46155902b6c07a Mon Sep 17 00:00:00 2001 From: Aaron Date: Fri, 4 Oct 2024 18:19:33 -0500 Subject: [PATCH] Fix changelog --- packages/i18n/CHANGELOG.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/i18n/CHANGELOG.md b/packages/i18n/CHANGELOG.md index b9d20bea..3927d50e 100644 --- a/packages/i18n/CHANGELOG.md +++ b/packages/i18n/CHANGELOG.md @@ -2,15 +2,18 @@ ## v0.2.0 -[⚠️ breaking changes](https://wxt.dev/guide/upgrade-guide/wxt) • [compare changes](https://github.com/wxt-dev/wxt/compare/i18n-v0.1.1...i18n-v0.2.0) +[compare changes](https://github.com/wxt-dev/wxt/compare/i18n-v0.1.1...i18n-v0.2.0) ### 🩹 Fixes - ⚠️ Remove invalid options argument ([#1048](https://github.com/wxt-dev/wxt/pull/1048)) -#### ⚠️ Breaking Changes +To upgrade, if you were passing a final `options` argument, remove it. If you used the third argument to escape `<` symbol... You'll need to do it yourself: -- ⚠️ Remove invalid options argument ([#1048](https://github.com/wxt-dev/wxt/pull/1048)) +```diff +- i18n.t("someKey", ["sub1"], { escapeLt: true }); ++ i18n.t("someKey", ["sub1"]).replaceAll("<", "<"); +``` ### ❤️ Contributors @@ -32,4 +35,4 @@ ### ❤️ Contributors - Windmillcode0 -- Aaron ([@aklinker1](http://github.com/aklinker1)) \ No newline at end of file +- Aaron ([@aklinker1](http://github.com/aklinker1))