Releases: Atanamo/IRC-Gateway
Version-2.1.1
Changelog
- Server: Updated socket.io library to 2.4.1, to fix security vulnerability in xmlhttprequest.
- Webclient: Updated version of cash selector library (cash-dom) to 7.0.4.
Version-2.1.0
Changelog
- Server: Updated dependencies to latest versions.
- Webclient: Updated version of cash selector library (cash-dom) to 7.0.1.
Version 2.0.1
Changelog
- Webclient: Added option
styleClassto set custom CSS class of tabsystem node. - Webclient: Providing cash selector library via package namespace as
GatewayChat.$. This is an experimental feature.
Version 2.0.0
Major refactoring to an installable node package.
There are several breaking changes compared to last release - see changelog.
Changelog
Server:
-
Breaking change: No self-creation anymore
- App has to be included as package
- Must be created by factory method
- Config has to be passed to factory method
- Data source has to be passed to factory method
- Removed file for custom config
-
Breaking change: Changed database interface
- Split database abstraction into classes for data source API and database adapters
- Datasource classes:
AbstractDatasource,DefaultDatasource - Database adapter classes:
AbstractDatabaseHandler,MysqlDatabaseHandler
- Datasource classes:
- Expecting new props
gameTitleandgameTagin result of methodgetClientIdentityData - Renamed database method
getSingleBotChannelstogetGameBoundBotChannels. - Added new method
getGameStatusesto read status for multiple games (used for bot commands) - Removed methods
getGameStatusandgetGameRound - Replaced config setting
SQL_DATABASE_PREFIX_GAMEin favor ofSQL_DATABASE_GAME
- Split database abstraction into classes for data source API and database adapters
-
Breaking changes for usage of game bot:
- Changed command "galaxy?" to "game?"
- Removed command "round?", changed commands "game?" and "status?" to print all game info
-
Breaking change: Webserver delivers own files by new request URLs
- Changed default webserver root from process working dir to package root dir
- Changed request URL for javascripts from "/js/..." to "/chat/webclient/..."
- Added request URL for webclient.js ("/chat/webclient.js")
- Removed partial files of webclient (formerly URL "/js/chat_controller.js", etc.)
-
Mono-bot mode
- The mono-bot mode handles all game instances by exact one IRC bot
- (Instead of an IRC bot created per game instance)
- In-game chat users can be distinguished by added game info
-
Various new config settings:
MAX_BOTScan be used to configure mono-botWEB_SERVER_STATICS_DELIVERY_DIRfor own filesWEB_SERVER_CLIENT_DELIVERY_DIRfor files of the webclient (especially thewebclient.js)BOT_GAME_LABELfor the common name of a gameSQL_DATABASE_GAMEin replace forSQL_DATABASE_PREFIX_GAME- etc.
Webclient:
-
Breaking change: Reorganized webclient sources and requirements
webclient.jsnow contains all sources, including thirdparty libraries- Partial files of webclient are not provided any longer (
chat_controller.js, etc.) - Internal classes are hidden from the global space (except the main class)
-
Breaking change: Renamed global main class
ChatControllertoGatewayChat -
Breaking change: Target page must not contain the client's initial DOM / partial HTML anymore
- The webclient builds up the initial DOM by itself
- The DOM is appended to an existing HTML node, by default the body node
- Introduced new option
parentElementto define the target HTML node
-
Breaking change: Referencing and styling HTML nodes by CSS classes instead of IDs
#tabsystembecame.tabsystem#tabPageServerbecame.tabPage.server#tabPage_<channel>became[data-id=tabPage_<channel>]#channelCreateFormbecame.channelCreateForm#channelNameInputbecame.channelNameInput#channelPasswordInputbecame.channelPasswordInput#channelFlagPublicbecame.channelFlagPublic#channelFlagIRCbecame.channelFlagIRC#channelCreateSubmitButtonbecame.channelCreateSubmitButton
-
Breaking change: Further changes on CSS
- Add
.linefor messages having multiple lines - Renamed
.tabsystemHeaders [data-id]to.tabsystemHeaders [data-tab]
- Add
Version 1.3.0
Changelog
- Increase node version to 6.0 LTS and update packages to latest minor versions
- Differ identities used by multiple players by using a kind of player index
Note
This is the last release for major version 1, there will be no further support for this major version.
Please upgrade to version 2.0 and refer to the changelog to regard breaking changes.