v2.1.0
Release Notes for EggCart v2.1.0
This version includes major improvements, new features, fixes and breaking changes.
What's New:
- Migration to PostgreSQL: I've shifted our database to PostgreSQL for better management and scalability.
- Use of Sequelize: Now using Sequelize, a powerful ORM, for database interactions.
- Improved Configurations: Bot and database configurations have been restructured for better management and clarity.
- New CRUD Functions: Interact with your shopping list more effectively with new CRUD functions in
EggoList
controller. - Updated Documentation:
README.md
has been updated with improved setup instructions and command descriptions.
Improvements and Refactorings:
- Code Refactoring: Extensive refactoring done to improve code structure and efficiency.
- Dependencies Update: Dependencies have been updated to the latest versions to ensure security and performance.
- Bot Interface Enhancements: Interacting with the bot is now smoother and more reliable.
Getting Started:
To get started with EggCart v2.1.0, follow the updated installation and setup instructions in README.md
. Ensure proper configuration of the environment variables for PostgreSQL and your Telegram bot.
Acknowledgments:
A huge thank you to Radical-Egg who made this possible.
Changelog
Added
- New CRUD functions implemented in
EggoList.controller
. - Migration and model files for PostgreSQL using Sequelize.
- New configuration files for PostgreSQL database and Telegram bot.
- Updated
README.md
with new setup instructions and usage commands. - Additional PostgreSQL environment variables in
template.env
. - Updated app logo and styling in documentation (
README.md
).
Changed
- Migrated from SQLite to PostgreSQL using Sequelize for database management.
- Refactored
Eggcart.js
to enhance the EggCart class and implementEggoListController
. - Updated dependencies in
package.json
, including addingpg
,pg-hstore
, andsequelize
. - Transitioned from
require
statements to ES6import
in various files and then reverted back torequire
. It was just easier taht way. - Improved error handling and simplified return statements in async functions.
Removed
- Removed references to SQLite and replaced them with Sequelize and PostgreSQL.
Fixed
- Documentation updates to reflect changes in code and functionality.
- Ensured that items in
EggoList
are unique and not null.