All notable changes to this project will be documented in this file.
@sapphire/plugin-i18next@7.1.2 - (2024-02-09)
- Fixed container.format not processing variables correctly (#545) (9d57b2f)
- i18next: Update transitive dependencies (caef3d5)
- Update transitive dependencies (f375166)
- deps: Update all non-major dependencies (8b2085c)
@sapphire/plugin-i18next@7.1.1 - (2024-01-19)
- Update transitive sapphire dependencies (c78017c)
- Ensure cts file extensions in dist/cjs (#537) (6f863f8)
- i18next: Bump transitive dependencies (2e13369)
- i18next: Fixed docs link (8638659)
@sapphire/plugin-i18next@7.1.0 - (2024-01-02)
- i18next: Bump i18next transitive dependency (296296a)
- i18next: Bump transitive dependencies (98ec315)
- deps: Update dependency @skyra/i18next-backend to ^2.0.5 (#517) (bf7bc8b)
- i18next: Add support for cached formatters (#533) (7f5b169)
@sapphire/plugin-i18next@7.0.1 - (2023-12-05)
- "refactor(register): cleanup unnecessary side effect imports of index" (c2af242)
@sapphire/plugin-i18next@7.0.0 - (2023-12-05)
- register: Cleanup unnecessary side effect imports of index (dede596)
- Update transitive dependencies (9fd4cfa)
- Split ESM and CJS bundles for proper ESM and CJS loading (#512) (d9aa006)
- 💥 BREAKING CHANGE: This ensures that the plugins will properly load the either only ESM or only CJS files. This is done by outputting dist/cjs and dist/esm folders. This requires @sapphire/framework v5.x!
@sapphire/plugin-i18next@6.1.0 - (2023-11-16)
- i18next: Update i18next dependency (3230518)
- deps: Update all non-major dependencies (98df6c7)
- i18next: Update transitive dependencies (6e804d4)
- i18next: Set
engines.node
to>=18
(924bf71)
- Reference updated types in README (dde535e)
- Re-export
i18next
instance (#500) (d849ee0)
@sapphire/plugin-i18next@6.0.1 - (2023-09-09)
- i18next: Bump transitive i18next dependency (c1e993f)
- i18next: Fixed
resolveKey
using incorrect paramater when no default value is passed through (#478) (850691d)
@sapphire/plugin-i18next@6.0.0 - (2023-09-06)
- i18next: Update to i18next v23 (#475) (4030137)
- 💥 BREAKING CHANGE: This library now depends on i18next v23. See their migration guide as well: https://www.i18next.com/misc/migration-guide#v22.x.x-to-v23.0.0
@sapphire/plugin-i18next@5.1.1 - (2023-09-06)
- i18next: Move module augmentations to
index
and import inregister
(#477) (9c098d6)
@sapphire/plugin-i18next@5.1.0 - (2023-08-29)
- i18next: Support ModalSubmitInteraction (#473) (15e1712)
@sapphire/plugin-i18next@5.0.5 - (2023-08-23)
- *: Cleanup plugin registry files (#469) (215b334)
@sapphire/plugin-i18next@5.0.4 - (2023-07-21)
- i18next: Bump transitive @sapphire/utilities dependency (c93db25)
- deps: Update all non-major dependencies (9bb6627)
- i18next: Update i18next-backend (af0a0a6)
@sapphire/plugin-i18next@5.0.3 - (2023-04-10)
@sapphire/plugin-i18next@5.0.1 - (2023-02-18)
- i18next: Bump i18next patch version (7fb11e7)
@sapphire/plugin-i18next@5.0.0 - (2023-01-08)
- deps: Support for djs v14 (#403) (7674782)
@sapphire/plugin-i18next@4.0.3 - (2022-12-17)
- i18next: Fixed type compatibility with latest i18next changes (38367da)
@sapphire/plugin-i18next@4.0.2 - (2022-12-11)
- i18next: Update dependencies to fix build issues with latest i18next (cd1a792)
- deps: Update all non-major dependencies (#399) (953d57b)
@sapphire/plugin-i18next@4.0.1 - (2022-10-30)
- deps: Update all non-major dependencies (#387) (e31f714)
- Add @Arcadia148 as a contributor (3a28c2f)
@sapphire/plugin-i18next@4.0.0 - (2022-10-23)
- i18next: Update dependency i18next to v22 (#383) (f958106)
- 💥 BREAKING CHANGE: This package now depends on i18next v22, please refer to https://github.com/i18next/i18next/blob/HEAD/CHANGELOG.md#2200 for further breaking changes
@sapphire/plugin-i18next@3.1.0 - (2022-10-16)
- i18next: Update dependencies (98e3313)
- plugin-i18next: Add
applyLocalizedBuilder
andcreateSelectMenuChoiceName
to help registering localized commands (#372) (6deee87)
@sapphire/plugin-i18next@3.0.1 - (2022-10-02)
- i18next: Bump dependencies (666b0f4)
- Add @r-priyam as a contributor (2d97019)
- Add @BenSegal855 as a contributor (66553df)
- Add @yuansheng1549 as a contributor (c36ac65)
- Add @RealShadowNova as a contributor (6cfa76f)
- Migrate to vitest (94a182e)
@sapphire/plugin-i18next@3.0.0 - (2022-08-20)
- i18next: Remove
sendLocalized
,replyLocalized
, andeditLocalized
(#335) (e53558f)- 💥 BREAKING CHANGE:
sendLocalized
,replyLocalized
, andeditLocalized
have been removed as these methods never properly supported all i18next and DiscordJS options and were extremely hard to maintain. The replacement is using eitherfetchT
orresolveKey
and implementing your ownmessage.channel.send
/interaction.reply
- 💥 BREAKING CHANGE:
InternationalizationContext.author
has been removed as per the deprecation notice in the previous version. Please switch toInternationalizationContext.user
.
- 💥 BREAKING CHANGE:
- Add @ricardooow as a contributor (15d7f9b)
- Add @imranbarbhuiya as a contributor (e3d8fdc)
- Add @KrishAgarwal2811 as a contributor (875dda0)
- Add @jczstudios as a contributor (c9126bc)
- Add @MajesticString as a contributor (2743c8d)
- Add @Mzato0001 as a contributor (06626cd)
- Type cast
baseUserDirectory
(c76b008)
- subcommands: Lowercase subcommands and dashless aliases (#337) (31ea70c)
- *: Subcommands v3 & update plugins to Sapphire Result v2 (#271) (1cfc32a)
- 💥 BREAKING CHANGE: @sapphire/plugin-subcommands has been completely rewritten from scratch for version 3. Please refer to the README or the website for updated usage.
- 💥 BREAKING CHANGE: @sapphire/plugin-hmr has been updated to use @sapphire/result v2 and @sapphire/framework v3
- 💥 BREAKING CHANGE: @sapphire/plugin-pattern-commands has been updated to use @sapphire/result v2 and @sapphire/framework v3
- 💥 BREAKING CHANGE: @sapphire/plugin-i18next has been updated to use @sapphire/result v2 and @sapphire/framework v3
- 💥 BREAKING CHANGE: @sapphire/plugin-scheduled-tasks has been updated to use @sapphire/result v2 and @sapphire/framework v3
@sapphire/plugin-i18next@2.5.4 - (2022-07-11)
- Manually set version (117d5a6)
- deps: Update dependency @sapphire/utilities to ^3.7.0 (6ec8b75)
- deps: Update dependency i18next to ^21.8.5 (#301) (be8f6ed)
@sapphire/plugin-i18next@2.5.2 - (2022-05-18)
- i18next: Improve language discovery (#291) (ece5a46)
@sapphire/plugin-i18next@2.5.1 - (2022-05-15)
- i18next: Switch to new backend library (21cd166)
- i18next: Skip fetch language if locale is provided (#284) (3bc645f)
@sapphire/plugin-i18next@2.5.0 - (2022-04-19)
- i18next: Edit a reply when an already deferred or edited reply is passed into
replyLocalized
(fab3db9) - i18next: Ensure an interaction is deferred or replied before editing (34f6057)
- i18next: Add
guildLocale
andlocale
tofetchLanguage
context (d1e09f4)
@sapphire/plugin-i18next@2.4.2 - (2022-04-18)
- i18next: Actually fix files array (81debfc)
@sapphire/plugin-i18next@2.4.1 - (2022-04-18)
- Fixed files array (1e13a35)
@sapphire/plugin-i18next@2.4.0 - (2022-04-18)
- deps: Update dependency i18next to ^21.6.15 (5a5995c)
- Update typedoc setup (5c855bd)
- i18next: Support interaction (#272) (8681e7d)
2.3.1 (2022-04-01)
- deps: update all non-major dependencies (2377eb9)
2.3.0 (2022-03-06)
- deps: update all non-major dependencies (2016134)
2.2.3 (2022-01-23)
Note: Version bump only for package @sapphire/plugin-i18next
2.2.2 (2022-01-16)
2.2.1 (2022-01-14)
2.2.0 (2022-01-13)
2.1.6 (2022-01-09)
Note: Version bump only for package @sapphire/plugin-i18next
2.1.5 (2021-12-29)
Note: Version bump only for package @sapphire/plugin-i18next
2.1.4 (2021-12-28)
- i18next: bump i18next dependency (ebc32b0)
2.1.3 (2021-12-21)
Note: Version bump only for package @sapphire/plugin-i18next
2.1.2 (2021-12-06)
Note: Version bump only for package @sapphire/plugin-i18next
2.1.1 (2021-11-25)
- i18next: bumped i18next dependendency to ensure transient dependency has latest fixes (7cafdfc)
2.1.0 (2021-11-21)
- expose and use namespaces for options, context, etc (#176) (33452da)
- i18n: add
replyLocalized
(#168) (4c51f52) - plugin-i18n: add new syntax for formatters in i18next (#167) (d0f01d9)
2.0.2 (2021-11-06)
2.0.1 (2021-10-17)
- allow more node & npm versions in engines field (ce5b12f)
2.0.0 (2021-10-16)
- deps: update all non-major dependencies (#149) (1fe5598)
- deps: update dependency i18next to ^21.2.0 (#146) (2509ee4)
- i18next: change
Awaited
forAwaitable
(0e2e6ef) - i18next: change how
fetchLanguage
is implemented (#107) (30c8f7f) - i18next: remove @sapphire/pieces from install instructions (7c17a92)
- plugin-i18next: re-added support for guild target (#103) (a7152a8)
- plugin-i18next: updated for discord.js@13 and framework@2 (e041864)
- bump to discordjs v13.2.0 (3d0e484)
- i18next: add
baseUserDirectory
as alternative path for thelanguages
directory (takes precedence over root scan) (#159) (f8621b0) - i18next: bump i18next dependency to v20 (#125) (0023809)
- i18next: update i18next dependency (#129) (96519de)
- plugin-editable-commands: added first version (#106) (9af3e85)
- subcommands: migrate
Command#run
toCommand#messageRun
(#157) (2960711)
-
i18next: i18next has been updated to v21.0.1. Please also seee the breaking changes for i18next here and their migration guide here
-
chore: activate renovate
-
i18next: i18next dependency has been bumped to v20.x. As opposed to what the library does, this plugin will default the new option
ignoreJSONStructure
tofalse
-
i18next:
fetchLanguage
has been moved fromClientOptions
toClientOptions.i18n
-
plugin-i18next: Changed
InternationalizationHandler#options
to not be optional. -
plugin-i18next: Increase
@sapphire/framework
requirement to v2. -
plugin-i18next: Increase
discord.js
requirement to v13. -
plugin-i18next: Removed
I18nextClient#fetchLanguage
in favor ofInternationalizationHandler#fetchLanguage
. -
plugin-i18next: Removed
I18nextClient#i18n
in favor ofContext#i18n
. -
plugin-i18next: Removed
I18nextClient
. -
plugin-i18next: Removed
Message#editLocalized
in favor ofeditLocalized(message, options)
. -
plugin-i18next: Removed
Structure#fetchLanguage
in favor offetchLanguage(structure)
. -
plugin-i18next: Removed
Structure#fetchT
in favor offetchT(structure)
. -
plugin-i18next: Removed
Structure#resolveKey
in favor ofresolveKey(structure, keys, options)
. -
plugin-i18next: Removed
Structure#sendLocalized
in favor ofsendLocalized(structure, options)
. -
plugin-i18next: Renamed
I18nextClientOptions
toInternationalizationClientOptions
. -
plugin-i18next: Renamed
I18nextHandler
toInternationalizationHandler
. -
plugin-i18next: Renamed
InternationalizationHandler.fetchLocale
toformat
. -
plugin-i18next: Renamed
InternationalizationHandler.fetchT
togetT
. -
plugin-i18next: Require
discord.js
in/register
. -
plugin-i18next: Simplified
editLocalized
's overloads. -
plugin-i18next: Simplified
sendLocalized
's overloads.
1.3.7 (2021-06-19)
- remove peer deps, update dev deps, update READMEs (#91) (3489b1d)
- i18next: specify package side effects (33fd1ec)
1.3.6 (2021-05-02)
- drop the
www.
from the SapphireJS URL (a86049f) - update all the SapphireJS URLs from
.com
to.dev
(c5fd156)
1.3.5 (2021-04-21)
- change all Sapphire URLs from "project"->"community" & use our domain where applicable 👨🌾🚜 (#75) (e437dc4)
1.3.4 (2021-04-03)
Note: Version bump only for package @sapphire/plugin-i18next
1.3.3 (2021-03-16)
- update dependencies, add tslib, bump framework to v1.0.0 (880b761)
1.3.2 (2021-02-16)
Note: Version bump only for package @sapphire/plugin-i18next
1.3.1 (2021-02-07)
- i18n: update dependencies in package.json (8d0381b)
- i18next: properly augment Discord.js extensions (#56) (6f5b1a9)
1.3.0 (2021-02-03)
1.2.1 (2021-01-23)
Note: Version bump only for package @sapphire/plugin-i18next
1.2.0 (2021-01-12)
1.1.0 (2021-01-11)
- i18next: add missing tslib dependency (5687397)
- i18next: implement context and editing (#35) (1849831), closes #29 #29
- add plugin-i18next (#29) (41e6581)
- i18next: All aforementioned changes are breaking.