Skip to content

Releases: synzen/MonitoRSS

5.0.5

17 Mar 03:32
4a00e0d
Compare
Choose a tag to compare

Fixes

  • Fixed restore command throwing a TypeError when guild is missing

5.0.4

01 Feb 17:05
Compare
Choose a tag to compare

Fixes

  • Fixed config.database.articleExpire not allowing -1 value
  • Fixed databaseless profiles not restoring properly

5.0.3

10 Jul 15:37
Compare
Choose a tag to compare

Fixes

  • File a file path resolution in rss/initialize.js that broke rssadd

5.0.2

09 Jul 22:39
Compare
Choose a tag to compare

Fixes

  • File path resolutions when using bot as a npm module are fixed

5.0.1

19 Jun 13:49
Compare
Choose a tag to compare

Fixes

  • Removed colons from raw placeholders to fix being unable to type them in discord because of markdown/emoji conversions
  • Fixed cycles never restarting after socket disconnect
  • Fixed feeds never added back to cycle after refresh
  • Make feed identifiers URI-friendly (web client would sometimes fail to fetch feeds because of non-friendly feed identifiers)
  • Updated a bunch of packages after vulnerability warnings

5.0.0

05 Jun 16:41
Compare
Choose a tag to compare

Additions

  • Added automatic updates for breaking changes from version to version
  • Added Redis support to cache certain data for external application access (namely the website)
  • Added the initial website (only a control panel for server owners for now)
  • Added setstatus controller command
  • Added logs to indicate what configs are overrided in configOverride.json
  • Added logs to indicate what feeds failed to respond during the previous cycle
  • Added config.advanced.forkBatches
  • Added config.advanced.parallelBatches
  • Added config.advanced.parallelShards
  • Added emptyOnNoMatch option to regexOp to return an empty string instead of the original placeholder

Removals

  • Removed config.advanced.processorMethod
  • Removed cookies support for better maintainability

