Repository navigation
v0.2.0-beta
·
7 commits
to master
since this release
Changelog
[v0.2.0-beta]
Features
- Implemented asynchronous bot architecture utilizing a state machine for user interactions.
- Introduced a cancel command to terminate ongoing searches and parameter inputs.
- Integrated GitHub Actions workflow to execute unit tests on pushes to the master branch.
- Added nightly integration tests specifically for the Madrid-Barcelona route.
Refactoring
- Conducted a major restructuring of the bot:
- Transitioned to an asynchronous implementation.
- Implemented a state machine to enhance user interaction handling.
- Separated messages and validations into dedicated modules.
- Moved configuration settings from the bot core to a separate module for better maintainability.
- Enhanced file path handling by replacing hardcoded paths with
pathlib. - Refactored the search function to resolve a datetime filter bug.
Testing
- Improved the test infrastructure:
- Integrated the
pytest-mockmodule. - Updated and expanded unit tests for broader coverage.
- Enabled code coverage reporting via Codecov.
- Converted test scripts to Python for cross-platform compatibility.
- Integrated the
- Adjusted the nightly test schedule to 22:00.
CI/CD
- Established a comprehensive GitHub Actions workflow for continuous integration and deployment.
- Added project status badges to the README for enhanced visibility.
- Renamed the Python package action to "CI" for clarity.
- Optimized the GitHub Actions YAML configuration.
Documentation
- Updated
README.mdto reflect recent changes. - Discontinued maintenance of the Spanish version of the documentation and removed it.
Bug Fixes
- Resolved an issue with datetime filtering in the search function.
- Fixed indentation errors in nightly test scripts.
- Addressed compatibility issues with Python 3.12 related to backslash newlines.
Full Changelog: View Changes