v2.3.0
Changes
- feat!: improve types for
options.getItem
,setItem
,removeItem
and made the table names singular, by @AwesomeStickz (d671ddc) - style: remove useless types on cache function definitions, by @AwesomeStickz (386501a)
- style!: change
ID
toId
, by @AwesomeStickz (cf4088f) - fix: not adding certain data to
pendingGuildData
on guild customizer, by @AwesomeStickz (abdc9c2) - refactor!: remove unused
currentTry
parameter from set functions, by @AwesomeStickz (ed6c090) - fix!: type of
options.shouldCache
functions, by @AwesomeStickz (7fa6e18) - refactor!: improve types support for working on the lib, by @AwesomeStickz (42c2eee)
- refactor!: change
channels
,guilds
etc. incache.options
to singular form to be consistent, by @AwesomeStickz (e1ec156) - chore: missed pushing changes from other files, by @AwesomeStickz (c1634cb)
- refactor: remove storing
preCacheGuild
in guild customizer, as we don't run transformers anymore, so no need to store a pre-cache guild, by @AwesomeStickz (54e6e82) - feat: delete pending guild data after retrieving it in the guild customizer so it doesn't stay in the collection forever, by @AwesomeStickz (1125759)
- fix: bug with
pendingGuildsData
not storing data properly, by @AwesomeStickz (5384221) - feat!: change types of cached objects based on the provided desired and undesired props, by @AwesomeStickz (a4b41ce)
- chore: update ts and use workspace ts version in vscode, by @AwesomeStickz (da69e08)
- feat: expose types of cached objects in
bot.cache.$inferredTypes
, by @AwesomeStickz (8d96bcd) - docs: add info about types support in README, by @AwesomeStickz (ca44ad8)
- docs: change wordings a bit, by @AwesomeStickz (28f412d)
Full Changelog: v2.2.0...v2.3.0