Releases: makoni/ReleaseInformerBot
Releases · makoni/ReleaseInformerBot
2.2.0
Enhance configuration management by integrating swift-configuration for dynamic settings, updating the README with deployment instructions, and refactoring the DBManager and BotHandlers to support the new configuration approach. Introduce a JSON configuration file for local settings management and update tests accordingly.
What's Changed
Full Changelog: 2.1.0...2.2.0
2.1.0
Enhancements
- Automatic CouchDB Setup:
- On startup, the app now automatically creates the required CouchDB database and design document if they don't exist.
- No manual CouchDB setup is required unless advanced customization is needed.
- Added a
setupIfNeed()method inDBManagerto handle this process.
- Improved Error Handling and Logging:
- The application now logs detailed errors for database and bot initialization failures.
- If critical errors are encountered during startup, the application will log the error and exit gracefully after a brief delay.
Dependency Updates
- Updated several package dependencies to their latest minor/patch versions in
Package.resolved:couchdb-swiftto 2.2.0swift-asn1to 1.4.0swift-atomicsto 1.3.0swift-certificatesto 1.11.0swift-distributed-tracingto 1.2.1swift-nioto 2.84.0swift-nio-http2to 1.37.0swift-nio-sslto 2.32.0swift-nio-transport-servicesto 1.25.0swift-service-contextto 1.2.1
Documentation
- README.md:
- CouchDB setup section clarified: describes new automatic setup and provides optional manual instructions.
Code Quality
configure.swift:- Improved startup sequence with better error handling for database and bot initialization.
- Logging added for improved observability.
DBManager.swift:- New logic for automatic database and design document creation.
- Clear logging for each setup step.
Thank you for using ReleaseInformerBot! 🚀 If you have issues, please review the new deployment instructions and automatic database setup notes in the README.