Skip to content

0.2.0

Compare
Choose a tag to compare
@reinacchi reinacchi released this 18 Jul 00:13
· 839 commits to main since this release
431062a

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
  • 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 Discord
  • config folder consists of all secret configuration value
  • framework folder consists of the bot's entire logic implementation that'll be called inside the bot 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 of new
    • This might be removed due to a bug issue later

Discord

  • Migrate all normal commands to slash commands

    • bookmark command hasn't been added yet
    • recent command has been fully removed. Use search instead
  • Message Content gateway event will no longer be required in future versions

Localisation

Web Dashboard

  • Dashboard has been fully removed and planned for a proper rewrite

Full Changelog: 0.1.4...0.2.0