Changes

  • rssrefresh command will now attempt all links automatically upon using the command
  • Changed config.bot.deleteMenus default to true
  • Date checks have been prioritized over title checks for article ID resolutions (which is what decides whether an article is new or old)
  • Discord mentions are now escaped in placeholders (#92)
  • Feeds are automatically disabled when channel permissions SEND_MESSAGE, READ_MESSAGE (and EMBED_LINKS if embeds exist) are missing, except when webhooks are present
  • Halved the discord.js ClientOptions config messageCacheMaxSize from 200 to 100 to save memory
  • Renamed ClientSharded to ClientManager

Fixes

  • Fixed broken rssembed command when webhook exists with no prior embeds
  • Fixed image/thumbnail field of embed to accept all placeholder types
  • Fixed parameter configOverrides not being used in ClientManager

Miscellaneous

  • Refactored subscriptions formatting to use different keys
  • Moved update files to their own directory
  • Updates no longer needs to be run manually

4.0.2

10 Jan 17:47
Compare
Choose a tag to compare

Fixed databaseless configuration never booting up
Fixed commands never working for databaseless configuration on first run

4.0.1

07 Jan 15:13
Compare
Choose a tag to compare

Fixed ~subme and ~unsubme commands not working
Updating CONTRIBUTING and made note that all development happens on dev branch
Fixed update.js not progress reporting

4.0.0

01 Jan 01:04
Compare
Choose a tag to compare

IMPORTANT

Any feeds or profiles on a bot below v4.0.0 (this release version) MUST be updated to update and remove deprecated references.

To update:

  1. Make a backup of your profiles (through mongoDB, copy/pasting the json, or with rssbackup)
  2. Run node update.js in the main directory
  3. Run npm install

Major Changes

  • Refactored many functions to be promises for much cleaner code
  • Refactored to use database as source of truth for guild profiles, statistics and failed links

Additions

  • Command rssalert to support DM'ing feed warnings/failures to users rather than in server channels
  • Command rssprefix for custom prefix support
  • Command rssversion for bot version
  • Command rssinvite to send an invite link for the bot
  • Command rssdump to see raw placeholders
  • Controller command listguilds to generate a list of guilds the bot is in
  • Controller command showtrace to show error stack traces
  • Support for raw placeholders (directly from article sources)
  • Support for direct regex input for regexOps (thanks @Chilace #83)
  • Support for user subscriptions in addition to roles
  • Support for multiple embeds for webhooks (not possible for users)
  • Config config.feeds.sendOldOnFirstCycle
  • Config config.bot.exitOnSocketIssues
  • Config config.feeds.decode for manual encoding specifications for decoding feeds (allows fixes for feeds with ?? characters everywhere)
  • "this" as a valid channel input for rssmove
  • Heroku deploy button (thanks @neveSZ #69)

Removals

  • Controller command forceremove
  • Support for statistics on databaseless versions
  • Support for failed links on databaseless versions
  • Config value "isolated" for config.advanced.processorMethod
  • Placeholders {reddit_author} and {reddit_direct}
  • config.feeds.sendOldMessages
  • config.feeds.maxOldAge
  • config.feeds.showRegexErrs

Changes

  • Renamed "single" to "concurrent" for config.advanced.processorMethod config value
  • Renamed "parallel" to "parallel-isolated" for config.advanced.processorMethod config value
  • Renamed command rssroles to rssmention to account for users
  • Replaced needle with node-fetch

Fixes

  • Errors never being shown in channel for articles that failed to send
  • Docker configuration issues (thanks Danpiel #53)

Miscellaneous

  • Performance probably improved?
  • Title checks are more robust. Previously title checks only affected previously sent articles. For example, if two articles in the same fetch cycle had the same title, title checks didn't do anything. Now it accounts for articles in the same cycle.
  • Environment variables for certain configs can be set in a .env file in the root directory (thanks @Chilace #82)
  • Added Contribution guidelines (thanks @Chilace #85)
  • Refactored to use config.js across all files (thanks @NNTin #74)

3.0.0

25 Jun 11:48
Compare
Choose a tag to compare

To upgrade from 2.2, see https://github.com/synzen/Discord.RSS/wiki/Upgrading-from-v2.2

Overview

Database has been transitioned from SQL to MongoDB. Wiki has been updated accordingly.

Completely overhauled the way commands are written
Added command rssbackup to backup guild profile to JSON
Added command rssmove to move feeds to other channels
Added command rssstats for some averaged statistics
Added command rssclone to clone customization settings from one feed to another
Added controller command restore to restore a JSON profile made by rssbackup
Added controller comamnd dbbackup
Added controller command dbrestore
Added implicit {guid} placeholder
Added rssoption for message splitting
Added rssoption for table formatting
Added rssoption for role mention toggling
Added config.log.failedFeeds that was missing
Added config.advanced.parallel that will specify how many processors to spawn at once
Added config.bot.activityType to support different activites (watching, listening, playing, streaming)
Added config.bot.status to support different statuses (online, dnd, away, invisible)
Added support for subme/unsubme use without menus
Added support for command aliases via config.bot.commandAliases
Added support for a databaseless configuration
Added support for filtered message/embed formats
Added support for custom comparisons (experimental feature)
Added support for embed fields
Added support for setting multiple embed properties in one menu series
Added support for embed footer icon url
Added support for embed title
Added automatic backups when a guild leaves
Renamed config.logging to config.log
Renamed config.logging.logDates to config.log.dates
Renamed config.logging.showUnfiltered to config.log.unfiltered
Renamed config.logging.logLinkErrs to config.log.linkErrs
Renamed config.botSettings to config.bot
Renamed config.botSettings.defaultGame to config.bot.game
Renamed config.feedSettings to config.feeds
Renamed config.feedSettings.maxFeeds to config.feeds.max
Removed config.feeds.max (formerly config.feedSettings.maxFeeds) as a required config (by default unlimited unless specified otherwise)
Removed controller command ~stats
Removed controller command ~setoverride
Removed controller command ~removeoverride
Removed controller command ~allowcookies
Removed controller command ~disallowcookies
Removed controller command ~cleanfailed
Various optimizations