Skip to content
This repository was archived by the owner on May 22, 2022. It is now read-only.

chore(deps): update dependency @sapphire/framework to ^2.5.0 #54

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 15, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sapphire/framework (source) ^2.4.1 -> ^2.5.0 age adoption passing confidence

Release Notes

sapphiredev/framework

v2.5.0

Compare Source

🚀 Features

2.4.1 (2022-02-18)
Bug Fixes
  • explicitly bump sapphire dependencies to their latest versions (df3a3d1)

2.4.0 (2022-02-05)

Features
Bug Fixes
  • bump dependencies to their latest versions (3b35c91)
  • message-parser: do not run commands when the bot has been timed out (#​373) (760227d)

2.3.0 (2022-01-08)

Features
2.2.2 (2021-12-26)
Bug Fixes
2.2.1 (2021-12-06)
Bug Fixes
  • command: TS Only - Fixed type of re-export of Command.Context (422a093)
  • deps: update sapphire dependencies (#​337) (0d06bc0)

2.2.0 (2021-11-21)

Features
Bug Fixes
2.1.4 (2021-11-06)
Bug Fixes
2.1.3 (2021-10-17)
Bug Fixes
2.1.2 (2021-10-17)
Bug Fixes
2.1.1 (2021-10-17)
Bug Fixes

2.1.0 (2021-10-17)

Features
Bug Fixes
  • allow more npm versions in engines field (ccecf4e)

2.0.0 (2021-10-16)

⚠ BREAKING CHANGES
  • For TypeScript users only, if you were previously using from or fromAsync and you expected the error result to be of type Error, it will now be unknown. You can reset this back to Error by providing it as the second generic type argument.
  • command: For TypeScript users please rename your Command#run methods to Command#messageRun
  • Awaited type has been renamed to Awaitable
  • Updated @sapphire/pieces to 3.0.0
  • Removed Command#categories, use CommandStore#categories instead
  • arguments: Changed the error message of DateArgument
  • arguments: Changed the error message of FloatArgument
  • arguments: Changed the error message of NumberArgument
  • arguments: Changed the error message of IntegerArgument
  • arguments: Changed the error message of all arguments that must be run in a guild
  • arguments: Changed the error message of GuildNewsThreadChannelArgument
  • arguments: Changed the error message of GuildPrivateThreadChannelArgument
  • arguments: Changed the error message of GuildPublicThreadChannelArgument
  • arguments: Changed the error message of GuildStageVoiceChannelArgument
  • arguments: Changed the error message of GuildTextChannelArgument
  • arguments: Changed the error message of GuildThreadChannelArgument
  • arguments: Changed the error message of GuildVoiceChannelArgument
  • arguments: Changed the error message of GuildMemberArgument
  • arguments: Changed the error message of UserArgument
  • arguments: Made MessageArgumentContext private
  • arguments: Stop exposing the channel property in context of the ChannelArgument error
  • arguments: Stop exposing the channel property in context of the GuildCategoryChannelArgument error
  • arguments: Stop exposing the channel property in context of the GuildNewsChannelArgument error
  • arguments: Stop exposing the channel property in context of the GuildPrivateThreadArgument error
  • arguments: Stop exposing the channel property in context of the GuildStageVoiceChannelArgument error
  • arguments: Stop exposing the channel property in context of the GuildTextChannelArgument error
  • arguments: Stop exposing the channel property in context of the GuildThreadChannelArgument error
  • arguments: Stop exposing the channel property in context of the GuildVoiceChannelArgument error
  • arguments: Rename Identifiers.ArgumentBoolean to Identifiers.ArgumentBooleanError
  • arguments: Rename Identifiers.ArgumentCategoryChannel to Identifiers.ArgumentGuildCategoryChannelError
  • arguments: Rename Identifiers.ArgumentChannel to Identifiers.ArgumentChannelError
  • arguments: Rename Identifiers.ArgumentDate to Identifiers.ArgumentDateError
  • arguments: Rename Identifiers.ArgumentDateTooSmall to Identifiers.ArgumentDateTooEarly
  • arguments: Rename Identifiers.ArgumentDateTooBig to Identifiers.ArgumentDateTooFar
  • arguments: Rename Identifiers.ArgumentDMChannel to Identifiers.ArgumentDMChannelError
  • arguments: Rename Identifiers.ArgumentFloat to Identifiers.ArgumentFloatError
  • arguments: Rename Identifiers.ArgumentFloatTooBig to Identifiers.ArgumentFloatTooLarge
  • arguments: Rename Identifiers.ArgumentGuildChannel to Identifiers.ArgumentGuildChannelError
  • arguments: Rename Identifiers.ArgumentGuildChannelMissingGuild to Identifiers.ArgumentGuildChannelMissingGuildError
  • arguments: Rename Identifiers.ArgumentHyperlink to Identifiers.ArgumentHyperlinkError
  • arguments: Rename Identifiers.ArgumentInteger to Identifiers.ArgumentIntegerError
  • arguments: Rename Identifiers.ArgumentIntegerTooBig to Identifiers.ArgumentIntegerTooLarge
  • arguments: Rename Identifiers.ArgumentMember to Identifiers.ArgumentMemberError
  • arguments: Rename Identifiers.ArgumentMessage to Identifiers.ArgumentMessageError
  • arguments: Rename Identifiers.ArgumentNewsChannel to Identifiers.ArgumentGuildNewsChannelError
  • arguments: Rename Identifiers.ArgumentNumber to Identifiers.ArgumentNumberError
  • arguments: Rename Identifiers.ArgumentNumberTooBig to Identifiers.ArgumentNumberTooLarge
  • arguments: Rename Identifiers.ArgumentRole to Identifiers.ArgumentRoleError
  • arguments: Rename Identifiers.ArgumentTextChannel to Identifiers.ArgumentGuildTextChannel
  • arguments: Rename Identifiers.ArgumentUser to Identifiers.ArgumentUserError
  • arguments: Rename Identifiers.ArgumentVoiceChannel to Identifiers.ArgumentGuildVoiceChannel
  • Identifiers.PreconditionPermissions has been renamed to Identifiers.PreconditionClientPermissions
  • UserError identifier preconditionPermissions has been renamed to preconditionClientPermissions
  • Permissions precondition has been renamed to ClientPermissions
  • PermissionsPrecondition class has been renamed to ClientPermissionsPrecondition
  • listener: Listeners will now be automatically unloaded if no emitter is found
  • Changed guildChannel argument to return GuildChannel | ThreadChannel.
  • Changed SapphireClient.id's type to Snowflake | null.
  • Changed SapphireClientOptions.id's type to Snowflake | null.
  • Removed Events.GuildMemberSpeaking.
  • Removed StoreRegistry, it is now re-exported from @sapphire/pieces.
  • Renamed ArgType.categoryChannel to guildCategoryChannel.
  • Renamed ArgType.newsChannel to guildNewsChannel.
  • Renamed ArgType.textChannel to guildTextChannel.
  • Renamed ArgType.voiceChannel to guildVoiceChannel.
  • Renamed CommandPreConditions.NewsOnly to GuildNewsOnly.
  • Renamed CommandPreConditions.TextOnly to GuildTextOnly.
  • Renamed Identifiers.PreconditionNewsOnly to PreconditionGuildNewsOnly.
  • Renamed Identifiers.PreconditionTextOnly to PreconditionGuildTextOnly.
  • Renamed Preconditions.NewsOnly to GuildNewsOnly.
  • Renamed Preconditions.TextOnly to GuildTextOnly.
  • Renamed the possible values for CommandOptionsRunType.
  • Updated CooldownContext.delay to not be optional.
  • Updated discord.js requirement to v13.
  • Changed Command#preconditions to PreconditionContainerArray.
  • Removed Command#resolveConstructorPreConditions.
  • Renamed CommandOptions.cooldownBucket to cooldownLimit.
  • Renamed CommandOptions.cooldownDuration to cooldownDelay.
  • Renamed BucketType to BucketScope.
  • Changed PreconditionSingleResolvableDetails to take a type parameter.
  • Changed PreconditionSingleResolvable to use Preconditions's type.
  • Renamed CooldownContext.bucketType to scope.
  • Renamed Event to Listener
  • Renamed EventStore to ListenerStore
  • Changed events directory from events to listeners
  • Renamed SapphireClientOptions.loadDefaultErrorEvents to loadDefaultErrorListeners
  • Renamed StoreRegistryEntries.events to StoreRegistryEntries.listeners
  • Refactored Events enum to be an object, so we can use discord.js's constants
  • Renamed Events.EventError to Events.ListenerError
  • Renamed EventErrorPayload to ListenerErrorPayload
  • Renamed Events.Ready to Events.ClientReady
  • Renamed Events.Message to Events.MessageCreate
  • Flattened CommandOptions.strategyOptions into CommandOptions
  • Changed CommandOptions.preconditions to always require an array
  • Updated @sapphire/pieces to 2.0.0
  • Renamed PieceContextExtras to Container, usage and augmentation is the same.
  • Removed Store.injectedContext, use globally exported container
    variable instead.
  • Renamed Store#context to Store#container.
  • Renamed Piece#context to Piece#container.
Features
Bug Fixes
  • change Awaited to Awaitable (189c01f)

  • docs: it was always info (3ce4d71)

  • docs: update-tsdoc-for-vscode-may-2021 (#​213) (857eaba)

  • explicitly type version as string (a8c9b39)

  • export CooldownContext and MessageArgumentContext (54ba95a)

  • fixed ESM bundle (7ca08b2)

  • fixed oversight in passing preconditions (#​239) (380a4ef)

  • index: re-export StoreRegistryEntries from @sapphire/pieces (#​243) (aa78ba9)

  • listener: add and remove maximum listeners (#​230) (53681ad)

  • make from/fromAsync return unknown to match TypeScript (#​300) (a83f0c9)

  • NonePrefixedMessage: rename to NonPrefixedMessage (#​205) (ad8adbc)

  • preconditions: fixed TextOnly and NewsOnly (#​222) (8cf1c2b)

  • preconditions: fixed UserPermissions precondition (1848f53)

  • preconditions: properly check for null in ClientPermissions and UserPermissions (#​262) (852ee87)

  • remove peer deps, update dev deps, update READMEs (#​210) (7cb9e3d)

  • types: use the correct channel parent type (#​232) (8307313)

  • update @sapphire/pieces to v2.0.0 (#​198) (5c95c32)

  • flatten command strategy options (#​220) (fdc4aa4)

  • rename Event to Listener (#​218) (e7ce612)

  • specify missing breaking changes (b9c36de)

  • switch to sapphire/*[@​v2](https://togithub.com/v2) and discord.js@dev (#​227) (cbf5d4e)

1.0.2 (2021-05-02)
Bug Fixes
  • drop the www. from the SapphireJS URL (e9ed4e8)
  • update all the SapphireJS URLs from .com to .dev (4d0c8ea)
1.0.1 (2021-04-21)
Bug Fixes
  • dependencies: update in semver scope dependencies (ca9a2c1)
  • change all Sapphire URLs from "project"->"community" & use our domain where applicable 👨‍🌾🚜 (#​192) (650260e)

1.0.0 (2021-03-16)

Features
Bug Fixes

1.0.0-alpha.11 (2021-02-16)

Features
Bug Fixes
  • enabled: remove last remnant of essentials (4928823)

1.0.0-alpha.10 (2021-02-12)

⚠ BREAKING CHANGES
  • command-accepted: Events.CommandRun third argument changed type to CommandRunPayload,
    this is mostly identical to CommandAcceptedPayload (and exactly identical to CommandFinishPayload)
    and likely won't be a breaking change for your code, however you may need to adjust
    your import when using TypeScript.
  • command-accepted: Events.CommandFinish third argument changed type to CommandFinishPayload,
    this is mostly identical to CommandAcceptedPayload (and exactly identical to CommandRunPayload)
    and likely won't be a breaking change for your code, however you may need to adjust
    your import when using TypeScript.
Features
  • args: add name to context of Args.unavailableArgument (#​171) (a5bda61)
  • args: add more data to error context for core arguments (0cfff79)
  • args: pass more context to args errors (#​174) (007eaed)
  • argumenterror: add type default of unknown (55be30a)
  • command-accepted: add received args to event payloads (#​173) (fa60b13)
  • message-parser: add caseInsensitivePrefixes client option (#​170) (61f9c41)

1.0.0-alpha.9 (2021-02-07)

⚠ BREAKING CHANGES
  • preconditions: Changed PreconditionContext.command to external
Features
  • events: added UnknownCommandPayload.commandName (#​166) (3dbcffd)

  • preconditions: make IPreconditionContainer#run's context optional (#​167) (57ad8d2)

1.0.0-alpha.8 (2021-02-07)

⚠ BREAKING CHANGES
  • events: Changed Events.UnknownCommandName event arguments to UnknownCommandNamePayload.
  • events: Changed Events.UnknownCommand event arguments to UnknownCommandPayload.

Co-authored-by: Jeroen Claassens [email protected]

  • events: CoreMessageParser is not longer a message event listener
Features

1.0.0-alpha.7 (2021-02-06)

⚠ BREAKING CHANGES
  • errors: Changed UserError identifier from 'ArgumentBooleanInvalidBoolean' to Identifiers.ArgumentBoolean.
  • errors: Changed UserError identifier from 'ArgumentCategoryChannelInvalidChannel' to Identifiers.ArgumentCategoryChannel.
  • errors: Changed UserError identifier from 'ArgumentChannelMissingChannel' to Identifiers.ArgumentChannel.
  • errors: Changed UserError identifier from 'ArgumentDateInvalidNumber' to Identifiers.ArgumentDate.
  • errors: Changed UserError identifier from 'ArgumentDateTooSmall' to Identifiers.ArgumentDateTooSmall.
  • errors: Changed UserError identifier from 'ArgumentDateTooBig' to Identifiers.ArgumentDateTooBig.
  • errors: Changed UserError identifier from 'ArgumentDMChannelInvalidChannel' to Identifiers.ArgumentDMChannel.
  • errors: Changed UserError identifier from 'ArgumentFloatInvalidFloat' to Identifiers.ArgumentFloat.
  • errors: Changed UserError identifier from 'ArgumentFloatTooSmall' to Identifiers.ArgumentFloatTooSmall.
  • errors: Changed UserError identifier from 'ArgumentFloatTooBig' to Identifiers.ArgumentFloatTooBig.
  • errors: Changed UserError identifier from 'ArgumentGuildChannelMissingGuild' to Identifiers.ArgumentGuildChannelMissingGuild.
  • errors: Changed UserError identifier from 'ArgumentGuildChannelUnknownChannel' to Identifiers.ArgumentGuildChannel.
  • errors: Changed UserError identifier from 'ArgumentHyperlinkInvalidURL' to Identifiers.ArgumentHyperlink.
  • errors: Changed UserError identifier from 'ArgumentIntegerInvalidNumber' to Identifiers.ArgumentInteger.
  • errors: Changed UserError identifier from 'ArgumentIntegerTooSmall' to Identifiers.ArgumentIntegerTooSmall.
  • errors: Changed UserError identifier from 'ArgumentIntegerTooBig' to Identifiers.ArgumentIntegerTooBig.
  • errors: Changed UserError identifier from 'ArgumentMemberMissingGuild' to Identifiers.ArgumentMemberMissingGuild.
  • errors: Changed UserError identifier from 'ArgumentMemberUnknownMember' to Identifiers.ArgumentMember.
  • errors: Changed UserError identifier from 'ArgumentMessageUnknownMessage' to Identifiers.Message.
  • errors: Changed UserError identifier from 'ArgumentNewsChannelInvalidChannel' to Identifiers.NewsChannel.
  • errors: Changed UserError identifier from 'ArgumentNumberInvalidNumber' to Identifiers.Number.
  • errors: Changed UserError identifier from 'ArgumentNumberTooSmall' to Identifiers.ArgumentNumberTooSmall.
  • errors: Changed UserError identifier from 'ArgumentNumberTooBig' to Identifiers.ArgumentNumberTooBig.
  • errors: Changed UserError identifier from 'ArgumentRoleMissingGuild' to Identifiers.ArgumentRoleMissingGuild.
  • errors: Changed UserError identifier from 'ArgumentRoleUnknownRole' to Identifiers.Role.
  • errors: Changed UserError identifier from 'ArgumentStringTooShort' to Identifiers.ArgumentStringTooShort.
  • errors: Changed UserError identifier from 'ArgumentStringTooLong' to Identifiers.ArgumentStringTooLong.
  • errors: Changed UserError identifier from 'ArgumentTextChannelInvalidChannel' to Identifiers.TextChannel.
  • errors: Changed UserError identifier from 'ArgumentUserUnknownUser' to Identifiers.User.
  • errors: Changed UserError identifier from 'ArgumentVoiceChannelInvalidChannel' to Identifiers.VoiceChannel.
  • errors: Changed UserError identifier from 'CommandDisabled' to Identifiers.CommandDisabled.
  • errors: Changed UserError identifier from 'UnavailableArgument' to Identifiers.ArgsUnavailable.
  • errors: Changed UserError identifier from 'MissingArguments' to Identifiers.ArgsMissing.
  • errors: Changed UserError identifier from 'Cooldown' to Identifiers.PreconditionCooldown.
  • errors: Changed UserError identifier from 'DMOnly' to Identifiers.PreconditionDMOnly.
  • errors: Changed UserError identifier from 'GuildOnly' to Identifiers.PreconditionGuildOnly.
  • errors: Changed UserError identifier from 'NSFW' to Identifiers.PreconditionNSFW.
  • errors: Changed UserError identifier from 'Permissions' to Identifiers.PreconditionPermissions.
  • preconditions: Added PreconditionContext as third parameter to IPreconditionContainer#run.
  • preconditions: Changed PermissionsPrecondition#context from PreconditionContext to Record<PropertyKey, unknown>.
  • preconditions: Changed PreconditionContainerSingle#context from PreconditionContext to Record<PropertyKey, unknown>.
  • preconditions: Changed PreconditionSingleResolvableDetails#context from PreconditionContext to Record<PropertyKey, unknown>.
  • preconditions: Added PreconditionContext as third parameter to IPreconditionCondition#run.
  • args: changed Args.err to return Err<ArgumentError<T>> instead of ArgumentError<T>
Features
  • args: add Args#ok, refactored Args#error to return Err<ArgumentError> (#​159) (65316a6)
  • args: change visibility of parser from private to protected (#​160) (3ad6f85)
  • command: add CommandContext#commandPrefix (#​157) (c8c7417)
  • command-events: pass more context (#​162) (11a6274)
  • errors: expose all identifiers in an enum (#​161) (3371f35)
  • preconditions: add context to Container and Condition (#​158) (de6bc03)

1.0.0-alpha.6 (2021-02-04)

Bug Fixes

1.0.0-alpha.5 (2021-02-02)

⚠ BREAKING CHANGES
  • client: client.arguments is now client.stores.get('arguments')
  • client: client.commands is now client.stores.get('commands')
  • client: client.events is now client.stores.get('events')
  • client: client.preconditions is now client.stores.get('preconditions')
  • client: client.registerUserDirectories is now client.stores.registerUserDirectories
  • client: client.deregisterStore is now client.stores.deregister
  • client: client.registerStore is now client.stores.register
  • command parser: The events prefixedMessage, unknownCommandName, and unknownCommand 3rd
    parameter now have the type string | RegExp
  • command parser: CommandContext.prefix now has the type string | RegExp
  • The UserError, PreconditionError, ArgumentError classes,
    and the ok, err functions now take a single parameter which is an object
    of properties, rather than multiple parameters.
Features
Bug Fixes
  • update discord redirect URL (61edce2)

1.0.0-alpha.4 (2021-01-28)

Features
Bug Fixes
  • add discord.js utilities for type guards (cf74431)

1.0.0-alpha.3 (2021-01-14)

Features
Bug Fixes

1.0.0-alpha.2 (2021-01-03)

Features
Bug Fixes

1.0.0-alpha.1 (2020-12-28)

Features
1.0.0-alpha.0 (2020-12-22)
Features
Bug Fixes

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled due to failing status checks.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant