Skip to content

Releases: ProdByGodfather/abarorm

v2.1.0

20 Aug 08:28
Compare
Choose a tag to compare

Release 2.1.0

Changes

  • The Category model now uses a Meta class to specify the database configuration, instead of passing it to the __init__ method. This change simplifies the model definition and makes it more readable.
  • The db_name attribute in the Meta class is set to DATABASE_CONFIG['sqlite'], which specifies the SQLite database configuration for the model.

Upgrade Instructions

To upgrade to version 2.0.1, follow these steps:

  1. Update your ORM package to the latest version.
  2. In your code, replace the old Category model definition with the new one provided in the release notes.
  3. Run your application as usual, and the updated Category model will be used for database operations.

Compatibility

This release is compatible with version 2.0.0 of the ORM package. No further changes are required to use the updated Category model.

Bug Fixes and Improvements

This release focuses on improving the code structure and readability of the Category model. No bug fixes or major new features are included in this update.

If you have any questions or encounter any issues, please contact our support team or submit a bug report on our issue tracker.

v2.0.0

19 Aug 12:46
Compare
Choose a tag to compare

Release Notes: Version 2.0.0

abarorm v1.1.0 introduces support for auto_now_add, allowing automatic population of creation timestamps for DateTimeField and DateField fields. This enhancement simplifies model creation by automatically setting creation times without needing manual intervention.

New Features:

  • Support more fields
  • sorting on all() method
  • Postgresql database support

v1.0.0

19 Aug 11:56
Compare
Choose a tag to compare

Release Notes for abarorm v1.0.0

We are excited to announce the release of abarorm version 1.0.0! This release marks a significant milestone in the development of our lightweight Object-Relational Mapping (ORM) library for SQLite and MySQL databases in Python.

New Features

Automatic Table Management: With this update, you no longer need to manually call create_table() to set up or update your database schema. abarorm now automatically handles table creation and updates based on your model definitions.
Enhanced Field Management: Models can now be defined with custom fields, including foreign keys, and abarorm will automatically manage default values and constraints as specified.

Important Notes for Developers

Development Mode Consideration: During the development phase, any new fields added to your models will default to NULL. It is strongly recommended to recreate your database schema once development is complete to ensure all fields have appropriate constraints and default values.

v0.9.0

18 Aug 08:58
0261bc6
Compare
Choose a tag to compare

New Features:

  • MySQL Support: Added support for MySQL databases. You can now use MySQLModel to interact with MySQL databases alongside SQLite.
  • Database Compatibility: Adjusted query methods and table creation to ensure compatibility with MySQL.

Updates:

  • Introduced the MySQLModel class for managing MySQL connections.
  • Included mysql-connector-python as a dependency for MySQL support.

This release enhances the flexibility of abarorm, enabling it to work with both SQLite and MySQL databases.

v0.8.0

18 Aug 06:25
Compare
Choose a tag to compare

Release Notes for abarorm v0.8

We are excited to announce the release of abarorm version 0.8! This update includes crucial bug fixes and enhancements:

Resolved: Fixed NOT NULL constraint issues, ensuring proper value assignment for all fields, especially for DateTimeField with auto_now.
Improved: Enhanced ForeignKey handling, ensuring proper assignment and management of foreign key relationships.
Table Creation: Improved the create_table method, ensuring all defined fields are correctly created in the database.

General Enhancements: Improved overall code structure and readability for better stability and performance.
This release is a significant step forward in making abarorm more reliable and easier to use.

v0.7.4

17 Aug 16:13
4478f9a
Compare
Choose a tag to compare

Release 0.7.4 - Initial Release

Date: Saturday, 17 August 2024

Overview

We are excited to announce the first official release of abarorm, a simple ORM library for Python. This release marks the initial version of the package, laying the foundation for future enhancements.

Key Features

  • Basic ORM Functionality: Includes core features for defining models and performing CRUD operations.
  • SQLite Support: Integrated support for SQLite, making it easy to use with Python applications.

Getting Started

To get started with abarorm, install it via PyPI and check the documentation for usage examples and API details.

pip install abarorm

Future Plans

Future releases will focus on additional features, improvements, and extended support for other databases.

Thank you for your support and feedback!