Skip to content

Latest commit

 

History

History
494 lines (287 loc) · 32.7 KB

CHANGELOG.md

File metadata and controls

494 lines (287 loc) · 32.7 KB

Changelog

All notable changes to this project will be documented in this file.

🐛 Bug Fixes

  • 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)

🐛 Bug Fixes

  • Update transitive sapphire dependencies (c78017c)
  • Ensure cts file extensions in dist/cjs (#537) (6f863f8)
  • i18next: Bump transitive dependencies (2e13369)
  • i18next: Fixed docs link (8638659)

🐛 Bug Fixes

  • i18next: Bump i18next transitive dependency (296296a)
  • i18next: Bump transitive dependencies (98ec315)
  • deps: Update dependency @skyra/i18next-backend to ^2.0.5 (#517) (bf7bc8b)

🚀 Features

  • i18next: Add support for cached formatters (#533) (7f5b169)

↩️ Revert

  • "refactor(register): cleanup unnecessary side effect imports of index" (c2af242)

🏠 Refactor

  • register: Cleanup unnecessary side effect imports of index (dede596)

🐛 Bug Fixes

  • Update transitive dependencies (9fd4cfa)

🚀 Features

  • 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!

🐛 Bug Fixes

  • i18next: Update i18next dependency (3230518)
  • deps: Update all non-major dependencies (98df6c7)
  • i18next: Update transitive dependencies (6e804d4)
  • i18next: Set engines.node to >=18 (924bf71)

📝 Documentation

  • Reference updated types in README (dde535e)

🚀 Features

  • Re-export i18next instance (#500) (d849ee0)

🐛 Bug Fixes

  • i18next: Bump transitive i18next dependency (c1e993f)
  • i18next: Fixed resolveKey using incorrect paramater when no default value is passed through (#478) (850691d)

🚀 Features

🐛 Bug Fixes

  • i18next: Move module augmentations to index and import in register (#477) (9c098d6)

🚀 Features

  • i18next: Support ModalSubmitInteraction (#473) (15e1712)

🏠 Refactor

  • *: Cleanup plugin registry files (#469) (215b334)

🐛 Bug Fixes

  • i18next: Bump transitive @sapphire/utilities dependency (c93db25)
  • deps: Update all non-major dependencies (9bb6627)
  • i18next: Update i18next-backend (af0a0a6)

🐛 Bug Fixes

  • i18next: Fixed compatibility with TS 5.x (957ca68)
  • i18next: Update dependencies (c921515)

🐛 Bug Fixes

  • i18next: Bump i18next patch version (7fb11e7)

🚀 Features

  • deps: Support for djs v14 (#403) (7674782)

🐛 Bug Fixes

  • i18next: Fixed type compatibility with latest i18next changes (38367da)

🐛 Bug Fixes

  • i18next: Update dependencies to fix build issues with latest i18next (cd1a792)
  • deps: Update all non-major dependencies (#399) (953d57b)

🐛 Bug Fixes

  • deps: Update all non-major dependencies (#387) (e31f714)

📝 Documentation

  • Add @Arcadia148 as a contributor (3a28c2f)

🐛 Bug Fixes

🐛 Bug Fixes

  • i18next: Update dependencies (98e3313)

🚀 Features

  • plugin-i18next: Add applyLocalizedBuilder and createSelectMenuChoiceName to help registering localized commands (#372) (6deee87)

🐛 Bug Fixes

  • i18next: Bump dependencies (666b0f4)

📝 Documentation

  • 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)

🧪 Testing

🏠 Refactor

  • i18next: Remove sendLocalized, replyLocalized, and editLocalized (#335) (e53558f)
    • 💥 BREAKING CHANGE: sendLocalized, replyLocalized, and editLocalized have been removed as these methods never properly supported all i18next and DiscordJS options and were extremely hard to maintain. The replacement is using either fetchT or resolveKey and implementing your own message.channel.send / interaction.reply
    • 💥 BREAKING CHANGE: InternationalizationContext.author has been removed as per the deprecation notice in the previous version. Please switch to InternationalizationContext.user.

🐛 Bug Fixes

  • i18next: Fixed replyLocalized types (#334) (d55295f)
  • i18next: Bump sapphire utilities (41237ec)

📝 Documentation

  • 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)

🚀 Features

  • 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

🐛 Bug Fixes

  • Manually set version (117d5a6)
  • deps: Update dependency @sapphire/utilities to ^3.7.0 (6ec8b75)
  • deps: Update dependency i18next to ^21.8.5 (#301) (be8f6ed)

🏠 Refactor

  • i18next: Improve language discovery (#291) (ece5a46)

🏃 Performance

  • i18next: Switch to new backend library (21cd166)
  • i18next: Skip fetch language if locale is provided (#284) (3bc645f)

Bug Fixes

  • 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)

Features

  • i18next: Add guildLocale and locale to fetchLanguage context (d1e09f4)

Bug Fixes

  • i18next: Actually fix files array (81debfc)

Bug Fixes

Bug Fixes

  • deps: Update dependency i18next to ^21.6.15 (5a5995c)

Documentation

Features

  • i18next: Support interaction (#272) (8681e7d)

2.3.1 (2022-04-01)

Bug Fixes

  • deps: update all non-major dependencies (2377eb9)

2.3.0 (2022-03-06)

Bug Fixes

  • deps: update all non-major dependencies (2016134)

Features

2.2.3 (2022-01-23)

Note: Version bump only for package @sapphire/plugin-i18next

2.2.2 (2022-01-16)

Performance Improvements

  • i18next: "add" event is not necessary in chokidar (#229) (138764c)

2.2.1 (2022-01-14)

Bug Fixes

2.2.0 (2022-01-13)

Features

  • i18next: add hot-module-replacement to reload i18next resources (#224) (26a8c41)

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)

Bug Fixes

  • 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)

Bug Fixes

  • i18next: bumped i18next dependendency to ensure transient dependency has latest fixes (7cafdfc)

2.1.0 (2021-11-21)

Features

  • 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)

Bug Fixes

  • docs: replace command usage of run to messageRun (#160) (415adb8)

2.0.1 (2021-10-17)

Bug Fixes

  • allow more node & npm versions in engines field (ce5b12f)

2.0.0 (2021-10-16)

Bug Fixes

  • deps: update all non-major dependencies (#149) (1fe5598)
  • deps: update dependency i18next to ^21.2.0 (#146) (2509ee4)
  • i18next: change Awaited for Awaitable (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)

Code Refactoring

  • plugin-i18next: updated for discord.js@13 and framework@2 (e041864)

Features

  • bump to discordjs v13.2.0 (3d0e484)
  • i18next: add baseUserDirectory as alternative path for the languages 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 to Command#messageRun (#157) (2960711)

BREAKING CHANGES

  • 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 to false

  • i18next: fetchLanguage has been moved from ClientOptions to ClientOptions.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 of InternationalizationHandler#fetchLanguage.

  • plugin-i18next: Removed I18nextClient#i18n in favor of Context#i18n.

  • plugin-i18next: Removed I18nextClient.

  • plugin-i18next: Removed Message#editLocalized in favor of editLocalized(message, options).

  • plugin-i18next: Removed Structure#fetchLanguage in favor of fetchLanguage(structure).

  • plugin-i18next: Removed Structure#fetchT in favor of fetchT(structure).

  • plugin-i18next: Removed Structure#resolveKey in favor of resolveKey(structure, keys, options).

  • plugin-i18next: Removed Structure#sendLocalized in favor of sendLocalized(structure, options).

  • plugin-i18next: Renamed I18nextClientOptions to InternationalizationClientOptions.

  • plugin-i18next: Renamed I18nextHandler to InternationalizationHandler.

  • plugin-i18next: Renamed InternationalizationHandler.fetchLocale to format.

  • plugin-i18next: Renamed InternationalizationHandler.fetchT to getT.

  • 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)

Bug Fixes

  • remove peer deps, update dev deps, update READMEs (#91) (3489b1d)
  • i18next: specify package side effects (33fd1ec)

1.3.6 (2021-05-02)

Bug Fixes

  • drop the www. from the SapphireJS URL (a86049f)
  • update all the SapphireJS URLs from .com to .dev (c5fd156)

1.3.5 (2021-04-21)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • i18n: update dependencies in package.json (8d0381b)
  • i18next: properly augment Discord.js extensions (#56) (6f5b1a9)

1.3.0 (2021-02-03)

Features

  • i18next: respect alternative default handling (#54) (5b12ba8)

1.2.1 (2021-01-23)

Note: Version bump only for package @sapphire/plugin-i18next

1.2.0 (2021-01-12)

Features

  • i18next: store loaded namespaces (#42) (978f0ad)

1.1.0 (2021-01-11)

Features

  • i18next: allow creating i18next options using namespaces and languages (#41) (3efa231)

1.0.0 (2021-01-09)

Bug Fixes

  • i18next: add missing tslib dependency (5687397)

Features

BREAKING CHANGES

  • i18next: All aforementioned changes are breaking.