Hello! This is the Change log section of Discord-Modals. Here you can see what things have been changed in the different versions, to be informed. This will be updated every time there are new versions. I hope you enjoy this package :)
- Fix: Table issues in docs.
- Fix: mistake exporting Interaction in v14.
Sometimes we have this proyect discontinued, many people ask if this package can be marked as deprecated, because of discord.js v13 and discord.js v14, which already have this modal feature. What do you think? 🤔
Use the discussion in our GitHub repository: Discussion #52.
- Fix: discord.js v14 util error at 'verifyString'.
- Fix: "Cannot read properties of undefined (reading '0')" error inside modal structure.
- Style: Improve style in files and docs.
Surprise! We are back.
Featured: Discord Developers announced Select Menus in modals, they are about to finish to develop it, but you can use it now (at your own risk). So, now Discord-Modals supports Select Menus in modals! 🎉
- Chore: Support Select Menus in Modals.
- Chore: Some improvements to FAQ.
- Chore: [Select Menus] Update readme to new examples.
- Chore: [Select Menus] Update docs.
Probably this will be the final version of Discord-Modals. Thank you so much for all the support!
Why? discord.js just released modals on v13.7 and in v14 (dev - unstable). In a very short time, this package will no longer make much sense when it already exists (on all the actual versions).
- Fix: Ephemeral option when replying to the Modal Submit Interaction.
- Add FAQ to readme.
- Style and Code Cleanup: All files.
- Chore: Add eslint.
- Fix: JSON Modals on
.showModal()
didn't work.
- TypeScript Compatibility: Add
.init()
method. - Fix: Readme example type error
.addComponents()
onModal
class.
- Compatibility: change
discord-api-types
enums fromv10
tov9
. Modal
andModalSubmitInteraction
class: Now the.components
property returnsModalActionRow
s.- Code cleanup.
- Fix: change
discord-api-types
enums fromv9
tov10
.
- Fix bug: 'INVALID_CLIENT' error when the Client is valid on
.showModal()
method. - Now the
TextInputComponent
returns an Action Row Component. AddModalActionRow
class and types. - Featured: Now the
.showModal()
method supports JSON Modals. - Fix error typings
ModalSubmitField
. - Featured: Implement
.update()
method toModalSubmitInteraction
class. - Fix types:
.showModal()
method,.addComponents()
and.setComponents()
ofModal
class. - Typings:
discord-api-types
updated to v10.
- Fix: Add types for reply options on
ModalSubmitInteraction
class.
- Fix: Add setPlaceholder type definition missing of
TextInputComponent
class.
- Fix types in the declaration file.
- Align documentation with typings.
- Fix bug (Compatibility with discord.js v14)
- Fix examples issues (Readme)
- Add types of discord-api-types/v9 in the declaration file.
- Add
.isRepliable()
and.isFromMessage()
methods toModalSubmitInteraction
class. - Add discord-modals to yarn.
- Update Readme and docs (yarn).
- Fix and add missing types in declaration file.
- Update Readme (Aspect: Example Code Block Formatter).
- package.json fixes.
🎉 Important Update:
- Add examples to constructors of the Classes.
- Fix error of
ModalSubmitField
class, if the field has not a valid value, before returns a empty string, now returns null. - Featured: Add discord.js v14 (Dev) Support.
- Featured: Add TypeScript Support.
- Update documentation (djs v14).
- Update Readme (djs v14).
- Change
TextInputComponent
class method.setValue()
to.setDefaultValue()
. - Documentation: Add limits and specifications to classes and update
TextInputComponent
class.
- Add recomendations on readme.
- Add
.message
property toModalSubmitInteraction
class. Some code cleanup there. - Add types to Classes properties.
- Documentation: Add
ModalSubmitInteraction
class properties and add Errors codes & messages. - Fix the
'INTERACTION_REQUIRED'
error message.
- Fix issue of errors.
- Add examples to classes. More comprehension.
- Improvements to documentation and fix errors.
- More organization in errors.
- Update readme.
- Fix compatibility issues. Now the package throws an error if you have a different version than discord.js v13 to avoid confusions.
- Update readme.
- Fix
.getTextInputValue()
&.getField()
method ofModalSubmitInteraction
class. Now if the customId is incorrect throws null.
- Add Errors directory and files.
- Fix
ModalSubmitInteraction#type
bug. Before returns 5, now returns 'MODAL_SUBMIT' type. - Fix
.toJSON()
method ofTextInputComponent
class. Previously did not return the value. - Fix
.getTextInputValue()
method ofModalSubmitInteraction
class. Now if the customId is incorrect throws null. - A little bit of code cleanup & maintenance.
- Add Changelog file.
- Finish docs file.
- Add
ModalSubmitField
class, addModalSubmitInteraction#fields
property and add.getField()
and.getTextInputValue()
methods toModalSubmitInteraction
class. - Update Readme with new Examples and fix typos.
- Fix ephemeral reply bug
- Add reply examples to readme.
- Update readme (Only compatible on discord.js v13)
- Fix
ModalSubmitInteraction#guild
bug (undefined).
- Fix
ModalSubmitInteraction#components
bug. - Update readme with new examples.
- Add Docs file.
Powered by Discord-Modals