Releases: reinacchi/NReader
0.4.7
After months of inactivity, I'm happy to announce that version 0.4.7 has been released! This version includes major bug fixes. As well as major improvements. Please refer below for complete changelogs.
API
- Bypass Cloudflare DDoS protection (#160 by @reinhello)
- This has been a huge pain to us. Fortunately, this is a temporary fix that's good enough.
Code
- Support
shardResume
gateway event (#159 by @reinhello) - Rewrite buttons structure (#161 by @reinhello)
- Buttons are looking neater and more organised compared to any other version. Better-looking emojis are coming soon!
- Fix NSFW commands in NSFW-marked thread channels (#162 by @reinhello)
- NSFW commands should be executable in thread channels that have their parent's channel set to Age-Restricted.
Full Changelogs: 0.4.6...0.4.7
0.4.6
Version 0.4.6 has been released! We're incredibly sorry for the vast inactivities lately. This version includes bug fixes that seem to occur on most occasions and other improvements in code quality. Please refer below for complete changelogs.
API
- Add tests (#148 by @reinhello)
Code
- Bump Oceanic versions (#142, #145 by @reinhello)
- License year too. Welcome, 2023.
- Handle all shard events (#146 by @reinhello)
- Handle 1024 characters of tag's embed field (#149 by @reinhello)
- No more malfunctioning buttons.
Minor
Full Changelogs: 0.4.5...0.4.6
0.4.5
Version 0.4.5 has been released! There isn't much about this release but a new, refactored and improved bookmark logic has been implemented. Please refer below for full changelogs.
Code
- Implement page navigation through bookmark results (#140 by @reinhello)
- This new implementation will display 5 bookmark items from the array chunk. It'll avoid any potential rate limits.
Minor
- Fix TSDoc (#141 by @reinhello)
Full Changelogs: 0.4.4...0.4.5
0.4.4
Version 0.4.4 has been released! These changes introduced bug fixes and improvements to the logging. Please refer below for complete changelogs.
Code
- Fix wrong output of history length in stats (#128 by @reinhello)
- Add an option to enable or disable user profile stats (#129 by @reinhello)
- Bump Oceanic version to the latest (#132, #139 by @reinhello)
- Revert button permissions (#134 by @reinhello)
- Removed (will possibly be rewritten) due to its malfunctioning.
- Log users’ activities (#135 by @reinhello)
- The logging will quickly identify unknown issues for possible future fixes.
- Handle correct message output (#136 by @reinhello)
- Remove tags restrictions (#137 by @reinhello)
- Users can search freely now.
- Decode the log’s search query (#138 by @reinhello)
Minor
- Fix GitHub Linting checks (#130 by @reinhello)
Localisation
- Add localisation strings for improved user profile (#129 by @reinhello)
- Add localisation strings for error output (#136 by @reinhello)
Full Changelogs: 0.4.3...0.4.4
0.4.3
Version 0.4.3 has arrived! A new feature: user history has been added. This feature is still in beta so please look forward to improvements. Please refer below for complete changelogs.
API
- Refactor
APIError
(#121 by @reinhello)- The route URL is now included as the error output.
Code
- Set the correct boolean for new users' temporary premium (#117 by @reinhello)
- Bump Oceanic version to the latest (#118 by @reinhello)
- Fix bot list stats aren't updating (#119 by @reinhello)
- Refactor the
Search
command (#120 by @reinhello)- All search-related slash commands are organised together into one application command structure.
- Support Esperanto localisation (#123 by @reinhello)
- Stop existing paginators after 2 hours (#125 by @reinhello)
- This helps reduce memory leaks and tons of unnecessary events running in the background.
- Assign button permissions to the original user (#126 by @reinhello)
- Premium users will have their button usage locked to themselves and random users won't be getting in their way.
- Implement user history and statistics (#127 by @reinhello)
- This feature is still in beta which will be improved in future versions.
Minor
- Update README (#124 by @reinhello)
Discord
/search-similar
is now/search similar
/search
is now/search query
- Added
/profile view
slash command
Localisation
- Add Esperanto Translations (#122 by @darccyy)
New Contributors
- @darccyy made their first contribution in #122
Full Changelogs: 0.4.2...0.4.3
0.4.2
Version 0.4.2 has arrived! Code cleanup is now using both ESLint + Prettier to keep the code standard. Please refer below for complete changelogs.
Code
- Refactor Linting (#111 by @reinhello)
- This one is major code cleanup.
- Update README and JSDoc (#112 by @reinhello)
- Refactor Oceanic builders (#113 by @reinhello)
- All builder classes are smashed into a new, single dependency. I thought of getting the old
RichEmbed
refactored as well.
- All builder classes are smashed into a new, single dependency. I thought of getting the old
- Fix gallery image URLs on the embed author icon (#114 by @reinhello)
- Add a temporary premium feature (#116 by @reinhello)
Discord
Localisation
- Add localisation strings for the
Developer
category (#116 by @reinhello)
Full Changelog: 0.4.1...0.4.2
0.4.1
Major version 0.4.1 has arrived! Huge fixes have been properly implemented and most features should be usable by everyone. As of version 0.4.1 and in the future, NReader will now use the Oceanic library! Please refer below for complete changelogs.
(Version 0.4.0 was removed from release due to a typo on the version number. So I had to rewrite them in this version instead)
API
- Refactor API Module (#94 by @reinhello)
- This new API module will no longer require any Cloudflare bypass.
- Add API version (#97 by @reinhello)
- Handle API error (#108 by @reinhello)
Code
Notable Changes
- Switch to the internal API module (#95 by @reinhello)
- NReader now uses an internal API module inside the framework instead of a third party.
- Import framework from the
lib
directory (#98 by @reinhello)- I realised that I'm able to do this instead of having to run a build every time I made changes in the framework.
- Update config file (#99 by @reinhello)
- Fix commands registration and Discord status (#102 by @reinhello)
- Fix user bookmark returns error (#103 by @reinhello)
- Fix interaction response initialised more than one (#104 by @reinhello)
- Add premium system (#105 by @reinhello)
- Full implementation will be done in future PR.
- Rewrite components with Oceanic's
ComponentBuilder
(#106 by @reinhello)- I'm leaving the
embeds
one with NReader's current builder class.
- I'm leaving the
- Update
node-fetch
request option (#110 by @reinhello)
Minor
- Add minor docs on methods (#109 by @reinhello)
Discord
- Enable the
/search-similar
slash command back (#96 by @reinhello)- This slash command is now available again.
- Migrate from guild to global slash commands (#100 by @reinhello)
Localisation
- Add
TranslationKey
type (#107 by @reinhello)- This will ease anyone when trying to match the correct translation key in
NReaderClient#translate
- This will ease anyone when trying to match the correct translation key in
Full Changelog: 0.3.5...0.4.1
0.3.5
Version 0.3.5 has arrived! NReader has been growing rapidly and this version should finalise some steps before I can begin the Discord Verification process. On the other hand, this version includes major implementations which have been planned previously. Please refer below for complete changelogs.
Code
- Add
Constant
file (#85 by @reinhello)- This file stored constant values used around the framework base code
- Implement search sorting results (#87 by @reinhello)
- This allows users to sort results based on the timeline. A new body option has also been added to the
/search
slash command (sort
option)
- This allows users to sort results based on the timeline. A new body option has also been added to the
- Add bot list API stats update (#89 by @reinhello)
- Title characters are limited to a maximum of 30 (#90 by @reinhello)
- If the characters' length exceeds more than 30, it'll be shortened to
...
- If the characters' length exceeds more than 30, it'll be shortened to
- Use modal for page navigation (#92 by @reinhello)
- This implies better usage when navigating a page instead of requiring users to send a message in the channel.
MessageContent
will not be used anymore as of now.
Discord
- Add
sort
option in the/search
slash command (#87 by @reinhello) GuildMembers
andGuildMessages
intents are no longer required (#93 by @reinhello)- The bot is able to operate without privileged intents.
Localisation
- Support for Indonesian localisation (#88 by @reinhello)
Full Changelog: 0.3.4...0.3.5
0.3.4
Version 0.3.4 has arrived! This version includes regular fixes and small implementations added. Please refer below for complete changelogs.
Code
- Log whenever the bot disconnected from a guild (#79 by @reinhello)
- Add current server and user counts on the
/stats
command (#83 by @reinhello)
Minor
Discord
- Add
guildDelete
event (#79 by @reinhello)
Localisation
- Add server link on localisation string (#81 by @reinhello)
- Fix some Japanese localisation strings (#82 by @reinhello)
Full Changelog: 0.3.3...0.3.4
0.3.3
Version 0.3.3 has arrived! This version introduces bug fixes and codes cleanup and additions. A new slash command /help
has also been added to ease new users to the bot. Please refer below for complete changelogs.
API
- Handle misc API errors (#76 by @reinhello)
- Random errors are still occurring for the
/bookmark
command. This should prevent infinite interaction defer.
- Random errors are still occurring for the
Code
- Refactor tag restrictions (#68 by @reinhello)
- Handle specific page navigation (#69 by @reinhello)
Enter Page
button should be working forSearchPaginator
- Fix
SearchPaginator
customID conflict withReadSearchPaginator
(#70 by @reinhello) - Replace individual
API
with accessibleClient.api
property (#71 by @reinhello) - Disable the
/search-similar
command for a temporary length (#72 by @reinhello) - Remove unused
readState
fromUserSchema
(#73 by @reinhello)
Misc
- Fix build path (#74 by @reinhello)
- This was broken somehow previously.
Discord
- Add more information for the
/stats
slash command (#75 by @reinhello) - Add new
/help
slash command (#77 by @reinhello)
Localisation
- Add localisations for more stats information (#75 by @reinhello)
- Add localisations for the new
/help
slash command (#77 by @reinhello) - Rename the Chinese locale code from
CN
toZH
(#78 by @reinhello )
Full Changelog: 0.3.2...0.3.3