Releases: AstroCB/BotCore
Releases · AstroCB/BotCore
v3.0.5
v3.0.4
v3.0.3
v3.0.1
v3.0.0
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
v2.3.0
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
functioncriticalError
, which can be used to send messages to the maintainer for any critical issues encountered at runtime.
v2.2.1
v2.2.0
New minor version.
Changes:
- New
getMemCache
function to retrieve the underlyingmemjs
instance used for logins by BotCore.
v2.1.0
New minor version.
Changes:
- Added new
option
parameter tologin.login
, allowing you to specify API options to be passed to facebook-chat-api at login.- By default,
logLevel
is set toerror
andforceLogin
is set totrue
; 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.
- By default,
- Some cleanup in docs, readme, and other reference material around the repo.