[openstack-dev] [new][oslo] oslo.db 4.8.0 release (newton)

no-reply at openstack.org no-reply at openstack.org
Wed Jul 13 14:07:26 UTC 2016


We are satisfied to announce the release of:

oslo.db 4.8.0: Oslo Database library

This release is part of the newton release series.

With source available at:

    http://git.openstack.org/cgit/openstack/oslo.db

With package available at:

    https://pypi.python.org/pypi/oslo.db

Please report issues through launchpad:

    http://bugs.launchpad.net/oslo.db

For more details, please see below.

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 option "sqlite_db" is now deprecated and will be
  removed in the future. Please use configuration option "connection"
  or "slave_connection" to connect to the database.

Changes in oslo.db 4.6.0..4.8.0
-------------------------------

fc3c23a Updated from global requirements
462296b Add support for LONGTEXT, MEDIUMTEXT to JsonEncodedType
0a1bae9 Deprecate config option sqlite_db for removal
16886e5 Catch empty value DBDuplicate errors
1d7e7e4 Updated from global requirements
8e3b356 api: use sane default in wrap_db_retry()
21491e1 Imported Translations from Zanata
e59c2b5 exc_filters: catch and translate non existent table on drop
e0db469 exception: make message mandatory in DbMigrationError and deprecates it
8a5fbb7 Make it possible to use enginefacade decorators with class methods
ef97c25 Updated from global requirements
4c82261 tests: fix order of assertEqual in exc_filter
c4f025d exc_filters: catch and translate non existent constraint on drop
1579c7c Replace tempest-lib dependency with os-testr
b8ffab6 Imported Translations from Zanata
a2da070 Fix typos in comments and docstring
c0005aa Updated from global requirements
9b9170f Updated from global requirements
a71fe96 Fix typo: 'olso' to 'oslo'
34a3da3 Repair boolean CHECK constraint detection
2938f28 api: do not log a traceback if error is not expected
e351f44 Fix imports in doc
044cf85 Allow testing of MySQL and PostgreSQL scenario locally
4bbadac Add support for custom JSON serializer
663092d api: always enable retry_on_request
7574ab7 Remove oslo-incubator related stuff
3ac4f3f Updated from global requirements
268987f Updated from global requirements
4afa0ce Remove direct dependency on babel
976bcdf Imported Translations from Zanata
3816739 Add debtcollector to requirements
30f061d Fix unit tests failures, when psycopg2 is not installed
f5a8fb3 Fix server_default comparison for BigInteger
c9e0bcd Remove unused sqlite_fk in _init_connection_args call
531ed45 Updated from global requirements
59b845d Correct docstring
46767e5 Updated from global requirements
b283e7d Updated from global requirements
419a42f Updated from global requirements
af0b3d3 Updated from global requirements
b45a20b Updated from global requirements
08f4911 Raise DbMigrationError for invalid version
b1de3f7 Add new filter for DBDataError exception
4048c8f Fix spelling mistake
f98cb90 Let enginefacade._TransactionContextManager look for context
09c531b Remove  sqlalchemy < 1.0.0 compatible layer
045a6fb Update reno for stable/mitaka
6c9cc58 Updated from global requirements
e9cbc6e Add tests for float interval values in wrap_db_retry()


Diffstat (except docs and test files)
-------------------------------------

CONTRIBUTING.rst                                   |  27 ++
oslo_db/api.py                                     |  34 +-
oslo_db/exception.py                               |  41 +++
.../locale/en_GB/LC_MESSAGES/oslo_db-log-error.po  |  11 +-
.../locale/en_GB/LC_MESSAGES/oslo_db-log-info.po   |   8 +-
.../en_GB/LC_MESSAGES/oslo_db-log-warning.po       |   8 +-
oslo_db/locale/en_GB/LC_MESSAGES/oslo_db.po        |  17 +-
oslo_db/locale/es/LC_MESSAGES/oslo_db-log-error.po |  11 +-
oslo_db/locale/es/LC_MESSAGES/oslo_db-log-info.po  |   8 +-
.../locale/es/LC_MESSAGES/oslo_db-log-warning.po   |   8 +-
oslo_db/locale/es/LC_MESSAGES/oslo_db.po           |  11 +-
oslo_db/locale/fr/LC_MESSAGES/oslo_db-log-error.po |  11 +-
oslo_db/locale/fr/LC_MESSAGES/oslo_db-log-info.po  |   8 +-
.../locale/fr/LC_MESSAGES/oslo_db-log-warning.po   |   8 +-
oslo_db/locale/fr/LC_MESSAGES/oslo_db.po           |  11 +-
oslo_db/locale/oslo_db-log-error.pot               |  51 ---
oslo_db/locale/oslo_db-log-info.pot                |  29 --
oslo_db/locale/oslo_db-log-warning.pot             |  44 ---
oslo_db/locale/oslo_db.pot                         |  83 -----
oslo_db/options.py                                 |   3 +
oslo_db/sqlalchemy/compat/__init__.py              |  25 --
oslo_db/sqlalchemy/compat/handle_error.py          | 341 ---------------------
oslo_db/sqlalchemy/enginefacade.py                 |  16 +-
oslo_db/sqlalchemy/engines.py                      |  11 +-
oslo_db/sqlalchemy/exc_filters.py                  |  50 ++-
oslo_db/sqlalchemy/migration.py                    |  25 +-
oslo_db/sqlalchemy/migration_cli/manager.py        |   4 +-
oslo_db/sqlalchemy/provision.py                    |   3 +-
oslo_db/sqlalchemy/test_migrations.py              |   7 +-
oslo_db/sqlalchemy/types.py                        |  13 +
oslo_db/sqlalchemy/update_match.py                 |   2 +-
oslo_db/sqlalchemy/utils.py                        |  31 +-
...eprecate_config_sqlite_db-bd41d49343049319.yaml |   7 +
.../enginefacade_decorators-4660862fe22d2669.yaml  |   6 +
releasenotes/source/conf.py                        |  10 +-
releasenotes/source/index.rst                      |   1 +
.../locale/en_GB/LC_MESSAGES/releasenotes.po       |  89 ++++++
releasenotes/source/mitaka.rst                     |   6 +
requirements.txt                                   |  12 +-
setup.cfg                                          |  14 +-
tox.ini                                            |  28 +-
54 files changed, 789 insertions(+), 958 deletions(-)


Requirements updates
--------------------

diff --git a/requirements.txt b/requirements.txt
index 352db43..fbc015b 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -6,2 +6,2 @@ pbr>=1.6 # Apache-2.0
-alembic>=0.8.0 # MIT
-Babel>=1.3 # BSD
+alembic>=0.8.4 # MIT
+debtcollector>=1.2.0 # Apache-2.0
@@ -9,3 +9,3 @@ oslo.i18n>=2.1.0 # Apache-2.0
-oslo.config>=3.4.0 # Apache-2.0
-oslo.context>=0.2.0 # Apache-2.0
-oslo.utils>=3.5.0 # Apache-2.0
+oslo.config>=3.12.0 # Apache-2.0
+oslo.context>=2.4.0 # Apache-2.0
+oslo.utils>=3.15.0 # Apache-2.0
@@ -14 +14 @@ sqlalchemy-migrate>=0.9.6 # Apache-2.0
-stevedore>=1.5.0 # Apache-2.0
+stevedore>=1.10.0 # Apache-2.0





More information about the OpenStack-dev mailing list