Releases: RLTree/LabMateAI
LabMateAI v2.0.2
LabMateAI Release Notes
[2.0.2] - 2024-10-20
Added
-
Comprehensive Database Testing
- Implemented a robust test suite for
labmateai_db.py, ensuring reliable creation and configuration of the SQLAlchemy engine.
- Implemented a robust test suite for
-
Continuous Integration Enhancements
- Updated
.travis.ymlto conditionally run Alembic migrations based on the testing environment. - Integrated coverage reporting and Codecov for improved visibility of test coverage.
- Updated
-
Updated Dependencies
- Added
alembic,pytest-cov,pytest-xdist, and other testing tools torequirements.txtto support enhanced testing and coverage capabilities.
- Added
Fixed
-
CLI Import Errors
- Resolved
ImportErrorby replacing relative imports with absolute imports incli.py, ensuring smooth execution of migration commands.
- Resolved
-
Test Failures in Migration Tests
- Addressed and fixed issues in
test_cli.pyrelated to database migrations and user creation tests, ensuring all tests pass successfully.
- Addressed and fixed issues in
-
Database Configuration Handling
- Enhanced the
get_enginefunction inlabmateai_db.pyto better handle testing scenarios and invalid configurations, preventing unexpected crashes.
- Enhanced the
Improved
-
Requirements Management
- Streamlined
requirements.txtby removing redundant packages and ensuring all necessary dependencies are included for both development and testing.
- Streamlined
-
CI/CD Workflow
- Optimized the Travis CI configuration for faster and more reliable builds, leveraging caching and parallel test execution.
Thank you for using LabMateAI! We continuously strive to improve the project by addressing issues, enhancing features, and ensuring a smooth development workflow. If you encounter any issues or have suggestions, please feel free to open an issue or contribute to the project.
LabMate v2.0.1
Added
-
Database Integration:
Integrated SQLAlchemy ORM to manage interactions with the Heroku PostgreSQL database (labmateai-db), enhancing data handling and scalability. -
Alembic Migrations:
Implemented Alembic for seamless database schema migrations, ensuring consistent database structures across different environments. -
Enhanced CLI Functionality:
Updated the Command-Line Interface (CLI) to automatically prompt users to rate recommended tools immediately after receiving recommendations, improving user engagement and feedback collection. -
Automated Interaction Logging:
Configured the CLI to automatically log all interaction data (interaction_id,user_id,tool_id,rating,usage_frequency,timestamp) into theinteractionstable, ensuring comprehensive tracking of user interactions. -
Continuous Integration (CI) Enhancements:
Updated.travis.ymlto include PostgreSQL service, run migrations before tests, and handle secure environment variables, thereby streamlining the CI pipeline. -
Improved Testing Setup:
Enhanced the test suite to include database integration tests, ensuring that all interactions are properly logged and that the system behaves as expected under various scenarios. -
Deployment Enhancements:
Improved deployment configurations for secure and reliable PyPI deployments, facilitating smoother releases and updates. -
Documentation Updates:
UpdatedREADME.mdand other documentation files to reflect the latest changes, providing clear setup and usage instructions for users and contributors.
Changed
-
Project Structure Refactoring:
Refactored project directories to support ORM models, migrations, and improved code organization, enhancing maintainability and scalability. -
CLI Workflow Modification:
Modified the CLI workflow to remove the separate rating option and integrate rating prompts directly after recommendations, resulting in a more intuitive user experience. -
Configuration Management Enhancements:
Enhanced configuration files (alembic.ini,.travis.yml,.env) to support secure and efficient CI/CD pipelines, ensuring better security and performance.
Fixed
-
Naming Conflicts Resolved:
Resolved naming conflicts between the ORMToolModeland customToolclasses by using aliases (ToolModelfor ORM andCustomToolfor the custom class), preventing import and reference issues. -
Import Errors Fixed:
FixedModuleNotFoundErrorissues by adjusting import statements and ensuring proper package structure, ensuring that all modules are correctly accessible. -
Test Failures Addressed:
Fixed failing tests caused by package renaming and import errors, ensuring that all tests pass successfully and maintain high code quality standards.