| 1 |
--- |
| 2 |
features: |
| 3 |
- The public APIs from ``neutron.db.api`` are now available in |
| 4 |
the ``neutron_lib.db.api`` module. |
| 5 |
- The ``CONTEXT_READER`` and ``CONTEXT_WRITER`` global database contexts |
| 6 |
are available in ``neutron_lib.db.api`` for convenient access as |
| 7 |
decorators. |
| 8 |
- The ``DBRetryErrorsFixture`` and ``DBAPIContextManagerFixture`` test |
| 9 |
fixtures are now available in ``neutron_lib.fixture`` allowing consumers |
| 10 |
to patch out retry error values and the gobal context manager. |
| 11 |
upgrade: |
| 12 |
- Consumers using the global ``context_manager`` from ``neutron.db.api`` |
| 13 |
should now use the ``get_context_manager()`` function in |
| 14 |
the ``neutron_lib.db.api`` module or the global ``CONTEXT_READER`` |
| 15 |
and ``CONTEXT_WRITER`` if needed. |