Skip to content

Releases: AstroCB/BotCore

v3.0.5

23 Dec 02:41
Compare
Choose a tag to compare

New bugfix version.

Changes:

  • Bumps facebook-chat-api branched dependency to incorporate upstream changes.

v3.0.4

14 Dec 05:42
Compare
Choose a tag to compare

New bugfix version.

Changes:

  • Removes the fca-unofficial package as it no longer exists, causing resolution issues for fresh npm installs.

v3.0.3

18 Mar 06:05
Compare
Choose a tag to compare

New bugfix version.

Changes:

  • Now correctly publishes the internal types alongside the package; TypeScript excludes .d.ts type definition files in the compiled output by default, so these were previously missing.

v3.0.1

18 Mar 04:54
Compare
Choose a tag to compare

New bugfix version.

Changes:

  • Fixed bug preventing import of the package from CommonJS modules.
  • Fixed bug flattening the module structure of the package.

v3.0.0

18 Mar 04:33
9f575d3
Compare
Choose a tag to compare

New major release.

TypeScript migration: see #6 for details. There shouldn't be any functional changes to the package or its external interface, but explicit type definitions are now included as part of the distribution. Bumping to a new major version out of an abundance of caution.

Changes:

  • Added ESLint for more consistent styling.
  • Switched to ES6 modules (import/export).
  • Added full type definitions for all BotCore modules.
  • Reconfigured package to build TypeScript modules and publish compiled JS + types on releases (dist/).
  • Moved docs from documentationjs to TypeDoc (/docs – hosted via GitHub Pages here).

v2.3.1

06 Sep 20:50
Compare
Choose a tag to compare

New bugfix version.

Changes:

  • Banned users list now cached to reduce performance impact of checking banned users on every message.

v2.3.0

04 Sep 02:35
Compare
Choose a tag to compare

New minor version.

Changes:

  • New Ban API, which can be used to ban users across bot instances.
    • What "being banned" means depends on how you choose to integrate the API, and can vary from instance to instance
    • See details in the new banned module
  • New monitoring function criticalError, which can be used to send messages to the maintainer for any critical issues encountered at runtime.

v2.2.1

15 Aug 00:43
Compare
Choose a tag to compare

New bugfix version.

Changes:

  • Fixed an issue where the message sent when a monitoring error fires wasn't properly converted to a string.

v2.2.0

25 Jul 06:59
Compare
Choose a tag to compare

New minor version.

Changes:

  • New getMemCache function to retrieve the underlying memjs instance used for logins by BotCore.

v2.1.0

24 Jul 19:20
Compare
Choose a tag to compare

New minor version.

Changes:

  • Added new option parameter to login.login, allowing you to specify API options to be passed to facebook-chat-api at login.
    • By default, logLevel is set to error and forceLogin is set to true; previously, no options were passed, so this results in new default behavior at runtime:
      • Reduces the amount of logging from facebook-chat-api
      • Auto-approves any recent login warnings
    • To return to the old behavior, pass options = {} in your login calls.
  • Some cleanup in docs, readme, and other reference material around the repo.