0.2.0
Major version 0.2.0 for Reader is here! These significant changes only include fixes from the previous version and improvements. As for new upcoming features that have been planned, I'll ensure they'll be added soon.
- All changes can be found in #16 (by @reinhello)
API
- Fix API Cloudflare ban
- This is a temporary fix suggested by the library maintainer
- Uses
cf_clearance
cookie to bypass Cloudflare (see above)
Code
Refactor the entire project structure base.
Folders are now divided into their own category usage
bot
folder consists of the main bot to connect to Discordconfig
folder consists of all secret configuration valueframework
folder consists of the bot's entire logic implementation that'll be called inside thebot
folder- Changes are expected to be done in the framework
localisation
folder consists of all localisation sources
Refactor logging output
Logging output will return as fancy as possible and contains extra detail of the output
- Fix some ESLint rules
- Fix wrong typing
- Interfaces and types are now separated into their own directory and file for global usage
Database
- Migrate the database from SQLite3 to MongoDB
- Set the default user reading state to
current
instead ofnew
- This might be removed due to a bug issue later
Discord
-
Migrate all normal commands to slash commands
bookmark
command hasn't been added yetrecent
command has been fully removed. Usesearch
instead
-
Message Content gateway event will no longer be required in future versions
Localisation
- Refactor localisation source files
- Now using
ReaderClient#translate(key: string)
- Now using
- Separate localisation keys based on the category
Web Dashboard
- Dashboard has been fully removed and planned for a proper rewrite