CHANGES
- New debian package release
4.17.1
- Updated from global requirements
- Updated from global requirements
- Updated from global requirements
- Prepare for using standard python tests
- Update UPPER_CONSTRAINTS_FILE for stable/ocata
- Update .gitreview for stable/ocata
- Modify word “whetever” to “whether”
- Updated from global requirements
- Add Constraints support
- Support packet sequence wrong error
- docs: mention that it’s possible to use Connection directly
- exc_filters: fix deadlock detection for percona xtradb cluster
- Replaces uuid.uuid4 with uuidutils.generate_uuid()
- Fix marker checking when value is None
- Strip prefix migrate_ in parameter migrate_engine
- migration: don’t assume the mixin use provision
- Check if an index on given columns exists
- Ensure provision_new_database is True by default
- Don’t run LegacyBaseClass provision test for unavailable database
- SoftDeleteMixin: allow for None values
- SoftDeleteMixin: coerce deleted param to be an integer
- Show team and repo badges on README
- Support MariaDB error 1927
- Break optimize_db_test_loader into package and module level
- Adjust SAVEPOINT cause test for SQLA 1.1
- Updated from global requirements
- Restore provisioning of DBs in legacy test base
- Updated from global requirements
- Updated from global requirements
- Enhanced fixtures for enginefacade-based provisioning
- utils: deprecate InsertFromSelect properly
- Using new style assertions instead of old style assertions
- Updated from global requirements
- Fix exc_filters for mysql-python
- Updated from global requirements
- Change assertTrue(isinstance()) by optimal assert
- OpenStack typo
- Changed the home-page link
- standardize release note page ordering
- Add a specific exception for ‘unknown database’ errors
- Enable release notes translation
- Updated from global requirements
- Add DBDataError for “Data too long”
- Updated from global requirements
- Updated from global requirements
- Add additional caution looking for table, info
- utils: fix get_unique_keys() when model has no table attached to it
- Update reno for stable/newton
- Updated from global requirements
- Correctly detect incomplete sort_keys passed to paginate_query
- Fix DBReferenceError and DBNonExistentTable with new PyMySQL version
- Updated from global requirements
- Updated from global requirements
- Link enginefacade to test database provisioning
- Display full reason for backend not available
- d/control: Align (Build-)Depends with upstream
- .gitreview: Copy file from orig tar
- d/gbp.conf: Update debian-branch for Newton
- New upstream release
- Updated from global requirements
- Deprecate argument sqlite_db in method set_defaults
4.11.0
- Updated from global requirements
- Add test helpers to enginefacade
- Add logging_name to enginefacade config
4.10.0
- Capture DatabaseError for deadlock check
- Add a hook to process newly created engines
4.9.0
- Updated from global requirements
- Memoize sys.exc_info() before attempting a savepoint rollback
- Updated from global requirements
- Fix parameters of assertEqual are misplaced
- Consolidate pifpaf commands into variables
- Updated from global requirements
- Updated from global requirements
- Fixed unit tests running on Windows
- Remove discover from setup.cfg
- Add dispose_pool() method to enginefacade context, factory
4.8.0
- Updated from global requirements
- Set a min and max on the connection_debug option
- Set max pool size default to 5
- Add support for LONGTEXT, MEDIUMTEXT to JsonEncodedType
- tox: add py35 envs for convenience
- Deprecate config option sqlite_db for removal
- Catch empty value DBDuplicate errors
- release notes: mention changes in wrap_db_retry()
- Updated from global requirements
- api: use sane default in wrap_db_retry()
- Imported Translations from Zanata
- exc_filters: catch and translate non existent table on drop
- exception: make message mandatory in DbMigrationError and deprecates it
- Make it possible to use enginefacade decorators with class methods
- Updated from global requirements
- tests: fix order of assertEqual in exc_filter
- exc_filters: catch and translate non existent constraint on drop
- Replace tempest-lib dependency with os-testr
- Imported Translations from Zanata
- Fix typos in comments and docstring
- Updated from global requirements
- Updated from global requirements
- Fix typo: ‘olso’ to ‘oslo’
- Repair boolean CHECK constraint detection
- api: do not log a traceback if error is not expected
- Fix imports in doc
- d/copyright: Changed source URL to https protocol
- d/rules: Changed UPSTREAM_GIT protocol to https
- Allow testing of MySQL and PostgreSQL scenario locally
- Add support for custom JSON serializer
- api: always enable retry_on_request
- Remove oslo-incubator related stuff
- Updated from global requirements
- Updated from global requirements
- Remove direct dependency on babel
- Imported Translations from Zanata
- Add debtcollector to requirements
- Fix unit tests failures, when psycopg2 is not installed
- Fix server_default comparison for BigInteger
- Remove unused sqlite_fk in _init_connection_args call
- Updated from global requirements
- Correct docstring
- Standards-Version is 3.9.8 now (no change)
- Updated from global requirements
- Updated from global requirements
- Updated from global requirements
- Updated from global requirements
- Fixed debian release number
- Uploading to unstable
- Updated from global requirements
- Now packaging 4.7.0
- Raise DbMigrationError for invalid version
4.7.0
- Updated from global requirements
- Add new filter for DBDataError exception
- Fix spelling mistake
- Let enginefacade._TransactionContextManager look for context
- Remove sqlalchemy < 1.0.0 compatible layer
- Update reno for stable/mitaka
- Update .gitreview for stable/mitaka
- Standards-Version: 3.9.7
- Fixed debian/copyright ordering
- Fixed (build-)depends for this release
- Now packaging 4.6.0
- Fixed VCS URLs (https)
- Fixed homepage (https)
- Updated from global requirements
- Add tests for float interval values in wrap_db_retry()
4.6.0
- Increase the default max_overflow value
- Updated from global requirements
- add reno for release notes management
- Updated from global requirements
- Updated from global requirements
- Clarify the types for retry_interval args of wrap_db_retry
4.5.0
- Updated from global requirements
- stop making a copy of options discovered by config generator
4.4.0
- exceptions: provide .message attribute for Py3K compatibility
- Updated from global requirements
- InvalidSortKey constructor change breaks Heat unittests
- exception: fix DBInvalidUnicodeParameter error message
- exceptions: enhance InvalidSortKey to carry the invalid key
- exception: fix InvalidSortKey message
- Update translation setup
- Updated from global requirements
- Add exc_filter for invalid Unicode string
- Updated from global requirements
- Updated from global requirements
- Updated from global requirements
4.3.1
- Imported Translations from Zanata
- Updated from global requirements
- Fix tests to work under both pymsysql 0.6.2 and 0.7.x
- Fixed (build-)depends for this release
- Now packaging 4.3.0
- Don’t log non-db error in retry wrapper
- Document Drop python{3,}-mysqldb build-depends
- Also run tests in Python 3.5
- Removed MANIFEST.in patch
- Now packaging 4.2.0
- Fix comparison of Variant and other type in compare_type
- Updated from global requirements
- Updated from global requirements
- Don’t trace DB errors when we’re retrying
- Updated from global requirements
- Remove iso8601 in requirements.txt
- Trival: Remove ‘MANIFEST.in’
- Refactor deps to use extras and env markers
- Added allow_async property
4.3.0
- Updated from global requirements
- Put py34 first in the env order of tox
- Updated from global requirements
4.2.0
- Fix comparison of Variant and other type in compare_type
- Updated from global requirements
- d/control: Drop python(3)-mysqldb BDs
- Updated from global requirements
- Don’t trace DB errors when we’re retrying
- Updated from global requirements
- Remove iso8601 in requirements.txt
- Trival: Remove ‘MANIFEST.in’
- Fixed changelog
- Re-added python{3,}-testresources as build-depends-indep
- d/control: Update uploaders
- d/control: Align requirements with upstream
- d/gbp.conf: Change debian-branch to debian/mitaka
- New upstream release
4.1.0
- Refactor deps to use extras and env markers
- Added allow_async property
4.0.0
- Updated from global requirements
- Remove python 2.6 classifier
- Remove python 2.6 and cleanup tox.ini
3.2.0
- Detect not-started _TransactionFactory in legacy
- Added method get_legacy_facade() to the _TransactionContextManager
- Removed Unused variable ‘drivertype’
- Updated from global requirements
- Imported Translations from Zanata
- Updated from global requirements
3.1.0
- Updated from global requirements
- Uploading to unstable
- Updated from global requirements
- Add debug logging for DB retry attempt
3.0.0
- Fix coverage configuration and execution
- Add universal wheel tag to setup.cfg
- No need for Oslo Incubator Sync
- Updated from global requirements
- Correct invalid reference
- Imported Translations from Zanata
- Use stevedore directive to document plugins
- Make readme and documentation titles consistent
- Docstring fixes for enginefacade
- Fix warnings in docstrings
- Autogenerate the module docs
- Add config options to the documentation
- Added Python 3 suport
- New upstream release. * Fixed (build-)depends for this release
- Add support for pickling enginefacade context objects
- Change ignore-errors to ignore_errors
- Fix the home-page value with Oslo wiki page
- Updated from global requirements
- Imported Translations from Zanata
2.6.0
- Imported Translations from Transifex
- Handle case where oslo_db.tests has not been imported
- Updated from global requirements
- Fixed (build-)depends for this release
- Now packaging 2.4.1
- Assume relative revisions belong to alembic
- Use correct config key in alembic extension
- Fix exception message about unavailable backend
- Imported Translations from Transifex
- Updated from global requirements
- Updated from global requirements
- Fix hacking rules and docs job
- Imported Translations from Transifex
- pagination: enhance sorting of null values
- Upgrade and downgrade based on revision existence
- Imported Translations from Transifex
- Updated from global requirements
- Add JSON-encoded types for sqlalchemy
- Imported Translations from Transifex
- Python 3: Use use_unicode=1 under Python 3
- Imported Translations from Transifex
- Updated from global requirements
- Fix test_migrations on Python 3
- Improve failure mode handling in enginefacade
- Added catching of errors 1047 (Galera) for MySQL oslo db reconnect
2.5.0
- Updated from global requirements
- Imported Translations from Transifex
- Updated from global requirements
- Move runtime test resources into setup.cfg [extras]
- Updated from global requirements
2.4.1
- Assume relative revisions belong to alembic
- Use correct config key in alembic extension
- Fix exception message about unavailable backend
2.4.0
- Imported Translations from Transifex
- Updated from global requirements
- Updated from global requirements
- Fix hacking rules and docs job
- Imported Translations from Transifex
- pagination: enhance sorting of null values
- Upgrade and downgrade based on revision existence
- Imported Translations from Transifex
- Updated from global requirements
- Add JSON-encoded types for sqlalchemy
2.3.0
- Imported Translations from Transifex
- Priority: extra for transition packages
- Fixed (build-)depends for this release
- Now packaging 2.2.0
- Python 3: Use use_unicode=1 under Python 3
- Imported Translations from Transifex
- Updated from global requirements
- Fix test_migrations on Python 3
- Improve failure mode handling in enginefacade
2.2.0
- Imported Translations from Transifex
- Updated from global requirements
- Updated from global requirements
- Add mock to test-requirements.txt
- Test that concurrent sqlalchemy transactions don’t block
- Updated from global requirements
- Added catching of errors 1047 (Galera) for MySQL oslo db reconnect
- Remove outdated tox environments for SQLAlchemy 0.8
- Rebuilt with new SQLA 1.0.6
- Fixup typo in transitional package description (LP: #1471561)
- Imported Translations from Transifex
2.1.0
- Allow projects that use test_models_sync to filter some changes
- Updated from global requirements
- Add legacy get_sessionmaker() method
2.0.0
- Fix sqlalchemy.ModelBase.__contains__() behaviour
- Add tox target to find missing requirements
- Allow additional exceptions in wrap_db_retry
- Remove implicit RequestContext decoration
- Add a new ModelBase.items() method
- Updated from global requirements
- Add oslo.context to requirements.txt
- Imported Translations from Transifex
1.12.0
- Updated from global requirements
- Remove oslo namespace package
- Drop use of ‘oslo’ namespace package
- Switch from MySQL-python to PyMySQL
- Updated from global requirements
- Switch badges from ‘pypip.in’ to ‘shields.io’
- Updated from global requirements
- releasing package python-oslo.db version 1.11.0-1
- Update watch file to use pypi.debian.net
- New upstream release
- releasing package python-oslo.db version 1.10.0-1
1.11.0
- Replace utils method with oslo.utils reflection provided one
- Implement new oslo.db.sqlalchemy.enginefacade module
- Allow to fail instead of skip in DbFixture
- Re-align with Ubuntu
- New upstream release
- Update gbp configuration
1.10.0
- Updated from global requirements
- Imported Translations from Transifex
- Add a keys() method to SQLAlchemy ModelBase
- Remove support for Python 3.3
- Updated from global requirements
- Remove run_cross_tests.sh
- Sort model fields using getattr(), not inspect()
- Imported Translations from Transifex
- Updated from global requirements
- Remove pre-SQLAlchemy-0.9.7 compat utilities
- Standards-Versions: 3.9.6
- Fixed build-depends
- Uploading to unstable
- Uploading to unstable
- Add Python 3 classifiers to setup.cfg
1.9.0
- Uncap library requirements for liberty
1.8.0
- Sanity check after migration
- Add filters for DBDataError exception
- Packagign 1.7.1
- Add pypi download + version badges
- exc_filters: support for ForeignKey error on delete
- Standardize setup.cfg summary for oslo libs
- Update to latest hacking
- Handle CHECK constraint integrity in PostgreSQL
- Catch DBDuplicateError in MySQL if primary key is binary
- Imported Translations from Transifex
- Updated from global requirements
- Imported Translations from Transifex
- Provide working SQLA_VERSION attribute
- Avoid excessing logging of RetryRequest exception
1.7.1
- Add process guards + invalidate to the connection pool
- Fixed bug in InsertFromSelect columns order
- Add process guards + invalidate to the connection pool
1.7.0
- Switch to non-namespaced module import - oslo_i18n
- Fix documented env variable for test connection
- Updated from global requirements
- Upgrade to upstream release 1.5.0
- Implement generic update-on-match feature
1.6.0
- Updated from global requirements
1.5.0
- Make DBAPI class work with mocks correctly
- Updated from global requirements
- Imported Translations from Transifex
- Fix PyMySQL reference error detection
- Use PyMySQL as DB driver in py3 environment
- Updated from global requirements
- Adds install-missing-files.patch
- Added Provides: python-oslo-db
- Added dh-python as build-depends
- Review (build-)depends
- Now packaging upstream release 1.4.1
- Organize provisioning to use testresources
- Add retry decorator allowing to retry DB operations on request
- Imported Translations from Transifex
- Implement backend-specific drop_all_objects for provisioning
- Ensure that create_engine() close test connection
- Refactor database migration manager to use given engine
- Fix 0 version handling in migration_cli manager
- Updated from global requirements
- Fix PatchStacktraceTest for pypy
- Update Oslo imports to remove namespace package
- Retry query if db deadlock error is received
1.4.1
- Restore the check_foreign_keys() method
- Ensure DBConnectionError is raised on failed revalidate
1.4.0
- Fix slowest test output after test run
- Updated from global requirements
- Make sure sort_key_attr is QueryableAttribute when query
- Ensure mysql_sql_mode is set for MySQLOpportunisticTests
- Add pretty_tox wrapper script
- Fix PatchStacktraceTest test
- Ensure PostgreSQL connection errors are wrapped
- Remove check_foreign_keys from ModelsMigrationsSync
- Move files out of the namespace package
- gbp.conf using debian/kilo branch
- Reviewed (build-)depends for this release
- Now packaging 1.3.0
- Updated from global requirements
- Fix the link to the bug reporting site
1.3.0
- Repair string-based disconnect filters for MySQL, DB2
- Fix python3.x scoping issues with removed ‘uee’ variable
- Updated from global requirements
- Fix test_migrate_cli for py3
- Fix TestConnectionUtils to py3x compatibility
- Updated from global requirements
- Upgrade exc_filters for ‘engine’ argument and connect behavior
- Workflow documentation is now in infra-manual
1.2.0
- Imported Translations from Transifex
- Fix nested() for py3
- Make test_models pass on py3
- Repair include_object to accommodate new objects
- Add table name to foreign keys diff
- Updated from global requirements
- Handle Galera deadlock on SELECT FOR UPDATE
- Add exception filter for _sqlite_dupe_key_error
- Add info on how to run unit tests
- Ensure is_backend_avail() doesn’t leave open connections
- Updated from global requirements
1.1.0
- Imported Translations from Transifex
- Add pbr to installation requirements
- Updated from global requirements
- Activate pep8 check that _ is imported
- Assert exceptions based on API, not string messages
- Fix python3.x scoping issues with removed ‘de’ variable
- Updated from global requirements
- Updated from global requirements
- Reorganize DbTestCase to use provisioning completely
- Set utf8 encoding for mysql and postgresql
- ModelsMigrationsSync: Add check for foreign keys
- Updated from global requirements
- Remove extraneous vim editor configuration comments
- Remove utils.drop_unique_constraint()
- Improve error reporting for backend import failures
- Ensure create_engine() retries the initial connection test
- Imported Translations from Transifex
- Now packaging upstream release 1.0.2
1.0.2
- Move begin ping listener to a connect listener
- Use fixture from oslo.config instead of oslo-incubator
- Move begin ping listener to a connect listener
- Create a nested helper function that will work on py3.x
- Imported Translations from Transifex
- Start adding a environment for py34/py33
- Explicitly depend on six in requirements file
- Unwrap DialectFunctionDispatcher from itself
- Updated from global requirements
- Use six.wraps instead of functools.wraps
- Update help string to use database
1.0.1
- Use __qualname__ if we can
- Fixup Fixtures Use in db test classes
- Added PYTHONPATH=. when generating sphinx doc
- Allow the unit tests to fail because they don’t work with the namespace of oslo :(
- gbp.conf using experimental branch
- In fact, release 1.0.0
- Updated (build-)depends for this release
- Now packaging upstream release 0.5.0
- Add description for test_models_sync function
- Use the six provided iterator mix-in
- ModelsMigrationsSync:add correct server_default check for Enum
1.0.0
- Updated from global requirements
- Imported Translations from Transifex
- Add history/changelog to docs
- Add a check for SQLite transactional state
- Add run_cross_tests.sh script
- Let oslotest manage the six.move setting for mox
- Fix DBReferenceError on MySQL and SQLite
- Renaming in WalkVersionsMixin
- Clean up documentation
- Use single quotes for db schema sanity check
- warn against sorting requirements
- ModelsMigrationsSync:Override compare_server_default
- Updated from global requirements
- Imported Translations from Transifex
- Add doc8 to tox environment docs
- Use oslo.i18n
- Repair pysqlite transaction support
- Extract logging setup into a separate function
- Updated from global requirements
- Remove reliance on create_engine() from TestsExceptionFilter
- Consolidate sqlite and mysql event listeners
- Use dialect dispatch for engine initiailization
- Add get_non_innodb_tables() to utils
- Added check to see whether oslotest is installed
0.4.0
- Implement a dialect-level function dispatch system
- Move to oslo.utils
- Restore correct source file encodings
- Handle DB2 SmallInteger type for change_deleted_column_type_to_boolean
- Imported Translations from Transifex
- Fixes comments to pass E265 check
- Fixes indentations to pass E128 check
- Uses keyword params for i18n string to pass H703
- Adds empty line to multilines docs to pass H405
- Updates one line docstring with dot to pass H402
- Changes import orders to pass H305 check
- Fixed DeprecationWarning in exc_filters
- Imported Translations from Transifex
- oslo.db.exceptions module documentation
- Updated from global requirements
- Extension of DBDuplicateEntry exception
- oslo.db.options module documentation
- oslo.db.api module documentation
- Imported Translations from Transifex
- Patches MANIFEST.in otherwise upstream setup.py is missing lots of files in the oslo/db/openstack folder
- Fixed oslo.config (build-)dep version
- Now packaging upstream release 0.3.0
- Add a base test case for DB schema comparison
- Test for distinct SQLAlchemy major releases
- Updated from global requirements
- Add __contains__ to ModelBase to fully behave like a dict
- Fix test to not assume eventlet isn’t present
- Avoid usage of mutables as default args
- Updated from global requirements
- Add _wrap_db_error support for postgresql
- Use SQLAlchemy cursor execute events for tracing
- Remove sqla_07 from tox.ini
- Updated from global requirements
- Specify raise_on_warnings=False for mysqlconnector
- Make MySQL regexes generic across MySQL drivers
- Allow tox tests with complex OS_TEST_DBAPI_CONNECTION URLs
- Raise DBReferenceError on foreign key violation
- Add host argument to get_connect_string()
- Imported Translations from Transifex
- Don’t drop pre-existing database before tests
- Port _is_db_connection_error check to exception filters
- Integrate the ping listener into the filter system
- Add disconnect modification support to exception handling
- Implement new exception interception and filtering layer
- Implement the SQLAlchemy
handle_error()
event
- Remove moxstubout.py from oslo.db
- Added check for DB2 deadlock error
- Bump hacking to version 0.9.2
- Opportunistic migration tests
- Move all db exception to exception.py
- Enable skipped tests from test_models.py
- Use explicit loops instead of list comprehensions
- Imported Translations from Transifex
- Allow usage of several iterators on ModelBase
- Add DBDuplicateEntry detection for mysqlconnector driver
- Check for mysql_sql_mode is not None in create_engine()
0.3.0
- Add a base test case for DB schema comparison
- Test for distinct SQLAlchemy major releases
- Updated from global requirements
- Add __contains__ to ModelBase to fully behave like a dict
- Fix test to not assume eventlet isn’t present
- Disabled test_db_api_without_installed_eventlet
- Sets export OSLO_LOCK_PATH=$(CURDIR)/debian/
- Added initial debian folder
- Avoid usage of mutables as default args
- Updated from global requirements
0.2.0
- Fix kwarg passed twice error in EngineFacade.from_config()