2023.2 Series Release Notes¶
14.1.0¶
Notes de mises à jours¶
The ability to create engine facades that used autocommit, which was removed in 13.0.0, has been re-added temporarily to allow a longer transition time for projects. It is still deprecated and requires SQLAlchemy < 2.x. It will be removed again in a future release.
The
oslo_db.sqlalchemy.migrationmodule andWalkVersionsMixintest mixin in theoslo_db.sqlalchemy.test_migrations, which were removed in 13.0.0, have been re-added temporarily to allow a longer transition time for projects. These are still deprecated as SQLAlchemy-Migrate is not compatible with SQLAlchemy 2.x. They will be removed again in a future release.
14.0.0¶
Notes de mises à jours¶
MySQL NDB Cluster support has been removed.
13.0.0¶
Nouvelles fonctionnalités¶
oslo.db now supports SQLAlchemy 2.0.
A new
oslo_db.compatmodule has been added. This provides a number of shims for handling differences between SQLAlchemy 1.x and 2.x.
Notes de mises à jours¶
The following test fixtures and base test classes were deprecated and have now been removed:
oslo_db.sqlalchemy.test_base.DbFixtureoslo_db.sqlalchemy.test_base.DbTestCaseoslo_db.sqlalchemy.test_base.OpportunisticTestCaseoslo_db.sqlalchemy.test_base.MySQLOpportunisticFixtureoslo_db.sqlalchemy.test_base.PostgreSQLOpportunisticFixtureoslo_db.sqlalchemy.test_base.MySQLOpportunisticTestCaseoslo_db.sqlalchemy.test_base.PostgreSQLOpportunisticTestCase
They have all been replaced by equivalent test fixtures and test class mixins in
oslo_db.sqlalchemy.test_fixtures.In addition, the following test cases were being inadvertently used publicly despite being private to oslo.db. They were also deprecated and have now been removed:
oslo_db.tests.sqlalchemy.base.DbTestCaseoslo_db.tests.sqlalchemy.base.MySQLOpportunisticTestCaseoslo_db.tests.sqlalchemy.base.PostgreSQLOpportunisticTestCase
The
oslo_db.sqlalchemy.migrationmodule andmigratebackend for theoslo_db.sqalchemy.migration_climodule, both of which were first deprecated in the 8.5.0 release, have now been removed.sqlalchemy-migrateis no longer under active development, does not support SQLAlchemy 2.0, and has been effectively replaced byalembic.
The ability to create engine facades that used autocommit, first deprecated in 12.1.0, has now been removed. This is not supported in SQLAlchemy 2.x.