Releases: Eurobertics/Nebucord
Small fix for set activity, sonar cloud for repository integration
A small bugfix at set activity command, activity settings for streaming with link should work as expected.
Also since last version (v.1.0.2) a SECURITY.md with information for Vulnerability reportings as well as integration
of Sonar Cloud for code scanning is done.
Updated Composer install file hash in Dockerfile
Updated Composer install file hash in Dockerfile, otherwise the Docker image build will fail.
Hotfix: Path for CSV REST list change
Small hotfix for the CSV REST list path, which was still hardcoded for development purposes. Now it is dynamically build with dirname()
function.
RELEASE 1.0
FINALLY, RELEASE VERSION 1.0 IS HERE...
Of course it is still not finished but with version 1.0 it is ready to go out into the world.
Short changelog:
- All new dynamic model system for REST and WS API
- Autogenerated REST API endpoints from Discord Developer Portal
- Updated Discord API endpoint to currentyl v9
- Implemented REST API endpoints for Application Commands (Slash-Commands, User-, Message-Interactions)
- Added !listappcmds build in command to view a list of global and guild Application Commands
- Added possiblity to mention a bot for build-in commands istead of writing down the plain bot/app ID
- Refactored main loop code
- Many typo fixes
- Added support for interaction webhooks and normal webhooks
- Reworked REST API, changed to state based REST requests
- Updated internal Discord API fields to newest version
- Updated Dockerfile
- Updated Nebucord at DockerHub
Note for Docker: Since DockerHub build system is only available at a higher account tier. Nebucord was not updated anymore to
the DockerHub registry.
Thanks to GitHub Actions, this changed and Nebucord is again available with the latest release at DocketHub. GitHub Actions now
builds and push Nebucord to DockerHub.
As always, just leave an issue or contact me directly (by Discord for example) if you have questions, bugs, feature request or other issues.
Finally, back again... ready for Discord API v9
It has been a long time since the last release. Finally development is now again on the way.
Hopefully the spare time is enough to force more develpment on this project. Thanks to all who
are still with this project.
Changelog:
- Fixed typo bug with default intents bitmask (config as parameter), since in the new API version of Discord, intents are obligatory.
- Updated API call to latest version of Discord (API version 9)
- Updated the current set of models to reflect the latest event fields from the Discord API
- Updated the current set of REST models to reflect the latest event fields from the Discord API
- Updated the current set of OP models and gateway request models to reflect the latest event fields from the Discord API
- Some preps for new function such as threads, components, stages and others
Added posibility to set confi file manually
This update includes the possibility to set the path and name of the configuration file (default: ./nebucord.ini
) to an own one.
This is done by the Nebucord::bootstrap()
method like this:
$nebucord = new Nebucord();
$nebucord->bootstrap('yourconfiguration.ini', 'path/to/inifile')->run();
The main purpos for this, is that you can now define the correct ini path for Docker instances.
More information how to use INI files with Docker are on the Nebucord Docker Page.
Also some typo fixe and updates to the README.md are done.
Added .ini configuration and customable gateway intents
This update brings the ability to configure Nebucord by INI files. The default is localted at <projectroot>/nebucord.ini
.
As an additional feature, it is now possible to configure the intents which should be observed.
Of course every parameter can be set in the newly .ini file or as an parameter directly on instantiating the Nebucord main class.
Changelist:
- Added configuration INI file for easier configs
- Added selectable gateway intents in INI file
- All configuration can passed as array or set in INI file
- Added Connfetti-IO and Connfetti-INI as file reader for config in JSON and manual SPL autoloader
- Updated Composer CRC hash
Note:
The needed additional packages can be found here:
New features and (critical) bugfixes
Fixed critical and non critical bugs and added some new features:
- Fixed: Critical bug with wrong decoding of websocket payload length
- Fixed: Now the response is checked for correct JSON decoding and on NULL, Nebucord exits
- Added GuildModifyUser REST request
- Added GuildModifyCurrentUserNick REST request
- Added GuildAddMemberRole REST request
- Added GuildRemoveMemberRole REST request
Updated SHA384 hash in Dockerfile
Since 07/16/2020 a new (stable) version of Composer is out. Due to this, the Composer-Setup hash has changed and the Docker didn't build because of the old hash. This update addressed this issue.
Fixed loop bug on loosing socket
Sometimes the socket read method gets stuck in a loop if the socket gets closed while reading. This fix will check for this and exit properly to avoid an endless loop.