Victoria Series Release Notes

8.4.1

Bug Fixes

  • In mysql 8.0.19, duplicate key error information is extended toinclude the table name of the key. Previously, duplicate key errorinformation included only the key value and key name.This extends capabilities to handle changes in duplicate key errorinformation with newer mysql version since 8.0.19.

7.0.0

Upgrade Notes

  • Support for Python 2.7 has been dropped. The minimum version of Python nowsupported is Python 3.6.

5.0.0

Bug Fixes

  • Removed deprecated database optionmin_pool_size.

    This option had no effect and was deprecated in Rocky. For moreinformation see bug1764786.

4.42.0

New Features

  • Added new.is_started boolean flag to enginefacade context managerand factory objects, so that double-configure scenarios can be preventedby calling code. Additionally, theTypeError raised when configureis called after the factory is started is now a specific subclassenginefacade.AlreadyStartedError.

4.34.0

New Features

  • Added new option connection_parameters which allows SQLAlchemy queryparameters to be stated separately from the URL itself, to allowURL-persistence schemes like Nova cells to use controller-localquery parameters that aren’t broadcast to all other servers.

Bug Fixes

  • Repaired the “synchronous_reader” modifier of enginefacade so that itrefers to the “writer” engine when set to True, thereby allowing“synchronous” behavior with the writer. When set to False, this is“asynchronous”, so this should be associated with the async engines.The flag had the reverse behavior previously.

4.30.0

Deprecation Notes

  • PyMySQL is a default MySQL DB API driver for oslo.db, as well as for the wholeOpenStack. So far it was possible to use MySQL-python as an alternative DB API driver.This driver is no longer being tested in this release, hence it should be consideredunsupported. Please switch to PyMySQL, which is an adequate replacement. Refer tohttps://wiki.openstack.org/wiki/PyMySQL_evaluation for details.

4.26.0

Deprecation Notes

  • The configuration optionidle_timeout is now deprecated and has beenrenamed toconnection_recycle_time, including within the main oslo.dboptions, as well as in the keyword arguments toengines.create_engine(),enginefacade.configure() andenginefacade.configure_defaults(). The new name more accuratelydescribes what this option does, in that it is not directly related to the“idle” time of the connection itself, nor is the connection disconnected atany specific time. It refers to a rule stating that any connection whichhas been present more than N seconds as a member of the connection poolwill be automatically discarded and replaced the next time it is checkedout from the pool.

4.22.0

Upgrade Notes

  • oslo.db now logs a warning when the connection URL does notexplicitly mention a driver. The default driver is still used, butin some cases, such as MySQL, the default is incompatible with theconcurrency library eventlet.

  • It is strongly recommended to use thePyMySQL driver when connectingto a MySQL-compatible database to ensure the best compatibilitywith the concurrency library eventlet. To use PyMySQL, ensure theconnection URL is specified withmysql+pymysql:// as thescheme.

4.19.0

Upgrade Notes

  • The configuration optionsqlite_db is removed. Pease use configuration optionconnection orslave_connection to connect to the database.

4.15.0

Deprecation Notes

  • classInsertFromSelect from moduleoslo_db.sqlalchemy.utils is deprecated in favor ofsqlalchemy.sql.expression.Insert.from_select() method of Insert expression, that is available in SQLAlchemy versions 1.0.0 and newer

  • base test classes fromoslo_db.sqlalchemy.test_base are deprecated in favor of new fixtures introduced inoslo_db.sqlalchemy.test_fixtures module

4.12.0

Bug Fixes

  • Decoratoroslo_db.api.wrap_db_retry now defaults to 10 retries. Previously the number of attempts was 0, and users had to explicitly passmax_retry_interval value greater than 0 to actually enable retries on errors.

4.9.0

Upgrade Notes

  • The allowed values for theconnection_debug option are now restricted to the range between 0 and 100 (inclusive). Previously a number lower than 0 or higher than 100 could be given without error. But now, aConfigFileValueError will be raised when the option value is outside this range.

4.8.0

New Features

  • enginefacade decorators can now be used for class and instance methods, which implicitly receive the first positional argument. Previously, it was required that all decorated functions receive a context value as the first argument.

Deprecation Notes

  • The configuration optionsqlite_db is now deprecated andwill be removed in the future. Please use configurationoptionconnection orslave_connection to connect to the database.

4.6.0

Upgrade Notes

Other Notes

  • Introduce reno for deployer release notes.