Skip to content

2.1.0

Choose a tag to compare

@makoni makoni released this 08 Jul 16:42
· 113 commits to master since this release
b7a5424

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 in DBManager to 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-swift to 2.2.0
    • swift-asn1 to 1.4.0
    • swift-atomics to 1.3.0
    • swift-certificates to 1.11.0
    • swift-distributed-tracing to 1.2.1
    • swift-nio to 2.84.0
    • swift-nio-http2 to 1.37.0
    • swift-nio-ssl to 2.32.0
    • swift-nio-transport-services to 1.25.0
    • swift-service-context to 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.