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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.4.1
->^2.5.0
Release Notes
sapphiredev/framework
v2.5.0
Compare Source
🚀 Features
2.4.1 (2022-02-18)
Bug Fixes
2.4.0 (2022-02-05)
Features
Bug Fixes
2.3.0 (2022-01-08)
Features
2.2.2 (2021-12-26)
Bug Fixes
BooleanArgument
/resolveBoolean
's contexts immutable (#338) (be130fe)2.2.1 (2021-12-06)
Bug Fixes
Command.Context
(422a093)2.2.0 (2021-11-21)
Features
ExtendedArgument
(#321) (fd6d095)Bug Fixes
2.1.4 (2021-11-06)
Bug Fixes
run
tomessageRun
(#310) (6d40eb6)Ready
generic type from parentClient
(#312) (4d528f5)Args
path in jsdoc (#309) (cd7f1cc)2.1.3 (2021-10-17)
Bug Fixes
CooldownOptions.delay
optional (#308) (ead3f41)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
2.0.0 (2021-10-16)
⚠ BREAKING CHANGES
from
orfromAsync
and you expected the error result to be of typeError
, it will now beunknown
. You can reset this back toError
by providing it as the second generic type argument.Command#run
methods toCommand#messageRun
Awaited
type has been renamed toAwaitable
@sapphire/pieces
to3.0.0
Command#categories
, useCommandStore#categories
insteadIdentifiers.PreconditionPermissions
has been renamed toIdentifiers.PreconditionClientPermissions
preconditionPermissions
has been renamed topreconditionClientPermissions
Permissions
precondition has been renamed toClientPermissions
PermissionsPrecondition
class has been renamed toClientPermissionsPrecondition
guildChannel
argument to returnGuildChannel | ThreadChannel
.SapphireClient.id
's type toSnowflake | null
.SapphireClientOptions.id
's type toSnowflake | null
.Events.GuildMemberSpeaking
.StoreRegistry
, it is now re-exported from@sapphire/pieces
.ArgType.categoryChannel
toguildCategoryChannel
.ArgType.newsChannel
toguildNewsChannel
.ArgType.textChannel
toguildTextChannel
.ArgType.voiceChannel
toguildVoiceChannel
.CommandPreConditions.NewsOnly
toGuildNewsOnly
.CommandPreConditions.TextOnly
toGuildTextOnly
.Identifiers.PreconditionNewsOnly
toPreconditionGuildNewsOnly
.Identifiers.PreconditionTextOnly
toPreconditionGuildTextOnly
.Preconditions.NewsOnly
toGuildNewsOnly
.Preconditions.TextOnly
toGuildTextOnly
.CommandOptionsRunType
.CooldownContext.delay
to not be optional.discord.js
requirement to v13.Command#preconditions
toPreconditionContainerArray
.Command#resolveConstructorPreConditions
.CommandOptions.cooldownBucket
tocooldownLimit
.CommandOptions.cooldownDuration
tocooldownDelay
.BucketType
toBucketScope
.PreconditionSingleResolvableDetails
to take a type parameter.PreconditionSingleResolvable
to usePreconditions
's type.CooldownContext.bucketType
toscope
.Event
toListener
EventStore
toListenerStore
events
tolisteners
SapphireClientOptions.loadDefaultErrorEvents
toloadDefaultErrorListeners
StoreRegistryEntries.events
toStoreRegistryEntries.listeners
Events
enum to be an object, so we can use discord.js's constantsEvents.EventError
toEvents.ListenerError
EventErrorPayload
toListenerErrorPayload
Events.Ready
toEvents.ClientReady
Events.Message
toEvents.MessageCreate
CommandOptions.strategyOptions
intoCommandOptions
CommandOptions.preconditions
to always require an array@sapphire/pieces
to 2.0.0PieceContextExtras
toContainer
, usage and augmentation is the same.Store.injectedContext
, use globally exportedcontainer
variable instead.
Store#context
toStore#container
.Piece#context
toPiece#container
.Features
Result#from
andResult#fromAsync
(#267) (300f2ed)typing
property to fireTextChannel.sendTyping()
when a command is accepted (#258) (71c1883)command#messageRun
method and deprecation warning forcommand#run
(#299) (750c25c)cooldownFilteredUsers
to exempt users from the cooldown precondition (#249) (8261770)ts-node
support (7a1c5c6)pieces
v3 (#260) (db6febd)Bug Fixes
change
Awaited
toAwaitable
(189c01f)docs: it was always
info
(3ce4d71)docs: update-tsdoc-for-vscode-may-2021 (#213) (857eaba)
explicitly type
version
asstring
(a8c9b39)export
CooldownContext
andMessageArgumentContext
(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
toListener
(#218) (e7ce612)specify missing breaking changes (b9c36de)
switch to
sapphire/*[@​v2](https://togithub.com/v2)
anddiscord.js@dev
(#227) (cbf5d4e)1.0.2 (2021-05-02)
Bug Fixes
www.
from the SapphireJS URL (e9ed4e8).com
to.dev
(4d0c8ea)1.0.1 (2021-04-21)
Bug Fixes
1.0.0 (2021-03-16)
Features
Bug Fixes
conditions
public (#178) (d1d4027)1.0.0-alpha.11 (2021-02-16)
Features
Bug Fixes
1.0.0-alpha.10 (2021-02-12)
⚠ BREAKING CHANGES
Events.CommandRun
third argument changed type toCommandRunPayload
,this is mostly identical to
CommandAcceptedPayload
(and exactly identical toCommandFinishPayload
)and likely won't be a breaking change for your code, however you may need to adjust
your import when using TypeScript.
Events.CommandFinish
third argument changed type toCommandFinishPayload
,this is mostly identical to
CommandAcceptedPayload
(and exactly identical toCommandRunPayload
)and likely won't be a breaking change for your code, however you may need to adjust
your import when using TypeScript.
Features
name
to context ofArgs.unavailableArgument
(#171) (a5bda61)unknown
(55be30a)caseInsensitivePrefixes
client option (#170) (61f9c41)1.0.0-alpha.9 (2021-02-07)
⚠ BREAKING CHANGES
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.UnknownCommandName
event arguments toUnknownCommandNamePayload
.Events.UnknownCommand
event arguments toUnknownCommandPayload
.Co-authored-by: Jeroen Claassens [email protected]
Features
events: create Events.PreMessageParsed (#164) (0311838)
events: remove UnknownCommandName, changed UnknownCommand (#165) (c3273d1)
1.0.0-alpha.7 (2021-02-06)
⚠ BREAKING CHANGES
'ArgumentBooleanInvalidBoolean'
toIdentifiers.ArgumentBoolean
.'ArgumentCategoryChannelInvalidChannel'
toIdentifiers.ArgumentCategoryChannel
.'ArgumentChannelMissingChannel'
toIdentifiers.ArgumentChannel
.'ArgumentDateInvalidNumber'
toIdentifiers.ArgumentDate
.'ArgumentDateTooSmall'
toIdentifiers.ArgumentDateTooSmall
.'ArgumentDateTooBig'
toIdentifiers.ArgumentDateTooBig
.'ArgumentDMChannelInvalidChannel'
toIdentifiers.ArgumentDMChannel
.'ArgumentFloatInvalidFloat'
toIdentifiers.ArgumentFloat
.'ArgumentFloatTooSmall'
toIdentifiers.ArgumentFloatTooSmall
.'ArgumentFloatTooBig'
toIdentifiers.ArgumentFloatTooBig
.'ArgumentGuildChannelMissingGuild'
toIdentifiers.ArgumentGuildChannelMissingGuild
.'ArgumentGuildChannelUnknownChannel'
toIdentifiers.ArgumentGuildChannel
.'ArgumentHyperlinkInvalidURL'
toIdentifiers.ArgumentHyperlink
.'ArgumentIntegerInvalidNumber'
toIdentifiers.ArgumentInteger
.'ArgumentIntegerTooSmall'
toIdentifiers.ArgumentIntegerTooSmall
.'ArgumentIntegerTooBig'
toIdentifiers.ArgumentIntegerTooBig
.'ArgumentMemberMissingGuild'
toIdentifiers.ArgumentMemberMissingGuild
.'ArgumentMemberUnknownMember'
toIdentifiers.ArgumentMember
.'ArgumentMessageUnknownMessage'
toIdentifiers.Message
.'ArgumentNewsChannelInvalidChannel'
toIdentifiers.NewsChannel
.'ArgumentNumberInvalidNumber'
toIdentifiers.Number
.'ArgumentNumberTooSmall'
toIdentifiers.ArgumentNumberTooSmall
.'ArgumentNumberTooBig'
toIdentifiers.ArgumentNumberTooBig
.'ArgumentRoleMissingGuild'
toIdentifiers.ArgumentRoleMissingGuild
.'ArgumentRoleUnknownRole'
toIdentifiers.Role
.'ArgumentStringTooShort'
toIdentifiers.ArgumentStringTooShort
.'ArgumentStringTooLong'
toIdentifiers.ArgumentStringTooLong
.'ArgumentTextChannelInvalidChannel'
toIdentifiers.TextChannel
.'ArgumentUserUnknownUser'
toIdentifiers.User
.'ArgumentVoiceChannelInvalidChannel'
toIdentifiers.VoiceChannel
.'CommandDisabled'
toIdentifiers.CommandDisabled
.'UnavailableArgument'
toIdentifiers.ArgsUnavailable
.'MissingArguments'
toIdentifiers.ArgsMissing
.'Cooldown'
toIdentifiers.PreconditionCooldown
.'DMOnly'
toIdentifiers.PreconditionDMOnly
.'GuildOnly'
toIdentifiers.PreconditionGuildOnly
.'NSFW'
toIdentifiers.PreconditionNSFW
.'Permissions'
toIdentifiers.PreconditionPermissions
.PreconditionContext
as third parameter toIPreconditionContainer#run
.PermissionsPrecondition#context
fromPreconditionContext
toRecord<PropertyKey, unknown>
.PreconditionContainerSingle#context
fromPreconditionContext
toRecord<PropertyKey, unknown>
.PreconditionSingleResolvableDetails#context
fromPreconditionContext
toRecord<PropertyKey, unknown>
.PreconditionContext
as third parameter toIPreconditionCondition#run
.Args.err
to returnErr<ArgumentError<T>>
instead ofArgumentError<T>
Features
1.0.0-alpha.6 (2021-02-04)
Bug Fixes
1.0.0-alpha.5 (2021-02-02)
⚠ BREAKING CHANGES
client.arguments
is nowclient.stores.get('arguments')
client.commands
is nowclient.stores.get('commands')
client.events
is nowclient.stores.get('events')
client.preconditions
is nowclient.stores.get('preconditions')
client.registerUserDirectories
is nowclient.stores.registerUserDirectories
client.deregisterStore
is nowclient.stores.deregister
client.registerStore
is nowclient.stores.register
prefixedMessage
,unknownCommandName
, andunknownCommand
3rdparameter now have the type
string | RegExp
CommandContext.prefix
now has the typestring | RegExp
UserError
,PreconditionError
,ArgumentError
classes,and the
ok
,err
functions now take a single parameter which is an objectof properties, rather than multiple parameters.
Features
Bug Fixes
1.0.0-alpha.4 (2021-01-28)
Features
Bug Fixes
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
Events.SharedReady
->Events.ShardReady
(#107) (d8ca2c0)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.
This PR has been generated by WhiteSource Renovate. View repository job log here.